From 8d87b5886d1113ebf9eb0f7aa1012538ffb1fc68 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Aug 2005 01:20:53 +0000 Subject: Add pkg-config files for avahi-qt git-svn-id: file:///home/lennart/svn/public/avahi/trunk@499 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- Makefile.am | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f22fa04..4460804 100644 --- a/Makefile.am +++ b/Makefile.am @@ -76,7 +76,8 @@ DX_INPUT = \ $(srcdir)/avahi-glib/glib-watch.h \ $(srcdir)/avahi-glib/glib-malloc.h \ $(srcdir)/avahi-common/timeval.h \ - $(srcdir)/avahi-common/dbus.h + $(srcdir)/avahi-common/dbus.h \ + $(srcdir)/avahi-qt/qt-watch.h DX_EXAMPLE_PATH = $(srcdir)/examples @@ -115,6 +116,31 @@ CLEANFILES += avahi-glib.pc endif +if HAVE_QT3 + +pkgconfig_DATA += avahi-qt3.pc + +avahi-qt3.pc: avahi-qt3.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + +CLEANFILES += avahi-qt3.pc + +endif + +if HAVE_QT4 + +pkgconfig_DATA += avahi-qt4.pc + +avahi-qt4.pc: avahi-qt4.pc.in + sed -e 's,@prefix\@,$(prefix),g' \ + -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@ + +CLEANFILES += avahi-qt4.pc + +endif + + MOSTLYCLEANFILES = $(DX_CLEANFILES) homepage: -- cgit