2006-07-14 16:20:12 +00:00
|
|
|
SUBDIRS=dbus bus doc tools test
|
|
|
|
|
DIST_SUBDIRS=dbus bus doc tools test
|
2002-12-16 Anders Carlsson <andersca@codefactory.se>
* Makefile.am:
* configure.in:
Add GLib checks and fixup .pc files
* glib/Makefile.am:
* glib/dbus-glib.h:
* glib/dbus-gmain.c: (gdbus_connection_prepare),
(gdbus_connection_check), (gdbus_connection_dispatch),
(gdbus_add_connection_watch), (gdbus_remove_connection_watch),
(dbus_connection_gsource_new):
* glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
(dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
* glib/test-dbus-glib.c: (message_handler), (main):
Add GLib support.
2002-12-16 00:26:05 +00:00
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2006-07-14 16:20:12 +00:00
|
|
|
pkgconfig_DATA = dbus-1.pc
|
2002-12-16 Anders Carlsson <andersca@codefactory.se>
* Makefile.am:
* configure.in:
Add GLib checks and fixup .pc files
* glib/Makefile.am:
* glib/dbus-glib.h:
* glib/dbus-gmain.c: (gdbus_connection_prepare),
(gdbus_connection_check), (gdbus_connection_dispatch),
(gdbus_add_connection_watch), (gdbus_remove_connection_watch),
(dbus_connection_gsource_new):
* glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
(dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
* glib/test-dbus-glib.c: (message_handler), (main):
Add GLib support.
2002-12-16 00:26:05 +00:00
|
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
2006-07-14 16:20:12 +00:00
|
|
|
dbus-1.pc
|
2002-12-16 Anders Carlsson <andersca@codefactory.se>
* Makefile.am:
* configure.in:
Add GLib checks and fixup .pc files
* glib/Makefile.am:
* glib/dbus-glib.h:
* glib/dbus-gmain.c: (gdbus_connection_prepare),
(gdbus_connection_check), (gdbus_connection_dispatch),
(gdbus_add_connection_watch), (gdbus_remove_connection_watch),
(dbus_connection_gsource_new):
* glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
(dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
* glib/test-dbus-glib.c: (message_handler), (main):
Add GLib support.
2002-12-16 00:26:05 +00:00
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2003-01-15 16:34:52 +00:00
|
|
|
HACKING \
|
2006-10-22 00:31:08 +00:00
|
|
|
dbus-1.pc.in \
|
2008-04-04 15:37:50 -04:00
|
|
|
cleanup-man-pages.sh \
|
|
|
|
|
ChangeLog.pre-1-0 \
|
|
|
|
|
NEWS.pre-1-0 \
|
|
|
|
|
ChangeLog.pre-1-2 \
|
|
|
|
|
NEWS.pre-1-2
|
2002-11-22 21:33:07 +00:00
|
|
|
|
|
|
|
|
all-local: Doxyfile
|
2002-12-16 Anders Carlsson <andersca@codefactory.se>
* Makefile.am:
* configure.in:
Add GLib checks and fixup .pc files
* glib/Makefile.am:
* glib/dbus-glib.h:
* glib/dbus-gmain.c: (gdbus_connection_prepare),
(gdbus_connection_check), (gdbus_connection_dispatch),
(gdbus_add_connection_watch), (gdbus_remove_connection_watch),
(dbus_connection_gsource_new):
* glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
(dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
* glib/test-dbus-glib.c: (message_handler), (main):
Add GLib support.
2002-12-16 00:26:05 +00:00
|
|
|
|
2003-04-05 10:04:04 +00:00
|
|
|
if DBUS_GCOV_ENABLED
|
|
|
|
|
clean-gcov:
|
|
|
|
|
find -name "*.da" -o -name "*.gcov" | xargs rm || true
|
|
|
|
|
|
2003-10-15 21:09:40 +00:00
|
|
|
clean-bbg:
|
|
|
|
|
find -name "*.bbg" -o -name "*.bb" | xargs rm || true
|
|
|
|
|
|
2006-07-14 16:20:12 +00:00
|
|
|
GCOV_DIRS=dbus bus
|
2003-10-15 21:09:40 +00:00
|
|
|
|
2003-04-05 10:04:04 +00:00
|
|
|
## .PHONY so it always rebuilds it
|
|
|
|
|
.PHONY: coverage-report.txt
|
|
|
|
|
coverage-report.txt:
|
2004-12-24 17:54:01 +00:00
|
|
|
BBG_FILES=`find $(GCOV_DIRS) -name "*.bbg" -o -name "*.gcno"` ; \
|
|
|
|
|
C_FILES= ; \
|
|
|
|
|
for F in $$BBG_FILES ; do \
|
|
|
|
|
F_nolibs=`echo $$F | sed -e 's/.libs\///g'` ; \
|
|
|
|
|
C=`echo $$F_nolibs | sed -e 's/.bbg/.c/g' | sed -e 's/.gcno/.c/g'` ; \
|
|
|
|
|
B=`basename $$F .bbg` ; \
|
|
|
|
|
D=`dirname $$F` ; \
|
|
|
|
|
DA=`echo $$F | sed -e 's/.bbg/.da/g'` ; \
|
|
|
|
|
DA_libs=`echo $$D/.libs/$$B/.da` ; \
|
|
|
|
|
if test -e $$DA || test -e $$DA_libs; then \
|
|
|
|
|
C_FILES="$$C_FILES $$C" ; \
|
|
|
|
|
fi ; \
|
|
|
|
|
done ; \
|
|
|
|
|
echo $$C_FILES ; \
|
2003-04-05 10:04:04 +00:00
|
|
|
$(top_builddir)/test/decode-gcov --report $$C_FILES > coverage-report.txt
|
|
|
|
|
|
|
|
|
|
check-coverage: clean-gcov all check coverage-report.txt
|
|
|
|
|
cat coverage-report.txt
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
coverage-report.txt:
|
|
|
|
|
echo "Need to reconfigure with --enable-gcov"
|
|
|
|
|
|
|
|
|
|
check-coverage:
|
|
|
|
|
echo "Need to reconfigure with --enable-gcov"
|
|
|
|
|
|
2003-05-03 20:53:40 +00:00
|
|
|
endif
|