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