xref: /haiku/src/tests/kits/locale/Jamfile (revision b671e9bbdbd10268a042b4f4cc4317ccd03d105e)
1SubDir HAIKU_TOP src tests kits locale ;
2
3UsePublicHeaders locale ;
4UsePrivateHeaders locale shared ;
5UseLibraryHeaders 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	localeTest
17	ICUTest
18	libNumberFormatTests.so
19	;
20
21rule LocaleTest
22{
23	# LocaleTest <sources> ;
24	local sources = $(1) ;
25	local name = $(sources[1]:B) ;
26	Application $(name) : $(sources) : be liblocale.so $(TARGET_LIBSUPC++) ;
27}
28
29LocaleTest catalogSpeed.cpp ;
30LocaleTest catalogTest.cpp ;
31LocaleTest collatorSpeed.cpp ;
32LocaleTest collatorTest.cpp ;
33LocaleTest genericNumberFormatTest.cpp ;
34LocaleTest localeTest.cpp ;
35
36Application ICUTest :
37	ICUTest.cpp :
38	be libicu-common.so libicu-i18n.so libicu-data.so $(TARGET_LIBSUPC++) ;
39
40Addon catalogTestAddOn
41	: catalogTestAddOn.cpp
42	: be liblocale.so
43	;
44
45SubInclude HAIKU_TOP src tests kits locale number_format ;
46