SubDir HAIKU_TOP src system libroot add-ons icu ; UsePrivateHeaders kernel libroot [ FDirName libroot locale ] [ FDirName libroot time ] shared ; # needed for -Werror=deprecated-declarations SubDirC++Flags -Wno-error ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UseBuildFeatureHeaders icu ; local sources = ICUCategoryData.cpp ICUCollateData.cpp ICUCtypeData.cpp ICULocaleBackend.cpp ICULocaleconvData.cpp ICUMessagesData.cpp ICUMonetaryData.cpp ICUNumericData.cpp ICUThreadLocalStorageValue.cpp ICUTimeConversion.cpp ICUTimeData.cpp ; Includes [ FGristFiles $(sources) ] : [ BuildFeatureAttribute icu : headers ] ; # Dependency needed to trigger downloading/unzipping the package # before compiling the files. local grist = [ MultiArchIfPrimary "" : <$(architecture)> ] ; SharedLibrary $(grist)libroot-addon-icu.so : $(sources) : $(grist)libreferenceable.a [ TargetLibstdc++ ] [ BuildFeatureAttribute icu : libraries ] ; } }