1 #######################################################################
2 # SConscript for xlib winsys
6 if env['platform'] != 'linux':
21 env.Append(CPPPATH = [
22 '#src/gallium/drivers',
32 env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
33 env.Prepend(LIBS = [softpipe])
36 env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
38 env.Prepend(LIBS = [llvmpipe])
40 # Need this for trace, identity drivers referenced by
41 # gallium_wrap_screen().
43 env.Prepend(LIBS = [gallium])
45 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
46 graw = env.SharedLibrary(
51 env.InstallSharedLibrary(graw, version=(1, 0))
53 graw = env.FindIxes(graw, 'SHLIBPREFIX', 'SHLIBSUFFIX')