Makefile.in revision 1.1 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
12 srcdir = @srcdir@
13 VPATH = @srcdir@
14 top_srcdir = @top_srcdir@
15
16 VERSION=@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 #
23 HEADERS = pkcs11.h
24 SUBDIRS =
25 TARGETS =
26
27 @BIND9_MAKE_RULES@
28
29 installdirs:
30 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/pkcs11
31
32 install:: installdirs
33 for i in ${HEADERS}; do \
34 ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \
35 done
36
37 uninstall::
38 for i in ${HEADERS}; do \
39 rm -f ${DESTDIR}${includedir}/pkcs11/$$i || exit 1; \
40 done
41