1 #######################################################################
2 # SConscript for xlib winsys
16 env.Prepend(LIBS = env['X11_LIBS'])
18 env.Append(CPPPATH = [
19 '#src/gallium/drivers',
20 '#src/gallium/include/state_tracker',
29 env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
30 env.Prepend(LIBS = [softpipe])
33 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 graw = env.InstallSharedLibrary(graw, version=(1, 0))
49 env.Alias('graw-xlib', graw)