Merge branch 'gallium-tex-surfaces' into gallium-0.1
[mesa.git] / src / gallium / winsys / xlib / SConscript
1 #######################################################################
2 # SConscript for xlib winsys
3
4 Import('*')
5
6 if env['platform'] == 'linux' and 'mesa' in env['statetrackers'] and not env['dri']:
7
8 env = env.Clone()
9
10 env.Append(CPPPATH = [
11 '#/src/mesa',
12 '#/src/mesa/main',
13 ])
14
15 sources = [
16 'glxapi.c',
17 'fakeglx.c',
18 'xfonts.c',
19 'xm_api.c',
20 'xm_winsys.c',
21 'xm_winsys_aub.c',
22 'brw_aub.c',
23 ]
24
25 drivers = [
26 softpipe,
27 ]
28
29 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
30 env.SharedLibrary(
31 target ='GL',
32 source = sources,
33 LIBS = glapi + mesa + drivers + auxiliaries + env['LIBS'],
34 )