[evolution-data-server/dbus-calendar: 9/10] Add DBus rules to glib-gen.mak



commit d7840bcc3b79657d5e2e2a3dcb21317e70832ad1
Author: Ross Burton <ross linux intel com>
Date:   Mon Jul 6 16:51:58 2009 +0100

    Add DBus rules to glib-gen.mak

 glib-gen.mak |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/glib-gen.mak b/glib-gen.mak
index f510d80..d37cc23 100644
--- a/glib-gen.mak
+++ b/glib-gen.mak
@@ -33,6 +33,16 @@
 	--vtail "      { 0, NULL, NULL }\n    };\n    etype = g_ type@_register_static (\"@EnumName \", values);\n  }\n  return etype;\n}\n" \
 	$^ > $@
 
+
+# Server-side DBus bindings
+%-glue.h: %.xml
+	dbus-binding-tool --mode=glib-server --output=$@ --prefix=$(subst -,_,$*) $^
+
+# Client-side DBus bindings
+%-bindings.h: %.xml
+	dbus-binding-tool --mode=glib-client --output=$@ --prefix=$(subst -,_,$*) $^
+
+
 # a hack rule to make sure .Plo files exist because they get include'd
 # from Makefile's
 .deps/%-marshal.Plo:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]