i965: make use of nir linking
[mesa.git] / src / mesa / SConscript
index 9398ddb13bfa6064e839155bf1cdaac4d90ca827..b63e15a3f054102821ab7937bbd75b6d83ceeda1 100644 (file)
@@ -79,6 +79,13 @@ format_unpack = env.CodeGenerate(
       command = python_cmd + ' $SCRIPT ' + ' $SOURCE > $TARGET'
 )
 
+format_fallback = env.CodeGenerate(
+      target = 'main/format_fallback.c',
+      script = 'main/format_fallback.py',
+      source = 'main/formats.csv',
+      command = python_cmd + ' $SCRIPT ' + ' $SOURCE ' + ' $TARGET'
+)
+
 #
 # Assembly sources
 #
@@ -122,7 +129,7 @@ if env['platform'] not in ('cygwin', 'darwin', 'windows', 'haiku'):
 env.CodeGenerate(
     target = 'main/marshal_generated.c',
     script = GLAPI + 'gen/gl_marshal.py',
-    source = GLAPI + 'gen/gl_and_es_API.xml',
+    source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
     command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
     )
 
@@ -130,7 +137,7 @@ env.CodeGenerate(
 env.CodeGenerate(
     target = 'main/marshal_generated.h',
     script = GLAPI + 'gen/gl_marshal_h.py',
-    source = GLAPI + 'gen/gl_and_es_API.xml',
+    source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
     command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
     )