diff options
author | Ted Gould <ted@canonical.com> | 2009-11-03 23:22:23 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-03 23:22:23 -0600 |
commit | c547687a407d935654aa71f7afa1e4392e50d5c5 (patch) | |
tree | be68d78a023df69a53fbcc4e626411613c0273da /libindicator/Makefile.am | |
parent | 541f18ceb56e3db6d342ae3dbac51e527592614e (diff) | |
parent | cb0c099a07068f374e7ce27b873d2773131e4a48 (diff) | |
download | libayatana-indicator-c547687a407d935654aa71f7afa1e4392e50d5c5.tar.gz libayatana-indicator-c547687a407d935654aa71f7afa1e4392e50d5c5.tar.bz2 libayatana-indicator-c547687a407d935654aa71f7afa1e4392e50d5c5.zip |
Adding a service management interface into libindicators as many will use that.
Diffstat (limited to 'libindicator/Makefile.am')
-rw-r--r-- | libindicator/Makefile.am | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am index db45f3c..5c512cd 100644 --- a/libindicator/Makefile.am +++ b/libindicator/Makefile.am @@ -1,3 +1,5 @@ +BUILT_SOURCES = +CLEANFILES = EXTRA_DIST = \ indicator.pc.in @@ -5,7 +7,9 @@ libindicatorincludedir=$(includedir)/libindicator-0.1/libindicator indicator_headers = \ indicator.h \ - indicator-object.h + indicator-object.h \ + indicator-service.h \ + indicator-service-manager.h libindicatorinclude_HEADERS = \ $(indicator_headers) @@ -15,7 +19,10 @@ lib_LTLIBRARIES = \ libindicator_la_SOURCES = \ $(indicator_headers) \ - indicator-object.c + dbus-shared.h \ + indicator-object.c \ + indicator-service.c \ + indicator-service-manager.c libindicator_la_CFLAGS = \ $(LIBINDICATOR_CFLAGS) \ @@ -27,3 +34,31 @@ libindicator_la_LIBADD = \ pkgconfig_DATA = indicator.pc pkgconfigdir = $(libdir)/pkgconfig +################################## +# DBus Specs +################################## + +DBUS_SPECS = \ + indicator-service.xml + +%-client.h: %.xml + dbus-binding-tool \ + --prefix=_$(subst -,_,$(basename $(notdir $<)))_client \ + --mode=glib-client \ + --output=$@ \ + $< + +%-server.h: %.xml + dbus-binding-tool \ + --prefix=_$(subst -,_,$(basename $(notdir $<)))_server \ + --mode=glib-server \ + --output=$@ \ + $< + +BUILT_SOURCES += \ + $(DBUS_SPECS:.xml=-client.h) \ + $(DBUS_SPECS:.xml=-server.h) + +CLEANFILES += $(BUILT_SOURCES) + +EXTRA_DIST += $(DBUS_SPECS) |