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 Format.cpp # Used by some of the above. 31 UnicodeChar.cpp # Already used in ReadOnlyBootPrompt. 32 33 # old, needs investigation 34 # Currency.cpp 35 # FloatFormat.cpp 36 # FloatFormatImpl.cpp 37 # FloatFormatParameters.cpp 38 # FormatImpl.cpp 39 # FormatParameters.cpp 40 # GenericNumberFormat.cpp 41 # IntegerFormat.cpp 42 # IntegerFormatImpl.cpp 43 # IntegerFormatParameters.cpp 44 # NumberFormat.cpp 45 # NumberFormatImpl.cpp 46 # NumberFormatParameters.cpp 47 ; 48 49 50SubDirSysHdrs $(HAIKU_ICU_HEADERS) ; 51Includes [ FGristFiles $(sources) ] : $(HAIKU_ICU_HEADERS_DEPENDENCY) ; 52 # Dependency needed to trigger downloading/unzipping the package before 53 # compiling the files. 54 55AddResources liblocale.so : CountryFlags.rdef ; 56 57SharedLibrary liblocale.so 58 : $(sources) 59 : be $(TARGET_LIBSTDC++) $(HAIKU_ICU_LIBS) 60 ; 61 62StaticLibrary liblocalestub.a 63 : CatalogStub.cpp 64 ; 65 66SEARCH on [ FGristFiles StringForSize.cpp ] += [ FDirName $(HAIKU_TOP) src kits shared ] ; 67SEARCH on [ FGristFiles ColorControl.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ; 68 69DoCatalogs liblocale.so : 70 system 71 : StringForSize.cpp 72 ColorControl.cpp 73 ; 74