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 https://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 =	atomic.h
17
18SUBDIRS =
19TARGETS =
20
21@BIND9_MAKE_RULES@
22
23installdirs:
24	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/isc
25
26install:: installdirs
27	for i in ${HEADERS}; do \
28		${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
29	done
30
31uninstall::
32	for i in ${HEADERS}; do \
33		rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
34	done
35