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-core/core.h \
75 $(srcdir)/avahi-core/lookup.h \
76 $(srcdir)/avahi-core/publish.h \
77 $(srcdir)/avahi-common/address.h \
78 $(srcdir)/avahi-core/rr.h \
79 $(srcdir)/avahi-common/strlst.h \
80 $(srcdir)/avahi-common/alternative.h \
81 $(srcdir)/avahi-core/log.h \
82 $(srcdir)/avahi-common/defs.h \
83 $(srcdir)/avahi-client/client.h \
84 $(srcdir)/avahi-client/lookup.h \
85 $(srcdir)/avahi-client/publish.h \
86 $(srcdir)/avahi-common/error.h \
87 $(srcdir)/avahi-common/malloc.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 \
92 $(srcdir)/avahi-glib/glib-watch.h \
93 $(srcdir)/avahi-glib/glib-malloc.h \
94 $(srcdir)/avahi-common/timeval.h \
95 $(srcdir)/avahi-qt/qt-watch.h
97 DX_EXAMPLE_PATH = $(srcdir)/examples
99 DX_EXAMPLE_PATTERNS = *.c
101 pkgconfigdir = $(libdir)/pkgconfig
102 pkgconfig_DATA = avahi-core.pc
104 avahi-core.pc: avahi-core.pc.in
105 sed -e 's,@prefix\@,$(prefix),g' \
106 -e 's,@libdir\@,$(libdir),g' \
107 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
109 CLEANFILES = avahi-core.pc
113 pkgconfig_DATA += avahi-client.pc
115 avahi-client.pc: avahi-client.pc.in
116 sed -e 's,@prefix\@,$(prefix),g' \
117 -e 's,@libdir\@,$(libdir),g' \
118 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
120 CLEANFILES += avahi-client.pc
122 if ENABLE_COMPAT_HOWL
124 pkgconfig_DATA += avahi-compat-howl.pc
126 avahi-compat-howl.pc: avahi-compat-howl.pc.in
127 sed -e 's,@prefix\@,$(prefix),g' \
128 -e 's,@libdir\@,$(libdir),g' \
129 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@
131 CLEANFILES += avahi-compat-howl.pc
135 if ENABLE_COMPAT_LIBDNS_SD
137 pkgconfig_DATA += avahi-compat-libdns_sd.pc
139 avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
140 sed -e 's,@prefix\@,$(prefix),g' \
141 -e 's,@libdir\@,$(libdir),g' \
142 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
144 CLEANFILES += avahi-compat-libdns_sd.pc
150 pkgconfig_DATA += avahi-sharp.pc
152 avahi-sharp.pc: avahi-sharp.pc.in
153 sed -e 's,@prefix\@,$(prefix),g' \
154 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
155 -e 's,@libdir\@,$(libdir),g' $< > $@
157 CLEANFILES += avahi-sharp.pc
165 pkgconfig_DATA += avahi-glib.pc
167 avahi-glib.pc: avahi-glib.pc.in
168 sed -e 's,@prefix\@,$(prefix),g' \
169 -e 's,@libdir\@,$(libdir),g' \
170 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
172 CLEANFILES += avahi-glib.pc
178 pkgconfig_DATA += avahi-qt3.pc
180 avahi-qt3.pc: avahi-qt3.pc.in
181 sed -e 's,@prefix\@,$(prefix),g' \
182 -e 's,@libdir\@,$(libdir),g' \
183 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
185 CLEANFILES += avahi-qt3.pc
191 pkgconfig_DATA += avahi-qt4.pc
193 avahi-qt4.pc: avahi-qt4.pc.in
194 sed -e 's,@prefix\@,$(prefix),g' \
195 -e 's,@libdir\@,$(libdir),g' \
196 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
198 CLEANFILES += avahi-qt4.pc
202 MOSTLYCLEANFILES = $(DX_CLEANFILES)
204 DISTCHECK_CONFIGURE_FLAGS = \
209 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
210 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
211 tango:www/avahi.org/tree/download/
214 ssh tango rm -rf www/avahi.org/tree/download/doxygen
215 scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen