xref: /haiku/src/kits/locale/Jamfile (revision c90684742e7361651849be4116d0e5de3a817194)
1SubDir HAIKU_TOP src kits locale ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UsePrivateHeaders libbe locale shared ;
6UsePublicHeaders locale storage icon ;
7UseLibraryHeaders icon ;
8
9local sources =
10	cat.cpp
11	Catalog.cpp
12	Collator.cpp
13	Country.cpp
14	DefaultCatalog.cpp
15	FormattingConventions.cpp
16	HashMapCatalog.cpp
17	Language.cpp
18	LibbeLocaleBackend.cpp
19	LibraryInit.cpp
20	Locale.cpp
21	LocaleRoster.cpp
22	MutableLocaleRoster.cpp
23	TimeZone.cpp
24
25	# in progress
26	DateFormat.cpp
27	DateTimeFormat.cpp
28	DurationFormat.cpp
29	TimeFormat.cpp
30	TimeUnitFormat.cpp
31	Format.cpp # Used by some of the above.
32	UnicodeChar.cpp # Already used in ReadOnlyBootPrompt.
33
34	# old, needs investigation
35	# Currency.cpp
36	# FloatFormat.cpp
37	# FloatFormatImpl.cpp
38	# FloatFormatParameters.cpp
39	# FormatImpl.cpp
40	# FormatParameters.cpp
41	# GenericNumberFormat.cpp
42	# IntegerFormat.cpp
43	# IntegerFormatImpl.cpp
44	# IntegerFormatParameters.cpp
45	# NumberFormat.cpp
46	# NumberFormatImpl.cpp
47	# NumberFormatParameters.cpp
48	;
49
50
51SubDirSysHdrs $(HAIKU_ICU_HEADERS) ;
52Includes [ FGristFiles $(sources) ] : $(HAIKU_ICU_HEADERS_DEPENDENCY) ;
53	# Dependency needed to trigger downloading/unzipping the package before
54	# compiling the files.
55
56AddResources liblocale.so : CountryFlags.rdef ;
57
58SharedLibrary liblocale.so
59	: $(sources)
60	: be $(TARGET_LIBSTDC++) $(HAIKU_ICU_LIBS)
61	;
62
63StaticLibrary liblocalestub.a
64	: CatalogStub.cpp
65	;
66
67SEARCH on [ FGristFiles StringForSize.cpp ] += [ FDirName $(HAIKU_TOP) src kits shared ] ;
68SEARCH on [ FGristFiles ColorControl.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
69
70DoCatalogs liblocale.so :
71	system
72	: StringForSize.cpp
73	  ColorControl.cpp
74	;
75