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 11local architectureObject ; 12for architectureObject in [ MultiArchSubDirSetup ] { 13 on $(architectureObject) { 14 local architecture = $(TARGET_PACKAGING_ARCH) ; 15 16 UseBuildFeatureHeaders icu ; 17 18 local sources = 19 ICUCategoryData.cpp 20 ICUCollateData.cpp 21 ICUCtypeData.cpp 22 ICULocaleBackend.cpp 23 ICULocaleconvData.cpp 24 ICUMessagesData.cpp 25 ICUMonetaryData.cpp 26 ICUNumericData.cpp 27 ICUThreadLocalStorageValue.cpp 28 ICUTimeConversion.cpp 29 ICUTimeData.cpp 30 ; 31 32 Includes [ FGristFiles $(sources) ] 33 : [ BuildFeatureAttribute icu : headers ] ; 34 # Dependency needed to trigger downloading/unzipping the package 35 # before compiling the files. 36 37 local grist = [ MultiArchIfPrimary "" : <$(architecture)> ] ; 38 39 SharedLibrary $(grist)libroot-addon-icu.so 40 : $(sources) 41 : 42 $(grist)libreferenceable.a $(TARGET_LIBSTDC++_$(architecture)) 43 [ BuildFeatureAttribute icu : libraries ] 44 ; 45 } 46} 47