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 =	align.h dir.h net.h netdb.h offset.h stat.h \
19		stdatomic.h stdtime.h syslog.h time.h
20
21SUBDIRS =
22TARGETS =
23
24@BIND9_MAKE_RULES@
25
26installdirs:
27	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/isc
28
29install:: installdirs
30	for i in ${HEADERS}; do \
31		${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
32	done
33
34uninstall::
35	for i in ${HEADERS}; do \
36		rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
37	done
38