util: Gather some common macros
[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 # parse Makefile.sources
15 source_lists = env.ParseSourceList('Makefile.sources')
16
17 mesautil_sources = source_lists['MESA_UTIL_FILES']
18
19 mesautil = env.ConvenienceLibrary(
20 target = 'mesautil',
21 source = mesautil_sources,
22 )
23
24 env.Alias('mesautil', mesautil)
25 Export('mesautil')