summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/SConscript
blob: bb4d034f1ebbff70483cdbf58554bf211afd4ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Import('*')

env = env.Clone()

env.MSVC2013Compat()

if env['suncc']:
	print 'warning: not building svga'
	Return()

if env['gcc'] or env['clang']:
	env.Append(CPPDEFINES = [
		'HAVE_STDINT_H', 
		'HAVE_SYS_TYPES_H',
	])
	
env.Prepend(CPPPATH = [
	'include',
])

env.Append(CPPDEFINES = [
])

sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')

svga = env.ConvenienceLibrary(
	target = 'svga',
	source = sources,
)

env.Alias('svga', svga)

Export('svga')