xref: /haiku/src/tests/kits/opengl/glut/game_mode/Jamfile (revision 90ae2e54f6ccaca73c011a2aa4cdd660417108ad)
1SubDir HAIKU_TOP src tests kits opengl glut game_mode ;
2SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
3
4SetSubDirSupportedPlatformsBeOSCompatible ;
5
6if $(TARGET_PLATFORM) != haiku {
7	# Needed for <GL/glut.h>, not present in R5.
8	# Unfortunately we also get the other headers there,
9	# that we don't really want.
10	UsePublicHeaders opengl ;
11}
12
13local sources =
14	game_mode.c
15;
16
17Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ;
18
19SimpleTest GLUTGameMode :
20	$(sources)
21	: be GL libglut.so
22;
23