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