Enable coverage report for libstrongswan
authorTobias Brunner <tobias@strongswan.org>
Wed, 27 Mar 2013 10:54:09 +0000 (11:54 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Jun 2013 09:03:11 +0000 (11:03 +0200)
src/libstrongswan/Makefile.am
src/libstrongswan/tests/Makefile.am

index bde6964..567bdfe 100644 (file)
@@ -87,7 +87,8 @@ AM_CFLAGS = \
 -DIPSEC_DIR=\"${ipsecdir}\" \
 -DIPSEC_LIB_DIR=\"${ipseclibdir}\" \
 -DPLUGINDIR=\"${plugindir}\" \
--DSTRONGSWAN_CONF=\"${strongswan_conf}\"
+-DSTRONGSWAN_CONF=\"${strongswan_conf}\" \
+@COVERAGE_CFLAGS@
 
 if USE_LEAK_DETECTIVE
   AM_CFLAGS += -DLEAK_DETECTIVE
index fbcedda..b0eb0a5 100644 (file)
@@ -13,6 +13,7 @@ test_runner_CFLAGS = \
   -I$(top_srcdir)/src/libstrongswan \
   @CHECK_CFLAGS@
 
+test_runner_LDFLAGS = @COVERAGE_LDFLAGS@
 test_runner_LDADD = \
   $(top_builddir)/src/libstrongswan/libstrongswan.la \
   @CHECK_LIBS@