[nautilus/freedesktop-dbus: 2/9] Generate the org.freedesktop DBus code
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/freedesktop-dbus: 2/9] Generate the org.freedesktop DBus code
- Date: Tue, 6 Dec 2011 23:48:00 +0000 (UTC)
commit aa01e30c0d3d585bd808ed1ab53c5ca396371cd1
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Dec 6 12:59:50 2011 -0600
Generate the org.freedesktop DBus code
Signed-off-by: Federico Mena Quintero <federico gnome org>
src/.gitignore | 1 +
src/Makefile.am | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/src/.gitignore b/src/.gitignore
index 029d3a0..4794fb5 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -3,3 +3,4 @@ nautilus-autorun-software
nautilus-connect-server
nautilus-file-management-properties
nautilus-convert-metadata
+nautilus-freedesktop-generated.[ch]
diff --git a/src/Makefile.am b/src/Makefile.am
index 752bd97..911064e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]