aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllan LeSage <allanlesage@gmail.com>2012-03-27 17:29:55 -0500
committerAllan LeSage <allanlesage@gmail.com>2012-03-27 17:29:55 -0500
commitd9416f4f284c401b8848e4bd249fd5cbd25142c3 (patch)
tree952be03ae1947709564ed479da10d13534cf692a /src
parent3c5b15aba9bb40ab8ef9c55df35941b67e52d31b (diff)
downloadayatana-indicator-session-d9416f4f284c401b8848e4bd249fd5cbd25142c3.tar.gz
ayatana-indicator-session-d9416f4f284c401b8848e4bd249fd5cbd25142c3.tar.bz2
ayatana-indicator-session-d9416f4f284c401b8848e4bd249fd5cbd25142c3.zip
Added gcov coverage tooling.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a1e443e..b29e8d4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,10 +26,13 @@ libsession_la_SOURCES = \
accounts-service-user-client.h
libsession_la_CFLAGS = \
$(APPLET_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
-Wall -Werror \
-DG_LOG_DOMAIN=\"Indicator-Session\"
libsession_la_LIBADD = $(APPLET_LIBS)
-libsession_la_LDFLAGS = -module -avoid-version
+libsession_la_LDFLAGS = \
+ $(COVERAGE_LDFLAGS) \
+ -module -avoid-version
consolekit-manager-client.h: $(srcdir)/org.freedesktop.ConsoleKit.Manager.xml
dbus-binding-tool \
@@ -137,11 +140,14 @@ indicator_session_service_CFLAGS = \
-DLIBEXECDIR=\"$(libexecdir)\" \
-Wall -Werror \
-DG_LOG_DOMAIN=\"Indicator-Session\" \
- $(GUDEV_CFLAGS)
+ $(GUDEV_CFLAGS) \
+ $(COVERAGE_CFLAGS)
indicator_session_service_LDADD = \
$(SESSIONSERVICE_LIBS) \
$(GCONF_LIBS) \
$(GUDEV_LIBS)
+indicator_session_service_LDFLAGS = \
+ $(COVERAGE_LDFLAGS)
#################
# GTK Logout Stuff
@@ -159,6 +165,7 @@ gtk_logout_helper_CFLAGS = \
$(SESSIONSERVICE_CFLAGS) \
$(GTKLOGOUTHELPER_CFLAGS) \
$(GCONF_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
-Wall -Werror \
-DINDICATOR_ICONS_DIR="\"$(INDICATORICONSDIR)\""
@@ -166,6 +173,9 @@ gtk_logout_helper_LDADD = \
$(SESSIONSERVICE_LIBS) \
$(GTKLOGOUTHELPER_LIBS) \
$(GCONF_LIBS)
+
+gtk_logout_helper_LDFLAGS = \
+ $(COVERAGE_LDFLAGS)
endif