SubDir HAIKU_TOP src tests kits opengl glsl ; UseBuildFeatureHeaders mesa ; UseBuildFeatureHeaders glu ; UseLibraryHeaders glut ; local shadersources = shaderutil.c ; Includes [ FGristFiles $(shadersources) ] : [ BuildFeatureAttribute mesa : headers ] [ BuildFeatureAttribute glu : headers ] ; StaticLibrary libshaderutil.a : $(shadersources) ; SimpleTest brick : brick.c : libshaderutil.a be libglut.so [ BuildFeatureAttribute mesa : library ] [ BuildFeatureAttribute glu : library ] ;