1SubDir HAIKU_TOP src tests kits opengl glsl ; 2SubDirSysHdrs $(HAIKU_MESA_HEADERS) ; 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) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ; 18 19StaticLibrary libshaderutil.a : 20 $(shadersources) 21; 22 23SimpleTest brick : 24 brick.c 25 : libshaderutil.a be GL 26; 27