i965/vec4: Update register coalescing test.
[mesa.git] / src / util / SConscript
1 import common
2
3 Import('*')
4
5 from sys import executable as python_cmd
6
7 env = env.Clone()
8
9 env.Prepend(CPPPATH = [
10 '#include',
11 '#src/util',
12 ])
13
14 env.CodeGenerate(
15 target = 'format_srgb.c',
16 script = 'format_srgb.py',
17 source = [],
18 command = python_cmd + ' $SCRIPT > $TARGET'
19 )
20
21 # parse Makefile.sources
22 source_lists = env.ParseSourceList('Makefile.sources')
23
24 mesautil_sources = (
25 source_lists['MESA_UTIL_FILES'] +
26 source_lists['MESA_UTIL_GENERATED_FILES']
27 )
28
29 mesautil = env.ConvenienceLibrary(
30 target = 'mesautil',
31 source = mesautil_sources,
32 )
33
34 env.Alias('mesautil', mesautil)
35 Export('mesautil')