Merge commit 'origin/openvg-1.0'
[mesa.git] / src / gallium / auxiliary / indices / SConscript
1 Import('*')
2
3 from sys import executable as python_cmd
4
5 env.CodeGenerate(
6 target = 'u_indices_gen.c',
7 script = 'u_indices_gen.py',
8 source = [],
9 command = python_cmd + ' $SCRIPT > $TARGET'
10 )
11
12 env.CodeGenerate(
13 target = 'u_unfilled_gen.c',
14 script = 'u_unfilled_gen.py',
15 source = [],
16 command = python_cmd + ' $SCRIPT > $TARGET'
17 )
18
19 indices = env.ConvenienceLibrary(
20 target = 'indices',
21 source = [
22 # 'u_indices.c',
23 # 'u_unfilled_indices.c',
24 'u_indices_gen.c',
25 'u_unfilled_gen.c',
26 ])
27
28 auxiliaries.insert(0, indices)