1 # This file is part of avahi.
3 # avahi is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as
5 # published by the Free Software Foundation; either version 2 of the
6 # License, or (at your option) any later version.
8 # avahi is distributed in the hope that it will be useful, but WITHOUT
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
11 # License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with avahi; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 ACLOCAL_AMFLAGS = -I common
20 include $(srcdir)/common/doxygen.mk
22 EXTRA_DIST = config.rpath \
34 docs/API-CHANGES-0.6 \
38 docs/server-states.dia \
43 avahi-libevent.pc.in \
49 avahi-ui-sharp.pc.in \
50 avahi-compat-libdns_sd.pc.in \
51 avahi-compat-howl.pc.in \
54 doxygen_to_devhelp.xsl \
55 common/introspection.m4
65 avahi-discover-standalone \
75 service-type-database \
76 avahi-compat-libdns_sd \
85 $(srcdir)/avahi-common/address.h \
86 $(srcdir)/avahi-common/malloc.h \
87 $(srcdir)/avahi-common/strlst.h \
88 $(srcdir)/avahi-common/alternative.h \
89 $(srcdir)/avahi-common/defs.h \
90 $(srcdir)/avahi-common/error.h \
91 $(srcdir)/avahi-common/domain.h \
92 $(srcdir)/avahi-common/watch.h \
93 $(srcdir)/avahi-common/simple-watch.h \
94 $(srcdir)/avahi-common/thread-watch.h
96 DX_EXAMPLE_PATH = $(srcdir)/examples
97 DX_EXAMPLE_PATTERNS = *.c
101 $(srcdir)/avahi-qt/qt-watch.h
105 $(srcdir)/avahi-qt/qt-watch.h
109 $(srcdir)/avahi-qt/qt-watch.h
115 $(srcdir)/avahi-glib/glib-watch.h \
116 $(srcdir)/avahi-glib/glib-malloc.h
121 $(srcdir)/avahi-gobject/ga-client.h \
122 $(srcdir)/avahi-gobject/ga-entry-group.h \
123 $(srcdir)/avahi-gobject/ga-enums.h \
124 $(srcdir)/avahi-gobject/ga-error.h \
125 $(srcdir)/avahi-gobject/ga-record-browser.h \
126 $(srcdir)/avahi-gobject/ga-service-browser.h \
127 $(srcdir)/avahi-gobject/ga-service-resolver.h
134 $(srcdir)/avahi-client/client.h \
135 $(srcdir)/avahi-client/lookup.h \
136 $(srcdir)/avahi-client/publish.h
142 $(srcdir)/avahi-ui/avahi-ui.h
148 $(srcdir)/avahi-core/core.h \
149 $(srcdir)/avahi-core/lookup.h \
150 $(srcdir)/avahi-core/publish.h \
151 $(srcdir)/avahi-core/rr.h \
152 $(srcdir)/avahi-core/log.h
157 $(srcdir)/avahi-ui/avahi-ui.h
162 $(srcdir)/avahi-libevent/libevent-watch.h
165 pkgconfigdir = $(libdir)/pkgconfig
168 $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
169 -e 's,@libdir\@,$(libdir),g' \
170 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' \
171 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
173 pkgconfig_DATA = avahi-core.pc
174 CLEANFILES = avahi-core.pc
177 pkgconfig_DATA += avahi-client.pc
178 CLEANFILES += avahi-client.pc
180 if ENABLE_COMPAT_HOWL
181 pkgconfig_DATA += avahi-compat-howl.pc
182 CLEANFILES += avahi-compat-howl.pc
185 if ENABLE_COMPAT_LIBDNS_SD
186 pkgconfig_DATA += avahi-compat-libdns_sd.pc
187 CLEANFILES += avahi-compat-libdns_sd.pc
191 pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
192 CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
198 pkgconfig_DATA += avahi-glib.pc
199 CLEANFILES += avahi-glib.pc
202 pkgconfig_DATA += avahi-gobject.pc
203 CLEANFILES += avahi-gobject.pc
209 pkgconfig_DATA += avahi-ui.pc
210 CLEANFILES += avahi-ui.pc
216 pkgconfig_DATA += avahi-ui-gtk3.pc
217 CLEANFILES += avahi-ui-gtk3.pc
222 pkgconfig_DATA += avahi-qt3.pc
223 CLEANFILES += avahi-qt3.pc
227 pkgconfig_DATA += avahi-qt4.pc
228 CLEANFILES += avahi-qt4.pc
232 pkgconfig_DATA += avahi-qt5.pc
233 CLEANFILES += avahi-qt5.pc
237 pkgconfig_DATA += avahi-libevent.pc
238 CLEANFILES += avahi-libevent.pc
241 CLEANFILES += avahi.devhelp
243 avahi.devhelp: doxygen-run
244 xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
246 MOSTLYCLEANFILES = $(DX_CLEANFILES)
248 DISTCHECK_CONFIGURE_FLAGS = \
250 --enable-introspection \
251 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
255 scp avahi-daemon/*.xml avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
256 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
257 tango:www/avahi.org/tree/download/
258 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
261 ssh tango rm -rf www/avahi.org/tree/download/doxygen
262 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen