X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2FSConscript;h=bdd9a1beaa105e008159c3a7ad8d849f0f57ea45;hb=0f677b0d876b6b2d9270dd9baca0f674532b4a70;hp=e00040d97abe18dce40c8794482392438c7f83fb;hpb=6571c0774af1f5ebd0fab40bf4769702d3c9ded5;p=mesa.git diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript index e00040d97ab..bdd9a1beaa1 100644 --- a/src/gallium/auxiliary/SConscript +++ b/src/gallium/auxiliary/SConscript @@ -3,27 +3,25 @@ Import('*') from sys import executable as python_cmd env.Append(CPPPATH = [ + '#src', 'indices', 'util', ]) -env.CodeGenerate( - target = 'indices/u_indices_gen.c', - script = 'indices/u_indices_gen.py', - source = [], - command = python_cmd + ' $SCRIPT > $TARGET' -) +env = env.Clone() + +env.MSVC2013Compat() env.CodeGenerate( - target = 'indices/u_unfilled_gen.c', - script = 'indices/u_unfilled_gen.py', + target = 'indices/u_indices_gen.c', + script = 'indices/u_indices_gen.py', source = [], command = python_cmd + ' $SCRIPT > $TARGET' ) env.CodeGenerate( - target = 'util/u_format_srgb.c', - script = 'util/u_format_srgb.py', + target = 'indices/u_unfilled_gen.c', + script = 'indices/u_unfilled_gen.py', source = [], command = python_cmd + ' $SCRIPT > $TARGET' ) @@ -35,27 +33,20 @@ env.CodeGenerate( command = python_cmd + ' $SCRIPT $SOURCE > $TARGET' ) -env.CodeGenerate( - target = 'util/u_half.c', - script = 'util/u_half.py', - source = [], - command = python_cmd + ' $SCRIPT > $TARGET' -) - env.Depends('util/u_format_table.c', [ '#src/gallium/auxiliary/util/u_format_parse.py', - 'util/u_format_pack.py', + 'util/u_format_pack.py', ]) source = env.ParseSourceList('Makefile.sources', [ 'C_SOURCES', + 'VL_STUB_SOURCES', 'GENERATED_SOURCES' ]) if env['llvm']: source += env.ParseSourceList('Makefile.sources', [ 'GALLIVM_SOURCES', - 'GALLIVM_CPP_SOURCES' ]) gallium = env.ConvenienceLibrary(