From c60361be039cce0a5706dd4a93742a6eeb33176f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 2 Oct 2005 13:37:15 +0000 Subject: [PATCH] Add pkgconfig file for bonjour compat layer git-svn-id: file:///home/lennart/svn/public/avahi/trunk@674 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- Makefile.am | 6 +++++- avahi-compat-bonjour.pc.in | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 avahi-compat-bonjour.pc.in diff --git a/Makefile.am b/Makefile.am index 14cf04a..6ada70a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -94,12 +94,16 @@ DX_EXAMPLE_PATH = $(srcdir)/examples DX_EXAMPLE_PATTERNS = *.c pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = avahi-core.pc +pkgconfig_DATA = avahi-core.pc avahi-compat-bonjour.pc avahi-core.pc: avahi-core.pc.in sed -e 's,@prefix\@,$(prefix),g' \ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ +avahi-compat-bonjour.pc: avahi-compat-bonjour.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + CLEANFILES = avahi-core.pc if HAVE_DBUS diff --git a/avahi-compat-bonjour.pc.in b/avahi-compat-bonjour.pc.in new file mode 100644 index 0000000..14be662 --- /dev/null +++ b/avahi-compat-bonjour.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/avahi-compat-bonjour/ + +Name: avahi-core +Description: Avahi Multicast DNS Responder (Apple Bonjour Compatibility) +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lavahi-common -lavahi-client -lavahi-compat-bonjour +Cflags: -D_REENTRANT -I${includedir} -- 2.39.5