Makefile.in 1.96 KB
Newer Older
1
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
Mark Andrews's avatar
Mark Andrews committed
2
#
3 4 5
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 7 8
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
Bob Halley's avatar
Bob Halley committed
9

Bob Halley's avatar
Bob Halley committed
10 11 12 13
srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

14
VERSION=@BIND9_VERSION@
Bob Halley's avatar
Bob Halley committed
15

16
HEADERS =	acl.h adb.h badcache.h bit.h byaddr.h \
17
		cache.h callbacks.h catz.h cert.h \
Jeremy C. Reed's avatar
Jeremy C. Reed committed
18
		client.h clientinfo.h compress.h \
Evan Hunt's avatar
Evan Hunt committed
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 23
		edns.h ecdb.h events.h fixedname.h forward.h geoip.h \
		ipkeylist.h iptable.h \
24
		journal.h keydata.h keyflags.h keytable.h keyvalues.h \
25
		lib.h librpz.h lookup.h log.h master.h masterdump.h message.h \
26
		name.h ncache.h nsec.h nsec3.h nta.h opcode.h order.h \
27
		peer.h portlist.h private.h \
Evan Hunt's avatar
Evan Hunt committed
28
		rbt.h rcode.h rdata.h rdataclass.h rdatalist.h \
29 30 31 32 33
		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 \
34
		zone.h zonekey.h zoneverify.h zt.h
35

36
GENHEADERS =	@DNSTAP_PB_C_H@ enumclass.h enumtype.h rdatastruct.h
Bob Halley's avatar
Bob Halley committed
37

38
SUBDIRS =
Bob Halley's avatar
Bob Halley committed
39 40 41 42 43
TARGETS =

@BIND9_MAKE_RULES@

installdirs:
44
	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/dns
Bob Halley's avatar
Bob Halley committed
45 46 47

install:: installdirs
	for i in ${HEADERS}; do \
48
		${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dns || exit 1; \
Bob Halley's avatar
Bob Halley committed
49 50
	done
	for i in ${GENHEADERS}; do \
51
		${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns || exit 1; \
Bob Halley's avatar
Bob Halley committed
52
	done
Evan Hunt's avatar
Evan Hunt committed
53 54 55

uninstall::
	for i in ${GENHEADERS}; do \
56
		rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \
Evan Hunt's avatar
Evan Hunt committed
57 58
	done
	for i in ${HEADERS}; do \
59
		rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \
Evan Hunt's avatar
Evan Hunt committed
60
	done