$(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
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:
--- /dev/null
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: avahi-qt3
+Description: Avahi Multicast DNS Responder (QT3 Support)
+Version: @PACKAGE_VERSION@
+Requires: qt-mt >= 3.0.0
+Libs: -L${libdir} -lavahi-common -lavahi-qt3
+Cflags: -D_REENTRANT -I${includedir}
--- /dev/null
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: avahi-qt4
+Description: Avahi Multicast DNS Responder (QT4 Support)
+Version: @PACKAGE_VERSION@
+Requires: QtCore >= 4.0.0
+Libs: -L${libdir} -lavahi-common -lavahi-qt4
+Cflags: -D_REENTRANT -I${includedir}