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 \
48 avahi-compat-libdns_sd.pc.in \
49 avahi-compat-howl.pc.in \
57 avahi-discover-standalone \
69 service-type-database \
70 avahi-compat-libdns_sd \
76 $(srcdir)/avahi-common/address.h \
77 $(srcdir)/avahi-common/strlst.h \
78 $(srcdir)/avahi-common/alternative.h \
79 $(srcdir)/avahi-common/defs.h \
80 $(srcdir)/avahi-common/error.h \
81 $(srcdir)/avahi-common/malloc.h \
82 $(srcdir)/avahi-common/domain.h \
83 $(srcdir)/avahi-common/watch.h \
84 $(srcdir)/avahi-common/simple-watch.h \
85 $(srcdir)/avahi-common/thread-watch.h \
86 $(srcdir)/avahi-common/timeval.h
88 DX_EXAMPLE_PATH = $(srcdir)/examples
89 DX_EXAMPLE_PATTERNS = *.c
93 $(srcdir)/avahi-qt/qt-watch.h
97 $(srcdir)/avahi-qt/qt-watch.h
103 $(srcdir)/avahi-glib/glib-watch.h \
104 $(srcdir)/avahi-glib/glib-malloc.h
109 $(srcdir)/avahi-client/client.h \
110 $(srcdir)/avahi-client/lookup.h \
111 $(srcdir)/avahi-client/publish.h
117 $(srcdir)/avahi-ui/avahi-ui.h
123 $(srcdir)/avahi-core/core.h \
124 $(srcdir)/avahi-core/lookup.h \
125 $(srcdir)/avahi-core/publish.h \
126 $(srcdir)/avahi-core/rr.h \
127 $(srcdir)/avahi-core/log.h
132 $(srcdir)/avahi-ui/avahi-ui.h
135 pkgconfigdir = $(libdir)/pkgconfig
136 pkgconfig_DATA = avahi-core.pc
138 avahi-core.pc: avahi-core.pc.in
139 sed -e 's,@prefix\@,$(prefix),g' \
140 -e 's,@libdir\@,$(libdir),g' \
141 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
143 CLEANFILES = avahi-core.pc
147 pkgconfig_DATA += avahi-client.pc
149 avahi-client.pc: avahi-client.pc.in
150 sed -e 's,@prefix\@,$(prefix),g' \
151 -e 's,@libdir\@,$(libdir),g' \
152 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
154 CLEANFILES += avahi-client.pc
156 if ENABLE_COMPAT_HOWL
158 pkgconfig_DATA += avahi-compat-howl.pc
160 avahi-compat-howl.pc: avahi-compat-howl.pc.in
161 sed -e 's,@prefix\@,$(prefix),g' \
162 -e 's,@libdir\@,$(libdir),g' \
163 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@
165 CLEANFILES += avahi-compat-howl.pc
169 if ENABLE_COMPAT_LIBDNS_SD
171 pkgconfig_DATA += avahi-compat-libdns_sd.pc
173 avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
174 sed -e 's,@prefix\@,$(prefix),g' \
175 -e 's,@libdir\@,$(libdir),g' \
176 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
178 CLEANFILES += avahi-compat-libdns_sd.pc
184 pkgconfig_DATA += avahi-sharp.pc
186 avahi-sharp.pc: avahi-sharp.pc.in
187 sed -e 's,@prefix\@,$(prefix),g' \
188 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
189 -e 's,@libdir\@,$(libdir),g' $< > $@
191 CLEANFILES += avahi-sharp.pc
199 pkgconfig_DATA += avahi-glib.pc
201 avahi-glib.pc: avahi-glib.pc.in
202 sed -e 's,@prefix\@,$(prefix),g' \
203 -e 's,@libdir\@,$(libdir),g' \
204 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
206 CLEANFILES += avahi-glib.pc
213 pkgconfig_DATA += avahi-ui.pc
215 avahi-ui.pc: avahi-ui.pc.in
216 sed -e 's,@prefix\@,$(prefix),g' \
217 -e 's,@libdir\@,$(libdir),g' \
218 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
220 CLEANFILES += avahi-ui.pc
227 pkgconfig_DATA += avahi-qt3.pc
229 avahi-qt3.pc: avahi-qt3.pc.in
230 sed -e 's,@prefix\@,$(prefix),g' \
231 -e 's,@libdir\@,$(libdir),g' \
232 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
234 CLEANFILES += avahi-qt3.pc
240 pkgconfig_DATA += avahi-qt4.pc
242 avahi-qt4.pc: avahi-qt4.pc.in
243 sed -e 's,@prefix\@,$(prefix),g' \
244 -e 's,@libdir\@,$(libdir),g' \
245 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
247 CLEANFILES += avahi-qt4.pc
251 MOSTLYCLEANFILES = $(DX_CLEANFILES)
253 DISTCHECK_CONFIGURE_FLAGS = \
258 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
259 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
260 tango:www/avahi.org/tree/download/
261 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
264 ssh tango rm -rf www/avahi.org/tree/download/doxygen
265 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen