1 #######################################################################
2 # SConscript for xlib winsys
6 if env['platform'] == 'linux' \
7 and 'mesa' in env['statetrackers'] \
8 and 'softpipe' in env['drivers'] \
9 and 'i965simple' in env['drivers'] \
14 env.Append(CPPPATH = [
34 if 'trace' in env['drivers']:
35 env.Append(CPPDEFINES = 'GALLIUM_TRACE')
38 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
39 libgl = env.SharedLibrary(
42 LIBS = glapi + mesa + drivers + auxiliaries + env['LIBS'],
45 env.InstallSharedLibrary(libgl, version=(1, 5))