]> git.meshlink.io Git - catta/commitdiff
Add pkgconfig file for bonjour compat layer
authorLennart Poettering <lennart@poettering.net>
Sun, 2 Oct 2005 13:37:15 +0000 (13:37 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 2 Oct 2005 13:37:15 +0000 (13:37 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@674 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

Makefile.am
avahi-compat-bonjour.pc.in [new file with mode: 0644]

index 14cf04a239d2e673d14c088f5e4bcb0fee849b17..6ada70aa746a60c25b2d9a191228b6514367de48 100644 (file)
@@ -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 (file)
index 0000000..14be662
--- /dev/null
@@ -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}