gl test: Fix GL dependencies for GL kit test apps
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
SubDir HAIKU_TOP src tests kits opengl demos gears ;
|
SubDir HAIKU_TOP src tests kits opengl demos gears ;
|
||||||
|
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
@@ -9,7 +10,15 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
UsePublicHeaders opengl ;
|
UsePublicHeaders opengl ;
|
||||||
}
|
}
|
||||||
|
|
||||||
SimpleTest GLGears :
|
|
||||||
|
local sources =
|
||||||
gears.c
|
gears.c
|
||||||
|
;
|
||||||
|
|
||||||
|
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||||
|
|
||||||
|
|
||||||
|
SimpleTest GLGears :
|
||||||
|
$(sources)
|
||||||
: be GL
|
: be GL
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -10,8 +10,14 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
UsePublicHeaders opengl ;
|
UsePublicHeaders opengl ;
|
||||||
}
|
}
|
||||||
|
|
||||||
SimpleTest GLDirectMode :
|
local sources =
|
||||||
GLDirectMode.cpp
|
GLDirectMode.cpp
|
||||||
|
;
|
||||||
|
|
||||||
|
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||||
|
|
||||||
|
SimpleTest GLDirectMode :
|
||||||
|
$(sources)
|
||||||
: be game GL $(TARGET_LIBSUPC++)
|
: be game GL $(TARGET_LIBSUPC++)
|
||||||
: GLDirectMode.rdef
|
: GLDirectMode.rdef
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
SubDir HAIKU_TOP src tests kits opengl glsl ;
|
SubDir HAIKU_TOP src tests kits opengl glsl ;
|
||||||
|
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
@@ -9,10 +10,16 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
UsePublicHeaders opengl ;
|
UsePublicHeaders opengl ;
|
||||||
}
|
}
|
||||||
|
|
||||||
StaticLibrary libshaderutil.a :
|
local shadersources =
|
||||||
shaderutil.c
|
shaderutil.c
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Includes [ FGristFiles $(shadersources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||||
|
|
||||||
|
StaticLibrary libshaderutil.a :
|
||||||
|
$(shadersources)
|
||||||
|
;
|
||||||
|
|
||||||
SimpleTest brick :
|
SimpleTest brick :
|
||||||
brick.c
|
brick.c
|
||||||
: libshaderutil.a be GL
|
: libshaderutil.a be GL
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
SubDir HAIKU_TOP src tests kits opengl glut game_mode ;
|
SubDir HAIKU_TOP src tests kits opengl glut game_mode ;
|
||||||
|
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
@@ -9,7 +10,13 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
UsePublicHeaders opengl ;
|
UsePublicHeaders opengl ;
|
||||||
}
|
}
|
||||||
|
|
||||||
SimpleTest GLUTGameMode :
|
local sources =
|
||||||
game_mode.c
|
game_mode.c
|
||||||
|
;
|
||||||
|
|
||||||
|
Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
|
||||||
|
|
||||||
|
SimpleTest GLUTGameMode :
|
||||||
|
$(sources)
|
||||||
: be GL
|
: be GL
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user