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 = [
28 if 'softpipe' in env['drivers']:
31 if 'i965simple' in env['drivers']:
32 drivers += [i965simple]
38 if 'trace' in env['drivers']:
39 env.Append(CPPDEFINES = 'GALLIUM_TRACE')
42 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
43 libgl = env.SharedLibrary(
46 LIBS = glapi + mesa + drivers + auxiliaries + env['LIBS'],
49 env.InstallSharedLibrary(libgl, version=(1, 5))