diff options
Diffstat (limited to 'libindicate/Makefile.am')
-rw-r--r-- | libindicate/Makefile.am | 33 |
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 |