tests/direct_mode: Fix OpenGL direct mode test build

This commit is contained in:
Alexander von Gluck IV
2013-12-26 23:51:39 -06:00
parent 733ea4057e
commit f5305c806c
+7 -10
View File
@@ -1,25 +1,22 @@
SubDir HAIKU_TOP src tests kits opengl direct_mode ;
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 ;
local sources =
GLDirectMode.cpp
;
Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute mesa : headers ] ;
Includes [ FGristFiles $(sources) ]
:
[ BuildFeatureAttribute mesa : headers ]
[ BuildFeatureAttribute glu : headers ]
;
SimpleTest GLDirectMode :
$(sources)
:
be game $(TARGET_LIBSUPC++)
[ BuildFeatureAttribute mesa : library ]
[ BuildFeatureAttribute glu : library ]
: GLDirectMode.rdef
;