1 SubDir HAIKU_TOP src add-ons translators jpeg2000 ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
6 #for BaseTranslator.h and friends
8 # Exclude unwanted formats
9 CCFLAGS += -DEXCLUDE_MIF_SUPPORT
14 -DEXCLUDE_PGX_SUPPORT ;
16 SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ;
18 AddResources JPEG2000Translator : JPEG2000Translator.rdef ;
20 local architectureObject ;
21 for architectureObject in [ MultiArchSubDirSetup ] {
22 on $(architectureObject) {
23 UseBuildFeatureHeaders jasper ;
25 Translator [ MultiArchDefaultGristFiles JPEG2000Translator ] :
28 JPEG2000Translator.cpp
31 [ MultiArchDefaultGristFiles libtranslatorsutils.a ]
32 [ BuildFeatureAttribute jasper : library ]
33 [ TargetLibsupc++ ] localestub
37 Includes [ FGristFiles JPEG2000Translator.cpp ]
38 : [ BuildFeatureAttribute jasper : headers ] ;
42 DoCatalogs JPEG2000Translator :
43 x-vnd.Haiku-JPEG2000Translator
46 JPEG2000Translator.cpp