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
116 $(srcdir)/avahi-core/core.h \
117 $(srcdir)/avahi-core/lookup.h \
118 $(srcdir)/avahi-core/publish.h \
119 $(srcdir)/avahi-core/rr.h \
120 $(srcdir)/avahi-core/log.h
125 $(srcdir)/avahi-ui/avahi-ui.h
128 pkgconfigdir = $(libdir)/pkgconfig
129 pkgconfig_DATA = avahi-core.pc
131 avahi-core.pc: avahi-core.pc.in
132 sed -e 's,@prefix\@,$(prefix),g' \
133 -e 's,@libdir\@,$(libdir),g' \
134 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
136 CLEANFILES = avahi-core.pc
140 pkgconfig_DATA += avahi-client.pc
142 avahi-client.pc: avahi-client.pc.in
143 sed -e 's,@prefix\@,$(prefix),g' \
144 -e 's,@libdir\@,$(libdir),g' \
145 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
147 CLEANFILES += avahi-client.pc
149 if ENABLE_COMPAT_HOWL
151 pkgconfig_DATA += avahi-compat-howl.pc
153 avahi-compat-howl.pc: avahi-compat-howl.pc.in
154 sed -e 's,@prefix\@,$(prefix),g' \
155 -e 's,@libdir\@,$(libdir),g' \
156 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@
158 CLEANFILES += avahi-compat-howl.pc
162 if ENABLE_COMPAT_LIBDNS_SD
164 pkgconfig_DATA += avahi-compat-libdns_sd.pc
166 avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
167 sed -e 's,@prefix\@,$(prefix),g' \
168 -e 's,@libdir\@,$(libdir),g' \
169 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
171 CLEANFILES += avahi-compat-libdns_sd.pc
177 pkgconfig_DATA += avahi-sharp.pc
179 avahi-sharp.pc: avahi-sharp.pc.in
180 sed -e 's,@prefix\@,$(prefix),g' \
181 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
182 -e 's,@libdir\@,$(libdir),g' $< > $@
184 CLEANFILES += avahi-sharp.pc
192 pkgconfig_DATA += avahi-glib.pc
194 avahi-glib.pc: avahi-glib.pc.in
195 sed -e 's,@prefix\@,$(prefix),g' \
196 -e 's,@libdir\@,$(libdir),g' \
197 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
199 CLEANFILES += avahi-glib.pc
205 pkgconfig_DATA += avahi-gtk.pc
207 avahi-gtk.pc: avahi-gtk.pc.in
208 sed -e 's,@prefix\@,$(prefix),g' \
209 -e 's,@libdir\@,$(libdir),g' \
210 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
212 CLEANFILES += avahi-gtk.pc
218 pkgconfig_DATA += avahi-qt3.pc
220 avahi-qt3.pc: avahi-qt3.pc.in
221 sed -e 's,@prefix\@,$(prefix),g' \
222 -e 's,@libdir\@,$(libdir),g' \
223 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
225 CLEANFILES += avahi-qt3.pc
231 pkgconfig_DATA += avahi-qt4.pc
233 avahi-qt4.pc: avahi-qt4.pc.in
234 sed -e 's,@prefix\@,$(prefix),g' \
235 -e 's,@libdir\@,$(libdir),g' \
236 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
238 CLEANFILES += avahi-qt4.pc
242 MOSTLYCLEANFILES = $(DX_CLEANFILES)
244 DISTCHECK_CONFIGURE_FLAGS = \
249 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
250 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
251 tango:www/avahi.org/tree/download/
252 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
255 ssh tango rm -rf www/avahi.org/tree/download/doxygen
256 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen