4 GLIB_PC=dbus-glib-1.0.pc
11 SUBDIRS=dbus bus test doc $(GLIB_SUBDIR) $(QT_SUBDIR)
13 pkgconfigdir = $(libdir)/pkgconfig
14 pkgconfig_DATA = dbus-1.0.pc $(GLIB_PC)
29 find -name "*.da" -o -name "*.gcov" | xargs rm || true
31 ## .PHONY so it always rebuilds it
32 .PHONY: coverage-report.txt
34 GCOV_FILES=`find -name "*.bbg"` ; \
36 for F in $$GCOV_FILES; do \
37 C=`echo $$F | sed -e 's/.bbg/.c/g'` ; \
38 DA=`echo $$F | sed -e 's/.bbg/.da/g'` ; \
39 if test -e $$DA ; then \
40 C_FILES="$$C_FILES $$C" ; \
44 $(top_builddir)/test/decode-gcov --report $$C_FILES > coverage-report.txt
46 check-coverage: clean-gcov all check coverage-report.txt
47 cat coverage-report.txt
51 echo "Need to reconfigure with --enable-gcov"
54 echo "Need to reconfigure with --enable-gcov"