gl test: Fix GL dependencies for GL kit test apps

This commit is contained in:
Alexander von Gluck IV
2012-04-17 19:50:04 +00:00
parent acbaa2b251
commit 582c97352d
4 changed files with 33 additions and 4 deletions
+10 -1
View File
@@ -1,4 +1,5 @@
SubDir HAIKU_TOP src tests kits opengl demos gears ;
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
SetSubDirSupportedPlatformsBeOSCompatible ;
@@ -9,7 +10,15 @@ if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders opengl ;
}
SimpleTest GLGears :
local sources =
gears.c
;
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
SimpleTest GLGears :
$(sources)
: be GL
;
+7 -1
View File
@@ -10,8 +10,14 @@ if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders opengl ;
}
SimpleTest GLDirectMode :
local sources =
GLDirectMode.cpp
;
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
SimpleTest GLDirectMode :
$(sources)
: be game GL $(TARGET_LIBSUPC++)
: GLDirectMode.rdef
;
+8 -1
View File
@@ -1,4 +1,5 @@
SubDir HAIKU_TOP src tests kits opengl glsl ;
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
SetSubDirSupportedPlatformsBeOSCompatible ;
@@ -9,10 +10,16 @@ if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders opengl ;
}
StaticLibrary libshaderutil.a :
local shadersources =
shaderutil.c
;
Includes [ FGristFiles $(shadersources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
StaticLibrary libshaderutil.a :
$(shadersources)
;
SimpleTest brick :
brick.c
: libshaderutil.a be GL
+8 -1
View File
@@ -1,4 +1,5 @@
SubDir HAIKU_TOP src tests kits opengl glut game_mode ;
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
SetSubDirSupportedPlatformsBeOSCompatible ;
@@ -9,7 +10,13 @@ if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders opengl ;
}
SimpleTest GLUTGameMode :
local sources =
game_mode.c
;
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
SimpleTest GLUTGameMode :
$(sources)
: be GL
;