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