1SubDir HAIKU_TOP src add-ons translators icns ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5UseHeaders $(HAIKU_LIBPNG_HEADERS) : true ; 6 7SubDirSysHdrs [ FDirName $(SUBDIR) openjpeg ] ; 8SubDirSysHdrs [ FDirName $(SUBDIR) libicns ] ; 9 10SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ; 11 #for BaseTranslator.h and friends 12 13# Let Jam know where to find some of our source files 14SEARCH_SOURCE += [ FDirName $(SUBDIR) openjpeg ] ; 15SEARCH_SOURCE += [ FDirName $(SUBDIR) libicns ] ; 16 17SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ; 18 19local openjpeg_files = 20 bio.c 21 cio.c 22 dwt.c 23 event.c 24 image.c 25 j2k.c 26 j2k_lib.c 27 jp2.c 28 jpt.c 29 mct.c 30 mqc.c 31 openjpeg.c 32 pi.c 33 raw.c 34 t1.c 35 t2.c 36 tcd.c 37 tgt.c 38 cidx_manager.c 39 phix_manager.c 40 ppix_manager.c 41 thix_manager.c 42 tpix_manager.c 43 ; 44 45ObjectCcFlags [ FGristFiles $(openjpeg_files:S=$(SUFOBJ)) ] : -w ; 46 47local libicns_files = 48 icns_debug.c 49 icns_element.c 50 icns_family.c 51 icns_image.c 52 icns_io.c 53 icns_jp2.c 54 icns_png.c 55 icns_rle24.c 56 icns_utils.c 57 ; 58 59ObjectCcFlags [ FGristFiles $(libicns_files:S=$(SUFOBJ)) ] : -w ; 60 61AddResources ICNSTranslator : ICNSTranslator.rdef ; 62 63Translator ICNSTranslator : 64 65 # ICNSTranslator 66 ICNSTranslator.cpp 67 ICNSLoader.cpp 68 ConfigView.cpp 69 main.cpp 70 71 $(openjpeg_files) 72 73 $(libicns_files) 74 75 : be translation libtranslatorsutils.a $(TARGET_LIBSUPC++) 76 $(HAIKU_LIBPNG_LIB) $(HAIKU_LOCALE_LIBS) 77 : true 78; 79 80DoCatalogs ICNSTranslator : 81 x-vnd.Haiku-ICNSTranslator 82 : 83 ConfigView.cpp 84 ICNSTranslator.h 85 ICNSTranslator.cpp 86; 87 88Package haiku-translationkit-cvs : 89 ICNSTranslator : 90 boot home config add-ons Translators ; 91 92