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 \
51 avahi-discover-standalone \
62 service-type-database \
67 $(srcdir)/avahi-common/cdecl.h \
68 $(srcdir)/avahi-core/core.h \
69 $(srcdir)/avahi-core/lookup.h \
70 $(srcdir)/avahi-core/publish.h \
71 $(srcdir)/avahi-common/address.h \
72 $(srcdir)/avahi-core/rr.h \
73 $(srcdir)/avahi-common/strlst.h \
74 $(srcdir)/avahi-common/alternative.h \
75 $(srcdir)/avahi-core/log.h \
76 $(srcdir)/avahi-common/defs.h \
77 $(srcdir)/avahi-client/client.h \
78 $(srcdir)/avahi-common/error.h \
79 $(srcdir)/avahi-common/malloc.h \
80 $(srcdir)/avahi-common/domain.h \
81 $(srcdir)/avahi-common/gccmacro.h \
82 $(srcdir)/avahi-common/watch.h \
83 $(srcdir)/avahi-common/llist.h \
84 $(srcdir)/avahi-common/rlist.h \
85 $(srcdir)/avahi-common/simple-watch.h \
86 $(srcdir)/avahi-glib/glib-watch.h \
87 $(srcdir)/avahi-glib/glib-malloc.h \
88 $(srcdir)/avahi-common/timeval.h \
89 $(srcdir)/avahi-common/dbus.h \
90 $(srcdir)/avahi-qt/qt-watch.h
92 DX_EXAMPLE_PATH = $(srcdir)/examples
94 DX_EXAMPLE_PATTERNS = *.c
96 pkgconfigdir = $(libdir)/pkgconfig
97 pkgconfig_DATA = avahi-core.pc avahi-compat-bonjour.pc
99 avahi-core.pc: avahi-core.pc.in
100 sed -e 's,@prefix\@,$(prefix),g' \
101 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
103 avahi-compat-bonjour.pc: avahi-compat-bonjour.pc.in
104 sed -e 's,@prefix\@,$(prefix),g' \
105 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
107 CLEANFILES = avahi-core.pc
111 pkgconfig_DATA += avahi-client.pc
113 avahi-client.pc: avahi-client.pc.in
114 sed -e 's,@prefix\@,$(prefix),g' \
115 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
117 CLEANFILES += avahi-client.pc
123 pkgconfig_DATA += avahi-glib.pc
125 avahi-glib.pc: avahi-glib.pc.in
126 sed -e 's,@prefix\@,$(prefix),g' \
127 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
129 CLEANFILES += avahi-glib.pc
135 pkgconfig_DATA += avahi-qt3.pc
137 avahi-qt3.pc: avahi-qt3.pc.in
138 sed -e 's,@prefix\@,$(prefix),g' \
139 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
141 CLEANFILES += avahi-qt3.pc
147 pkgconfig_DATA += avahi-qt4.pc
149 avahi-qt4.pc: avahi-qt4.pc.in
150 sed -e 's,@prefix\@,$(prefix),g' \
151 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
153 CLEANFILES += avahi-qt4.pc
159 pkgconfig_DATA += avahi-sharp.pc
161 avahi-sharp.pc: avahi-sharp.pc.in
162 sed -e 's,@prefix\@,$(prefix),g' \
163 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
164 -e 's,@libdir\@,$(libdir),g' $< > $@
166 CLEANFILES += avahi-sharp.pc
170 MOSTLYCLEANFILES = $(DX_CLEANFILES)
172 DISTCHECK_CONFIGURE_FLAGS = \
177 scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
178 man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
182 ssh fdo rm -rf public_html/doxygen
183 scp -r doxygen/html fdo:public_html/doxygen