3 # This file is part of avahi.
5 # avahi is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation; either version 2 of the
8 # License, or (at your option) any later version.
10 # avahi is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 # License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with avahi; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 ACLOCAL_AMFLAGS = -I common
22 include $(srcdir)/common/doxygen.mk
36 docs/API-CHANGES-0.6 \
40 docs/server-states.dia \
49 avahi-ui-sharp.pc.in \
50 avahi-compat-libdns_sd.pc.in \
51 avahi-compat-howl.pc.in \
53 doxygen_to_devhelp.xsl
63 avahi-discover-standalone \
73 service-type-database \
74 avahi-compat-libdns_sd \
82 $(srcdir)/avahi-common/address.h \
83 $(srcdir)/avahi-common/malloc.h \
84 $(srcdir)/avahi-common/strlst.h \
85 $(srcdir)/avahi-common/alternative.h \
86 $(srcdir)/avahi-common/defs.h \
87 $(srcdir)/avahi-common/error.h \
88 $(srcdir)/avahi-common/domain.h \
89 $(srcdir)/avahi-common/watch.h \
90 $(srcdir)/avahi-common/simple-watch.h \
91 $(srcdir)/avahi-common/thread-watch.h
93 DX_EXAMPLE_PATH = $(srcdir)/examples
94 DX_EXAMPLE_PATTERNS = *.c
98 $(srcdir)/avahi-qt/qt-watch.h
102 $(srcdir)/avahi-qt/qt-watch.h
108 $(srcdir)/avahi-glib/glib-watch.h \
109 $(srcdir)/avahi-glib/glib-malloc.h
114 $(srcdir)/avahi-gobject/ga-client.h \
115 $(srcdir)/avahi-gobject/ga-entry-group.h \
116 $(srcdir)/avahi-gobject/ga-enums.h \
117 $(srcdir)/avahi-gobject/ga-error.h \
118 $(srcdir)/avahi-gobject/ga-record-browser.h \
119 $(srcdir)/avahi-gobject/ga-service-browser.h \
120 $(srcdir)/avahi-gobject/ga-service-resolver.h
127 $(srcdir)/avahi-client/client.h \
128 $(srcdir)/avahi-client/lookup.h \
129 $(srcdir)/avahi-client/publish.h
135 $(srcdir)/avahi-ui/avahi-ui.h
141 $(srcdir)/avahi-core/core.h \
142 $(srcdir)/avahi-core/lookup.h \
143 $(srcdir)/avahi-core/publish.h \
144 $(srcdir)/avahi-core/rr.h \
145 $(srcdir)/avahi-core/log.h
150 $(srcdir)/avahi-ui/avahi-ui.h
153 pkgconfigdir = $(libdir)/pkgconfig
156 $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
157 -e 's,@libdir\@,$(libdir),g' \
158 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
160 pkgconfig_DATA = avahi-core.pc
161 CLEANFILES = avahi-core.pc
164 pkgconfig_DATA += avahi-client.pc
165 CLEANFILES += avahi-client.pc
167 if ENABLE_COMPAT_HOWL
168 pkgconfig_DATA += avahi-compat-howl.pc
169 CLEANFILES += avahi-compat-howl.pc
172 if ENABLE_COMPAT_LIBDNS_SD
173 pkgconfig_DATA += avahi-compat-libdns_sd.pc
174 CLEANFILES += avahi-compat-libdns_sd.pc
178 pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
179 CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
185 pkgconfig_DATA += avahi-glib.pc
186 CLEANFILES += avahi-glib.pc
189 pkgconfig_DATA += avahi-gobject.pc
190 CLEANFILES += avahi-gobject.pc
196 pkgconfig_DATA += avahi-ui.pc
197 CLEANFILES += avahi-ui.pc
202 pkgconfig_DATA += avahi-qt3.pc
203 CLEANFILES += avahi-qt3.pc
207 pkgconfig_DATA += avahi-qt4.pc
208 CLEANFILES += avahi-qt4.pc
211 CLEANFILES += avahi.devhelp
213 avahi.devhelp: doxygen-run
214 xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
216 MOSTLYCLEANFILES = $(DX_CLEANFILES)
218 DISTCHECK_CONFIGURE_FLAGS = \
223 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
224 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
225 tango:www/avahi.org/tree/download/
226 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
229 ssh tango rm -rf www/avahi.org/tree/download/doxygen
230 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen
233 if test -d .svn ; then \
235 chmod u+w ${distdir}/ChangeLog || true ; \
236 svn2cl -o ${distdir}/ChangeLog ; \
240 po/.intltool-merge-cache