X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=06ffd25d95ffcfb2164ff321765eb6573ec267a9;hb=f6a388c0b603fa1913da7a5db4737e2c162f9547;hp=d08fd8790269b908493cb2837041e9d74fcd77aa;hpb=11fdf8612c684b0faf85781ef1b2766bf6ea1f0b;p=catta diff --git a/Makefile.am b/Makefile.am index d08fd87..06ffd25 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,12 +58,13 @@ 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 = \ @@ -104,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,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_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 avahi-compat-howl.pc +endif endif @@ -158,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 = \