vfs: check userland buffers before reading them.
[haiku.git] / src / system / libroot / add-ons / icu / Jamfile
blob3c076f30f3ea21a05e4c122caa57c9cf7c426603
1 SubDir HAIKU_TOP src system libroot add-ons icu ;
3 UsePrivateHeaders
4         kernel
5         libroot
6         [ FDirName libroot locale ]
7         [ FDirName libroot time ]
8         shared
9         ;
11 local architectureObject ;
12 for architectureObject in [ MultiArchSubDirSetup ] {
13         on $(architectureObject) {
14                 local architecture = $(TARGET_PACKAGING_ARCH) ;
16                 UseBuildFeatureHeaders icu ;
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                         ;
32                 Includes [ FGristFiles $(sources) ]
33                         : [ BuildFeatureAttribute icu : headers ] ;
34                         # Dependency needed to trigger downloading/unzipping the package
35                         # before compiling the files.
37                 local grist = [ MultiArchIfPrimary "" : <$(architecture)> ] ;
39                 SharedLibrary $(grist)libroot-addon-icu.so
40                         : $(sources)
41                         :
42                         $(grist)libreferenceable.a [ TargetLibstdc++ ]
43                         [ BuildFeatureAttribute icu : libraries ]
44                         ;
45         }