diff options
author | Milan Crha <mcrha@redhat.com> | 2014-03-25 19:04:58 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-03-25 19:04:58 +0800 |
commit | 8692b1cb72654888f0dab31843bdf05d3ac2a888 (patch) | |
tree | 3e172e8085830cf0770cf0a7ab04bd714753d3a9 /mail | |
parent | 399b1a6fc593a9c5e692923120346e0386f578e5 (diff) | |
download | gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar.gz gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar.bz2 gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar.lz gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar.xz gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.tar.zst gsoc2013-evolution-8692b1cb72654888f0dab31843bdf05d3ac2a888.zip |
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.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile.am | 5 | ||||
-rw-r--r-- | mail/importers/Makefile.am | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mail/Makefile.am b/mail/Makefile.am index 22371859ef..e5cc9daf34 100644 --- a/mail/Makefile.am +++ b/mail/Makefile.am @@ -48,7 +48,8 @@ libevolution_mail_la_CPPFLAGS = \ $(CANBERRA_CFLAGS) \ $(GTKHTML_CFLAGS) \ $(LIBCRYPTUI_CFLAGS) \ - $(LIBSOUP_CFLAGS) + $(LIBSOUP_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) mailinclude_HEADERS = \ e-http-request.h \ @@ -228,7 +229,7 @@ libevolution_mail_la_LIBADD = \ $(LIBSOUP_LIBS) \ $(NULL) -libevolution_mail_la_LDFLAGS = -avoid-version $(NO_UNDEFINED) +libevolution_mail_la_LDFLAGS = -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) noinst_PROGRAMS = test-mail-autoconfig diff --git a/mail/importers/Makefile.am b/mail/importers/Makefile.am index 540a7f889d..a1843c5098 100644 --- a/mail/importers/Makefile.am +++ b/mail/importers/Makefile.am @@ -9,7 +9,8 @@ libevolution_mail_importers_la_CPPFLAGS = \ -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\" \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) libevolution_mail_importers_la_SOURCES = \ mail-importer.c \ @@ -18,7 +19,7 @@ libevolution_mail_importers_la_SOURCES = \ pine-importer.c \ evolution-mbox-importer.c -libevolution_mail_importers_la_LDFLAGS = -avoid-version $(NO_UNDEFINED) +libevolution_mail_importers_la_LDFLAGS = -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) libevolution_mail_importers_la_LIBADD = \ $(top_builddir)/e-util/libevolution-util.la \ |