vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / translators / jpeg / Jamfile
blobe72be0fce3fc6f652a2a3d80cba0c2df0a779d5d
1 SubDir HAIKU_TOP src add-ons translators jpeg ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) raw ] ;
6         # for TIFF.h and ReadHelper.h
8 SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
9         #for BaseTranslator.h and friends
11 AddResources JPEGTranslator : JPEGTranslator.rdef ;
13 local architectureObject ;
14 for architectureObject in [ MultiArchSubDirSetup ] {
15         on $(architectureObject) {
16                 UseBuildFeatureHeaders jpeg ;
18                 Translator [ MultiArchDefaultGristFiles JPEGTranslator ] :
19                         be_jdatadst.cpp
20                         be_jdatasrc.cpp
21                         be_jerror.cpp
22                         exif_parser.cpp
23                         JPEGTranslator.cpp
24                         : be translation
25                         [ MultiArchDefaultGristFiles libtranslatorsutils.a ]
26                         [ BuildFeatureAttribute jpeg : library ]
27                         [ TargetLibstdc++ ] localestub
28                         : true
29                         ;
31                 Includes [ FGristFiles be_jdatadst.cpp be_jdatasrc.cpp be_jerror.cpp
32                                 JPEGTranslator.cpp ]
33                         : [ BuildFeatureAttribute jpeg : headers ] ;
34         }
37 DoCatalogs JPEGTranslator :
38         x-vnd.Haiku-JPEGTranslator
39         :
40         JPEGTranslator.h
41         JPEGTranslator.cpp
42         exif_parser.cpp
43         be_jerror.cpp