1 #######################################################################
2 # SConscript for swrast convenience library
4 # This is a meta-driver which consists of any and all of the software
5 # rasterizers into a single driver. A software rasterizer is defined
6 # as any driver which takes an sw_winsys pointer as the only argument
13 # To avoid targets having to check extensively or add drivers on a whim, append
14 # all referenced extra drivers to the exported symbol.
17 env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
18 env.Prepend(LIBS = [softpipe])
19 extra.append(softpipe)
22 env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
24 env.Prepend(LIBS = [llvmpipe])
25 extra.append(llvmpipe)
27 if 'cell' in env['drivers']:
28 env.Append(CPPDEFINES = 'GALLIUM_CELL')
29 env.Prepend(LIBS = [cell])
32 sw = env.ConvenienceLibrary(