[libpeas] Fix generating gcov reports for the GJS loader



commit 017f9acb95f77f9b2c5301913b29602151e5d4ec
Author: Garrett Regier <alias301 gmail com>
Date:   Sat Jun 11 01:55:07 2011 -0700

    Fix generating gcov reports for the GJS loader

 loaders/gjs/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/loaders/gjs/Makefile.am b/loaders/gjs/Makefile.am
index f768d16..fb8c1a6 100644
--- a/loaders/gjs/Makefile.am
+++ b/loaders/gjs/Makefile.am
@@ -5,6 +5,7 @@ loaderdir = $(libdir)/libpeas-1.0/loaders
 INCLUDES = \
 	-I$(top_srcdir)			\
 	$(PEAS_CFLAGS)			\
+	$(GCOV_CFLAGS)			\
 	$(WARN_CFLAGS)			\
 	$(DISABLE_DEPRECATED)		\
 	$(GJS_CFLAGS)
@@ -17,5 +18,8 @@ libgjsloader_la_SOURCES = \
 	peas-plugin-loader-gjs.c 	\
 	peas-plugin-loader-gjs.h
 
-libgjsloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS)
+libgjsloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS) $(GCOV_LDFLAGS)
 libgjsloader_la_LIBADD = $(PEAS_LIBS) $(GJS_LIBS)
+
+gcov_sources = $(libgjsloader_la_SOURCES)
+include $(top_srcdir)/Makefile.gcov



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]