# 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.29 2000/06/22 21:55:03 tale Exp $

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

@BIND9_VERSION@

HEADERS =	a6.h acl.h aclconf.h adb.h byaddr.h cache.h callbacks.h \
		cert.h compress.h \
		confacl.h confcache.h confcommon.h confctl.h confctx.h \
		confip.h confkeys.h conflog.h conflsn.h confparser.h \
		confresolv.h confrrset.h confview.h confzone.h \
		db.h dbiterator.h dbtable.h dispatch.h \
		dnssec.h events.h fixedname.h journal.h keyflags.h \
		keytable.h keyvalues.h lib.h log.h master.h masterdump.h \
		message.h name.h namedconf.h ncache.h \
		nxt.h peer.h rbt.h rcode.h \
		rdata.h rdataclass.h rdatalist.h rdataset.h rdatasetiter.h \
		rdataslab.h rdatatype.h request.h resolver.h result.h \
		rootns.h secalg.h secproto.h ssu.h tcpmsg.h time.h tkey.h \
		tkeyconf.h tsig.h ttl.h types.h validator.h view.h xfrin.h \
		zone.h zoneconf.h zt.h

GENHEADERS =	enumclass.h enumtype.h rdatastruct.h

SUBDIRS =	
TARGETS =

@BIND9_MAKE_RULES@

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

install:: installdirs
	for i in ${HEADERS}; do \
		${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dns ; \
	done
	for i in ${GENHEADERS}; do \
		${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns ; \
	done
