]> git.meshlink.io Git - catta/blob - Makefile.am
b49ca9b36dac6a402bd27cbba059d2b030dcbc29
[catta] / Makefile.am
1 # This file is part of avahi.
2 #
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.
7 #
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.
12 #
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
16 # USA.
17
18 ACLOCAL_AMFLAGS = -I common
19
20 include $(srcdir)/common/doxygen.mk
21
22 EXTRA_DIST = \
23         autogen.sh \
24         bootstrap.sh \
25         LICENSE \
26         $(DX_CONFIG) \
27         docs/INSTALL \
28         docs/TODO \
29         docs/NEWS \
30         docs/README \
31         docs/DBUS-API \
32         docs/AUTHORS \
33         docs/HACKING \
34         docs/API-CHANGES-0.6 \
35         docs/COMPAT-LAYERS \
36         docs/MALLOC \
37         docs/overview.dia \
38         docs/server-states.dia \
39         docs/avahi-poll.dia \
40         avahi-core.pc.in \
41         doxygen_to_devhelp.xsl
42
43 SUBDIRS = \
44         common \
45         avahi-common \
46         avahi-core \
47         examples
48
49 DX_INPUT = \
50         $(srcdir)/avahi-common/address.h \
51         $(srcdir)/avahi-common/malloc.h \
52         $(srcdir)/avahi-common/strlst.h \
53         $(srcdir)/avahi-common/alternative.h \
54         $(srcdir)/avahi-common/defs.h \
55         $(srcdir)/avahi-common/error.h \
56         $(srcdir)/avahi-common/domain.h \
57         $(srcdir)/avahi-common/watch.h \
58         $(srcdir)/avahi-common/simple-watch.h \
59         $(srcdir)/avahi-common/thread-watch.h \
60         $(srcdir)/avahi-core/core.h \
61         $(srcdir)/avahi-core/lookup.h \
62         $(srcdir)/avahi-core/publish.h \
63         $(srcdir)/avahi-core/rr.h \
64         $(srcdir)/avahi-core/log.h
65
66 DX_EXAMPLE_PATH = $(srcdir)/examples
67 DX_EXAMPLE_PATTERNS = *.c
68
69 pkgconfigdir = $(libdir)/pkgconfig
70
71 %.pc: %.pc.in
72         $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
73             -e 's,@libdir\@,$(libdir),g' \
74             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
75
76 pkgconfig_DATA = avahi-core.pc
77 CLEANFILES = avahi-core.pc
78 CLEANFILES += avahi.devhelp
79
80 avahi.devhelp: doxygen-run
81         xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
82
83 MOSTLYCLEANFILES = $(DX_CLEANFILES)