SConscript revision 848b8605
1Import('*')
2
3env = env.Clone()
4
5if env['suncc']:
6	print 'warning: not building svga'
7	Return()
8
9if env['gcc'] or env['clang']:
10	env.Append(CPPDEFINES = [
11		'HAVE_STDINT_H', 
12		'HAVE_SYS_TYPES_H',
13	])
14	
15env.Prepend(CPPPATH = [
16	'include',
17])
18
19env.Append(CPPDEFINES = [
20])
21
22sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
23
24svga = env.ConvenienceLibrary(
25	target = 'svga',
26	source = sources,
27)
28
29env.Alias('svga', svga)
30
31Export('svga')
32