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