3 from sys import executable as python_cmd
12 target = 'indices/u_indices_gen.c',
13 script = 'indices/u_indices_gen.py',
15 command = python_cmd + ' $SCRIPT > $TARGET'
19 target = 'indices/u_unfilled_gen.c',
20 script = 'indices/u_unfilled_gen.py',
22 command = python_cmd + ' $SCRIPT > $TARGET'
26 target = 'util/u_format_table.c',
27 script = '#src/gallium/auxiliary/util/u_format_table.py',
28 source = ['#src/gallium/auxiliary/util/u_format.csv'],
29 command = python_cmd + ' $SCRIPT $SOURCE > $TARGET'
32 env.Depends('util/u_format_table.c', [
33 '#src/gallium/auxiliary/util/u_format_parse.py',
34 'util/u_format_pack.py',
37 source = env.ParseSourceList('Makefile.sources', [
43 source += env.ParseSourceList('Makefile.sources', [
48 gallium = env.ConvenienceLibrary(
53 env.Alias('gallium', gallium)