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/web-inspector/Makefile.am | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'modules/web-inspector/Makefile.am') diff --git a/modules/web-inspector/Makefile.am b/modules/web-inspector/Makefile.am index 985e483725..43615d549b 100644 --- a/modules/web-inspector/Makefile.am +++ b/modules/web-inspector/Makefile.am @@ -1,23 +1,24 @@ module_LTLIBRARIES = module-web-inspector.la -module_web_inspector_la_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -I$(top_srcdir) \ - -DG_LOG_DOMAIN=\"evolution-web-inspector\" \ - $(EVOLUTION_DATA_SERVER_CFLAGS) \ - $(GNOME_PLATFORM_CFLAGS) \ - $(GTKHTML_CFLAGS) +module_web_inspector_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I$(top_srcdir) \ + -DG_LOG_DOMAIN=\"evolution-web-inspector\" \ + $(EVOLUTION_DATA_SERVER_CFLAGS) \ + $(GNOME_PLATFORM_CFLAGS) \ + $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) module_web_inspector_la_SOURCES = \ evolution-web-inspector.c module_web_inspector_la_LIBADD = \ - $(top_builddir)/e-util/libevolution-util.la \ - $(EVOLUTION_DATA_SERVER_LIBS) \ - $(GNOME_PLATFORM_LIBS) \ + $(top_builddir)/e-util/libevolution-util.la \ + $(EVOLUTION_DATA_SERVER_LIBS) \ + $(GNOME_PLATFORM_LIBS) \ $(GTKHTML_LIBS) module_web_inspector_la_LDFLAGS = \ - -module -avoid-version $(NO_UNDEFINED) + -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) -include $(top_srcdir)/git.mk -- cgit v1.2.3