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 localekittest.so 18 ; 19 20rule LocaleTest 21{ 22 # LocaleTest <sources> ; 23 local sources = $(1) ; 24 local name = $(sources[1]:B) ; 25 Application $(name) : $(sources) : be [ TargetLibstdc++ ] [ TargetLibsupc++ ] ; 26} 27 28LocaleTest catalogSpeed.cpp ; 29LocaleTest catalogTest.cpp ; 30LocaleTest collatorSpeed.cpp ; 31LocaleTest collatorTest.cpp ; 32 33Includes [ FGristFiles ICUTest.cpp ] : [ BuildFeatureAttribute icu : headers ] ; 34 # Dependency needed to trigger downloading/unzipping the package before 35 # compiling the files. 36 37Application ICUTest : 38 ICUTest.cpp : 39 be [ TargetLibsupc++ ] [ BuildFeatureAttribute icu : libraries ] ; 40 41Addon catalogTestAddOn 42 : catalogTestAddOn.cpp 43 : be 44 ; 45 46UnitTestLib liblocaletest.so : 47 LocaleKitTestAddon.cpp 48 49 CollatorTest.cpp 50 DateFormatTest.cpp 51 DurationFormatTest.cpp 52 LanguageTest.cpp 53 NumberFormatTest.cpp 54 RelativeDateTimeFormatTest.cpp 55 StringFormatTest.cpp 56 UnicodeCharTest.cpp 57 58 : be [ TargetLibstdc++ ] 59 ; 60 61# SubInclude HAIKU_TOP src tests kits locale number_format ; 62