]> git.meshlink.io Git - catta/blob - Makefile.am
combine avahi-core and avahi-common components into one library
[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.pc.in \
41         doxygen_to_devhelp.xsl
42
43 SUBDIRS = \
44         common \
45         avahi \
46         examples
47
48 DX_INPUT = \
49         $(srcdir)/avahi/address.h \
50         $(srcdir)/avahi/malloc.h \
51         $(srcdir)/avahi/strlst.h \
52         $(srcdir)/avahi/alternative.h \
53         $(srcdir)/avahi/defs.h \
54         $(srcdir)/avahi/error.h \
55         $(srcdir)/avahi/domain.h \
56         $(srcdir)/avahi/watch.h \
57         $(srcdir)/avahi/simple-watch.h \
58         $(srcdir)/avahi/thread-watch.h \
59         $(srcdir)/avahi/core.h \
60         $(srcdir)/avahi/lookup.h \
61         $(srcdir)/avahi/publish.h \
62         $(srcdir)/avahi/rr.h \
63         $(srcdir)/avahi/log.h
64
65 DX_EXAMPLE_PATH = $(srcdir)/examples
66 DX_EXAMPLE_PATTERNS = *.c
67
68 pkgconfigdir = $(libdir)/pkgconfig
69
70 %.pc: %.pc.in
71         $(AM_V_GEN)sed -e 's,@prefix\@,$(prefix),g' \
72             -e 's,@libdir\@,$(libdir),g' \
73             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
74
75 pkgconfig_DATA = avahi.pc
76 CLEANFILES = avahi.pc
77 CLEANFILES += avahi.devhelp
78
79 avahi.devhelp: doxygen-run
80         xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
81
82 MOSTLYCLEANFILES = $(DX_CLEANFILES)