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. --- plugins/face/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/face') diff --git a/plugins/face/Makefile.am b/plugins/face/Makefile.am index 45bbbd5a4c..dd449378c6 100644 --- a/plugins/face/Makefile.am +++ b/plugins/face/Makefile.am @@ -12,7 +12,8 @@ liborg_gnome_face_la_CPPFLAGS = \ -I$(top_builddir)/composer \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) liborg_gnome_face_la_SOURCES = face.c @@ -24,7 +25,7 @@ liborg_gnome_face_la_LIBADD = \ $(GNOME_PLATFORM_LIBS) \ $(GTKHTML_LIBS) -liborg_gnome_face_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) +liborg_gnome_face_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) error_DATA = org-gnome-face.error -- cgit v1.2.3