1SubDir HAIKU_TOP src kits translation ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4AddSubDirSupportedPlatforms libbe_test ; 5 6if $(TARGET_PLATFORM) != haiku { 7 UsePublicHeaders translation ; 8} 9 10UsePrivateHeaders translation textencoding ; 11 12local architectureObject ; 13for architectureObject in [ MultiArchSubDirSetup ] { 14 on $(architectureObject) { 15 UsePrivateSystemHeaders ; 16 17 SharedLibrary [ MultiArchDefaultGristFiles libtranslation.so ] : 18 BitmapStream.cpp 19 FuncTranslator.cpp 20 TranslationUtils.cpp 21 Translator.cpp 22 TranslatorRoster.cpp 23 24 : be textencoding [ TargetLibstdc++ ] 25 ; 26 } 27} 28 29if $(TARGET_PLATFORM) = libbe_test { 30 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) 31 : libtranslation.so : tests!apps ; 32} 33