QT_SUBDIR=qt
endif
-SUBDIRS=dbus bus test doc $(GLIB_SUBDIR) $(QT_SUBDIR) tools
+if DBUS_USE_GCJ
+ GCJ_SUBDIR=gcj
+endif
+
+if DBUS_USE_MCS
+ MONO_SUBDIR=mono
+endif
+
+if HAVE_PYTHON
+ PYTHON_SUBDIR=python
+endif
+
+SUBDIRS=dbus bus doc $(GLIB_SUBDIR) $(GCJ_SUBDIR) $(MONO_SUBDIR) $(QT_SUBDIR) $(PYTHON_SUBDIR) test tools
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = dbus-1.pc $(GLIB_PC)
all-local: Doxyfile
-if DBUS_BUILD_TESTS
-### nothing
-else
-check-local:
- echo "You have to configure with --enable-tests to make check" ; \
- exit 1
-endif
-
if DBUS_GCOV_ENABLED
clean-gcov:
find -name "*.da" -o -name "*.gcov" | xargs rm || true