aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib/SConscript
blob: c38b5be52c8403ebd02f216112f7e7e8668d5d18 (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
34
#######################################################################
# SConscript for xlib winsys

Import('*')

env = env.Clone()

env.Append(CPPPATH = [
	'#/src/mesa',
	'#/src/mesa/main',
])

sources = [
	'glxapi.c',
	'fakeglx.c',
	'xfonts.c',
	'xm_api.c',
	'xm_winsys.c',
	'xm_winsys_aub.c',
	'brw_aub.c',
]
	
drivers = [
	softpipe,
	i915simple,
	i965simple,
]

# TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
env.SharedLibrary(
	target ='GL',
	source = sources,
	LIBS = glapi + mesa + drivers + auxiliaries + env['LIBS'],
)