aboutsummaryrefslogtreecommitdiff
path: root/libindicate/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-16 00:04:05 -0600
committerTed Gould <ted@canonical.com>2009-01-16 00:04:05 -0600
commit2b6ce30681688304f321b1717cac0891882e773e (patch)
tree74f95250e94e33ed40bde5c636f6063fb0c11e80 /libindicate/Makefile.am
parent8a2369b420ee625f07d3d6882c07464fc5b27cb8 (diff)
parentdf1713a31e272324244419c0b7b6fbf9b3179069 (diff)
downloadlibayatana-indicator-2b6ce30681688304f321b1717cac0891882e773e.tar.gz
libayatana-indicator-2b6ce30681688304f321b1717cac0891882e773e.tar.bz2
libayatana-indicator-2b6ce30681688304f321b1717cac0891882e773e.zip
Building the listener object that listens to all of the folks on DBus and turns that into a usable interface for indicator display folks. A lot of code to make things simple :)
Diffstat (limited to 'libindicate/Makefile.am')
-rw-r--r--libindicate/Makefile.am33
1 files changed, 29 insertions, 4 deletions
diff --git a/libindicate/Makefile.am b/libindicate/Makefile.am
index 3dd211d..53917b7 100644
--- a/libindicate/Makefile.am
+++ b/libindicate/Makefile.am
@@ -5,10 +5,13 @@ 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 \
+ listener-marshal.c \
+ listener-marshal.h
lib_LTLIBRARIES = \
libindicate.la
@@ -17,6 +20,7 @@ libindicateincludedir=$(includedir)/libindicate-1.0/libindicate
indicate_headers = \
indicator.h \
+ listener.h \
server.h
libindicateinclude_HEADERS = \
@@ -25,7 +29,11 @@ libindicateinclude_HEADERS = \
libindicate_la_SOURCES = \
$(indicate_headers) \
dbus-indicate-server.h \
+ dbus-indicate-client.h \
server.c \
+ listener.c \
+ listener-marshal.c \
+ listener-marshal.h \
indicator.c
libindicate_la_LDFLAGS = \
@@ -39,12 +47,29 @@ 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
+
+listener-marshal.h: listener-marshal.list
+ libtool --mode=execute glib-genmarshal --header \
+ --prefix=indicate_listener_marshal $(srcdir)/listener-marshal.list \
+ > listener-marshal.h
+
+listener-marshal.c: listener-marshal.list
+ libtool --mode=execute glib-genmarshal --body \
+ --prefix=indicate_listener_marshal $(srcdir)/listener-marshal.list \
+ > listener-marshal.c
pkgconfig_DATA = indicate.pc
pkgconfigdir = $(libdir)/pkgconfig