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