]> git.meshlink.io Git - catta/commitdiff
* add pkg-config file for compat-howl
authorLennart Poettering <lennart@poettering.net>
Sat, 15 Oct 2005 15:55:57 +0000 (15:55 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Oct 2005 15:55:57 +0000 (15:55 +0000)
* 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

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

index 12465c5b631804bb7a0828b1b24bda8eea17c4d1..f00531d04c54fa0cae9832cb29bc7e81dff98f65 100644 (file)
@@ -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 (file)
index 0000000..1a636a1
--- /dev/null
@@ -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}
index 52ef14e5c49d64eee18019a997ff8d5d5744e3be..3007578745270bb977894dea9086d02dfc2f1ea1 100644 (file)
@@ -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}