X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=253564c8203ae6cf8456153d87206e2a761c7cb8;hb=3ccb027c907f9ee2890028e83b60296204bbf478;hp=47ac1def2fc9cb3b9e5c01e1ec7aca1f14ff2b9d;hpb=8d413c6e71390de68e94d7a21790de4ecf49e396;p=platform%2Fupstream%2Fdbus.git diff --git a/Makefile.am b/Makefile.am index 47ac1de..253564c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,88 +1,36 @@ - -if HAVE_GLIB - GLIB_SUBDIR=glib - GLIB_PC=dbus-glib-1.pc -endif - -if HAVE_QT - QT_SUBDIR=qt -endif - -if DBUS_USE_GCJ - GCJ_SUBDIR=gcj -endif - -if DBUS_USE_CSC - MONO_SUBDIR=mono - MONO_PC=dbus-sharp.pc -endif - -if HAVE_PYTHON - PYTHON_SUBDIR=python -endif - -## really we should require gcj/mcs/python also but since they are -## annoying to install, we don't for now -dist-local: - if test -z "$(QT_SUBDIR)" || test -z "$(GLIB_SUBDIR)" ; then \ - echo "You have to build with Qt and GLib to make dist" ; \ - fi - -SUBDIRS=dbus bus doc $(GLIB_SUBDIR) $(GCJ_SUBDIR) $(MONO_SUBDIR) $(QT_SUBDIR) $(PYTHON_SUBDIR) test tools -DIST_SUBDIRS=dbus bus doc glib qt gcj mono python test tools +SUBDIRS=dbus bus tools test doc samsung_tools pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = dbus-1.pc $(GLIB_PC) $(MONO_PC) +pkgconfig_DATA = dbus-1.pc DISTCLEANFILES = \ - dbus-1.pc \ - $(GLIB_PC) \ - $(MONO_PC) + dbus-1.pc EXTRA_DIST = \ + autogen.sh \ HACKING \ dbus-1.pc.in \ - dbus-glib-1.pc.in \ - dbus-sharp.pc.in + cleanup-man-pages.sh \ + ChangeLog.pre-1-0 \ + NEWS.pre-1-0 \ + ChangeLog.pre-1-2 \ + NEWS.pre-1-2 \ + README.valgrind \ + README.win \ + README.wince \ + README.cygwin \ + README.launchd \ + cmake all-local: Doxyfile -if DBUS_GCOV_ENABLED -clean-gcov: - find -name "*.da" -o -name "*.gcov" | xargs rm || true - -clean-bbg: - find -name "*.bbg" -o -name "*.bb" | xargs rm || true - -GCOV_DIRS=dbus bus $(GLIB_SUBDIR) $(QT_SUBDIR) - -## .PHONY so it always rebuilds it -.PHONY: coverage-report.txt -coverage-report.txt: - BBG_FILES=`find $(GCOV_DIRS) -name "*.bbg"` ; \ - 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'` ; \ - 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 ; \ - $(top_builddir)/test/decode-gcov --report $$C_FILES > coverage-report.txt - -check-coverage: clean-gcov all check coverage-report.txt - cat coverage-report.txt +update-authors: + git shortlog -s -e | cut -c 8- | sort > AUTHORS -else -coverage-report.txt: - echo "Need to reconfigure with --enable-gcov" +DISTCHECK_CONFIGURE_FLAGS = \ + --enable-xml-docs \ + --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) -check-coverage: - echo "Need to reconfigure with --enable-gcov" +ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} -endif +include tools/lcov.am