diff options
author | Ted Gould <ted@gould.cx> | 2012-02-09 22:25:29 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-09 22:25:29 -0600 |
commit | 755287c475058aeef62273287113c1841f6111d9 (patch) | |
tree | 1f93c74dc2eeffce839b9e248de017bb39d2307a /src | |
parent | ff02cdb4a04ac01fde54f6c25247c0988d340444 (diff) | |
parent | 4f5f1e3ea9317f37e55028631f493f4a709cd8a5 (diff) | |
download | ayatana-indicator-messages-755287c475058aeef62273287113c1841f6111d9.tar.gz ayatana-indicator-messages-755287c475058aeef62273287113c1841f6111d9.tar.bz2 ayatana-indicator-messages-755287c475058aeef62273287113c1841f6111d9.zip |
Adding code coverage 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 $<))));" > $@ |