SubDir HAIKU_TOP src tests kits opengl glsl ; UseBuildFeatureHeaders mesa ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { # Needed for , not present in R5. # Unfortunately we also get the other headers there, # that we don't really want. UsePublicHeaders opengl ; } local shadersources = shaderutil.c ; Includes [ FGristFiles $(shadersources) ] : [ BuildFeatureAttribute mesa : headers ] ; StaticLibrary libshaderutil.a : $(shadersources) ; SimpleTest brick : brick.c : libshaderutil.a be GL ;