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
56 avahi-discover-standalone \
68 service-type-database \
69 avahi-compat-libdns_sd \
74 $(srcdir)/avahi-common/address.h \
75 $(srcdir)/avahi-common/strlst.h \
76 $(srcdir)/avahi-common/alternative.h \
77 $(srcdir)/avahi-common/defs.h \
78 $(srcdir)/avahi-common/error.h \
79 $(srcdir)/avahi-common/malloc.h \
80 $(srcdir)/avahi-common/domain.h \
81 $(srcdir)/avahi-common/watch.h \
82 $(srcdir)/avahi-common/simple-watch.h \
83 $(srcdir)/avahi-common/thread-watch.h \
84 $(srcdir)/avahi-common/timeval.h
86 DX_EXAMPLE_PATH = $(srcdir)/examples
87 DX_EXAMPLE_PATTERNS = *.c
91 $(srcdir)/avahi-qt/qt-watch.h
95 $(srcdir)/avahi-qt/qt-watch.h
101 $(srcdir)/avahi-glib/glib-watch.h \
102 $(srcdir)/avahi-glib/glib-malloc.h
107 $(srcdir)/avahi-client/client.h \
108 $(srcdir)/avahi-client/lookup.h \
109 $(srcdir)/avahi-client/publish.h
114 $(srcdir)/avahi-core/core.h \
115 $(srcdir)/avahi-core/lookup.h \
116 $(srcdir)/avahi-core/publish.h \
117 $(srcdir)/avahi-core/rr.h \
118 $(srcdir)/avahi-core/log.h
121 pkgconfigdir = $(libdir)/pkgconfig
122 pkgconfig_DATA = avahi-core.pc
124 avahi-core.pc: avahi-core.pc.in
125 sed -e 's,@prefix\@,$(prefix),g' \
126 -e 's,@libdir\@,$(libdir),g' \
127 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
129 CLEANFILES = avahi-core.pc
133 pkgconfig_DATA += avahi-client.pc
135 avahi-client.pc: avahi-client.pc.in
136 sed -e 's,@prefix\@,$(prefix),g' \
137 -e 's,@libdir\@,$(libdir),g' \
138 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
140 CLEANFILES += avahi-client.pc
142 if ENABLE_COMPAT_HOWL
144 pkgconfig_DATA += avahi-compat-howl.pc
146 avahi-compat-howl.pc: avahi-compat-howl.pc.in
147 sed -e 's,@prefix\@,$(prefix),g' \
148 -e 's,@libdir\@,$(libdir),g' \
149 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@
151 CLEANFILES += avahi-compat-howl.pc
155 if ENABLE_COMPAT_LIBDNS_SD
157 pkgconfig_DATA += avahi-compat-libdns_sd.pc
159 avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
160 sed -e 's,@prefix\@,$(prefix),g' \
161 -e 's,@libdir\@,$(libdir),g' \
162 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
164 CLEANFILES += avahi-compat-libdns_sd.pc
170 pkgconfig_DATA += avahi-sharp.pc
172 avahi-sharp.pc: avahi-sharp.pc.in
173 sed -e 's,@prefix\@,$(prefix),g' \
174 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
175 -e 's,@libdir\@,$(libdir),g' $< > $@
177 CLEANFILES += avahi-sharp.pc
185 pkgconfig_DATA += avahi-glib.pc
187 avahi-glib.pc: avahi-glib.pc.in
188 sed -e 's,@prefix\@,$(prefix),g' \
189 -e 's,@libdir\@,$(libdir),g' \
190 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
192 CLEANFILES += avahi-glib.pc
198 pkgconfig_DATA += avahi-qt3.pc
200 avahi-qt3.pc: avahi-qt3.pc.in
201 sed -e 's,@prefix\@,$(prefix),g' \
202 -e 's,@libdir\@,$(libdir),g' \
203 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
205 CLEANFILES += avahi-qt3.pc
211 pkgconfig_DATA += avahi-qt4.pc
213 avahi-qt4.pc: avahi-qt4.pc.in
214 sed -e 's,@prefix\@,$(prefix),g' \
215 -e 's,@libdir\@,$(libdir),g' \
216 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
218 CLEANFILES += avahi-qt4.pc
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