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
34 docs/API-CHANGES-0.6 \
38 docs/server-states.dia \
47 avahi-ui-sharp.pc.in \
48 avahi-compat-libdns_sd.pc.in \
49 avahi-compat-howl.pc.in \
51 doxygen_to_devhelp.xsl
61 avahi-discover-standalone \
71 service-type-database \
72 avahi-compat-libdns_sd \
80 $(srcdir)/avahi-common/address.h \
81 $(srcdir)/avahi-common/malloc.h \
82 $(srcdir)/avahi-common/strlst.h \
83 $(srcdir)/avahi-common/alternative.h \
84 $(srcdir)/avahi-common/defs.h \
85 $(srcdir)/avahi-common/error.h \
86 $(srcdir)/avahi-common/domain.h \
87 $(srcdir)/avahi-common/watch.h \
88 $(srcdir)/avahi-common/simple-watch.h \
89 $(srcdir)/avahi-common/thread-watch.h
91 DX_EXAMPLE_PATH = $(srcdir)/examples
92 DX_EXAMPLE_PATTERNS = *.c
96 $(srcdir)/avahi-qt/qt-watch.h
100 $(srcdir)/avahi-qt/qt-watch.h
106 $(srcdir)/avahi-glib/glib-watch.h \
107 $(srcdir)/avahi-glib/glib-malloc.h
112 $(srcdir)/avahi-gobject/ga-client.h \
113 $(srcdir)/avahi-gobject/ga-entry-group.h \
114 $(srcdir)/avahi-gobject/ga-enums.h \
115 $(srcdir)/avahi-gobject/ga-error.h \
116 $(srcdir)/avahi-gobject/ga-record-browser.h \
117 $(srcdir)/avahi-gobject/ga-service-browser.h \
118 $(srcdir)/avahi-gobject/ga-service-resolver.h
125 $(srcdir)/avahi-client/client.h \
126 $(srcdir)/avahi-client/lookup.h \
127 $(srcdir)/avahi-client/publish.h
133 $(srcdir)/avahi-ui/avahi-ui.h
139 $(srcdir)/avahi-core/core.h \
140 $(srcdir)/avahi-core/lookup.h \
141 $(srcdir)/avahi-core/publish.h \
142 $(srcdir)/avahi-core/rr.h \
143 $(srcdir)/avahi-core/log.h
148 $(srcdir)/avahi-ui/avahi-ui.h
151 pkgconfigdir = $(libdir)/pkgconfig
154 $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
155 -e 's,@libdir\@,$(libdir),g' \
156 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
158 pkgconfig_DATA = avahi-core.pc
159 CLEANFILES = avahi-core.pc
162 pkgconfig_DATA += avahi-client.pc
163 CLEANFILES += avahi-client.pc
165 if ENABLE_COMPAT_HOWL
166 pkgconfig_DATA += avahi-compat-howl.pc
167 CLEANFILES += avahi-compat-howl.pc
170 if ENABLE_COMPAT_LIBDNS_SD
171 pkgconfig_DATA += avahi-compat-libdns_sd.pc
172 CLEANFILES += avahi-compat-libdns_sd.pc
176 pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
177 CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
183 pkgconfig_DATA += avahi-glib.pc
184 CLEANFILES += avahi-glib.pc
187 pkgconfig_DATA += avahi-gobject.pc
188 CLEANFILES += avahi-gobject.pc
194 pkgconfig_DATA += avahi-ui.pc
195 CLEANFILES += avahi-ui.pc
200 pkgconfig_DATA += avahi-qt3.pc
201 CLEANFILES += avahi-qt3.pc
205 pkgconfig_DATA += avahi-qt4.pc
206 CLEANFILES += avahi-qt4.pc
209 CLEANFILES += avahi.devhelp
211 avahi.devhelp: doxygen-run
212 xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
214 MOSTLYCLEANFILES = $(DX_CLEANFILES)
216 DISTCHECK_CONFIGURE_FLAGS = \
221 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
222 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
223 tango:www/avahi.org/tree/download/
224 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
227 ssh tango rm -rf www/avahi.org/tree/download/doxygen
228 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen
231 if test -d .svn ; then \
233 chmod u+w ${distdir}/ChangeLog || true ; \
234 svn2cl -o ${distdir}/ChangeLog ; \
238 po/.intltool-merge-cache