aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllan LeSage <allanlesage@gmail.com>2011-12-06 19:31:29 -0600
committerAllan LeSage <allanlesage@gmail.com>2011-12-06 19:31:29 -0600
commit94f68e08df92dd859889d08706fe1f024f4962e8 (patch)
tree5fd4c30ce3243705ba87e6093a677bad70e12aed /src
parent3c02b69b2d0801d8a72c6016a41192b601ce4f2f (diff)
downloadayatana-indicator-sound-94f68e08df92dd859889d08706fe1f024f4962e8.tar.gz
ayatana-indicator-sound-94f68e08df92dd859889d08706fe1f024f4962e8.tar.bz2
ayatana-indicator-sound-94f68e08df92dd859889d08706fe1f024f4962e8.zip
Added coverage reporting via gcov config and targets.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e79f64e..36fe490 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,9 +28,14 @@ libsoundmenu_la_SOURCES = \
gen-sound-service.xml.c \
dbus-shared-names.h
-libsoundmenu_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Werror -DG_LOG_DOMAIN=\"Indicator-Sound\"
+libsoundmenu_la_CFLAGS = \
+ $(APPLET_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
+ -Wall -Werror -DG_LOG_DOMAIN=\"Indicator-Sound\"
libsoundmenu_la_LIBADD = $(APPLET_LIBS) -lm
-libsoundmenu_la_LDFLAGS = -module -avoid-version
+libsoundmenu_la_LDFLAGS =
+ $(COVERAGE_LDFLAGS) \
+ -module -avoid-version
checkxml: $(srcdir)/sound-service.xml
@@ -115,8 +120,13 @@ indicator_sound_service_SOURCES = \
sound-service-marshal.h \
$(music_bridge_VALASOURCES:.vala=.c)
-indicator_sound_service_CFLAGS = $(PULSEAUDIO_CFLAGS) $(SOUNDSERVICE_CFLAGS) $(GCONF_CFLAGS) -DLIBEXECDIR=\"$(libexecdir)\" -Wall
+indicator_sound_service_CFLAGS = $(PULSEAUDIO_CFLAGS) \
+ $(SOUNDSERVICE_CFLAGS) \
+ $(GCONF_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
+ -DLIBEXECDIR=\"$(libexecdir)\" -Wall
indicator_sound_service_LDADD = $(PULSEAUDIO_LIBS) $(SOUNDSERVICE_LIBS) $(GCONF_LIBS)
+indicator_sound_service_LDFLAGS = $(COVERAGE_LDFLAGS)
#########################
# Service xml compilation