xref: /haiku/src/kits/locale/Jamfile (revision 45b01eb84189a623981270a02d21c7a8cb93a9e1)
1SubDir HAIKU_TOP src kits locale ;
2
3UsePrivateHeaders libbe locale shared ;
4UsePublicHeaders locale storage icon ;
5UseLibraryHeaders icu icon ;
6
7AddResources liblocale.so : CountryFlags.rdef ;
8
9SharedLibrary liblocale.so
10	: cat.cpp
11	  Catalog.cpp
12	  Collator.cpp
13	  Country.cpp
14	  Currency.cpp
15	  DefaultCatalog.cpp
16	  FloatFormat.cpp
17	  FloatFormatImpl.cpp
18	  FloatFormatParameters.cpp
19	  Format.cpp
20	  FormatImpl.cpp
21	  FormatParameters.cpp
22	  GenericNumberFormat.cpp
23	  HashMapCatalog.cpp
24	  IntegerFormat.cpp
25	  IntegerFormatImpl.cpp
26	  IntegerFormatParameters.cpp
27	  langinfo.cpp
28	  Language.cpp
29	  LibbeLocaleBackend.cpp
30	  LibraryInit.cpp
31	  Locale.cpp
32	  LocaleRoster.cpp
33	  NumberFormat.cpp
34	  NumberFormatImpl.cpp
35	  NumberFormatParameters.cpp
36	  PropertyFile.cpp
37	  TimeFormat.cpp
38	  UnicodeChar.cpp
39	: be $(TARGET_LIBSTDC++) libicu-common.so libicu-i18n.so
40	;
41
42SEARCH on [ FGristFiles StringForSize.cpp ] += [ FDirName $(HAIKU_TOP) src kits shared ] ;
43SEARCH on [ FGristFiles ColorControl.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
44
45DoCatalogs liblocale.so :
46	system
47	: StringForSize.cpp
48	  ColorControl.cpp
49	:
50	: '"(gLocaleBackend\\s*->\\s*GetString\\s*|BCatalogAddOn\\s*::\\s*MarkForTranslation\\s*)"'
51;
52