xref: /haiku/src/kits/locale/Jamfile (revision 79d6f0870e70cb72a2bbd7910e05cb531335e9b7)
1SubDir HAIKU_TOP src kits locale ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UsePrivateHeaders locale shared ;
6UsePublicHeaders locale storage ;
7
8local sources =
9	cat.cpp
10	Catalog.cpp
11	CatalogData.cpp
12	Collator.cpp
13	Country.cpp
14	DefaultCatalog.cpp
15	EditableCatalog.cpp
16	FormattingConventions.cpp
17	HashMapCatalog.cpp
18	InitLocaleKit.cpp
19	Language.cpp
20	Locale.cpp
21	LocaleRoster.cpp
22	LocaleRosterData.cpp
23	MutableLocaleRoster.cpp
24	TextEncoding.cpp
25	TimeZone.cpp
26
27	# in progress
28	DateFormat.cpp
29	DateTimeFormat.cpp
30	DurationFormat.cpp
31	MessageFormat.cpp
32	NumberFormat.cpp
33	TimeFormat.cpp
34	TimeUnitFormat.cpp
35	Format.cpp # Used by some of the above.
36	UnicodeChar.cpp # Already used in FirstBootPrompt.
37
38	# old, needs investigation
39	# Currency.cpp
40	# FloatFormat.cpp
41	# FloatFormatImpl.cpp
42	# FloatFormatParameters.cpp
43	# FormatImpl.cpp
44	# FormatParameters.cpp
45	# GenericNumberFormat.cpp
46	# IntegerFormat.cpp
47	# IntegerFormatImpl.cpp
48	# IntegerFormatParameters.cpp
49	# NumberFormatParameters.cpp
50	;
51
52local architectureObject ;
53for architectureObject in [ MultiArchSubDirSetup ] {
54	on $(architectureObject) {
55		local architecture = $(TARGET_PACKAGING_ARCH) ;
56
57		UseBuildFeatureHeaders icu ;
58
59		Includes [ FGristFiles $(sources) ]
60			: [ BuildFeatureAttribute icu : headers ] ;
61			# Dependency needed to trigger downloading/unzipping the package
62			# before compiling the files.
63
64		MergeObject <libbe!$(architecture)>locale_kit.o :
65			$(sources)
66			;
67
68		StaticLibrary <$(architecture)>liblocalestub.a
69			: CatalogStub.cpp
70			;
71	}
72}
73