1SubDir HAIKU_TOP src add-ons translators png ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5UseBuildFeatureHeaders zlib ; 6UseHeaders $(HAIKU_LIBPNG_HEADERS) : true ; 7SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ; 8 9AddResources PNGTranslator : PNGTranslator.rdef ; 10 11if $(HAIKU_GCC_VERSION[1]) = 2 { 12 SubDirCcFlags -DPNG_NO_PEDANTIC_WARNINGS ; 13} 14 15Includes [ FGristFiles PNGTranslator.cpp PNGView.cpp ] 16 : $(HAIKU_LIBPNG_HEADERS_DEPENDENCY) ; 17 18Translator PNGTranslator : 19 PNGMain.cpp 20 PNGTranslator.cpp 21 PNGView.cpp 22 23 : be translation $(HAIKU_LIBPNG_LIB) 24 [ BuildFeatureAttribute zlib : library ] 25 $(TARGET_LIBSUPC++) libtranslatorsutils.a 26 $(HAIKU_LOCALE_LIBS) 27 : true 28; 29 30DoCatalogs PNGTranslator : 31 x-vnd.Haiku-PNGTranslator 32 : 33 PNGMain.cpp 34 PNGTranslator.cpp 35 PNGView.cpp 36; 37 38Package haiku-translationkit-cvs : 39 PNGTranslator : 40 boot home config add-ons Translators ; 41 42