1# Copyright (C) Internet Systems Consortium, Inc. ("ISC") 2# 3# This Source Code Form is subject to the terms of the Mozilla Public 4# License, v. 2.0. If a copy of the MPL was not distributed with this 5# file, You can obtain one at http://mozilla.org/MPL/2.0/. 6# 7# See the COPYRIGHT file distributed with this work for additional 8# information regarding copyright ownership. 9 10srcdir = @srcdir@ 11VPATH = @srcdir@ 12top_srcdir = @top_srcdir@ 13 14VERSION=@BIND9_VERSION@ 15 16HEADERS = acl.h adb.h badcache.h bit.h byaddr.h \ 17 cache.h callbacks.h catz.h cert.h \ 18 client.h clientinfo.h compress.h \ 19 db.h dbiterator.h dbtable.h diff.h dispatch.h \ 20 dlz.h dlz_dlopen.h dns64.h dnsrps.h dnssec.h ds.h dsdigest.h \ 21 dnstap.h dyndb.h ecs.h \ 22 edns.h ecdb.h events.h fixedname.h forward.h geoip.h \ 23 ipkeylist.h iptable.h \ 24 journal.h kasp.h keydata.h keyflags.h keymgr.h keytable.h \ 25 keyvalues.h lib.h librpz.h lmdb.h lookup.h log.h \ 26 master.h masterdump.h message.h \ 27 name.h ncache.h nsec.h nsec3.h nta.h opcode.h order.h \ 28 peer.h portlist.h private.h \ 29 rbt.h rcode.h rdata.h rdataclass.h rdatalist.h \ 30 rdataset.h rdatasetiter.h rdataslab.h rdatatype.h request.h \ 31 resolver.h result.h rootns.h rpz.h rriterator.h rrl.h \ 32 sdb.h sdlz.h secalg.h secproto.h soa.h ssu.h stats.h \ 33 tcpmsg.h time.h timer.h tkey.h tsec.h tsig.h ttl.h types.h \ 34 update.h validator.h version.h view.h xfrin.h \ 35 zone.h zonekey.h zoneverify.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 || exit 1; \ 50 done 51 for i in ${GENHEADERS}; do \ 52 ${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns || exit 1; \ 53 done 54 55uninstall:: 56 for i in ${GENHEADERS}; do \ 57 rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \ 58 done 59 for i in ${HEADERS}; do \ 60 rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \ 61 done 62