diff options
author | Ted Gould <ted@canonical.com> | 2009-09-04 09:11:59 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-04 09:11:59 -0500 |
commit | 506e943af17db275f1c83c7a4726d2d15897a09e (patch) | |
tree | 16028144fa8f3bddb4a176ed093fc093ecabd654 /src/Makefile.am | |
parent | 10327267daa9e4ba36ace96f637beaa9045e0895 (diff) | |
parent | a04a5e11668a7068f1307b28911df1097ab983cf (diff) | |
download | ayatana-indicator-messages-506e943af17db275f1c83c7a4726d2d15897a09e.tar.gz ayatana-indicator-messages-506e943af17db275f1c83c7a4726d2d15897a09e.tar.bz2 ayatana-indicator-messages-506e943af17db275f1c83c7a4726d2d15897a09e.zip |
Merging in the dbusmenu011 branch. I think I got other trunk updates as well.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 52 |
1 files changed, 50 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 74db2df..38787a1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,13 +1,61 @@ bin_PROGRAMS = indicator-messages-service +###################################### +# Building the messages indicator +###################################### + messaginglibdir = $(INDICATORDIR) messaginglib_LTLIBRARIES = libmessaging.la -libmessaging_la_SOURCES = indicator-messages.c im-menu-item.c im-menu-item.h app-menu-item.c app-menu-item.h +libmessaging_la_SOURCES = \ + 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) libmessaging_la_LDFLAGS = -module -avoid-version -indicator_messages_service_SOURCES = indicator-service.c im-menu-item.c im-menu-item.h app-menu-item.c app-menu-item.h +###################################### +# Building the messages service +###################################### + +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 \ + app-menu-item.h \ + launcher-menu-item.c \ + launcher-menu-item.h \ + dirs.h \ + 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 + |