diff options
author | Allan LeSage <allanlesage@gmail.com> | 2011-12-06 18:51:58 -0600 |
---|---|---|
committer | Allan LeSage <allanlesage@gmail.com> | 2011-12-06 18:51:58 -0600 |
commit | 4f5f1e3ea9317f37e55028631f493f4a709cd8a5 (patch) | |
tree | 6b50cb4d0c2d51f6e80095e76aaff69a890d92da /src | |
parent | de9314480fa9df8b5c7ab30f0e013205fc46347c (diff) | |
download | ayatana-indicator-messages-4f5f1e3ea9317f37e55028631f493f4a709cd8a5.tar.gz ayatana-indicator-messages-4f5f1e3ea9317f37e55028631f493f4a709cd8a5.tar.bz2 ayatana-indicator-messages-4f5f1e3ea9317f37e55028631f493f4a709cd8a5.zip |
Added coverage reporting via gcov config and targets.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c631436..33473db 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,6 +20,7 @@ libmessaging_la_SOURCES = \ dbus-data.h libmessaging_la_CFLAGS = \ $(APPLET_CFLAGS) \ + $(COVERAGE_CFLAGS) \ -Wall \ -Wl,-Bsymbolic-functions \ -Wl,-z,defs \ @@ -27,7 +28,9 @@ libmessaging_la_CFLAGS = \ -Werror \ -DG_LOG_DOMAIN=\"Indicator-Messages\" libmessaging_la_LIBADD = $(APPLET_LIBS) -libmessaging_la_LDFLAGS = -module -avoid-version +libmessaging_la_LDFLAGS = \ + $(COVERAGE_LDFLAGS) \ + -module -avoid-version ###################################### # Building the messages service @@ -57,6 +60,7 @@ indicator_messages_service_SOURCES = \ indicator_messages_service_CFLAGS = \ $(APPLET_CFLAGS) \ + $(COVERAGE_CFLAGS) \ -Wall \ -Wl,-Bsymbolic-functions \ -Wl,-z,defs \ @@ -69,6 +73,9 @@ indicator_messages_service_LDADD = \ $(APPLET_LIBS) \ libindicator-messages-status-provider.la +indicator_messages_service_LDFLAGS = \ + $(COVERAGE_LDFLAGS) + gen-%.xml.h: %.xml @echo "Building $@ from $<" @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@ |