1# Copyright (C) 2004, 2007-2009, 2011, 2012, 2014  Internet Systems Consortium, Inc. ("ISC")
2# Copyright (C) 1998-2003  Internet Software Consortium.
3#
4# Permission to use, copy, modify, and/or distribute this software for any
5# purpose with or without fee is hereby granted, provided that the above
6# copyright notice and this permission notice appear in all copies.
7#
8# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14# PERFORMANCE OF THIS SOFTWARE.
15
16# $Id: Makefile.in,v 1.60 2011/11/14 18:32:34 each Exp $
17
18srcdir =	@srcdir@
19VPATH =		@srcdir@
20top_srcdir =	@top_srcdir@
21
22@BIND9_VERSION@
23
24HEADERS =	acl.h adb.h byaddr.h cache.h callbacks.h cert.h compress.h \
25		client.h clientinfo.h compress.h \
26		db.h dbiterator.h dbtable.h diff.h dispatch.h \
27		dlz.h dnssec.h ds.h events.h fixedname.h iptable.h journal.h \
28		keyflags.h keytable.h keyvalues.h lib.h log.h \
29		master.h masterdump.h message.h name.h ncache.h nsec.h \
30		peer.h portlist.h private.h rbt.h rcode.h \
31		rdata.h rdataclass.h rdatalist.h rdataset.h rdatasetiter.h \
32		rdataslab.h rdatatype.h request.h resolver.h result.h \
33		rootns.h rpz.h sdb.h sdlz.h secalg.h secproto.h soa.h ssu.h \
34		tcpmsg.h time.h tkey.h tsec.h tsig.h ttl.h types.h \
35		validator.h version.h view.h xfrin.h zone.h zonekey.h zt.h
36
37GENHEADERS =	enumclass.h enumtype.h rdatastruct.h
38
39SUBDIRS =
40TARGETS =
41
42@BIND9_MAKE_RULES@
43
44installdirs:
45	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/dns
46
47install:: installdirs
48	for i in ${HEADERS}; do \
49		${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dns ; \
50	done
51	for i in ${GENHEADERS}; do \
52		${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns ; \
53	done
54