xref: /haiku/src/kits/translation/Jamfile (revision 220d04022750f40f8bac8f01fa551211e28d04f2)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src kits translation ;
2338b8dc3SIngo Weinhold
3338b8dc3SIngo WeinholdSetSubDirSupportedPlatformsBeOSCompatible ;
4155b583aSIngo WeinholdAddSubDirSupportedPlatforms libbe_test ;
57561e939SIngo Weinhold
654bb4f57SIngo Weinholdif $(TARGET_PLATFORM) != haiku {
754bb4f57SIngo Weinhold	UsePublicHeaders translation ;
854bb4f57SIngo Weinhold}
954bb4f57SIngo Weinhold
106b202f4eSIngo WeinholdUsePrivateHeaders translation textencoding ;
11225b6382SIngo Weinhold
12225b6382SIngo Weinholdlocal architectureObject ;
13225b6382SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ] {
14225b6382SIngo Weinhold	on $(architectureObject) {
156b202f4eSIngo Weinhold		UsePrivateSystemHeaders ;
16a4821468SMatthew Wilber
17225b6382SIngo Weinhold		SharedLibrary [ MultiArchDefaultGristFiles libtranslation.so ] :
187561e939SIngo Weinhold			BitmapStream.cpp
19755ac174SMatthew Wilber			FuncTranslator.cpp
207561e939SIngo Weinhold			TranslationUtils.cpp
217561e939SIngo Weinhold			Translator.cpp
227561e939SIngo Weinhold			TranslatorRoster.cpp
23f90e4543SAxel Dörfler
24*220d0402SOliver Tappe			: be textencoding [ TargetLibstdc++ ]
257561e939SIngo Weinhold			;
26225b6382SIngo Weinhold	}
27225b6382SIngo Weinhold}
287d181dbcSMatthew Wilber
29dd344f79SAxel Dörflerif $(TARGET_PLATFORM) = libbe_test {
30225b6382SIngo Weinhold	HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR)
31225b6382SIngo Weinhold		: libtranslation.so : tests!apps ;
32dd344f79SAxel Dörfler}
33