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 18# 19# Only list headers that are to be installed and are not 20# machine generated. The latter are handled specially in the 21# install target below. 22# 23HEADERS = pkcs11.h 24SUBDIRS = 25TARGETS = 26 27@BIND9_MAKE_RULES@ 28 29installdirs: 30 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/pkcs11 31 32install:: installdirs 33 for i in ${HEADERS}; do \ 34 ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \ 35 done 36 37uninstall:: 38 for i in ${HEADERS}; do \ 39 rm -f ${DESTDIR}${includedir}/pkcs11/$$i || exit 1; \ 40 done 41