summaryrefslogtreecommitdiff
path: root/common.am
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2012-01-03 21:10:04 +0100
committerJens Georg <mail@jensge.org>2012-01-03 21:10:04 +0100
commitf5b87b4dc41f186be738e129b46c0996a6bdb158 (patch)
treee465a12aaa0433fd890234fafb360ff03e2b1cc5 /common.am
parent959d8bd1d3fa51b25aff4bd059a2fe2870a4a397 (diff)
downloadrygel-f5b87b4dc41f186be738e129b46c0996a6bdb158.tar.gz
build: Add option to generate coverage report
Diffstat (limited to 'common.am')
-rw-r--r--common.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/common.am b/common.am
index 7f99e9e5..3061cbc2 100644
--- a/common.am
+++ b/common.am
@@ -26,6 +26,7 @@ AM_CFLAGS = \
$(GSTREAMER_BASE_CFLAGS) \
$(GEE_CFLAGS) \
$(UUID_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
-I$(rygeldir) \
-DDATA_DIR='"$(shareddir)"' -DSYS_CONFIG_DIR='"$(sysconfigdir)"'\
-DPLUGIN_DIR='"$(plugindir)"' -DDESKTOP_DIR='"$(desktopdir)"'\
@@ -37,7 +38,8 @@ RYGEL_COMMON_LDADD = \
$(LIBGSTREAMER_LIBS) \
$(GSTREAMER_BASE_LIBS) \
$(GEE_LIBS) \
- $(UUID_LIBS)
+ $(UUID_LIBS) \
+ $(COVERAGE_LIBS)
# Note: the -g needs to be at the end of VALAFLAGS to not break make dist
RYGEL_COMMON_PLUGIN_VALAFLAGS = \
@@ -48,7 +50,8 @@ RYGEL_COMMON_VALAFLAGS = \
--pkg rygel-build-config --pkg gupnp-1.0 \
--vapidir=$(rygeldir) \
--pkg gupnp-av-1.0 --pkg gee-1.0 \
- $(RYGEL_DEBUG_VALAFLAGS)
+ $(RYGEL_DEBUG_VALAFLAGS) \
+ $(COVERAGE_VALAFLAGS)
RYGEL_PLUGIN_LINKER_FLAGS = -shared -fPIC -module -avoid-version