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,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
160 pkgconfig_DATA = avahi-core.pc
161 CLEANFILES = avahi-core.pc
164 pkgconfig_DATA += avahi-client.pc
165 CLEANFILES += avahi-client.pc
167 if ENABLE_COMPAT_HOWL
168 pkgconfig_DATA += avahi-compat-howl.pc
169 CLEANFILES += avahi-compat-howl.pc
172 if ENABLE_COMPAT_LIBDNS_SD
173 pkgconfig_DATA += avahi-compat-libdns_sd.pc
174 CLEANFILES += avahi-compat-libdns_sd.pc
178 pkgconfig_DATA += avahi-sharp.pc avahi-ui-sharp.pc
179 CLEANFILES += avahi-sharp.pc avahi-ui-sharp.pc
185 pkgconfig_DATA += avahi-glib.pc
186 CLEANFILES += avahi-glib.pc
189 pkgconfig_DATA += avahi-gobject.pc
190 CLEANFILES += avahi-gobject.pc
196 pkgconfig_DATA += avahi-ui.pc
197 CLEANFILES += avahi-ui.pc
203 pkgconfig_DATA += avahi-ui-gtk3.pc
204 CLEANFILES += avahi-ui-gtk3.pc
209 pkgconfig_DATA += avahi-qt3.pc
210 CLEANFILES += avahi-qt3.pc
214 pkgconfig_DATA += avahi-qt4.pc
215 CLEANFILES += avahi-qt4.pc
218 CLEANFILES += avahi.devhelp
220 avahi.devhelp: doxygen-run
221 xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
223 MOSTLYCLEANFILES = $(DX_CLEANFILES)
225 DISTCHECK_CONFIGURE_FLAGS = \
227 --enable-introspection \
228 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
232 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
233 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
234 tango:www/avahi.org/tree/download/
235 scp avahi-$(PACKAGE_VERSION).tar.gz tango:www/avahi.org/tree/download/
238 ssh tango rm -rf www/avahi.org/tree/download/doxygen
239 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen
242 po/.intltool-merge-cache