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 \
53 common/introspection.m4
63 avahi-discover-standalone \
73 service-type-database \
74 avahi-compat-libdns_sd \
82 $(srcdir)/avahi-common/address.h \
83 $(srcdir)/avahi-common/malloc.h \
84 $(srcdir)/avahi-common/strlst.h \
85 $(srcdir)/avahi-common/alternative.h \
86 $(srcdir)/avahi-common/defs.h \
87 $(srcdir)/avahi-common/error.h \
88 $(srcdir)/avahi-common/domain.h \
89 $(srcdir)/avahi-common/watch.h \
90 $(srcdir)/avahi-common/simple-watch.h \
91 $(srcdir)/avahi-common/thread-watch.h
93 DX_EXAMPLE_PATH = $(srcdir)/examples
94 DX_EXAMPLE_PATTERNS = *.c
98 $(srcdir)/avahi-qt/qt-watch.h
102 $(srcdir)/avahi-qt/qt-watch.h
108 $(srcdir)/avahi-glib/glib-watch.h \
109 $(srcdir)/avahi-glib/glib-malloc.h
114 $(srcdir)/avahi-gobject/ga-client.h \
115 $(srcdir)/avahi-gobject/ga-entry-group.h \
116 $(srcdir)/avahi-gobject/ga-enums.h \
117 $(srcdir)/avahi-gobject/ga-error.h \
118 $(srcdir)/avahi-gobject/ga-record-browser.h \
119 $(srcdir)/avahi-gobject/ga-service-browser.h \
120 $(srcdir)/avahi-gobject/ga-service-resolver.h
127 $(srcdir)/avahi-client/client.h \
128 $(srcdir)/avahi-client/lookup.h \
129 $(srcdir)/avahi-client/publish.h
135 $(srcdir)/avahi-ui/avahi-ui.h
141 $(srcdir)/avahi-core/core.h \
142 $(srcdir)/avahi-core/lookup.h \
143 $(srcdir)/avahi-core/publish.h \
144 $(srcdir)/avahi-core/rr.h \
145 $(srcdir)/avahi-core/log.h
150 $(srcdir)/avahi-ui/avahi-ui.h
153 pkgconfigdir = $(libdir)/pkgconfig
156 $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
157 -e 's,@libdir\@,$(libdir),g' \
158 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' \
159 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
161 pkgconfig_DATA = avahi-core.pc
162 CLEANFILES = avahi-core.pc
165 pkgconfig_DATA += avahi-client.pc
166 CLEANFILES += avahi-client.pc
168 if ENABLE_COMPAT_HOWL
169 pkgconfig_DATA += avahi-compat-howl.pc
170 CLEANFILES += avahi-compat-howl.pc
173 if ENABLE_COMPAT_LIBDNS_SD
174 pkgconfig_DATA += avahi-compat-libdns_sd.pc
175 CLEANFILES += avahi-compat-libdns_sd.pc
179 pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
180 CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
186 pkgconfig_DATA += avahi-glib.pc
187 CLEANFILES += avahi-glib.pc
190 pkgconfig_DATA += avahi-gobject.pc
191 CLEANFILES += avahi-gobject.pc
197 pkgconfig_DATA += avahi-ui.pc
198 CLEANFILES += avahi-ui.pc
204 pkgconfig_DATA += avahi-ui-gtk3.pc
205 CLEANFILES += avahi-ui-gtk3.pc
210 pkgconfig_DATA += avahi-qt3.pc
211 CLEANFILES += avahi-qt3.pc
215 pkgconfig_DATA += avahi-qt4.pc
216 CLEANFILES += avahi-qt4.pc
219 CLEANFILES += avahi.devhelp
221 avahi.devhelp: doxygen-run
222 xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
224 MOSTLYCLEANFILES = $(DX_CLEANFILES)
226 DISTCHECK_CONFIGURE_FLAGS = \
228 --enable-introspection \
229 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
233 scp avahi-daemon/*.xml avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
234 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
235 tango:www/avahi.org/tree/download/
236 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
239 ssh tango rm -rf www/avahi.org/tree/download/doxygen
240 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen
243 po/.intltool-merge-cache