5 env.Prepend(CPPPATH = [
8 #Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers
23 env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_SOFTPIPE'])
25 sources = ['target.c']
28 env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
29 env.Prepend(LIBS = [llvmpipe])
31 if env['platform'] == 'windows':
32 if env['gcc'] and env['machine'] != 'x86_64':
33 sources += ['osmesa.mingw.def']
35 sources += ['osmesa.def']
37 gallium_osmesa = env.SharedLibrary(
43 env.Alias('osmesa', gallium_osmesa)