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 local architectureObject ; 16 for architectureObject in [ MultiArchSubDirSetup ] { 17 on $(architectureObject) { 18 SharedLibrary [ MultiArchDefaultGristFiles libgame.so ] : 19 # Public Game Kit 20 DirectWindow.cpp 21 WindowScreen.cpp 22 GameSound.cpp 23 SimpleGameSound.cpp 24 FileGameSound.cpp 25 PushGameSound.cpp 26 StreamingGameSound.cpp 27 28 # Internal Functionality 29 GameProducer.cpp 30 GameSoundBuffer.cpp 31 GameSoundDevice.cpp 32 GSUtility.cpp 33 : be media [ TargetLibsupc++ ] 34 ; 35 } 36 } 37} else if $(TARGET_PLATFORM) = libbe_test { 38 39 SharedLibrary libgame.so : 40 DirectWindow.cpp 41 WindowScreen.cpp 42 : be 43 ; 44 45 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) : libgame.so 46 : tests!apps ; 47} 48