]> git.meshlink.io Git - catta/blob - Makefile.am
don't call pthread_sigmask on windows (MingW defines it as a no-op anyway)
[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         m4 \
43         src \
44     include \
45         tests \
46         examples
47
48 DX_INPUT = \
49         $(srcdir)/include/catta/address.h \
50         $(srcdir)/include/catta/malloc.h \
51         $(srcdir)/include/catta/strlst.h \
52         $(srcdir)/include/catta/alternative.h \
53         $(srcdir)/include/catta/defs.h \
54         $(srcdir)/include/catta/error.h \
55         $(srcdir)/include/catta/domain.h \
56         $(srcdir)/include/catta/watch.h \
57         $(srcdir)/include/catta/simple-watch.h \
58         $(srcdir)/include/catta/thread-watch.h \
59         $(srcdir)/include/catta/core.h \
60         $(srcdir)/include/catta/lookup.h \
61         $(srcdir)/include/catta/publish.h \
62         $(srcdir)/include/catta/rr.h \
63         $(srcdir)/include/catta/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 = catta.pc
76 CLEANFILES = catta.pc
77 CLEANFILES += catta.devhelp
78
79 catta.devhelp: doxygen-run
80         xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
81
82 MOSTLYCLEANFILES = $(DX_CLEANFILES)