From 35162b6429b5ae1ffe277dec3c27673660f562f8 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 2 Jul 2008 17:37:24 +0200 Subject: [PATCH] Add interface for the DBus module. --- src/Makefile.am | 16 ++++++++++++++++ src/mm-dbus-module-info.xml | 19 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 src/mm-dbus-module-info.xml diff --git a/src/Makefile.am b/src/Makefile.am index 9a19f07..0ae227b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -201,6 +201,22 @@ stamp-mm-dbus-manager-client-bindings.h: mm-dbus-manager-info.xml Makefile && rm -f xgen-$(@F) \ && echo timestamp > $(@F) +mm-dbus-module-server-bindings.h: stamp-mm-dbus-module-server-bindings.h + @true +stamp-mm-dbus-module-server-bindings.h: mm-dbus-module-info.xml Makefile + $(DBUS_BINDING_TOOL) --prefix=mm_dbus_module --mode=glib-server $< > xget-$(@F) \ + && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \ + && rm -f xgen-$(@F) \ + && echo timestamp > $(@F) + +mm-dbus-module-client-bindings.h: stamp-mm-dbus-module-client-bindings.h + @true +stamp-mm-dbus-module-client-bindings.h: mm-dbus-module-info.xml Makefile + $(DBUS_BINDING_TOOL) --prefix=mm_dbus_module --mode=glib-client $< > xgen-$(@F) \ + && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \ + && rm -f xgen-$(@F) \ + && echo timestamp > $(@F) + CLEANFILES = $(stamp_files) $(BUILT_SOURCES) DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES) MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES) diff --git a/src/mm-dbus-module-info.xml b/src/mm-dbus-module-info.xml new file mode 100644 index 0000000..5d0a749 --- /dev/null +++ b/src/mm-dbus-module-info.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + -- 2.11.4.GIT