# Copyright (C) 1998-2000  Internet Software Consortium.
# 
# Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
# CONSORTIUM 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.

# $Id: Makefile.in,v 1.38.2.2 2000/08/17 00:25:25 gson Exp $

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 =	assertions.h base64.h bitstring.h boolean.h buffer.h \
		bufferlist.h commandline.h entropy.h error.h event.h \
		eventclass.h \
		file.h formatcheck.h fsaccess.h heap.h interfaceiter.h \
		@ISC_IPV6_H@ lang.h lex.h \
		lfsr.h lib.h list.h log.h magic.h md5.h mem.h msgcat.h \
		mutexblock.h netaddr.h ondestroy.h os.h \
		print.h quota.h random.h ratelimiter.h region.h \
		result.h resultclass.h rwlock.h serial.h sha1.h sockaddr.h \
		socket.h stdio.h string.h symtab.h task.h taskpool.h timer.h \
		types.h util.h

SUBDIRS =
TARGETS =

@BIND9_MAKE_RULES@

installdirs:
	if [ ! -d ${DESTDIR}${includedir} ]; then \
		mkdir ${DESTDIR}${includedir} ; \
	fi
	if [ ! -d ${DESTDIR}${includedir}/isc ]; then \
		mkdir ${DESTDIR}${includedir}/isc ; \
	fi

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
