tests/demos: Fix OpenGL gears test build

This commit is contained in:
Alexander von Gluck IV
2013-12-26 23:54:09 -06:00
parent f5305c806c
commit 1f0ebbcc55
+9 -12
View File
@@ -1,26 +1,23 @@
SubDir HAIKU_TOP src tests kits opengl demos gears ;
UseBuildFeatureHeaders mesa ;
SetSubDirSupportedPlatformsBeOSCompatible ;
if $(TARGET_PLATFORM) != haiku {
# Needed for <GL/glut.h>, not present in R5.
# Unfortunately we also get the other headers there,
# that we don't really want.
UsePublicHeaders opengl ;
}
UseBuildFeatureHeaders glu ;
UseLibraryHeaders glut ;
local sources =
gears.c
;
Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute mesa : headers ] ;
Includes [ FGristFiles $(sources) ]
:
[ BuildFeatureAttribute mesa : headers ]
[ BuildFeatureAttribute glu : headers ]
;
SimpleTest GLGears :
$(sources)
:
be
be libglut.so
[ BuildFeatureAttribute mesa : library ]
[ BuildFeatureAttribute glu : library ]
;