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