]> git.meshlink.io Git - catta/blobdiff - Makefile.am
move avahi-sharp.pc to the root directory
[catta] / Makefile.am
index fe3e186d3d0c6dd2c0c806a513f2a7478c470f82..f3bff8fc0cc8623520f53ba1a77885ec4a68b722 100644 (file)
@@ -22,6 +22,7 @@ ACLOCAL_AMFLAGS = -I common
 include $(srcdir)/common/doxygen.mk
 
 EXTRA_DIST = \
+       autogen.sh \
        bootstrap.sh \
        LICENSE \
        $(DX_CONFIG) \
@@ -37,7 +38,10 @@ EXTRA_DIST = \
        docs/avahi-poll.dia \
        avahi-core.pc.in \
        avahi-client.pc.in \
-       avahi-glib.pc.in
+       avahi-glib.pc.in \
+       avahi-qt3.pc.in \
+       avahi-qt4.pc.in \
+       avahi-sharp.pc.in
 
 SUBDIRS = \
        common \
@@ -45,8 +49,10 @@ SUBDIRS = \
        avahi-glib \
        avahi-core \
        avahi-discover-standalone \
+       avahi-qt \
        avahi-client \
        avahi-daemon \
+       avahi-sharp \
        initscript \
        avahi-dnsconfd \
        avahi-utils \
@@ -55,6 +61,7 @@ SUBDIRS = \
        tests \
        service-type-database
 
+
 DX_INPUT = \
        $(srcdir)/avahi-common/cdecl.h \
        $(srcdir)/avahi-core/core.h \
@@ -74,7 +81,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
 
@@ -113,6 +121,43 @@ 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
+
+if HAVE_MONO
+
+pkgconfig_DATA += avahi-sharp.pc
+
+avahi-sharp.pc: avahi-sharp.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
+           -e 's,@libdir\@,$(libdir),g' $< > $@
+
+CLEANFILES += avahi-sharp.pc
+
+endif
+
 MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
 homepage: