SubDir HAIKU_TOP src add-ons translators jpeg ; SetSubDirSupportedPlatformsBeOSCompatible ; # Let Jam know where to find some of our source files SEARCH_SOURCE += [ FDirName $(SUBDIR) libjpeg ] ; SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ; SubDirSysHdrs [ FDirName $(SUBDIR) libjpeg ] ; SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) raw ] ; # for TIFF.h and ReadHelper.h local jpeg_files = # libjpeg jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jcdiffct.c jchuff.c jcinit.c jclhuff.c jclossls.c jclossy.c jcmainct.c jcmarker.c jcmaster.c jcodec.c jcomapi.c jcparam.c jcphuff.c jcpred.c jcprepct.c jcsample.c jcscale.c jcshuff.c jctrans.c jdapimin.c jdapistd.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jddiffct.c jdhuff.c jdinput.c jdlhuff.c jdlossls.c jdlossy.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c jdpostct.c jdpred.c jdsample.c jdscale.c jdshuff.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jmemmgr.c jmemnobs.c jquant1.c jquant2.c jutils.c ; ObjectCcFlags [ FGristFiles $(jpeg_files:S=$(SUFOBJ)) ] : -w ; Translator JPEGTranslator : # JPEGTranslator be_jdatadst.cpp be_jdatasrc.cpp be_jerror.cpp exif_parser.cpp JPEGTranslator.cpp $(jpeg_files) : be translation : true ; Package haiku-translationkit-cvs : JPEGTranslator : boot home config add-ons Translators ;