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 \
52 doxygen_to_devhelp.xsl
62 avahi-discover-standalone \
72 service-type-database \
73 avahi-compat-libdns_sd \
81 $(srcdir)/avahi-common/address.h \
82 $(srcdir)/avahi-common/malloc.h \
83 $(srcdir)/avahi-common/strlst.h \
84 $(srcdir)/avahi-common/alternative.h \
85 $(srcdir)/avahi-common/defs.h \
86 $(srcdir)/avahi-common/error.h \
87 $(srcdir)/avahi-common/domain.h \
88 $(srcdir)/avahi-common/watch.h \
89 $(srcdir)/avahi-common/simple-watch.h \
90 $(srcdir)/avahi-common/thread-watch.h
92 DX_EXAMPLE_PATH = $(srcdir)/examples
93 DX_EXAMPLE_PATTERNS = *.c
97 $(srcdir)/avahi-qt/qt-watch.h
101 $(srcdir)/avahi-qt/qt-watch.h
107 $(srcdir)/avahi-glib/glib-watch.h \
108 $(srcdir)/avahi-glib/glib-malloc.h
113 $(srcdir)/avahi-gobject/ga-client.h \
114 $(srcdir)/avahi-gobject/ga-entry-group.h \
115 $(srcdir)/avahi-gobject/ga-enums.h \
116 $(srcdir)/avahi-gobject/ga-error.h \
117 $(srcdir)/avahi-gobject/ga-record-browser.h \
118 $(srcdir)/avahi-gobject/ga-service-browser.h \
119 $(srcdir)/avahi-gobject/ga-service-resolver.h
126 $(srcdir)/avahi-client/client.h \
127 $(srcdir)/avahi-client/lookup.h \
128 $(srcdir)/avahi-client/publish.h
134 $(srcdir)/avahi-ui/avahi-ui.h
140 $(srcdir)/avahi-core/core.h \
141 $(srcdir)/avahi-core/lookup.h \
142 $(srcdir)/avahi-core/publish.h \
143 $(srcdir)/avahi-core/rr.h \
144 $(srcdir)/avahi-core/log.h
149 $(srcdir)/avahi-ui/avahi-ui.h
152 pkgconfigdir = $(libdir)/pkgconfig
155 $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
156 -e 's,@libdir\@,$(libdir),g' \
157 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
159 pkgconfig_DATA = avahi-core.pc
160 CLEANFILES = avahi-core.pc
163 pkgconfig_DATA += avahi-client.pc
164 CLEANFILES += avahi-client.pc
166 if ENABLE_COMPAT_HOWL
167 pkgconfig_DATA += avahi-compat-howl.pc
168 CLEANFILES += avahi-compat-howl.pc
171 if ENABLE_COMPAT_LIBDNS_SD
172 pkgconfig_DATA += avahi-compat-libdns_sd.pc
173 CLEANFILES += avahi-compat-libdns_sd.pc
177 pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
178 CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
184 pkgconfig_DATA += avahi-glib.pc
185 CLEANFILES += avahi-glib.pc
188 pkgconfig_DATA += avahi-gobject.pc
189 CLEANFILES += avahi-gobject.pc
195 pkgconfig_DATA += avahi-ui.pc
196 CLEANFILES += avahi-ui.pc
202 pkgconfig_DATA += avahi-ui-gtk3.pc
203 CLEANFILES += avahi-ui-gtk3.pc
208 pkgconfig_DATA += avahi-qt3.pc
209 CLEANFILES += avahi-qt3.pc
213 pkgconfig_DATA += avahi-qt4.pc
214 CLEANFILES += avahi-qt4.pc
217 CLEANFILES += avahi.devhelp
219 avahi.devhelp: doxygen-run
220 xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
222 MOSTLYCLEANFILES = $(DX_CLEANFILES)
224 DISTCHECK_CONFIGURE_FLAGS = \
229 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
230 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
231 tango:www/avahi.org/tree/download/
232 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
235 ssh tango rm -rf www/avahi.org/tree/download/doxygen
236 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen
239 po/.intltool-merge-cache