1SubDir HAIKU_TOP src kits game ; 2 3AddSubDirSupportedPlatforms libbe_test ; 4 5UsePrivateHeaders app ; 6UsePrivateHeaders interface ; 7UsePrivateHeaders input ; 8 9SubDirSysHdrs $(SUBDIR) ; 10 11 12if $(TARGET_PLATFORM) = haiku { 13 local architectureObject ; 14 for architectureObject in [ MultiArchSubDirSetup ] { 15 on $(architectureObject) { 16 SharedLibrary [ MultiArchDefaultGristFiles 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 [ TargetLibsupc++ ] 32 ; 33 } 34 } 35} else if $(TARGET_PLATFORM) = libbe_test { 36 37 SharedLibrary libgame.so : 38 DirectWindow.cpp 39 WindowScreen.cpp 40 : be [ TargetLibstdc++ ] 41 ; 42 43 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) : libgame.so 44 : tests!apps ; 45} 46