module_LTLIBRARIES = libexample.la
libexample_la_SOURCES = main.cpp simplecircle.cpp simplecircle.h filledrect.h filledrect.cpp metaballs.h metaballs.cpp
libexample_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
-libexample_la_LDFLAGS = -module -no-undefined
+libexample_la_LDFLAGS = -module -no-undefined -avoid-version
libexample_la_CXXFLAGS = @SYNFIG_CFLAGS@
module_LTLIBRARIES = liblyr_freetype.la
liblyr_freetype_la_SOURCES = main.cpp lyr_freetype.cpp lyr_freetype.h
liblyr_freetype_la_LIBADD = ../../synfig/libsynfig.la @FREETYPE_LIBS@ @SYNFIG_LIBS@
-liblyr_freetype_la_LDFLAGS = -module -no-undefined
+liblyr_freetype_la_LDFLAGS = -module -no-undefined -avoid-version
liblyr_freetype_la_CXXFLAGS = @SYNFIG_CFLAGS@ @FREETYPE_CFLAGS@
if WITH_FONTCONFIG
liblyr_freetype_la_LIBADD += @FONTCONFIG_LIBS@
liblyr_std_la_SOURCES = main.cpp timeloop.cpp timeloop.h warp.cpp warp.h xorpattern.cpp booleancurve.h booleancurve.cpp bevel.cpp bevel.h shade.cpp shade.h twirl.cpp twirl.h stretch.cpp stretch.h xorpattern.h clamp.cpp clamp.h supersample.cpp supersample.h insideout.cpp insideout.h julia.cpp julia.h rotate.cpp rotate.h mandelbrot.cpp mandelbrot.h zoom.h zoom.cpp import.cpp import.h translate.h translate.cpp sphere_distort.h sphere_distort.cpp
liblyr_std_la_CXXFLAGS = @SYNFIG_CFLAGS@
liblyr_std_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
-liblyr_std_la_LDFLAGS = -module -no-undefined
+liblyr_std_la_LDFLAGS = -module -no-undefined -avoid-version
EXTRA_DIST= lyr_std.nsh unlyr_std.nsh
module_LTLIBRARIES = libmod_bmp.la
libmod_bmp_la_SOURCES = main.cpp trgt_bmp.cpp trgt_bmp.h mptr_bmp.cpp mptr_bmp.h
-libmod_bmp_la_LDFLAGS = -module -no-undefined
+libmod_bmp_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_bmp_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_bmp_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
EXTRA_DIST= mod_bmp.nsh unmod_bmp.nsh
if WITH_LIBDV
module_LTLIBRARIES = libmod_dv.la
libmod_dv_la_SOURCES = main.cpp trgt_dv.cpp trgt_dv.h
-libmod_dv_la_LDFLAGS = -module -no-undefined
+libmod_dv_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_dv_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_dv_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
else
if WITH_FFMPEG
module_LTLIBRARIES = libmod_ffmpeg.la
libmod_ffmpeg_la_SOURCES = main.cpp mptr_ffmpeg.cpp mptr_ffmpeg.h trgt_ffmpeg.cpp trgt_ffmpeg.h
-libmod_ffmpeg_la_LDFLAGS = -module -no-undefined
+libmod_ffmpeg_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_ffmpeg_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_ffmpeg_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
else
libmod_filter_la_SOURCES = blur.cpp blur.h colorcorrect.cpp colorcorrect.h halftone2.cpp halftone2.h lumakey.cpp lumakey.h radialblur.cpp radialblur.h main.cpp halftone.cpp halftone.h halftone3.cpp halftone3.h
libmod_filter_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_filter_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
-libmod_filter_la_LDFLAGS = -module -no-undefined
+libmod_filter_la_LDFLAGS = -module -no-undefined -avoid-version
EXTRA_DIST= mod_filter.nsh unmod_filter.nsh
libmod_geometry_la_SOURCES = rectangle.cpp rectangle.h star.h star.cpp checkerboard.cpp checkerboard.h circle.cpp circle.h region.h region.cpp outline.h outline.cpp main.cpp
libmod_geometry_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_geometry_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
-libmod_geometry_la_LDFLAGS = -module -no-undefined
+libmod_geometry_la_LDFLAGS = -module -no-undefined -avoid-version
EXTRA_DIST= mod_geometry.nsh unmod_geometry.nsh
module_LTLIBRARIES = libmod_gif.la
libmod_gif_la_SOURCES = main.cpp trgt_gif.cpp trgt_gif.h
-libmod_gif_la_LDFLAGS = -module -no-undefined
+libmod_gif_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_gif_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_gif_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
EXTRA_DIST= mod_gif.nsh unmod_gif.nsh
libmod_gradient_la_SOURCES = curvegradient.cpp curvegradient.h lineargradient.cpp lineargradient.h conicalgradient.cpp conicalgradient.h spiralgradient.cpp spiralgradient.h radialgradient.cpp radialgradient.h main.cpp
libmod_gradient_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_gradient_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
-libmod_gradient_la_LDFLAGS = -module -no-undefined
+libmod_gradient_la_LDFLAGS = -module -no-undefined -avoid-version
EXTRA_DIST= mod_gradient.nsh unmod_gradient.nsh
if WITH_IMAGEMAGICK
module_LTLIBRARIES = libmod_imagemagick.la
libmod_imagemagick_la_SOURCES = main.cpp mptr_imagemagick.cpp mptr_imagemagick.h trgt_imagemagick.cpp trgt_imagemagick.h
-libmod_imagemagick_la_LDFLAGS = -module -no-undefined
+libmod_imagemagick_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_imagemagick_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_imagemagick_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
else
if HAVE_LIBJPEG
module_LTLIBRARIES = libmod_jpeg.la
libmod_jpeg_la_SOURCES = main.cpp trgt_jpeg.cpp trgt_jpeg.h mptr_jpeg.cpp mptr_jpeg.h
-libmod_jpeg_la_LDFLAGS = -module @JPEG_LIBS@ -no-undefined
+libmod_jpeg_la_LDFLAGS = -module @JPEG_LIBS@ -no-undefined -avoid-version
libmod_jpeg_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_jpeg_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
else
if WITH_LIBAVCODEC
module_LTLIBRARIES = libmod_libavcodec.la
libmod_libavcodec_la_SOURCES = main.cpp trgt_av.cpp trgt_av.h mptr.cpp mptr.h
-libmod_libavcodec_la_LDFLAGS = -module -no-undefined
+libmod_libavcodec_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_libavcodec_la_CXXFLAGS = @SYNFIG_CFLAGS@ @LIBAVCODEC_CFLAGS@ -D__STDC_CONSTANT_MACROS
libmod_libavcodec_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@ @LIBAVCODEC_LIBS@
else
if HAVE_LIBMAGICKPP
module_LTLIBRARIES = libmod_magickpp.la
libmod_magickpp_la_SOURCES = main.cpp trgt_magickpp.cpp trgt_magickpp.h
-libmod_magickpp_la_LDFLAGS = -module @MAGICKPP_LIBS@ -no-undefined
+libmod_magickpp_la_LDFLAGS = -module @MAGICKPP_LIBS@ -no-undefined -avoid-version
libmod_magickpp_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_magickpp_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
else
if HAVE_LIBMNG
module_LTLIBRARIES = libmod_mng.la
libmod_mng_la_SOURCES = main.cpp trgt_mng.cpp trgt_mng.h
-libmod_mng_la_LDFLAGS = -module @MNG_LIBS@ -no-undefined
+libmod_mng_la_LDFLAGS = -module @MNG_LIBS@ -no-undefined -avoid-version
libmod_mng_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_mng_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
else
libmod_noise_la_SOURCES = random.cpp random.h distort.cpp distort.h noise.cpp noise.h valuenode_random.cpp valuenode_random.h main.cpp
libmod_noise_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_noise_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
-libmod_noise_la_LDFLAGS = -module -no-undefined
+libmod_noise_la_LDFLAGS = -module -no-undefined -avoid-version
EXTRA_DIST= mod_noise.nsh unmod_noise.nsh
if WITH_OPENEXR
module_LTLIBRARIES = libmod_openexr.la
libmod_openexr_la_SOURCES = main.cpp mptr_openexr.cpp mptr_openexr.h trgt_openexr.cpp trgt_openexr.h
-libmod_openexr_la_LDFLAGS = -module @PNG_LIBS@ -no-undefined
+libmod_openexr_la_LDFLAGS = -module @PNG_LIBS@ -no-undefined -avoid-version
libmod_openexr_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@ @OPENEXR_LIBS@
libmod_openexr_la_CXXFLAGS = @SYNFIG_CFLAGS@ @OPENEXR_CFLAGS@
else
libmod_particle_la_SOURCES = random.cpp random.h plant.cpp plant.h main.cpp
libmod_particle_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_particle_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
-libmod_particle_la_LDFLAGS = -module -no-undefined
+libmod_particle_la_LDFLAGS = -module -no-undefined -avoid-version
EXTRA_DIST= mod_particle.nsh unmod_particle.nsh
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_LDFLAGS = -module @PNG_LIBS@ -no-undefined -avoid-version
libmod_png_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_png_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
else
module_LTLIBRARIES = libmod_ppm.la
libmod_ppm_la_SOURCES = main.cpp trgt_ppm.cpp trgt_ppm.h mptr_ppm.cpp mptr_ppm.h # trgt_mpg.cpp trgt_mpg.h
-libmod_ppm_la_LDFLAGS = -module -no-undefined
+libmod_ppm_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_ppm_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_ppm_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
EXTRA_DIST= mod_ppm.nsh unmod_ppm.nsh
module_LTLIBRARIES = libmod_yuv420p.la
libmod_yuv420p_la_SOURCES = main.cpp trgt_yuv.cpp trgt_yuv.h
-libmod_yuv420p_la_LDFLAGS = -module -no-undefined
+libmod_yuv420p_la_LDFLAGS = -module -no-undefined -avoid-version
libmod_yuv420p_la_CXXFLAGS = @SYNFIG_CFLAGS@
libmod_yuv420p_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@
EXTRA_DIST= mod_yuv420p.nsh unmod_yuv420p.nsh
module_LTLIBRARIES = libmptr_mplayer.la
libmptr_mplayer_la_SOURCES = main.cpp mptr_mplayer.cpp mptr_mplayer.h
-libmptr_mplayer_la_LDFLAGS = -module -no-undefined
+libmptr_mplayer_la_LDFLAGS = -module -no-undefined -avoid-version
libmptr_mplayer_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@