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