svga: share the source list
[mesa.git] / src / gallium / drivers / svga / SConscript
1 Import('*')
2
3 env = env.Clone()
4
5 if env['platform'] in ['linux']:
6 env.Append(CCFLAGS = ['-fvisibility=hidden'])
7
8 if env['gcc']:
9 env.Append(CPPDEFINES = [
10 'HAVE_STDINT_H',
11 'HAVE_SYS_TYPES_H',
12 ])
13
14 env.Prepend(CPPPATH = [
15 'include',
16 ])
17
18 env.Append(CPPDEFINES = [
19 ])
20
21 sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
22
23 svga = env.ConvenienceLibrary(
24 target = 'svga',
25 source = sources,
26 )
27
28 env.Alias('svga', svga)
29
30 Export('svga')