summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-23 22:02:09 +0100
committerStefano Karapetsas <[email protected]>2013-02-23 22:02:09 +0100
commitd1715e4fdef385cea4eda116090311dcff9fcd18 (patch)
tree1c86cab85e0e254924edb953560cac3a94626521 /src/Makefile.am
parente99cd96502845cce688ee4f545eb4a4f2edfb23a (diff)
downloadcaja-d1715e4fdef385cea4eda116090311dcff9fcd18.tar.bz2
caja-d1715e4fdef385cea4eda116090311dcff9fcd18.tar.xz
Add support for freedesktop.org File Manager DBus Interface
http://www.freedesktop.org/wiki/Specifications/file-manager-interface Most of code is adapted from Nautilus: http://git.gnome.org/browse/nautilus/tree/src/nautilus-freedesktop-dbus.c Closes https://github.com/mate-desktop/mate-file-manager/issues/3
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 28c97fc1..84ee8b5f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -43,6 +43,19 @@ LDADD = \
$(POPT_LIBS) \
$(NULL)
+dbus_freedesktop_built_sources = \
+ caja-freedesktop-generated.c \
+ caja-freedesktop-generated.h
+
+$(dbus_freedesktop_built_sources) : Makefile.am $(top_srcdir)/data/freedesktop-dbus-interfaces.xml
+ gdbus-codegen \
+ --interface-prefix org.freedesktop. \
+ --c-namespace CajaFreedesktop \
+ --c-generate-object-manager \
+ --generate-c-code caja-freedesktop-generated \
+ $(top_srcdir)/data/freedesktop-dbus-interfaces.xml \
+ $(NULL)
+
@INTLTOOL_DESKTOP_RULE@
desktop_in_files=mate-network-scheme.desktop.in
@@ -55,6 +68,7 @@ scheme_DATA = mate-network-scheme.desktop
BUILT_SOURCES = \
caja-src-marshal.c \
caja-src-marshal.h \
+ $(dbus_freedesktop_built_sources) \
$(NULL)
caja_SOURCES = \
@@ -76,6 +90,8 @@ caja_SOURCES = \
caja-emblem-sidebar.h \
caja-file-management-properties.c \
caja-file-management-properties.h \
+ caja-freedesktop-dbus.c \
+ caja-freedesktop-dbus.h \
caja-history-sidebar.c \
caja-history-sidebar.h \
caja-image-properties-page.c \