Add a gsettings key to specify the location of libatk-bridge.so
[platform/core/uifw/at-spi2-atk.git] / Makefile.am
index 2ef1724..7c1dd6c 100644 (file)
@@ -1,20 +1,30 @@
-SUBDIRS = docs idl libspi login-helper registryd atk-bridge cspi test po
+SUBDIRS=dbind droute common atk-adaptor po schemas
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libspi-1.0.pc cspi-1.0.pc libloginhelper-1.0.pc
+if RELOCATE
+schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
+schemas_in_files = at-spi2.schemas.in
+schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
+@INTLTOOL_SCHEMAS_RULE@
+endif
 
-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+gtk_modulesdir = $(libdir)/gnome-settings-daemon-3.0/gtk-modules/
+gtk_modules_DATA = at-spi2-atk.desktop
+
+if GCONF_SCHEMAS_INSTALL
+install-data-local:
+               if test -z "$(DESTDIR)" ; then \
+                       for p in $(schemas_DATA) ; do \
+                               GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/$$p ; \
+                       done \
+               fi
+else
+install-data-local:
+endif
 
 EXTRA_DIST = \
-       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
+       $(schemas_in_files) \
+       $(gtk_modules_DATA)
+
 
-DISTCLEANFILES = intltool-extract \
-       intltool-merge  \
-       intltool-update
+CLEANFILES = \
+       $(schemas_DATA)