3 if not set(('softpipe', 'llvmpipe')).intersection(env['drivers']):
4 print 'warning: no supported pipe driver: skipping build of swrastg_dri.so'
10 '#/src/gallium/winsys/sw/dri',
23 if 'softpipe' in env['drivers']:
24 env.Append(CPPDEFINES = 'GALLIUM_SOFTPIPE')
25 env.Prepend(LIBS = [softpipe])
27 if 'llvmpipe' in env['drivers']:
29 if 'LLVM_VERSION' in env:
30 env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
32 env.Prepend(LIBS = [llvmpipe])
39 target ='swrastg_dri.so',
40 source = swrastg_sources,