From 196233b063e83be7eb926f1d18fac10d0b9396e2 Mon Sep 17 00:00:00 2001 From: Brian Tarricone Date: Wed, 23 Aug 2006 23:22:38 +0000 Subject: * add dep on dbus >= 0.34 if thunar-vfs is enabled * use DBusGProxy for trash-related functions (Old svn revision: 22862) --- src/Makefile.am | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index f3d6963e..6cdd90b2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -31,6 +31,8 @@ desktop_icon_sources = \ desktop_file_icon_sources = \ xfdesktop-clipboard-manager.c \ xfdesktop-clipboard-manager.h \ + xfdesktop-dbus-bindings-filemanager.h \ + xfdesktop-dbus-bindings-trash.h \ xfdesktop-file-icon.c \ xfdesktop-file-icon.h \ xfdesktop-file-icon-manager.c \ @@ -54,7 +56,6 @@ xfdesktop_CFLAGS = \ -DDATADIR=\"$(datadir)\" \ -DSYSCONFDIR=\"$(sysconfdir)\" \ -DXFCEMODDIR=\"$(libdir)/xfce4/modules\" \ - -DEXO_API_SUBJECT_TO_CHANGE \ $(LIBX11_CFLAGS) \ $(GMODULE_CFLAGS) \ $(LIBXFCEGUI4_CFLAGS) \ @@ -83,14 +84,37 @@ if HAVE_THUNAR_VFS endif xfdesktop_CFLAGS += \ + -DEXO_API_SUBJECT_TO_CHANGE \ + -DDBUS_API_SUBJECT_TO_CHANGE \ $(LIBEXO_CFLAGS) \ $(THUNAR_VFS_CFLAGS) \ - $(THUNARX_CFLAGS) + $(THUNARX_CFLAGS) \ + $(DBUS_CFLAGS) xfdesktop_LDADD += \ $(LIBEXO_LIBS) \ $(THUNAR_VFS_LIBS) \ - $(THUNARX_LIBS) + $(THUNARX_LIBS) \ + $(DBUS_LIBS) + +if HAVE_THUNAR_VFS +if MAINTAINER_MODE + +BUILT_SOURCES = \ + xfdesktop-dbus-bindings-filemanager.h \ + xfdesktop-dbus-bindings-trash.h +DISTCLEANFILES = \ + xfdesktop-dbus-bindings-filemanager.h \ + xfdesktop-dbus-bindings-trash.h + +xfdesktop-dbus-bindings-filemanager.h: $(srcdir)/xfdesktop-dbus-bindings-filemanager.xml Makefile + dbus-binding-tool --mode=glib-client $(srcdir)/xfdesktop-dbus-bindings-filemanager.xml > xfdesktop-dbus-bindings-filemanager.h + +xfdesktop-dbus-bindings-trash.h: $(srcdir)/xfdesktop-dbus-bindings-trash.xml Makefile + dbus-binding-tool --mode=glib-client $(srcdir)/xfdesktop-dbus-bindings-trash.xml > xfdesktop-dbus-bindings-trash.h + +endif +endif endif -- cgit v1.2.1