Generate the org.freedesktop DBus code

Signed-off-by: Federico Mena Quintero's avatarFederico Mena Quintero <federico@gnome.org>
parent a3c38708
......@@ -3,3 +3,4 @@ nautilus-autorun-software
nautilus-connect-server
nautilus-file-management-properties
nautilus-convert-metadata
nautilus-freedesktop-generated.[ch]
......@@ -43,7 +43,22 @@ LDADD =\
$(POPT_LIBS) \
$(NULL)
dbus_built_sources = nautilus-freedesktop-generated.c nautilus-freedesktop-generated.h
$(dbus_built_sources) : Makefile.am $(top_srcdir)/data/freedesktop-dbus-interfaces.xml
gdbus-codegen \
--interface-prefix org.freedesktop. \
--c-namespace NautilusFreedesktop \
--c-generate-object-manager \
--generate-c-code nautilus-freedesktop-generated \
$(top_srcdir)/data/freedesktop-dbus-interfaces.xml \
$(NULL)
BUILT_SOURCES = \
$(dbus_built_sources) \
$(NULL)
nautilus_SOURCES = \
$(BUILT_SOURCES) \
nautilus-actions.h \
nautilus-application.c \
nautilus-application.h \
......@@ -186,6 +201,7 @@ ui_DATA = \
$(NULL)
CLEANFILES = \
$(BUILT_SOURCES) \
$(server_DATA) \
$(NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment