3 from sys import executable as python_cmd
16 target = 'indices/u_indices_gen.c',
17 script = 'indices/u_indices_gen.py',
19 command = python_cmd + ' $SCRIPT > $TARGET'
23 target = 'indices/u_unfilled_gen.c',
24 script = 'indices/u_unfilled_gen.py',
26 command = python_cmd + ' $SCRIPT > $TARGET'
30 target = 'util/u_format_table.c',
31 script = '#src/gallium/auxiliary/util/u_format_table.py',
32 source = ['#src/gallium/auxiliary/util/u_format.csv'],
33 command = python_cmd + ' $SCRIPT $SOURCE > $TARGET'
36 env.Depends('util/u_format_table.c', [
37 '#src/gallium/auxiliary/util/u_format_parse.py',
38 'util/u_format_pack.py',
41 source = env.ParseSourceList('Makefile.sources', [
48 source += env.ParseSourceList('Makefile.sources', [
52 gallium = env.ConvenienceLibrary(
57 env.Alias('gallium', gallium)