1SubDir HAIKU_TOP src tests kits locale ; 2 3UsePublicHeaders locale ; 4UsePrivateHeaders locale shared ; 5 6# Pseudo target to build all locale kit tests 7NotFile LocaleKitTests ; 8Depends LocaleKitTests 9 : 10 catalogSpeed 11 catalogTest 12 catalogTestAddOn 13 collatorSpeed 14 collatorTest 15 localeTest 16 ICUTest 17 libNumberFormatTests.so 18 ; 19 20rule LocaleTest 21{ 22 # LocaleTest <sources> ; 23 local sources = $(1) ; 24 local name = $(sources[1]:B) ; 25 Application $(name) : $(sources) : be $(TARGET_LIBSTDC++) $(TARGET_LIBSUPC++) ; 26} 27 28LocaleTest catalogSpeed.cpp ; 29LocaleTest catalogTest.cpp ; 30LocaleTest collatorSpeed.cpp ; 31LocaleTest collatorTest.cpp ; 32LocaleTest genericNumberFormatTest.cpp ; 33LocaleTest localeTest.cpp ; 34LocaleTest formatTest.cpp ; 35 36SubDirSysHdrs $(HAIKU_ICU_HEADERS) ; 37Includes [ FGristFiles ICUTest.cpp ] : $(HAIKU_ICU_HEADERS_DEPENDENCY) ; 38 # Dependency needed to trigger downloading/unzipping the package before 39 # compiling the files. 40 41Application ICUTest : 42 ICUTest.cpp : 43 be $(TARGET_LIBSUPC++) $(HAIKU_ICU_LIBS) ; 44 45Addon catalogTestAddOn 46 : catalogTestAddOn.cpp 47 : be 48 ; 49 50SubInclude HAIKU_TOP src tests kits locale number_format ; 51