aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-04-12 10:13:15 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-04-12 10:13:15 -0500
commit859a831ee1ca77b17331caa3e3a154f56beb4199 (patch)
treed317a292d80b078154dd1e61606a2176d488768e /src
parentd4b572c408dcfa78695b47f0c1f2860e8819276f (diff)
parent6f293994f8f9c260401fd76a189c7461b1b5f994 (diff)
downloadlibayatana-appindicator-859a831ee1ca77b17331caa3e3a154f56beb4199.tar.gz
libayatana-appindicator-859a831ee1ca77b17331caa3e3a154f56beb4199.tar.bz2
libayatana-appindicator-859a831ee1ca77b17331caa3e3a154f56beb4199.zip
merge lp:~allanlesage/libappindicator/TDD to add gcov targets to our autotools build for code-coverage reporting. For more information, see this blog post: http://qualityhour.wordpress.com/2012/01/29/test-coverage-tutorial-for-cc-autotools-projects/ .
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a4bd27a..a267f1f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -68,12 +68,14 @@ libappindicator_la_SOURCES = \
gen-notification-watcher.xml.c
libappindicator_la_LDFLAGS = \
+ $(COVERAGE_LDFLAGS) \
-version-info 1:0:0 \
-no-undefined \
-export-symbols-regex "^[^_d].*"
libappindicator_la_CFLAGS = \
$(LIBRARY_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
-Wall -Werror \
-DG_LOG_DOMAIN=\"libappindicator\"