From dd6a60c62c1fc07de49f81b24c3ca3d579f49f6c Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 6 Dec 2011 15:49:39 -0600 Subject: Added coverage reporting via gcov config and targets. --- src/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 9b11fd1..e445d78 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,6 +22,7 @@ libapplication_la_SOURCES = \ dbus-shared.h \ indicator-application.c libapplication_la_CFLAGS = $(INDICATOR_CFLAGS) \ + $(COVERAGE_CFLAGS) \ -Wall \ -Wl,-Bsymbolic-functions \ -Wl,-z,defs \ @@ -29,7 +30,8 @@ libapplication_la_CFLAGS = $(INDICATOR_CFLAGS) \ -Werror \ -DG_LOG_DOMAIN=\"Indicator-Application\" libapplication_la_LIBADD = $(INDICATOR_LIBS) -libapplication_la_LDFLAGS = -module -avoid-version +libapplication_la_LDFLAGS = $(COVERAGE_LDFLAGS) \ + -module -avoid-version ################################## # Service @@ -57,6 +59,7 @@ indicator_application_service_SOURCES = \ indicator_application_service_CFLAGS = \ $(INDICATOR_CFLAGS) \ $(APPINDICATOR_CFLAGS) \ + $(COVERAGE_CFLAGS) \ -DDATADIR="\"$(pkgdatadir)\"" \ -Wall -Werror \ -DG_LOG_DOMAIN=\"indicator-application-service\" @@ -65,6 +68,9 @@ indicator_application_service_LDADD = \ $(INDICATOR_LIBS) \ $(APPINDICATOR_LIBS) +indicator_application_service_LDFLAGS = \ + $(COVERAGE_LDFLAGS) + glib_marshal_list = application-service-marshal.list glib_marshal_prefix = _application_service_marshal -- cgit v1.2.3