-SUBDIRS = docs idl libspi login-helper registryd atk-bridge cspi test po
+SUBDIRS=droute atk-adaptor
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libspi-1.0.pc cspi-1.0.pc libloginhelper-1.0.pc
+if ATSPI_TESTS
+
+SUBDIRS += tests
+
+endif
-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+gtk_modulesdir = $(libdir)/gnome-settings-daemon-3.0/gtk-modules/
+gtk_modules_DATA = at-spi2-atk.desktop
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = atk-bridge-2.0.pc
-EXTRA_DIST = \
- MAINTAINERS \
- intltool-extract.in \
- intltool-merge.in \
- intltool-update.in \
- cspi-1.0.pc.in \
- cspi-1.0-uninstalled.pc.in \
- libloginhelper-1.0.pc.in \
- libspi-1.0.pc.in \
- libspi-1.0-uninstalled.pc.in
+EXTRA_DIST = $(gtk_modules_DATA) atk-bridge-2.0.pc.in
-DISTCLEANFILES = intltool-extract \
- intltool-merge \
- intltool-update
+DISTCHECK_CONFIGURE_FLAGS = --with-tests=yes