aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-04-12 10:18:01 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-04-12 10:18:01 -0500
commitceb09d1a5aa9f8659765a11f37c2778058d218ab (patch)
tree1e6e7eda17eddc30ada80519199646570102c765 /src
parenta4ad20e59551cd88b3811176b6ded951c29ecdf2 (diff)
parent0597fa88bbafb21e71a1e2440423bc912c09f16b (diff)
downloadayatana-ido-ceb09d1a5aa9f8659765a11f37c2778058d218ab.tar.gz
ayatana-ido-ceb09d1a5aa9f8659765a11f37c2778058d218ab.tar.bz2
ayatana-ido-ceb09d1a5aa9f8659765a11f37c2778058d218ab.zip
merge lp:~allanlesage/ido/TDD to add targets to 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.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6180422..b849bf5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,6 +57,9 @@ AM_CPPFLAGS = \
$(MAINTAINER_CFLAGS) \
-Wall -Werror -Wextra -Wno-unused-parameter
+AM_CFLAGS = \
+ $(COVERAGE_CFLAGS)
+
libido_0_1_la_SOURCES = \
idotypebuiltins.c \
idocalendarmenuitem.c \
@@ -80,9 +83,13 @@ libidoinclude_HEADERS = \
libido.h
libido_0_1_la_LIBADD = $(GTK_LIBS)
-libido_0_1_la_LDFLAGS = $(GTK_LT_LDFLAGS)
+libido_0_1_la_LDFLAGS = \
+ $(GTK_LT_LDFLAGS) \
+ $(COVERAGE_LDFLAGS)
libido3_0_1_la_LIBADD = $(libido_0_1_la_LIBADD)
-libido3_0_1_la_LDFLAGS = $(libido_0_1_la_LDFLAGS)
+libido3_0_1_la_LDFLAGS = \
+ $(libido_0_1_la_LDFLAGS) \
+ $(COVERAGE_LDFLAGS)
DISTCLEANFILES = \
stamp-idotypebuiltins.h \