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