# Copyright (C) 2004, 2007-2009, 2011-2014  Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-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.

# $Id: Makefile.in,v 1.60 2011/11/14 18:32:34 each Exp $

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

@BIND9_VERSION@

HEADERS =	acache.h acl.h adb.h bit.h byaddr.h cache.h callbacks.h cert.h \
		client.h clientinfo.h compress.h \
		db.h dbiterator.h dbtable.h diff.h dispatch.h \
		dlz.h dlz_dlopen.h dns64.h dnssec.h ds.h dsdigest.h \
		ecdb.h events.h fixedname.h forward.h geoip.h iptable.h \
		journal.h keydata.h keyflags.h keytable.h keyvalues.h \
		lib.h lookup.h log.h master.h masterdump.h message.h \
		name.h ncache.h nsec.h nsec3.h opcode.h order.h \
		peer.h portlist.h private.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 rpz.h rriterator.h rrl.h \
		sdb.h sdlz.h secalg.h secproto.h soa.h ssu.h stats.h \
		tcpmsg.h time.h timer.h tkey.h tsec.h tsig.h ttl.h types.h \
		update.h validator.h version.h view.h xfrin.h \
		zone.h zonekey.h zt.h

GENHEADERS =	enumclass.h enumtype.h rdatastruct.h

SUBDIRS =
TARGETS =

@BIND9_MAKE_RULES@

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

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
