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 ] ;
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
59 : be translation libtextencoding.so
60 [ BuildFeatureAttribute libpng : library ]
61 [ BuildFeatureAttribute zlib : library ]
62 [ MultiArchDefaultGristFiles libtranslatorsutils.a ]
63 [ TargetLibsupc++ ] localestub
69 DoCatalogs HPGSTranslator :
70 x-vnd.Haiku-HPGSTranslator
76 SEARCH on [ FGristFiles $(sources) ] = [ FDirName $(SUBDIR) lib ] ;