From f5b87b4dc41f186be738e129b46c0996a6bdb158 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Tue, 3 Jan 2012 21:10:04 +0100 Subject: build: Add option to generate coverage report --- common.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'common.am') 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 -- cgit v1.2.1