xref: /haiku/src/tests/kits/locale/Jamfile (revision 73254051b196497dfee9ab89eb0c2f60cc305819)
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	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 $(TARGET_LIBSTDC++) $(TARGET_LIBSUPC++) ;
27}
28
29LocaleTest catalogSpeed.cpp ;
30LocaleTest catalogTest.cpp ;
31LocaleTest collatorSpeed.cpp ;
32LocaleTest collatorTest.cpp ;
33LocaleTest genericNumberFormatTest.cpp ;
34LocaleTest localeTest.cpp ;
35LocaleTest formatTest.cpp ;
36
37Includes [ FGristFiles ICUTest.cpp ] : [ BuildFeatureAttribute icu : headers ] ;
38	# Dependency needed to trigger downloading/unzipping the package before
39	# compiling the files.
40
41Application ICUTest :
42	ICUTest.cpp :
43	be $(TARGET_LIBSUPC++) [ BuildFeatureAttribute icu : libraries ] ;
44
45Addon catalogTestAddOn
46	: catalogTestAddOn.cpp
47	: be
48	;
49
50SubInclude HAIKU_TOP src tests kits locale number_format ;
51