1 #######################################################################
2 # SConscript for xlib winsys
6 if env['platform'] == 'linux' \
7 and 'mesa' in env['statetrackers'] \
8 and ('softpipe' or 'i915simple' or 'trace') in env['drivers'] \
13 env.Append(CPPPATH = [
22 if 'softpipe' in env['drivers']:
25 if 'i965simple' in env['drivers']:
26 drivers += [i965simple]
32 if 'trace' in env['drivers']:
33 env.Append(CPPDEFINES = 'GALLIUM_TRACE')
36 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
37 libgl = env.SharedLibrary(
40 LIBS = st_xlib + glapi + mesa + drivers + auxiliaries + env['LIBS'],
43 env.InstallSharedLibrary(libgl, version=(1, 5))