diff options
author | Ted Gould <ted@canonical.com> | 2009-11-04 08:15:18 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-04 08:15:18 -0600 |
commit | 3d93d5a2a88e93e739c67cdf8a3ed60bf394d58a (patch) | |
tree | 44e454ab72038695f5b91cd826ba867b23c3a7a0 /libindicator/Makefile.am | |
parent | d9dc7707402a979e3d23d5afc2fcd18ce57f0b54 (diff) | |
parent | 61e1ae1b8072ae134487dc66537daefbef477199 (diff) | |
download | libayatana-indicator-3d93d5a2a88e93e739c67cdf8a3ed60bf394d58a.tar.gz libayatana-indicator-3d93d5a2a88e93e739c67cdf8a3ed60bf394d58a.tar.bz2 libayatana-indicator-3d93d5a2a88e93e739c67cdf8a3ed60bf394d58a.zip |
* Adding in service management code.
* debian/control: Adding a target for libindicator0
* Adding libindicator0.install and libindicator-dev.install
Diffstat (limited to 'libindicator/Makefile.am')
-rw-r--r-- | libindicator/Makefile.am | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am index be68721..5c512cd 100644 --- a/libindicator/Makefile.am +++ b/libindicator/Makefile.am @@ -1,14 +1,64 @@ +BUILT_SOURCES = +CLEANFILES = EXTRA_DIST = \ indicator.pc.in libindicatorincludedir=$(includedir)/libindicator-0.1/libindicator indicator_headers = \ - indicator.h + indicator.h \ + indicator-object.h \ + indicator-service.h \ + indicator-service-manager.h libindicatorinclude_HEADERS = \ $(indicator_headers) +lib_LTLIBRARIES = \ + libindicator.la + +libindicator_la_SOURCES = \ + $(indicator_headers) \ + dbus-shared.h \ + indicator-object.c \ + indicator-service.c \ + indicator-service-manager.c + +libindicator_la_CFLAGS = \ + $(LIBINDICATOR_CFLAGS) \ + -Wall -Werror + +libindicator_la_LIBADD = \ + $(LIBINDICATOR_LIBS) + 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) |