OSDN Git Service

scons: Remove redundant code.
[android-x86/external-mesa.git] / src / gallium / drivers / svga / SConscript
1 Import('*')
2
3 env = env.Clone()
4
5 if env['suncc']:
6         print 'warning: not building svga'
7         Return()
8
9 if env['gcc']:
10         env.Append(CPPDEFINES = [
11                 'HAVE_STDINT_H', 
12                 'HAVE_SYS_TYPES_H',
13         ])
14         
15 env.Prepend(CPPPATH = [
16         'include',
17 ])
18
19 env.Append(CPPDEFINES = [
20 ])
21
22 sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
23
24 svga = env.ConvenienceLibrary(
25         target = 'svga',
26         source = sources,
27 )
28
29 env.Alias('svga', svga)
30
31 Export('svga')