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