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 \
41 doxygen_to_devhelp.xsl \
42 common/introspection.m4
51 $(srcdir)/avahi-common/address.h \
52 $(srcdir)/avahi-common/malloc.h \
53 $(srcdir)/avahi-common/strlst.h \
54 $(srcdir)/avahi-common/alternative.h \
55 $(srcdir)/avahi-common/defs.h \
56 $(srcdir)/avahi-common/error.h \
57 $(srcdir)/avahi-common/domain.h \
58 $(srcdir)/avahi-common/watch.h \
59 $(srcdir)/avahi-common/simple-watch.h \
60 $(srcdir)/avahi-common/thread-watch.h
62 DX_EXAMPLE_PATH = $(srcdir)/examples
63 DX_EXAMPLE_PATTERNS = *.c
67 $(srcdir)/avahi-core/core.h \
68 $(srcdir)/avahi-core/lookup.h \
69 $(srcdir)/avahi-core/publish.h \
70 $(srcdir)/avahi-core/rr.h \
71 $(srcdir)/avahi-core/log.h
74 pkgconfigdir = $(libdir)/pkgconfig
77 $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
78 -e 's,@libdir\@,$(libdir),g' \
79 -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' \
80 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
82 pkgconfig_DATA = avahi-core.pc
83 CLEANFILES = avahi-core.pc
84 CLEANFILES += avahi.devhelp
86 avahi.devhelp: doxygen-run
87 xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
89 MOSTLYCLEANFILES = $(DX_CLEANFILES)
91 DISTCHECK_CONFIGURE_FLAGS = \
93 --enable-introspection \
94 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)