summaryrefslogtreecommitdiff
path: root/common.am
diff options
context:
space:
mode:
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