X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=06ffd25d95ffcfb2164ff321765eb6573ec267a9;hb=f6a388c0b603fa1913da7a5db4737e2c162f9547;hp=f00531d04c54fa0cae9832cb29bc7e81dff98f65;hpb=91dd7be01d4f3571da4471186700d4a7d27c1ca8;p=catta diff --git a/Makefile.am b/Makefile.am index f00531d..06ffd25 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,7 +41,9 @@ EXTRA_DIST = \ avahi-glib.pc.in \ avahi-qt3.pc.in \ avahi-qt4.pc.in \ - avahi-sharp.pc.in + avahi-sharp.pc.in \ + avahi-compat-libdns_sd.pc.in \ + avahi-compat-howl.pc.in SUBDIRS = \ common \ @@ -56,16 +58,16 @@ SUBDIRS = \ initscript \ avahi-dnsconfd \ avahi-utils \ + avahi-python \ examples \ man \ tests \ service-type-database \ avahi-compat-libdns_sd \ - avahi-compat-howl + avahi-compat-howl DX_INPUT = \ - $(srcdir)/avahi-common/cdecl.h \ $(srcdir)/avahi-core/core.h \ $(srcdir)/avahi-core/lookup.h \ $(srcdir)/avahi-core/publish.h \ @@ -76,18 +78,16 @@ DX_INPUT = \ $(srcdir)/avahi-core/log.h \ $(srcdir)/avahi-common/defs.h \ $(srcdir)/avahi-client/client.h \ + $(srcdir)/avahi-client/lookup.h \ + $(srcdir)/avahi-client/publish.h \ $(srcdir)/avahi-common/error.h \ $(srcdir)/avahi-common/malloc.h \ $(srcdir)/avahi-common/domain.h \ - $(srcdir)/avahi-common/gccmacro.h \ $(srcdir)/avahi-common/watch.h \ - $(srcdir)/avahi-common/llist.h \ - $(srcdir)/avahi-common/rlist.h \ $(srcdir)/avahi-common/simple-watch.h \ $(srcdir)/avahi-glib/glib-watch.h \ $(srcdir)/avahi-glib/glib-malloc.h \ $(srcdir)/avahi-common/timeval.h \ - $(srcdir)/avahi-common/dbus.h \ $(srcdir)/avahi-qt/qt-watch.h DX_EXAMPLE_PATH = $(srcdir)/examples @@ -105,21 +105,50 @@ CLEANFILES = avahi-core.pc if HAVE_DBUS -pkgconfig_DATA += avahi-client.pc avahi-compat-libdns_sd.pc avahi-compat-howl.pc +pkgconfig_DATA += avahi-client.pc avahi-client.pc: avahi-client.pc.in sed -e 's,@prefix\@,$(prefix),g' \ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ +CLEANFILES += avahi-client.pc + +if ENABLE_COMPAT_HOWL + +pkgconfig_DATA += avahi-compat-howl.pc + +avahi-compat-howl.pc: avahi-compat-howl.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@ + +CLEANFILES += avahi-compat-howl.pc + +endif + +if ENABLE_COMPAT_LIBDNS_SD + +pkgconfig_DATA += avahi-compat-libdns_sd.pc + avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in sed -e 's,@prefix\@,$(prefix),g' \ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ -avahi-compat-howl.pc: avahi-compat-howl.pc.in +CLEANFILES += avahi-compat-libdns_sd.pc + +endif + +if HAVE_MONO + +pkgconfig_DATA += avahi-sharp.pc + +avahi-sharp.pc: avahi-sharp.pc.in sed -e 's,@prefix\@,$(prefix),g' \ - -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ + -e 's,@libdir\@,$(libdir),g' $< > $@ + +CLEANFILES += avahi-sharp.pc -CLEANFILES += avahi-client.pc avahi-compat-libdns_sd.pc.in avahi-compat-howl.pc.in +endif endif @@ -159,19 +188,6 @@ CLEANFILES += avahi-qt4.pc endif -if HAVE_MONO - -pkgconfig_DATA += avahi-sharp.pc - -avahi-sharp.pc: avahi-sharp.pc.in - sed -e 's,@prefix\@,$(prefix),g' \ - -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ - -e 's,@libdir\@,$(libdir),g' $< > $@ - -CLEANFILES += avahi-sharp.pc - -endif - MOSTLYCLEANFILES = $(DX_CLEANFILES) DISTCHECK_CONFIGURE_FLAGS = \