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
37 docs/server-states.dia \
45 avahi-compat-libdns_sd.pc.in \
46 avahi-compat-howl.pc.in
53 avahi-discover-standalone \
65 service-type-database \
66 avahi-compat-libdns_sd \
71 $(srcdir)/avahi-core/core.h \
72 $(srcdir)/avahi-core/lookup.h \
73 $(srcdir)/avahi-core/publish.h \
74 $(srcdir)/avahi-common/address.h \
75 $(srcdir)/avahi-core/rr.h \
76 $(srcdir)/avahi-common/strlst.h \
77 $(srcdir)/avahi-common/alternative.h \
78 $(srcdir)/avahi-core/log.h \
79 $(srcdir)/avahi-common/defs.h \
80 $(srcdir)/avahi-client/client.h \
81 $(srcdir)/avahi-client/lookup.h \
82 $(srcdir)/avahi-client/publish.h \
83 $(srcdir)/avahi-common/error.h \
84 $(srcdir)/avahi-common/malloc.h \
85 $(srcdir)/avahi-common/domain.h \
86 $(srcdir)/avahi-common/watch.h \
87 $(srcdir)/avahi-common/simple-watch.h \
88 $(srcdir)/avahi-glib/glib-watch.h \
89 $(srcdir)/avahi-glib/glib-malloc.h \
90 $(srcdir)/avahi-common/timeval.h \
91 $(srcdir)/avahi-qt/qt-watch.h
93 DX_EXAMPLE_PATH = $(srcdir)/examples
95 DX_EXAMPLE_PATTERNS = *.c
97 pkgconfigdir = $(libdir)/pkgconfig
98 pkgconfig_DATA = avahi-core.pc
100 avahi-core.pc: avahi-core.pc.in
101 sed -e 's,@prefix\@,$(prefix),g' \
102 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
104 CLEANFILES = avahi-core.pc
108 pkgconfig_DATA += avahi-client.pc avahi-compat-libdns_sd.pc avahi-compat-howl.pc
110 avahi-client.pc: avahi-client.pc.in
111 sed -e 's,@prefix\@,$(prefix),g' \
112 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
114 avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
115 sed -e 's,@prefix\@,$(prefix),g' \
116 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
118 avahi-compat-howl.pc: avahi-compat-howl.pc.in
119 sed -e 's,@prefix\@,$(prefix),g' \
120 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@
122 CLEANFILES += avahi-client.pc avahi-compat-libdns_sd.pc avahi-compat-howl.pc
128 pkgconfig_DATA += avahi-glib.pc
130 avahi-glib.pc: avahi-glib.pc.in
131 sed -e 's,@prefix\@,$(prefix),g' \
132 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
134 CLEANFILES += avahi-glib.pc
140 pkgconfig_DATA += avahi-qt3.pc
142 avahi-qt3.pc: avahi-qt3.pc.in
143 sed -e 's,@prefix\@,$(prefix),g' \
144 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
146 CLEANFILES += avahi-qt3.pc
152 pkgconfig_DATA += avahi-qt4.pc
154 avahi-qt4.pc: avahi-qt4.pc.in
155 sed -e 's,@prefix\@,$(prefix),g' \
156 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
158 CLEANFILES += avahi-qt4.pc
164 pkgconfig_DATA += avahi-sharp.pc
166 avahi-sharp.pc: avahi-sharp.pc.in
167 sed -e 's,@prefix\@,$(prefix),g' \
168 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
169 -e 's,@libdir\@,$(libdir),g' $< > $@
171 CLEANFILES += avahi-sharp.pc
175 MOSTLYCLEANFILES = $(DX_CLEANFILES)
177 DISTCHECK_CONFIGURE_FLAGS = \
182 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
183 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
187 ssh fdo rm -rf public_html/doxygen
188 scp -r doxygen/html fdo:public_html/doxygen