]> git.meshlink.io Git - catta/blob - Makefile.am
move public headers into their own directory
[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 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         avahi.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/avahi/address.h \
50         $(srcdir)/include/avahi/malloc.h \
51         $(srcdir)/include/avahi/strlst.h \
52         $(srcdir)/include/avahi/alternative.h \
53         $(srcdir)/include/avahi/defs.h \
54         $(srcdir)/include/avahi/error.h \
55         $(srcdir)/include/avahi/domain.h \
56         $(srcdir)/include/avahi/watch.h \
57         $(srcdir)/include/avahi/simple-watch.h \
58         $(srcdir)/include/avahi/thread-watch.h \
59         $(srcdir)/include/avahi/core.h \
60         $(srcdir)/include/avahi/lookup.h \
61         $(srcdir)/include/avahi/publish.h \
62         $(srcdir)/include/avahi/rr.h \
63         $(srcdir)/include/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)