SubDir HAIKU_TOP src add-ons translators jpeg2000 ; SetSubDirSupportedPlatformsBeOSCompatible ; # Exclude unwanted formats CCFLAGS += -DEXCLUDE_MIF_SUPPORT -DEXCLUDE_PNM_SUPPORT -DEXCLUDE_BMP_SUPPORT -DEXCLUDE_RAS_SUPPORT -DEXCLUDE_JPG_SUPPORT -DEXCLUDE_PGX_SUPPORT ; # Let Jam know where to find some of our source files SEARCH_SOURCE += [ FDirName $(SUBDIR) libjasper ] ; SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ; local jasper_files = # libjasper (Base) jas_debug.c jas_getopt.c jas_image.c jas_init.c jas_malloc.c jas_seq.c jas_stream.c jas_string.c jas_tvp.c jas_version.c # libjasper (JP2) jp2_cod.c jp2_dec.c jp2_enc.c # libjasper (JPC) jpc_bs.c jpc_cs.c jpc_dec.c jpc_enc.c jpc_math.c jpc_mct.c jpc_mqcod.c jpc_mqdec.c jpc_mqenc.c jpc_qmfb.c jpc_t1cod.c jpc_t1dec.c jpc_t1enc.c jpc_t2cod.c jpc_t2dec.c jpc_t2enc.c jpc_tagtree.c jpc_tsfb.c jpc_util.c ; ObjectCcFlags [ FGristFiles $(jasper_files:S=$(SUFOBJ)) ] : -w ; Translator JPEG2000Translator : # JPEG2000Translator JPEG2000Translator.cpp $(jasper_files) : be translation ; Package haiku-translationkit-cvs : JPEG2000Translator : boot home config add-ons Translators ;