xref: /haiku/src/kits/locale/Jamfile (revision fce4895d1884da5ae6fb299d23c735c598e690b1)
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	TimeZone.cpp
25
26	# in progress
27	DateFormat.cpp
28	DateTimeFormat.cpp
29	DurationFormat.cpp
30	MessageFormat.cpp
31	NumberFormat.cpp
32	TimeFormat.cpp
33	TimeUnitFormat.cpp
34	Format.cpp # Used by some of the above.
35	UnicodeChar.cpp # Already used in FirstBootPrompt.
36
37	# old, needs investigation
38	# Currency.cpp
39	# FloatFormat.cpp
40	# FloatFormatImpl.cpp
41	# FloatFormatParameters.cpp
42	# FormatImpl.cpp
43	# FormatParameters.cpp
44	# GenericNumberFormat.cpp
45	# IntegerFormat.cpp
46	# IntegerFormatImpl.cpp
47	# IntegerFormatParameters.cpp
48	# NumberFormatParameters.cpp
49	;
50
51local architectureObject ;
52for architectureObject in [ MultiArchSubDirSetup ] {
53	on $(architectureObject) {
54		local architecture = $(TARGET_PACKAGING_ARCH) ;
55
56		UseBuildFeatureHeaders icu ;
57
58		Includes [ FGristFiles $(sources) ]
59			: [ BuildFeatureAttribute icu : headers ] ;
60			# Dependency needed to trigger downloading/unzipping the package
61			# before compiling the files.
62
63		MergeObject <libbe!$(architecture)>locale_kit.o :
64			$(sources)
65			;
66
67		StaticLibrary <$(architecture)>liblocalestub.a
68			: CatalogStub.cpp
69			;
70	}
71}
72