1SubDir HAIKU_TOP src system libroot add-ons icu ; 2 3UsePrivateHeaders 4 kernel 5 libroot 6 [ FDirName libroot locale ] 7 [ FDirName libroot time ] 8 shared 9 ; 10 11# needed for -Werror=deprecated-declarations 12SubDirC++Flags -Wno-error ; 13 14local architectureObject ; 15for architectureObject in [ MultiArchSubDirSetup ] { 16 on $(architectureObject) { 17 local architecture = $(TARGET_PACKAGING_ARCH) ; 18 19 UseBuildFeatureHeaders icu ; 20 21 local sources = 22 ICUCategoryData.cpp 23 ICUCollateData.cpp 24 ICUCtypeData.cpp 25 ICULocaleBackend.cpp 26 ICULocaleconvData.cpp 27 ICUMessagesData.cpp 28 ICUMonetaryData.cpp 29 ICUNumericData.cpp 30 ICUThreadLocalStorageValue.cpp 31 ICUTimeConversion.cpp 32 ICUTimeData.cpp 33 ; 34 35 Includes [ FGristFiles $(sources) ] 36 : [ BuildFeatureAttribute icu : headers ] ; 37 # Dependency needed to trigger downloading/unzipping the package 38 # before compiling the files. 39 40 local grist = [ MultiArchIfPrimary "" : <$(architecture)> ] ; 41 42 SharedLibrary $(grist)libroot-addon-icu.so 43 : $(sources) 44 : 45 $(grist)libreferenceable.a [ TargetLibstdc++ ] 46 [ BuildFeatureAttribute icu : libraries ] 47 ; 48 } 49} 50