xref: /haiku/src/kits/locale/Jamfile (revision 3a5082aa46f958b1f49398c8b69458fa12dd581e)
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	HashMapCatalog.cpp
16	Language.cpp
17	LibbeLocaleBackend.cpp
18	LibraryInit.cpp
19	Locale.cpp
20	LocaleRoster.cpp
21	MutableLocaleRoster.cpp
22	TimeZone.cpp
23
24	# in progress
25	DateFormat.cpp
26	DateTimeFormat.cpp
27	DurationFormat.cpp
28	TimeFormat.cpp
29	TimeUnitFormat.cpp
30
31	# old, needs investigation
32	Currency.cpp
33	FloatFormat.cpp
34	FloatFormatImpl.cpp
35	FloatFormatParameters.cpp
36	Format.cpp
37	FormatImpl.cpp
38	FormatParameters.cpp
39	GenericNumberFormat.cpp
40	IntegerFormat.cpp
41	IntegerFormatImpl.cpp
42	IntegerFormatParameters.cpp
43	NumberFormat.cpp
44	NumberFormatImpl.cpp
45	NumberFormatParameters.cpp
46	PropertyFile.cpp
47	UnicodeChar.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