From 8692b1cb72654888f0dab31843bdf05d3ac2a888 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 25 Mar 2014 12:04:58 +0100 Subject: Add an --enable-code-coverage configure option to enable gcov support When enabled, this will compile all libraries/binaries with the necessary gcc and ld flags to enable code coverage support using gcov. --- addressbook/gui/contact-editor/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/contact-editor') diff --git a/addressbook/gui/contact-editor/Makefile.am b/addressbook/gui/contact-editor/Makefile.am index c8499b7da4..e62b6cf058 100644 --- a/addressbook/gui/contact-editor/Makefile.am +++ b/addressbook/gui/contact-editor/Makefile.am @@ -11,7 +11,8 @@ libecontacteditor_la_CPPFLAGS = \ -DG_LOG_DOMAIN=\"contact-editor\" \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) libecontacteditor_la_SOURCES = \ eab-editor.c \ @@ -25,7 +26,7 @@ libecontacteditor_la_SOURCES = \ e-contact-editor-dyntable.h \ e-contact-editor-dyntable.c -libecontacteditor_la_LDFLAGS = -avoid-version $(NO_UNDEFINED) +libecontacteditor_la_LDFLAGS = -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) libecontacteditor_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ -- cgit v1.2.3