Import('*') env = env.Clone() env.Append(CPPPATH = [ '#/src/mapi', '#/src/mesa', '#/src/mesa/main', '#/include/HaikuGL', '/boot/system/develop/headers/private', Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers ]) env.Prepend(LIBS = [ glsl, mesa, ]) sources = [ 'SoftwareRast.cpp' ] # Disallow undefined symbols #env.Append(SHLINKFLAGS = ['-Wl,-z,defs']) libswrast = env.SharedLibrary( target = 'swrast', source = sources )