vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / translators / hpgs / Jamfile
blobcd708790e14709fbde59602f34329819e4b80068
1 SubDir HAIKU_TOP src add-ons translators hpgs ;
3 SubDirSysHdrs [ FDirName $(SUBDIR) lib ] ;
4 SubDirCcFlags -DHPGS_SHARED -std=c99 ;
5 SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
7 local sources = 
8 hpgsbase.c
9 hpgsbbox.c
10 hpgsbezier.c
11 hpgs.c
12 hpgscharacter.c
13 hpgsdevices.c
14 hpgsfont.c
15 hpgsglobal.c
16 hpgsgstate.c
17 hpgsi18n.c
18 hpgsimage.c
19 hpgsimagerop.c
20 hpgsistream.c
21 hpgslabel.c
22 hpgslexer.c
23 hpgsmatrix.c
24 hpgsostream.c
25 hpgspaint.c
26 hpgspaintimage.c
27 hpgspaintpath.c
28 hpgspath.c
29 hpgspcl.c
30 hpgspe.c
31 hpgspen.c
32 hpgspjl.c
33 hpgsreader.c
34 hpgsrop.c
35 hpgsscanline.c
36 hpgssetup.c
37 hpgstransform.c
38 hpgszostream.c
42 local architectureObject ;
43 for architectureObject in [ MultiArchSubDirSetup ] {
44         on $(architectureObject) {
45                 UseLibraryHeaders iconv ;
46                 UseBuildFeatureHeaders libpng ;
47                 UseBuildFeatureHeaders zlib ;
49                 Includes [ FGristFiles hpgsimage.c ]
50                         : [ BuildFeatureAttribute libpng : headers ] ;
51                 Includes [ FGristFiles hpgszostream.c ]
52                         : [ BuildFeatureAttribute zlib : headers ] ;
54                 Translator [ MultiArchDefaultGristFiles HPGSTranslator ] :
55                         # HPGSTranslator classes
56                         ConfigView.cpp
57                         HPGSTranslator.cpp
58                         $(sources)
59                         : be translation libtextencoding.so
60                                 [ BuildFeatureAttribute libpng : library ]
61                                 [ BuildFeatureAttribute zlib : library ]
62                                 [ MultiArchDefaultGristFiles libtranslatorsutils.a ]
63                                 [ TargetLibsupc++ ] localestub
64                         : true
65                 ;
66         }
69 DoCatalogs HPGSTranslator :
70         x-vnd.Haiku-HPGSTranslator
71         :
72         ConfigView.cpp
73         HPGSTranslator.cpp
76 SEARCH on [ FGristFiles $(sources) ] = [ FDirName $(SUBDIR) lib ] ;