From 816071e70ea0dff2ec939dcb8a6b818f25e83d4f Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Fri, 30 Apr 2021 18:32:42 +0200 Subject: [PATCH] Another attempt. --- magick/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/magick/Makefile.am b/magick/Makefile.am index 14ec6b8f31..2feb52da79 100644 --- a/magick/Makefile.am +++ b/magick/Makefile.am @@ -50,6 +50,8 @@ else magick_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURCES = $(MAGICK_BASE_SRCS) $(MAGICK_PLATFORM_SRCS) $(MAGICK_CODER_SRCS) $(MAGICK_FILTER_SRCS) magick_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_LIBADD = $(MAGICK_DEP_LIBS) endif # WITH_MODULES + +nodist_MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURCES = magick_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBRARY_EXTRA_CPPFLAGS) if HAVE_LD_VERSION_SCRIPT @@ -487,7 +489,7 @@ MAGICK_EXTRA_DIST = \ if MAGICKCORE_ZERO_CONFIGURATION_SUPPORT libMagickCore_threshold_target = magick/libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la-threshold.lo $(libMagickCore_threshold_target): magick/threshold-map.h -magick_MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURCES += magick/threshold-map.h +nodist_MagickCore_libMagickCore_@MAGICK_MAJOR_VERSION@_@MAGICK_ABI_SUFFIX@_la_SOURCES += magick/threshold-map.h CLEANFILES += magick/threshold-map.h magick/threshold-map.h: config/thresholds.xml Makefile $(AM_V_GEN){ printf '%s\n %s=\n' 'static const char *const' BuiltinMap; sed -e 's/"/\\"/g; s/^.*$$/ "&\\n"/; $$s/$$/;/' $<; } >$@