1SubDir HAIKU_TOP src tests kits locale ; 2 3UsePublicHeaders locale ; 4UsePrivateHeaders locale shared ; 5UseBuildFeatureHeaders icu ; 6 7# Pseudo target to build all locale kit tests 8NotFile LocaleKitTests ; 9Depends LocaleKitTests 10 : 11 catalogSpeed 12 catalogTest 13 catalogTestAddOn 14 collatorSpeed 15 collatorTest 16 ICUTest 17# libNumberFormatTests.so 18 localekittest.so 19 ; 20 21rule LocaleTest 22{ 23 # LocaleTest <sources> ; 24 local sources = $(1) ; 25 local name = $(sources[1]:B) ; 26 Application $(name) : $(sources) : be [ TargetLibstdc++ ] [ TargetLibsupc++ ] ; 27} 28 29LocaleTest catalogSpeed.cpp ; 30LocaleTest catalogTest.cpp ; 31LocaleTest collatorSpeed.cpp ; 32LocaleTest collatorTest.cpp ; 33LocaleTest genericNumberFormatTest.cpp ; 34 35Includes [ FGristFiles ICUTest.cpp ] : [ BuildFeatureAttribute icu : headers ] ; 36 # Dependency needed to trigger downloading/unzipping the package before 37 # compiling the files. 38 39Application ICUTest : 40 ICUTest.cpp : 41 be [ TargetLibsupc++ ] [ BuildFeatureAttribute icu : libraries ] ; 42 43Addon catalogTestAddOn 44 : catalogTestAddOn.cpp 45 : be 46 ; 47 48UnitTestLib localekittest.so : 49 LocaleKitTestAddon.cpp 50 51 CollatorTest.cpp 52 DateFormatTest.cpp 53 DurationFormatTest.cpp 54 LanguageTest.cpp 55 MessageFormatTest.cpp 56 UnicodeCharTest.cpp 57 58 : be [ TargetLibstdc++ ] 59 ; 60 61# SubInclude HAIKU_TOP src tests kits locale number_format ; 62