summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/SConscript')
-rw-r--r--lib/mesa/src/gallium/auxiliary/SConscript25
1 files changed, 17 insertions, 8 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/SConscript b/lib/mesa/src/gallium/auxiliary/SConscript
index cba4e3f7a..d5fa880c7 100644
--- a/lib/mesa/src/gallium/auxiliary/SConscript
+++ b/lib/mesa/src/gallium/auxiliary/SConscript
@@ -6,28 +6,38 @@ env.Append(CPPPATH = [
'#src',
'indices',
'util',
- '#src/compiler/nir',
- '../../compiler/nir',
])
env = env.Clone()
-env.MSVC2013Compat()
+env.MSVC2008Compat()
env.CodeGenerate(
- target = 'indices/u_indices_gen.c',
- script = 'indices/u_indices_gen.py',
+ target = 'indices/u_indices_gen.c',
+ script = 'indices/u_indices_gen.py',
source = [],
command = python_cmd + ' $SCRIPT > $TARGET'
)
env.CodeGenerate(
- target = 'indices/u_unfilled_gen.c',
- script = 'indices/u_unfilled_gen.py',
+ target = 'indices/u_unfilled_gen.c',
+ script = 'indices/u_unfilled_gen.py',
source = [],
command = python_cmd + ' $SCRIPT > $TARGET'
)
+env.CodeGenerate(
+ target = 'util/u_format_table.c',
+ script = '#src/gallium/auxiliary/util/u_format_table.py',
+ source = ['#src/gallium/auxiliary/util/u_format.csv'],
+ command = python_cmd + ' $SCRIPT $SOURCE > $TARGET'
+)
+
+env.Depends('util/u_format_table.c', [
+ '#src/gallium/auxiliary/util/u_format_parse.py',
+ 'util/u_format_pack.py',
+])
+
source = env.ParseSourceList('Makefile.sources', [
'C_SOURCES',
'VL_STUB_SOURCES',
@@ -36,7 +46,6 @@ source = env.ParseSourceList('Makefile.sources', [
if env['llvm']:
source += env.ParseSourceList('Makefile.sources', [
- 'NIR_SOURCES',
'GALLIVM_SOURCES',
])