1SubDir HAIKU_TOP src kits game ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5AddSubDirSupportedPlatforms libbe_test ; 6 7UsePrivateHeaders app ; 8UsePrivateHeaders interface ; 9UsePrivateHeaders input ; 10 11SubDirSysHdrs $(SUBDIR) ; 12 13 14if $(TARGET_PLATFORM) = haiku { 15 16 SharedLibrary libgame.so : 17 # Public Game Kit 18 DirectWindow.cpp 19 WindowScreen.cpp 20 GameSound.cpp 21 SimpleGameSound.cpp 22 FileGameSound.cpp 23 PushGameSound.cpp 24 StreamingGameSound.cpp 25 26 # Internal Functionality 27 GameProducer.cpp 28 GameSoundBuffer.cpp 29 GameSoundDevice.cpp 30 GSUtility.cpp 31 : be media $(TARGET_LIBSUPC++) 32 ; 33} else if $(TARGET_PLATFORM) = libbe_test { 34 35 SharedLibrary libgame.so : 36 DirectWindow.cpp 37 WindowScreen.cpp 38 : be 39 ; 40 41 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) : libgame.so 42 : tests!apps ; 43} 44