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