aboutsummaryrefslogtreecommitdiff
path: root/libindicate
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-15 17:10:14 -0600
committerTed Gould <ted@canonical.com>2009-01-15 17:10:14 -0600
commit421cea272535812a6fcc4d64811d6bf6a5362647 (patch)
tree99fe52c0ef14c8b38ecb7d2e59de0550220d32f7 /libindicate
parent4c623e47c0854f9acc2119045fa3f1ae76a82386 (diff)
downloadlibayatana-indicator-421cea272535812a6fcc4d64811d6bf6a5362647.tar.gz
libayatana-indicator-421cea272535812a6fcc4d64811d6bf6a5362647.tar.bz2
libayatana-indicator-421cea272535812a6fcc4d64811d6bf6a5362647.zip
Changing to the dbus interface and changing to build teh client and server interfaces
Diffstat (limited to 'libindicate')
-rw-r--r--libindicate/Makefile.am17
-rw-r--r--libindicate/indicate-interface.xml (renamed from libindicate/indicate-server.xml)0
2 files changed, 13 insertions, 4 deletions
diff --git a/libindicate/Makefile.am b/libindicate/Makefile.am
index 2d75dbd..b3c173a 100644
--- a/libindicate/Makefile.am
+++ b/libindicate/Makefile.am
@@ -5,10 +5,11 @@ INCLUDES= \
-DG_LOG_DOMAIN=\"libindicate\"
EXTRA_DIST = \
- indicate-server.xml
+ indicate-interface.xml
BUILT_SOURCES = \
- dbus-indicate-server.h
+ dbus-indicate-server.h \
+ dbus-indicate-client.h
lib_LTLIBRARIES = \
libindicate.la
@@ -26,6 +27,7 @@ libindicateinclude_HEADERS = \
libindicate_la_SOURCES = \
$(indicate_headers) \
dbus-indicate-server.h \
+ dbus-indicate-client.h \
server.c \
listener.c \
indicator.c
@@ -41,12 +43,19 @@ libindicate_la_CFLAGS = \
libindicate_la_LIBADD = \
$(LIBINDICATE_LIBS)
-dbus-indicate-server.h: indicate-server.xml
+dbus-indicate-server.h: indicate-interface.xml
libtool --mode=execute dbus-binding-tool \
--prefix=indicate_server \
--mode=glib-server \
--output=dbus-indicate-server.h \
- $(srcdir)/indicate-server.xml
+ $(srcdir)/indicate-interface.xml
+
+dbus-indicate-client.h: indicate-interface.xml
+ libtool --mode=execute dbus-binding-tool \
+ --prefix=indicate_client \
+ --mode=glib-client \
+ --output=dbus-indicate-client.h \
+ $(srcdir)/indicate-interface.xml
pkgconfig_DATA = indicate.pc
pkgconfigdir = $(libdir)/pkgconfig
diff --git a/libindicate/indicate-server.xml b/libindicate/indicate-interface.xml
index d1fed7e..d1fed7e 100644
--- a/libindicate/indicate-server.xml
+++ b/libindicate/indicate-interface.xml