xref: /haiku/src/kits/locale/Jamfile (revision efafab643ce980e3f3c916795ed302599f6b4f66)
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	NumberFormat.cpp
32	StringFormat.cpp
33	TimeFormat.cpp
34	TimeUnitFormat.cpp
35	Format.cpp # Used by some of the above.
36	UnicodeChar.cpp # Already used in FirstBootPrompt.
37	RelativeDateTimeFormat.cpp
38	;
39
40local architectureObject ;
41for architectureObject in [ MultiArchSubDirSetup ] {
42	on $(architectureObject) {
43		local architecture = $(TARGET_PACKAGING_ARCH) ;
44
45		UseBuildFeatureHeaders icu ;
46
47		Includes [ FGristFiles $(sources) ]
48			: [ BuildFeatureAttribute icu : headers ] ;
49			# Dependency needed to trigger downloading/unzipping the package
50			# before compiling the files.
51
52		MergeObject <libbe!$(architecture)>locale_kit.o :
53			$(sources)
54			;
55
56		StaticLibrary <$(architecture)>liblocalestub.a
57			: CatalogStub.cpp
58			;
59	}
60}
61