1SubDir HAIKU_TOP src add-ons translators jpeg2000 ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ; 6 #for BaseTranslator.h and friends 7 8# Exclude unwanted formats 9CCFLAGS += -DEXCLUDE_MIF_SUPPORT 10 -DEXCLUDE_PNM_SUPPORT 11 -DEXCLUDE_BMP_SUPPORT 12 -DEXCLUDE_RAS_SUPPORT 13 -DEXCLUDE_JPG_SUPPORT 14 -DEXCLUDE_PGX_SUPPORT ; 15 16SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ; 17 18AddResources JPEG2000Translator : JPEG2000Translator.rdef ; 19 20local architectureObject ; 21for architectureObject in [ MultiArchSubDirSetup ] { 22 on $(architectureObject) { 23 UseBuildFeatureHeaders jasper ; 24 25 Translator [ MultiArchDefaultGristFiles JPEG2000Translator ] : 26 27 # JPEG2000Translator 28 JPEG2000Translator.cpp 29 30 : be translation 31 [ MultiArchDefaultGristFiles libtranslatorsutils.a ] 32 [ BuildFeatureAttribute jasper : library ] 33 [ TargetLibsupc++ ] localestub 34 : true 35 ; 36 37 Includes [ FGristFiles JPEG2000Translator.cpp ] 38 : [ BuildFeatureAttribute jasper : headers ] ; 39 } 40} 41 42DoCatalogs JPEG2000Translator : 43 x-vnd.Haiku-JPEG2000Translator 44 : 45 JPEG2000Translator.h 46 JPEG2000Translator.cpp 47; 48