X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_png%2FMakefile.am;h=d36942dbd0f1b7ec2b0ea528254ac37e5cb86bcb;hb=990f7bb7694e0472ed6ad165e0724864539071cd;hp=af3c237b05c3891064f0451f8bf1dcc491ef4228;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_png/Makefile.am b/synfig-core/trunk/src/modules/mod_png/Makefile.am index af3c237..d36942d 100644 --- a/synfig-core/trunk/src/modules/mod_png/Makefile.am +++ b/synfig-core/trunk/src/modules/mod_png/Makefile.am @@ -1,16 +1,42 @@ -# $Header: /opt/voria/cvs/sinfg/src/modules/mod_png/Makefile.am,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $ +# $Id$ +MAINTAINERCLEANFILES = \ + Makefile.in -MAINTAINERCLEANFILES=Makefile.in -INCLUDES = -I$(top_srcdir)/src +INCLUDES = \ + -I$(top_builddir) \ + -I$(top_srcdir)/src -moduledir=@MODULE_DIR@ + +moduledir = @MODULE_DIR@ if HAVE_LIBPNG + module_LTLIBRARIES = libmod_png.la -libmod_png_la_SOURCES = main.cpp trgt_png.cpp trgt_png.h mptr_png.cpp mptr_png.h -libmod_png_la_LDFLAGS = -module @PNG_LIBS@ -no-undefined -libmod_png_la_CXXFLAGS = @SINFG_CFLAGS@ -libmod_png_la_LIBADD = -L../../sinfg -lsinfg @SINFG_LIBS@ -else + +libmod_png_la_SOURCES = \ + main.cpp \ + trgt_png.cpp \ + trgt_png.h \ + mptr_png.cpp \ + mptr_png.h + +libmod_png_la_LDFLAGS = \ + -module \ + @PNG_LIBS@ \ + -no-undefined \ + -avoid-version + +libmod_png_la_CXXFLAGS = \ + @SYNFIG_CFLAGS@ + +libmod_png_la_LIBADD = \ + ../../synfig/libsynfig.la \ + @SYNFIG_LIBS@ + endif + + +EXTRA_DIST = \ + mod_png.nsh \ + unmod_png.nsh