aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-08 11:03:52 -0600
committerTed Gould <ted@gould.cx>2012-02-08 11:03:52 -0600
commit16527352ce17d93f1af9cb7f424ff7335b4032a1 (patch)
tree1fe3ba9eb5e4d6c6cffab518ef4ddc769f6038a7 /src
parent4e1deeb8bcec30c2cfe994c670695aa7d3044f49 (diff)
parentdd6a60c62c1fc07de49f81b24c3ca3d579f49f6c (diff)
downloadayatana-indicator-application-16527352ce17d93f1af9cb7f424ff7335b4032a1.tar.gz
ayatana-indicator-application-16527352ce17d93f1af9cb7f424ff7335b4032a1.tar.bz2
ayatana-indicator-application-16527352ce17d93f1af9cb7f424ff7335b4032a1.zip
Adding in a code coverage based build target
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9b11fd1..e445d78 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -22,6 +22,7 @@ libapplication_la_SOURCES = \
dbus-shared.h \
indicator-application.c
libapplication_la_CFLAGS = $(INDICATOR_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
-Wall \
-Wl,-Bsymbolic-functions \
-Wl,-z,defs \
@@ -29,7 +30,8 @@ libapplication_la_CFLAGS = $(INDICATOR_CFLAGS) \
-Werror \
-DG_LOG_DOMAIN=\"Indicator-Application\"
libapplication_la_LIBADD = $(INDICATOR_LIBS)
-libapplication_la_LDFLAGS = -module -avoid-version
+libapplication_la_LDFLAGS = $(COVERAGE_LDFLAGS) \
+ -module -avoid-version
##################################
# Service
@@ -57,6 +59,7 @@ indicator_application_service_SOURCES = \
indicator_application_service_CFLAGS = \
$(INDICATOR_CFLAGS) \
$(APPINDICATOR_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
-DDATADIR="\"$(pkgdatadir)\"" \
-Wall -Werror \
-DG_LOG_DOMAIN=\"indicator-application-service\"
@@ -65,6 +68,9 @@ indicator_application_service_LDADD = \
$(INDICATOR_LIBS) \
$(APPINDICATOR_LIBS)
+indicator_application_service_LDFLAGS = \
+ $(COVERAGE_LDFLAGS)
+
glib_marshal_list = application-service-marshal.list
glib_marshal_prefix = _application_service_marshal