# Copyright (C) 2004-2009, 2012-2014  Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001, 2003  Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.

srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

@BIND9_VERSION@

#
# Only list headers that are to be installed and are not
# machine generated.  The latter are handled specially in the
# install target below.
#
HEADERS =	aes.h app.h assertions.h backtrace.h base32.h base64.h \
		bind9.h boolean.h buffer.h bufferlist.h \
		commandline.h counter.h crc64.h entropy.h error.h event.h \
		eventclass.h file.h formatcheck.h fsaccess.h \
		hash.h heap.h hex.h hmacmd5.h hmacsha.h httpd.h \
		interfaceiter.h @ISC_IPV6_H@ iterated_hash.h json.h \
		lang.h lex.h lfsr.h lib.h list.h log.h \
		magic.h md5.h mem.h msgcat.h msgs.h mutexblock.h \
		netaddr.h netscope.h ondestroy.h os.h parseint.h \
		pool.h portset.h print.h queue.h quota.h \
		radix.h random.h ratelimiter.h refcount.h regex.h \
		region.h resource.h result.h resultclass.h rwlock.h \
		safe.h serial.h sha1.h sha2.h sockaddr.h socket.h \
		stats.h stdio.h stdlib.h string.h symtab.h \
	        task.h taskpool.h timer.h tm.h types.h util.h version.h \
		xml.h

SUBDIRS =
TARGETS =

@BIND9_MAKE_RULES@

installdirs:
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/isc

install:: installdirs
	for i in ${HEADERS}; do \
		${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc ; \
	done
	${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/isc

distclean::
	rm -f platform.h
