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. --- modules/backup-restore/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/backup-restore/Makefile.am') diff --git a/modules/backup-restore/Makefile.am b/modules/backup-restore/Makefile.am index 12f331b3ce..98d130197f 100644 --- a/modules/backup-restore/Makefile.am +++ b/modules/backup-restore/Makefile.am @@ -15,6 +15,7 @@ module_backup_restore_la_CPPFLAGS = \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) \ $(NULL) module_backup_restore_la_SOURCES = \ @@ -36,7 +37,7 @@ module_backup_restore_la_LIBADD = \ $(NULL) module_backup_restore_la_LDFLAGS = \ - -module -avoid-version $(NO_UNDEFINED) + -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) privlibexec_PROGRAMS = evolution-backup -- cgit v1.2.3