aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 21:09:43 -0500
committerTed Gould <ted@canonical.com>2009-08-26 21:09:43 -0500
commit43fffd847c98dcd789cf3c823028ee2d66db98d7 (patch)
tree44cffcfbc66db1b6690e00643c05255e1be5c656 /src/Makefile.am
parent21caab3ed3cbb70ec0f2929dd69d9f348162e975 (diff)
parentdb3b38d030508339bd9ce3f45dd84808b6f24257 (diff)
downloadayatana-indicator-messages-43fffd847c98dcd789cf3c823028ee2d66db98d7.tar.gz
ayatana-indicator-messages-43fffd847c98dcd789cf3c823028ee2d66db98d7.tar.bz2
ayatana-indicator-messages-43fffd847c98dcd789cf3c823028ee2d66db98d7.zip
Merging in the menu update branch.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0678537..38787a1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,7 +8,8 @@ bin_PROGRAMS = indicator-messages-service
messaginglibdir = $(INDICATORDIR)
messaginglib_LTLIBRARIES = libmessaging.la
libmessaging_la_SOURCES = \
- indicator-messages.c\
+ indicator-messages.c \
+ messages-service-client.h \
dbus-data.h
libmessaging_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror
libmessaging_la_LIBADD = $(APPLET_LIBS)
@@ -20,6 +21,9 @@ libmessaging_la_LDFLAGS = -module -avoid-version
indicator_messages_service_SOURCES = \
messages-service.c \
+ messages-service-server.h \
+ messages-service-dbus.c \
+ messages-service-dbus.h \
im-menu-item.c \
im-menu-item.h \
app-menu-item.c \
@@ -30,3 +34,28 @@ indicator_messages_service_SOURCES = \
dbus-data.h
indicator_messages_service_CFLAGS = $(APPLET_CFLAGS) -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror
indicator_messages_service_LDADD = $(APPLET_LIBS)
+
+messages-service-client.h: $(srcdir)/messages-service.xml
+ dbus-binding-tool \
+ --prefix=_messages_service_client \
+ --mode=glib-client \
+ --output=messages-service-client.h \
+ $(srcdir)/messages-service.xml
+
+messages-service-server.h: $(srcdir)/messages-service.xml
+ dbus-binding-tool \
+ --prefix=_messages_service_server \
+ --mode=glib-server \
+ --output=messages-service-server.h \
+ $(srcdir)/messages-service.xml
+
+BUILT_SOURCES = \
+ messages-service-client.h \
+ messages-service-server.h
+
+CLEANFILES = \
+ $(BUILT_SOURCES)
+
+EXTRA_DIST = \
+ messages-service.xml
+