summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-15 15:55:57 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-15 15:55:57 +0000
commit91dd7be01d4f3571da4471186700d4a7d27c1ca8 (patch)
treef0868461d98451534876bf8002d168a42c7be274
parent76bbc91a5d2f151430bf7ecc3328e0147e60c346 (diff)
* 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
-rw-r--r--Makefile.am18
-rw-r--r--avahi-compat-howl.pc.in10
-rw-r--r--avahi-compat-libdns_sd.pc.in2
3 files changed, 22 insertions, 8 deletions
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}