Skip to content

Commit

Permalink
* add pkg-config file for compat-howl
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
poettering committed Oct 15, 2005
1 parent 76bbc91 commit 91dd7be
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
18 changes: 11 additions & 7 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 10 additions & 0 deletions avahi-compat-howl.pc.in
Original file line number Diff line number Diff line change
@@ -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}
2 changes: 1 addition & 1 deletion avahi-compat-libdns_sd.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 91dd7be

Please sign in to comment.