1SubDir HAIKU_TOP src tests kits opengl glsl ; 2UseBuildFeatureHeaders mesa ; 3 4SetSubDirSupportedPlatformsBeOSCompatible ; 5 6if $(TARGET_PLATFORM) != haiku { 7 # Needed for <GL/glut.h>, not present in R5. 8 # Unfortunately we also get the other headers there, 9 # that we don't really want. 10 UsePublicHeaders opengl ; 11} 12 13local shadersources = 14 shaderutil.c 15; 16 17Includes [ FGristFiles $(shadersources) ] 18 : [ BuildFeatureAttribute mesa : headers ] ; 19 20StaticLibrary libshaderutil.a : 21 $(shadersources) 22; 23 24SimpleTest brick : 25 brick.c 26 : libshaderutil.a be GL 27; 28