From: Lennart Poettering Date: Sat, 15 Oct 2005 15:55:57 +0000 (+0000) Subject: * add pkg-config file for compat-howl X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=91dd7be01d4f3571da4471186700d4a7d27c1ca8;p=catta * add pkg-config file for compat-howl * fix pkg-config file generation for compat-libdns_sd git-svn-id: file:///home/lennart/svn/public/avahi/trunk@773 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/Makefile.am b/Makefile.am index 12465c5..f00531d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -95,27 +95,31 @@ DX_EXAMPLE_PATH = $(srcdir)/examples DX_EXAMPLE_PATTERNS = *.c pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = avahi-core.pc avahi-compat-libdns_sd.pc +pkgconfig_DATA = avahi-core.pc avahi-core.pc: avahi-core.pc.in sed -e 's,@prefix\@,$(prefix),g' \ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ -avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in - sed -e 's,@prefix\@,$(prefix),g' \ - -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ - CLEANFILES = avahi-core.pc if HAVE_DBUS -pkgconfig_DATA += avahi-client.pc +pkgconfig_DATA += avahi-client.pc avahi-compat-libdns_sd.pc avahi-compat-howl.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 +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 + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + +CLEANFILES += avahi-client.pc avahi-compat-libdns_sd.pc.in avahi-compat-howl.pc.in endif diff --git a/avahi-compat-howl.pc.in b/avahi-compat-howl.pc.in new file mode 100644 index 0000000..1a636a1 --- /dev/null +++ b/avahi-compat-howl.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/avahi-compat-howl/ + +Name: avahi-compat-howl +Description: Avahi Multicast DNS Responder (HOWL) Compatibility) +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lavahi-compat-howl +Cflags: -D_REENTRANT -I${includedir} diff --git a/avahi-compat-libdns_sd.pc.in b/avahi-compat-libdns_sd.pc.in index 52ef14e..3007578 100644 --- a/avahi-compat-libdns_sd.pc.in +++ b/avahi-compat-libdns_sd.pc.in @@ -6,5 +6,5 @@ includedir=${prefix}/include/avahi-compat-libdns_sd/ Name: avahi-compat-libdns_sd Description: Avahi Multicast DNS Responder (libdns_sd Compatibility) Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lavahi-common -lavahi-client -lavahi-compat-libdns_sd +Libs: -L${libdir} -lavahi-compat-libdns_sd Cflags: -D_REENTRANT -I${includedir}