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-ui-sharp.pc.in \
49 avahi-compat-libdns_sd.pc.in \
50 avahi-compat-howl.pc.in \
58 avahi-discover-standalone \
70 service-type-database \
71 avahi-compat-libdns_sd \
78 $(srcdir)/avahi-common/address.h \
79 $(srcdir)/avahi-common/strlst.h \
80 $(srcdir)/avahi-common/alternative.h \
81 $(srcdir)/avahi-common/defs.h \
82 $(srcdir)/avahi-common/error.h \
83 $(srcdir)/avahi-common/malloc.h \
84 $(srcdir)/avahi-common/domain.h \
85 $(srcdir)/avahi-common/watch.h \
86 $(srcdir)/avahi-common/simple-watch.h \
87 $(srcdir)/avahi-common/thread-watch.h \
88 $(srcdir)/avahi-common/timeval.h
90 DX_EXAMPLE_PATH = $(srcdir)/examples
91 DX_EXAMPLE_PATTERNS = *.c
95 $(srcdir)/avahi-qt/qt-watch.h
99 $(srcdir)/avahi-qt/qt-watch.h
105 $(srcdir)/avahi-glib/glib-watch.h \
106 $(srcdir)/avahi-glib/glib-malloc.h
111 $(srcdir)/avahi-client/client.h \
112 $(srcdir)/avahi-client/lookup.h \
113 $(srcdir)/avahi-client/publish.h
119 $(srcdir)/avahi-ui/avahi-ui.h
125 $(srcdir)/avahi-core/core.h \
126 $(srcdir)/avahi-core/lookup.h \
127 $(srcdir)/avahi-core/publish.h \
128 $(srcdir)/avahi-core/rr.h \
129 $(srcdir)/avahi-core/log.h
134 $(srcdir)/avahi-ui/avahi-ui.h
137 pkgconfigdir = $(libdir)/pkgconfig
138 pkgconfig_DATA = avahi-core.pc
140 avahi-core.pc: avahi-core.pc.in
141 sed -e 's,@prefix\@,$(prefix),g' \
142 -e 's,@libdir\@,$(libdir),g' \
143 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
145 CLEANFILES = avahi-core.pc
149 pkgconfig_DATA += avahi-client.pc
151 avahi-client.pc: avahi-client.pc.in
152 sed -e 's,@prefix\@,$(prefix),g' \
153 -e 's,@libdir\@,$(libdir),g' \
154 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
156 CLEANFILES += avahi-client.pc
158 if ENABLE_COMPAT_HOWL
160 pkgconfig_DATA += avahi-compat-howl.pc
162 avahi-compat-howl.pc: avahi-compat-howl.pc.in
163 sed -e 's,@prefix\@,$(prefix),g' \
164 -e 's,@libdir\@,$(libdir),g' \
165 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@
167 CLEANFILES += avahi-compat-howl.pc
171 if ENABLE_COMPAT_LIBDNS_SD
173 pkgconfig_DATA += avahi-compat-libdns_sd.pc
175 avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
176 sed -e 's,@prefix\@,$(prefix),g' \
177 -e 's,@libdir\@,$(libdir),g' \
178 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
180 CLEANFILES += avahi-compat-libdns_sd.pc
186 pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
188 avahi-sharp.pc: avahi-sharp.pc.in
189 sed -e 's,@prefix\@,$(prefix),g' \
190 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
191 -e 's,@libdir\@,$(libdir),g' $< > $@
193 avahi-ui-sharp.pc: avahi-ui-sharp.pc.in
194 sed -e 's,@prefix\@,$(prefix),g' \
195 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
196 -e 's,@libdir\@,$(libdir),g' $< > $@
198 CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
206 pkgconfig_DATA += avahi-glib.pc
208 avahi-glib.pc: avahi-glib.pc.in
209 sed -e 's,@prefix\@,$(prefix),g' \
210 -e 's,@libdir\@,$(libdir),g' \
211 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
213 CLEANFILES += avahi-glib.pc
220 pkgconfig_DATA += avahi-ui.pc
222 avahi-ui.pc: avahi-ui.pc.in
223 sed -e 's,@prefix\@,$(prefix),g' \
224 -e 's,@libdir\@,$(libdir),g' \
225 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
227 CLEANFILES += avahi-ui.pc
234 pkgconfig_DATA += avahi-qt3.pc
236 avahi-qt3.pc: avahi-qt3.pc.in
237 sed -e 's,@prefix\@,$(prefix),g' \
238 -e 's,@libdir\@,$(libdir),g' \
239 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
241 CLEANFILES += avahi-qt3.pc
247 pkgconfig_DATA += avahi-qt4.pc
249 avahi-qt4.pc: avahi-qt4.pc.in
250 sed -e 's,@prefix\@,$(prefix),g' \
251 -e 's,@libdir\@,$(libdir),g' \
252 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
254 CLEANFILES += avahi-qt4.pc
258 MOSTLYCLEANFILES = $(DX_CLEANFILES)
260 DISTCHECK_CONFIGURE_FLAGS = \
265 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
266 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
267 tango:www/avahi.org/tree/download/
268 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
271 ssh tango rm -rf www/avahi.org/tree/download/doxygen
272 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen