1# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2#
3# SPDX-License-Identifier: MPL-2.0
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0.  If a copy of the MPL was not distributed with this
7# file, you can obtain one at https://mozilla.org/MPL/2.0/.
8#
9# See the COPYRIGHT file distributed with this work for additional
10# information regarding copyright ownership.
11
12srcdir =	@srcdir@
13VPATH =		@srcdir@
14top_srcdir =	@top_srcdir@
15
16VERSION=@BIND9_VERSION@
17
18HEADERS =	client.h hooks.h interfacemgr.h lib.h listenlist.h log.h \
19		notify.h query.h server.h sortlist.h stats.h \
20		types.h update.h version.h xfrout.h
21SUBDIRS =
22TARGETS =
23
24@BIND9_MAKE_RULES@
25
26installdirs:
27	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/ns
28
29install:: installdirs
30	for i in ${HEADERS}; do \
31		${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/ns || exit 1 ; \
32	done
33
34uninstall::
35	for i in ${HEADERS}; do \
36		rm -f ${DESTDIR}${includedir}/ns/$$i || exit 1 ; \
37	done
38