aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllan LeSage <allanlesage@gmail.com>2011-12-06 15:49:39 -0600
committerAllan LeSage <allanlesage@gmail.com>2011-12-06 15:49:39 -0600
commitdd6a60c62c1fc07de49f81b24c3ca3d579f49f6c (patch)
tree4c464bcf120926f79e9f083d26066906c4aeab3b /src
parentec05da4c7b67aa27d9da78027d4c7d826519c43b (diff)
downloadayatana-indicator-application-dd6a60c62c1fc07de49f81b24c3ca3d579f49f6c.tar.gz
ayatana-indicator-application-dd6a60c62c1fc07de49f81b24c3ca3d579f49f6c.tar.bz2
ayatana-indicator-application-dd6a60c62c1fc07de49f81b24c3ca3d579f49f6c.zip
Added coverage reporting via gcov config and targets.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
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