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
--- /dev/null
+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}