diff options
Diffstat (limited to 'src/util/SConscript')
-rw-r--r-- | src/util/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/util/SConscript b/src/util/SConscript index 66a0d1c04ff..f0437694347 100644 --- a/src/util/SConscript +++ b/src/util/SConscript @@ -17,6 +17,7 @@ env.Prepend(CPPPATH = [ '#src/gallium/include', '#src/gallium/auxiliary', '#src/util', + '#src/util/format', ]) env.CodeGenerate( @@ -26,6 +27,18 @@ env.CodeGenerate( command = python_cmd + ' $SCRIPT > $TARGET' ) +env.CodeGenerate( + target = 'format/u_format_table.c', + script = 'format/u_format_table.py', + source = ['format/u_format.csv'], + command = python_cmd + ' $SCRIPT $SOURCE > $TARGET' +) + +env.Depends('format/u_format_table.c', [ + 'format/u_format_parse.py', + 'format/u_format_pack.py', +]) + # parse Makefile.sources source_lists = env.ParseSourceList('Makefile.sources') |