1# Copyright (C) 2004-2009, 2012  Internet Systems Consortium, Inc. ("ISC")
2# Copyright (C) 1998-2001, 2003  Internet Software Consortium.
3#
4# Permission to use, copy, modify, and/or distribute this software for any
5# purpose with or without fee is hereby granted, provided that the above
6# copyright notice and this permission notice appear in all copies.
7#
8# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14# PERFORMANCE OF THIS SOFTWARE.
15
16# $Id$
17
18srcdir =	@srcdir@
19VPATH =		@srcdir@
20top_srcdir =	@top_srcdir@
21
22@BIND9_VERSION@
23
24#
25# Only list headers that are to be installed and are not
26# machine generated.  The latter are handled specially in the
27# install target below.
28#
29HEADERS =	app.h assertions.h base64.h bind9.h bitstring.h boolean.h \
30		buffer.h bufferlist.h commandline.h entropy.h error.h event.h \
31		eventclass.h file.h formatcheck.h fsaccess.h \
32		hash.h heap.h hex.h hmacmd5.h hmacsha.h \
33		httpd.h \
34		interfaceiter.h @ISC_IPV6_H@ iterated_hash.h lang.h lex.h \
35		lfsr.h lib.h list.h log.h \
36		magic.h md5.h mem.h msgcat.h msgs.h mutexblock.h \
37		namespace.h netaddr.h ondestroy.h os.h parseint.h \
38		print.h quota.h radix.h random.h ratelimiter.h \
39		refcount.h region.h resource.h \
40		result.h resultclass.h rwlock.h serial.h sha1.h sha2.h \
41		sockaddr.h socket.h stdio.h stdlib.h string.h \
42		symtab.h \
43	        task.h taskpool.h timer.h types.h util.h version.h \
44		xml.h
45
46SUBDIRS =
47TARGETS =
48
49@BIND9_MAKE_RULES@
50
51installdirs:
52	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/isc
53
54install:: installdirs
55	for i in ${HEADERS}; do \
56		${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc ; \
57	done
58	${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/isc
59
60distclean::
61	rm -f platform.h
62