1SubDir HAIKU_TOP src add-ons translators icns ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5UseBuildFeatureHeaders libpng ; 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 47Includes [ FGristFiles icns_png.c ] 48 : [ BuildFeatureAttribute libpng : headers ] ; 49 50local libicns_files = 51 icns_debug.c 52 icns_element.c 53 icns_family.c 54 icns_image.c 55 icns_io.c 56 icns_jp2.c 57 icns_png.c 58 icns_rle24.c 59 icns_utils.c 60 ; 61 62ObjectCcFlags [ FGristFiles $(libicns_files:S=$(SUFOBJ)) ] : -w ; 63 64AddResources ICNSTranslator : ICNSTranslator.rdef ; 65 66Translator ICNSTranslator : 67 68 # ICNSTranslator 69 ICNSTranslator.cpp 70 ICNSLoader.cpp 71 ConfigView.cpp 72 main.cpp 73 74 $(openjpeg_files) 75 76 $(libicns_files) 77 78 : be translation libtranslatorsutils.a $(TARGET_LIBSUPC++) 79 [ BuildFeatureAttribute libpng : library ] 80 localestub 81 : true 82; 83 84DoCatalogs ICNSTranslator : 85 x-vnd.Haiku-ICNSTranslator 86 : 87 ConfigView.cpp 88 ICNSTranslator.h 89 ICNSTranslator.cpp 90; 91