summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <jbj>2013-06-24 21:14:03 +0000
committerjbj <jbj>2013-06-24 21:14:03 +0000
commitbfeda713618bd5a72a1f05bfe882784724416d3e (patch)
tree84e192979d91f18c203a439c24eef35f51a686d0
parent7e74c468ef3821ecda4c94de6c1b64b26a615b8a (diff)
downloadlibpopt-bfeda713618bd5a72a1f05bfe882784724416d3e.tar.gz
- make sure that non-linux -liconv is tracked as dependent library.
- stub in a manual coverity scan target. - fix: handle newly added asset(...) call like elsewhere.
-rw-r--r--Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index df348fa..725e674 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I. -I$(top_srcdir)
AM_CFLAGS = $(POPT_CFLAGS)
-AM_LDFLAGS = $(POPT_LDFLAGS) $(LTLIBINTL) $(LTLIBICONV)
+AM_LDFLAGS = $(POPT_LDFLAGS) $(INTLLIBS)
## begin configmake
@@ -123,6 +123,7 @@ usrlib_LTLIBRARIES = libpopt.la
libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
libpopt_la_LDFLAGS = -no-undefined $(AM_LDFLAGS)
+libpopt_la_LIBADD = $(LTLIBICONV)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = popt.pc
@@ -165,6 +166,15 @@ doxygen: Doxyfile
$(DOXYGEN)
endif
+# --- scan.coverity.com manual submission in popt.tgz
+COVDIR = cov-int
+COVBUILD = cov-build --dir $(COVDIR)
+covscan::
+ rm -rf $(COVDIR) popt.tgz
+ make clean
+ $(COVBUILD) make
+ tar czf popt.tgz $(COVDIR)
+
if HAVE_LCOV
# run lcov from scratch, always
lcov-reset: