1 #######################################################################
2 # SConscript for xlib winsys
6 if env['platform'] != 'linux':
21 env.Append(CPPPATH = [
22 '#src/gallium/drivers',
23 '#src/gallium/include/state_tracker',
35 env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
36 env.Prepend(LIBS = [softpipe])
39 env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
41 env.Prepend(LIBS = [llvmpipe])
43 # Need this for trace, identity drivers referenced by
44 # gallium_wrap_screen().
46 env.Prepend(LIBS = [gallium])
48 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
49 graw = env.SharedLibrary(
54 env.InstallSharedLibrary(graw, version=(1, 0))
56 graw = env.FindIxes(graw, 'SHLIBPREFIX', 'SHLIBSUFFIX')