SubDir HAIKU_TOP src system libroot add-ons icu ;UsePrivateHeaderskernellibroot[ FDirName libroot locale ][ FDirName libroot time ]shared;# needed for -Werror=deprecated-declarationsSubDirC++Flags -Wno-error ;local architectureObject ;for architectureObject in [ MultiArchSubDirSetup ] {on $(architectureObject) {local architecture = $(TARGET_PACKAGING_ARCH) ;UseBuildFeatureHeaders icu ;local sources =ICUCategoryData.cppICUCollateData.cppICUCtypeData.cppICULocaleBackend.cppICULocaleconvData.cppICUMessagesData.cppICUMonetaryData.cppICUNumericData.cppICUThreadLocalStorageValue.cppICUTimeConversion.cppICUTimeData.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 ];}}