SubDir HAIKU_TOP src tests kits opengl glut game_mode ; SubDirSysHdrs $(HAIKU_MESA_HEADERS) ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { # Needed for , not present in R5. # Unfortunately we also get the other headers there, # that we don't really want. UsePublicHeaders opengl ; } local sources = game_mode.c ; Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ; SimpleTest GLUTGameMode : $(sources) : be GL libglut.so ;