summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2019-05-11 21:55:25 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2019-05-11 21:55:25 +0200
commit600ac3a0f00baf3cafec2ae95e02a494e5be91d7 (patch)
tree72c3429a34b3b05fba23c0a4a5a3c88c797d2018 /src
parent33cc7fc037744e984f82a7222fe5056d9932f26f (diff)
downloadcataract-600ac3a0f00baf3cafec2ae95e02a494e5be91d7.tar.xz
build: Split libraries detection
Includes some automake files cleanup and enables extra compiler warnings.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5a4d3b2..ec7b3b1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,12 +1,15 @@
NULL =
-AM_CPPFLAGS = \
- -DDATADIR=\"$(datadir)\" \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- $(WARN_CFLAGS) \
- $(DISABLE_DEPRECATED_CFLAGS) \
- $(LIBS_CFLAGS) \
+AM_CPPFLAGS = \
+ -DDATADIR=\"$(datadir)\" \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ $(WARN_CFLAGS) \
+ $(GLIB_CFLAGS) \
+ $(DISABLE_DEPRECATED_CFLAGS) \
+ $(LIBXML2_CFLAGS) \
+ $(MAGICKWAND_CFLAGS) \
+ $(EXIV2_CFLAGS) \
-DG_LOG_DOMAIN=\"cgg\"
bin_PROGRAMS = \
@@ -45,6 +48,11 @@ cgg_SOURCES = \
xml-parser.h \
$(NULL)
-cgg_LDADD = $(LIBS_LIBS) -lm
+cgg_LDADD = \
+ $(GLIB_LIBS) \
+ $(LIBXML2_LIBS) \
+ $(MAGICKWAND_LIBS) \
+ $(EXIV2_LIBS) \
+ -lm
EXTRA_DIST = cgg-dirgen