X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=f3bff8fc0cc8623520f53ba1a77885ec4a68b722;hb=10dd71bc7839270de1ddfc61c57a98e89117db14;hp=68abb4f085f219e812cf1728606527fb9b0a958f;hpb=5a685a0f05389e671a32b01ef729dbb39cb39020;p=catta diff --git a/Makefile.am b/Makefile.am index 68abb4f..f3bff8f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,8 @@ EXTRA_DIST = \ avahi-client.pc.in \ avahi-glib.pc.in \ avahi-qt3.pc.in \ - avahi-qt4.pc.in + avahi-qt4.pc.in \ + avahi-sharp.pc.in SUBDIRS = \ common \ @@ -51,6 +52,7 @@ SUBDIRS = \ avahi-qt \ avahi-client \ avahi-daemon \ + avahi-sharp \ initscript \ avahi-dnsconfd \ avahi-utils \ @@ -59,6 +61,7 @@ SUBDIRS = \ tests \ service-type-database + DX_INPUT = \ $(srcdir)/avahi-common/cdecl.h \ $(srcdir)/avahi-core/core.h \ @@ -142,6 +145,18 @@ 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)