diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-03-29 10:39:14 -0700 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-03-29 10:39:14 -0700 |
commit | 689b16a6e4c356711ec99e580acc91a97b0a2f77 (patch) | |
tree | f5076aed5ab993ebf73c07d239ac1b597a976b11 /src/Makefile.am | |
parent | 80f29374f243cd53e53bf662a0017cd4088d238a (diff) | |
parent | ac5d7a54f7dacb776f2957d925450e97ca6f544a (diff) | |
download | ayatana-indicator-session-689b16a6e4c356711ec99e580acc91a97b0a2f77.tar.gz ayatana-indicator-session-689b16a6e4c356711ec99e580acc91a97b0a2f77.tar.bz2 ayatana-indicator-session-689b16a6e4c356711ec99e580acc91a97b0a2f77.zip |
merge lp:~allanlesage/indicator-session/TDD to add gcov to the build for coverage statitistics
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 14 |
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 |