|
|
cf16a9 |
From 040227009453b3f0aa7914c7a6a94dc57ad5269b Mon Sep 17 00:00:00 2001
|
|
|
cf16a9 |
From: Petr Mensik <pemensik@redhat.com>
|
|
|
cf16a9 |
Date: Thu, 21 Jan 2021 10:46:20 +0100
|
|
|
cf16a9 |
Subject: [PATCH] Enable custom pkcs11 native build
|
|
|
cf16a9 |
|
|
|
cf16a9 |
Share common parts like libisc, libcc and others. But provide native
|
|
|
cf16a9 |
pkcs11 libraries as a new copy of libdns and libns.
|
|
|
cf16a9 |
---
|
|
|
cf16a9 |
bin/Makefile.in | 2 +-
|
|
|
cf16a9 |
bin/confgen/Makefile.in | 2 +-
|
|
|
cf16a9 |
bin/dnssec-pkcs11/Makefile.in | 39 +++++++++++++++++---------------
|
|
|
cf16a9 |
bin/named-pkcs11/Makefile.in | 33 ++++++++++++++-------------
|
|
|
cf16a9 |
configure.ac | 19 ++++++++++++++++
|
|
|
cf16a9 |
lib/Makefile.in | 2 +-
|
|
|
cf16a9 |
lib/dns-pkcs11/Makefile.in | 22 +++++++++---------
|
|
|
cf16a9 |
lib/dns-pkcs11/tests/Makefile.in | 8 +++----
|
|
|
cf16a9 |
lib/ns-pkcs11/Makefile.in | 26 ++++++++++-----------
|
|
|
cf16a9 |
lib/ns-pkcs11/tests/Makefile.in | 12 +++++-----
|
|
|
cf16a9 |
make/includes.in | 7 ++++++
|
|
|
cf16a9 |
11 files changed, 101 insertions(+), 71 deletions(-)
|
|
|
cf16a9 |
|
|
|
cf16a9 |
diff --git a/bin/Makefile.in b/bin/Makefile.in
|
|
|
cf16a9 |
index 9ad7f62..094775a 100644
|
|
|
cf16a9 |
--- a/bin/Makefile.in
|
|
|
cf16a9 |
+++ b/bin/Makefile.in
|
|
|
cf16a9 |
@@ -11,7 +11,7 @@ srcdir = @srcdir@
|
|
|
cf16a9 |
VPATH = @srcdir@
|
|
|
cf16a9 |
top_srcdir = @top_srcdir@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
|
|
cf16a9 |
+SUBDIRS = named named-pkcs11 rndc dig delv dnssec dnssec-pkcs11 tools nsupdate check confgen \
|
|
|
cf16a9 |
@NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests
|
|
|
cf16a9 |
TARGETS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
diff --git a/bin/confgen/Makefile.in b/bin/confgen/Makefile.in
|
|
|
cf16a9 |
index c126bf3..1b7512d 100644
|
|
|
cf16a9 |
--- a/bin/confgen/Makefile.in
|
|
|
cf16a9 |
+++ b/bin/confgen/Makefile.in
|
|
|
cf16a9 |
@@ -22,7 +22,7 @@ VERSION=@BIND9_VERSION@
|
|
|
cf16a9 |
CINCLUDES = -I${srcdir}/include ${ISC_INCLUDES} ${ISCCC_INCLUDES} \
|
|
|
cf16a9 |
${ISCCFG_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CDEFINES = @USE_PKCS11@
|
|
|
cf16a9 |
+CDEFINES =
|
|
|
cf16a9 |
CWARNINGS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
cf16a9 |
diff --git a/bin/dnssec-pkcs11/Makefile.in b/bin/dnssec-pkcs11/Makefile.in
|
|
|
cf16a9 |
index ace0e5a..e0f6a00 100644
|
|
|
cf16a9 |
--- a/bin/dnssec-pkcs11/Makefile.in
|
|
|
cf16a9 |
+++ b/bin/dnssec-pkcs11/Makefile.in
|
|
|
cf16a9 |
@@ -15,18 +15,18 @@ VERSION=@BIND9_VERSION@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@BIND9_MAKE_INCLUDES@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
|
|
|
cf16a9 |
+CINCLUDES = ${DNS_PKCS11_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \
|
|
|
cf16a9 |
${OPENSSL_CFLAGS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CDEFINES = -DVERSION=\"${VERSION}\" -DNAMED_CONFFILE=\"${sysconfdir}/named.conf\"
|
|
|
cf16a9 |
+CDEFINES = -DVERSION=\"${VERSION}\" -DNAMED_CONFFILE=\"${sysconfdir}/named.conf\" -DUSE_PKCS11=1
|
|
|
cf16a9 |
CWARNINGS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-DNSLIBS = ../../lib/dns/libdns.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
+DNSLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
cf16a9 |
ISCLIBS = ../../lib/isc/libisc.@A@ @NO_LIBTOOL_ISCLIBS@
|
|
|
cf16a9 |
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ @NO_LIBTOOL_ISCLIBS@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
|
cf16a9 |
+DNSDEPLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@
|
|
|
cf16a9 |
ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
cf16a9 |
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -36,12 +36,15 @@ LIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
NOSYMLIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCNOSYMLIBS} @LIBS@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
+# Add suffix to all targets
|
|
|
cf16a9 |
+EXEEXT = -pkcs11@EXEEXT@
|
|
|
cf16a9 |
+
|
|
|
cf16a9 |
# Alphabetically
|
|
|
cf16a9 |
-TARGETS = dnssec-cds@EXEEXT@ dnssec-dsfromkey@EXEEXT@ \
|
|
|
cf16a9 |
- dnssec-importkey@EXEEXT@ dnssec-keyfromlabel@EXEEXT@ \
|
|
|
cf16a9 |
- dnssec-keygen@EXEEXT@ dnssec-revoke@EXEEXT@ \
|
|
|
cf16a9 |
- dnssec-settime@EXEEXT@ dnssec-signzone@EXEEXT@ \
|
|
|
cf16a9 |
- dnssec-verify@EXEEXT@
|
|
|
cf16a9 |
+TARGETS = dnssec-cds${EXEEXT} dnssec-dsfromkey${EXEEXT} \
|
|
|
cf16a9 |
+ dnssec-importkey${EXEEXT} dnssec-keyfromlabel${EXEEXT} \
|
|
|
cf16a9 |
+ dnssec-keygen${EXEEXT} dnssec-revoke${EXEEXT} \
|
|
|
cf16a9 |
+ dnssec-settime${EXEEXT} dnssec-signzone${EXEEXT} \
|
|
|
cf16a9 |
+ dnssec-verify${EXEEXT}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
OBJS = dnssectool.@O@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -52,19 +55,19 @@ SRCS = dnssec-cds.c dnssec-dsfromkey.c dnssec-importkey.c \
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@BIND9_MAKE_RULES@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-cds@EXEEXT@: dnssec-cds.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-cds-pkcs11@EXEEXT@: dnssec-cds.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
export BASEOBJS="dnssec-cds.@O@ ${OBJS}"; \
|
|
|
cf16a9 |
${FINALBUILDCMD}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-dsfromkey@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-dsfromkey-pkcs11@EXEEXT@: dnssec-dsfromkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
export BASEOBJS="dnssec-dsfromkey.@O@ ${OBJS}"; \
|
|
|
cf16a9 |
${FINALBUILDCMD}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-keyfromlabel@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-keyfromlabel-pkcs11@EXEEXT@: dnssec-keyfromlabel.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
export BASEOBJS="dnssec-keyfromlabel.@O@ ${OBJS}"; \
|
|
|
cf16a9 |
${FINALBUILDCMD}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-keygen@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-keygen-pkcs11@EXEEXT@: dnssec-keygen.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
export BASEOBJS="dnssec-keygen.@O@ ${OBJS}"; \
|
|
|
cf16a9 |
${FINALBUILDCMD}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -72,7 +75,7 @@ dnssec-signzone.@O@: dnssec-signzone.c
|
|
|
cf16a9 |
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
|
|
|
cf16a9 |
-c ${srcdir}/dnssec-signzone.c
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-signzone@EXEEXT@: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-signzone-pkcs11@EXEEXT@: dnssec-signzone.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
export BASEOBJS="dnssec-signzone.@O@ ${OBJS}"; \
|
|
|
cf16a9 |
${FINALBUILDCMD}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -80,19 +83,19 @@ dnssec-verify.@O@: dnssec-verify.c
|
|
|
cf16a9 |
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
|
|
|
cf16a9 |
-c ${srcdir}/dnssec-verify.c
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-verify@EXEEXT@: dnssec-verify.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-verify-pkcs11@EXEEXT@: dnssec-verify.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
export BASEOBJS="dnssec-verify.@O@ ${OBJS}"; \
|
|
|
cf16a9 |
${FINALBUILDCMD}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-revoke@EXEEXT@: dnssec-revoke.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-revoke-pkcs11@EXEEXT@: dnssec-revoke.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
|
cf16a9 |
dnssec-revoke.@O@ ${OBJS} ${LIBS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-settime@EXEEXT@: dnssec-settime.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-settime-pkcs11@EXEEXT@: dnssec-settime.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
|
cf16a9 |
dnssec-settime.@O@ ${OBJS} ${LIBS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-dnssec-importkey@EXEEXT@: dnssec-importkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+dnssec-importkey-pkcs11@EXEEXT@: dnssec-importkey.@O@ ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
|
|
|
cf16a9 |
dnssec-importkey.@O@ ${OBJS} ${LIBS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
diff --git a/bin/named-pkcs11/Makefile.in b/bin/named-pkcs11/Makefile.in
|
|
|
cf16a9 |
index 98125dd..518a75f 100644
|
|
|
cf16a9 |
--- a/bin/named-pkcs11/Makefile.in
|
|
|
cf16a9 |
+++ b/bin/named-pkcs11/Makefile.in
|
|
|
cf16a9 |
@@ -37,13 +37,14 @@ DBDRIVER_LIBS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
DLZ_DRIVER_DIR = ${top_srcdir}/contrib/dlz/drivers
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-DLZDRIVER_OBJS = @DLZ_DRIVER_OBJS@
|
|
|
cf16a9 |
-DLZDRIVER_SRCS = @DLZ_DRIVER_SRCS@
|
|
|
cf16a9 |
-DLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
|
|
|
cf16a9 |
-DLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
|
|
|
cf16a9 |
+# Skip building on PKCS11 variant
|
|
|
cf16a9 |
+DLZDRIVER_OBJS =
|
|
|
cf16a9 |
+DLZDRIVER_SRCS =
|
|
|
cf16a9 |
+DLZDRIVER_INCLUDES =
|
|
|
cf16a9 |
+DLZDRIVER_LIBS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
|
|
|
cf16a9 |
- ${NS_INCLUDES} ${DNS_INCLUDES} \
|
|
|
cf16a9 |
+ ${NS_PKCS11_INCLUDES} ${DNS_PKCS11_INCLUDES} \
|
|
|
cf16a9 |
${BIND9_INCLUDES} ${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} \
|
|
|
cf16a9 |
${ISC_INCLUDES} ${DLZDRIVER_INCLUDES} \
|
|
|
cf16a9 |
${DBDRIVER_INCLUDES} \
|
|
|
cf16a9 |
@@ -56,24 +57,24 @@ CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
|
|
|
cf16a9 |
${LIBXML2_CFLAGS} \
|
|
|
cf16a9 |
${MAXMINDDB_CFLAGS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CDEFINES = @CONTRIB_DLZ@
|
|
|
cf16a9 |
+CDEFINES =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
CWARNINGS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-DNSLIBS = ../../lib/dns/libdns.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
+DNSLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
ISCCFGLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
cf16a9 |
ISCCCLIBS = ../../lib/isccc/libisccc.@A@
|
|
|
cf16a9 |
ISCLIBS = ../../lib/isc/libisc.@A@ @NO_LIBTOOL_ISCLIBS@
|
|
|
cf16a9 |
ISCNOSYMLIBS = ../../lib/isc/libisc-nosymtbl.@A@ @NO_LIBTOOL_ISCLIBS@
|
|
|
cf16a9 |
BIND9LIBS = ../../lib/bind9/libbind9.@A@
|
|
|
cf16a9 |
-NSLIBS = ../../lib/ns/libns.@A@
|
|
|
cf16a9 |
+NSLIBS = ../../lib/ns-pkcs11/libns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
|
cf16a9 |
+DNSDEPLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@
|
|
|
cf16a9 |
ISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.@A@
|
|
|
cf16a9 |
ISCCCDEPLIBS = ../../lib/isccc/libisccc.@A@
|
|
|
cf16a9 |
ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
cf16a9 |
BIND9DEPLIBS = ../../lib/bind9/libbind9.@A@
|
|
|
cf16a9 |
-NSDEPLIBS = ../../lib/ns/libns.@A@
|
|
|
cf16a9 |
+NSDEPLIBS = ../../lib/ns-pkcs11/libns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
DEPLIBS = ${NSDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} \
|
|
|
cf16a9 |
${ISCCFGDEPLIBS} ${ISCCCDEPLIBS} ${ISCDEPLIBS}
|
|
|
cf16a9 |
@@ -93,7 +94,7 @@ NOSYMLIBS = ${NSLIBS} ${DNSLIBS} ${BIND9LIBS} \
|
|
|
cf16a9 |
|
|
|
cf16a9 |
SUBDIRS = unix
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-TARGETS = named@EXEEXT@ feature-test@EXEEXT@
|
|
|
cf16a9 |
+TARGETS = named-pkcs11@EXEEXT@ feature-test-pkcs11@EXEEXT@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
GEOIP2LINKOBJS = geoip.@O@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -151,7 +152,7 @@ server.@O@: server.c
|
|
|
cf16a9 |
-DPRODUCT=\"${PRODUCT}\" \
|
|
|
cf16a9 |
-DVERSION=\"${VERSION}\" -c ${srcdir}/server.c
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-named@EXEEXT@: ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
+named-pkcs11@EXEEXT@: ${OBJS} ${DEPLIBS}
|
|
|
cf16a9 |
export MAKE_SYMTABLE="yes"; \
|
|
|
cf16a9 |
export BASEOBJS="${OBJS} ${UOBJS}"; \
|
|
|
cf16a9 |
${FINALBUILDCMD}
|
|
|
cf16a9 |
@@ -161,7 +162,7 @@ feature-test.@O@: ${top_srcdir}/bin/tests/system/feature-test.c
|
|
|
cf16a9 |
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
|
|
|
cf16a9 |
-c ${top_srcdir}/bin/tests/system/feature-test.c
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-feature-test@EXEEXT@: feature-test.@O@
|
|
|
cf16a9 |
+feature-test-pkcs11@EXEEXT@: feature-test.@O@
|
|
|
cf16a9 |
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
|
|
|
cf16a9 |
-o $@ feature-test.@O@ ${ISCLIBS} ${LIBS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -180,11 +181,11 @@ statschannel.@O@: bind9.xsl.h
|
|
|
cf16a9 |
installdirs:
|
|
|
cf16a9 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-install:: named@EXEEXT@ installdirs
|
|
|
cf16a9 |
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named@EXEEXT@ ${DESTDIR}${sbindir}
|
|
|
cf16a9 |
+install:: named-pkcs11@EXEEXT@ installdirs
|
|
|
cf16a9 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-pkcs11@EXEEXT@ ${DESTDIR}${sbindir}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
uninstall::
|
|
|
cf16a9 |
- ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named@EXEEXT@
|
|
|
cf16a9 |
+ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-pkcs11@EXEEXT@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@DLZ_DRIVER_RULES@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
diff --git a/configure.ac b/configure.ac
|
|
|
cf16a9 |
index 032228b..64e3da0 100644
|
|
|
cf16a9 |
--- a/configure.ac
|
|
|
cf16a9 |
+++ b/configure.ac
|
|
|
cf16a9 |
@@ -1251,12 +1251,14 @@ AC_SUBST(USE_GSSAPI)
|
|
|
cf16a9 |
AC_SUBST(DST_GSSAPI_INC)
|
|
|
cf16a9 |
AC_SUBST(DNS_GSSAPI_LIBS)
|
|
|
cf16a9 |
DNS_CRYPTO_LIBS="$DNS_GSSAPI_LIBS"
|
|
|
cf16a9 |
+DNS_CRYPTO_PK11_LIBS="$DNS_GSSAPI_LIBS $DNS_CRYPTO_PK11_LIBS"
|
|
|
cf16a9 |
|
|
|
cf16a9 |
#
|
|
|
cf16a9 |
# Applications linking with libdns also need to link with these libraries.
|
|
|
cf16a9 |
#
|
|
|
cf16a9 |
|
|
|
cf16a9 |
AC_SUBST(DNS_CRYPTO_LIBS)
|
|
|
cf16a9 |
+AC_SUBST(DNS_CRYPTO_PK11_LIBS)
|
|
|
cf16a9 |
|
|
|
cf16a9 |
#
|
|
|
cf16a9 |
# was --with-lmdb specified?
|
|
|
cf16a9 |
@@ -2327,6 +2329,8 @@ AC_SUBST(BIND9_DNS_BUILDINCLUDE)
|
|
|
cf16a9 |
AC_SUBST(BIND9_NS_BUILDINCLUDE)
|
|
|
cf16a9 |
AC_SUBST(BIND9_BIND9_BUILDINCLUDE)
|
|
|
cf16a9 |
AC_SUBST(BIND9_IRS_BUILDINCLUDE)
|
|
|
cf16a9 |
+AC_SUBST(BIND9_DNS_PKCS11_BUILDINCLUDE)
|
|
|
cf16a9 |
+AC_SUBST(BIND9_NS_PKCS11_BUILDINCLUDE)
|
|
|
cf16a9 |
if test "X$srcdir" != "X"; then
|
|
|
cf16a9 |
BIND9_ISC_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/isc/include"
|
|
|
cf16a9 |
BIND9_ISCCC_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/isccc/include"
|
|
|
cf16a9 |
@@ -2335,6 +2339,8 @@ if test "X$srcdir" != "X"; then
|
|
|
cf16a9 |
BIND9_NS_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/ns/include"
|
|
|
cf16a9 |
BIND9_BIND9_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/bind9/include"
|
|
|
cf16a9 |
BIND9_IRS_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/irs/include"
|
|
|
cf16a9 |
+ BIND9_DNS_PKCS11_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/dns-pkcs11/include"
|
|
|
cf16a9 |
+ BIND9_NS_PKCS11_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/ns-pkcs11/include"
|
|
|
cf16a9 |
else
|
|
|
cf16a9 |
BIND9_ISC_BUILDINCLUDE=""
|
|
|
cf16a9 |
BIND9_ISCCC_BUILDINCLUDE=""
|
|
|
cf16a9 |
@@ -2343,6 +2349,8 @@ else
|
|
|
cf16a9 |
BIND9_NS_BUILDINCLUDE=""
|
|
|
cf16a9 |
BIND9_BIND9_BUILDINCLUDE=""
|
|
|
cf16a9 |
BIND9_IRS_BUILDINCLUDE=""
|
|
|
cf16a9 |
+ BIND9_DNS_PKCS11_BUILDINCLUDE=""
|
|
|
cf16a9 |
+ BIND9_NS_PKCS11_BUILDINCLUDE=""
|
|
|
cf16a9 |
fi
|
|
|
cf16a9 |
|
|
|
cf16a9 |
AC_SUBST_FILE(BIND9_MAKE_INCLUDES)
|
|
|
cf16a9 |
@@ -2798,8 +2806,11 @@ AC_CONFIG_FILES([
|
|
|
cf16a9 |
bin/delv/Makefile
|
|
|
cf16a9 |
bin/dig/Makefile
|
|
|
cf16a9 |
bin/dnssec/Makefile
|
|
|
cf16a9 |
+ bin/dnssec-pkcs11/Makefile
|
|
|
cf16a9 |
bin/named/Makefile
|
|
|
cf16a9 |
bin/named/unix/Makefile
|
|
|
cf16a9 |
+ bin/named-pkcs11/Makefile
|
|
|
cf16a9 |
+ bin/named-pkcs11/unix/Makefile
|
|
|
cf16a9 |
bin/nsupdate/Makefile
|
|
|
cf16a9 |
bin/pkcs11/Makefile
|
|
|
cf16a9 |
bin/plugins/Makefile
|
|
|
cf16a9 |
@@ -2861,6 +2872,10 @@ AC_CONFIG_FILES([
|
|
|
cf16a9 |
lib/dns/include/dns/Makefile
|
|
|
cf16a9 |
lib/dns/include/dst/Makefile
|
|
|
cf16a9 |
lib/dns/tests/Makefile
|
|
|
cf16a9 |
+ lib/dns-pkcs11/Makefile
|
|
|
cf16a9 |
+ lib/dns-pkcs11/include/Makefile
|
|
|
cf16a9 |
+ lib/dns-pkcs11/include/dns/Makefile
|
|
|
cf16a9 |
+ lib/dns-pkcs11/include/dst/Makefile
|
|
|
cf16a9 |
lib/irs/Makefile
|
|
|
cf16a9 |
lib/irs/include/Makefile
|
|
|
cf16a9 |
lib/irs/include/irs/Makefile
|
|
|
cf16a9 |
@@ -2893,6 +2908,10 @@ AC_CONFIG_FILES([
|
|
|
cf16a9 |
lib/ns/include/Makefile
|
|
|
cf16a9 |
lib/ns/include/ns/Makefile
|
|
|
cf16a9 |
lib/ns/tests/Makefile
|
|
|
cf16a9 |
+ lib/ns-pkcs11/Makefile
|
|
|
cf16a9 |
+ lib/ns-pkcs11/include/Makefile
|
|
|
cf16a9 |
+ lib/ns-pkcs11/include/ns/Makefile
|
|
|
cf16a9 |
+ lib/ns-pkcs11/tests/Makefile
|
|
|
cf16a9 |
make/Makefile
|
|
|
cf16a9 |
make/mkdep
|
|
|
cf16a9 |
unit/unittest.sh
|
|
|
cf16a9 |
diff --git a/lib/Makefile.in b/lib/Makefile.in
|
|
|
cf16a9 |
index 833964e..058ba2f 100644
|
|
|
cf16a9 |
--- a/lib/Makefile.in
|
|
|
cf16a9 |
+++ b/lib/Makefile.in
|
|
|
cf16a9 |
@@ -15,7 +15,7 @@ top_srcdir = @top_srcdir@
|
|
|
cf16a9 |
# Attempt to disable parallel processing.
|
|
|
cf16a9 |
.NOTPARALLEL:
|
|
|
cf16a9 |
.NO_PARALLEL:
|
|
|
cf16a9 |
-SUBDIRS = isc isccc dns ns isccfg bind9 irs
|
|
|
cf16a9 |
+SUBDIRS = isc isccc dns dns-pkcs11 ns ns-pkcs11 isccfg bind9 irs
|
|
|
cf16a9 |
TARGETS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@BIND9_MAKE_RULES@
|
|
|
cf16a9 |
diff --git a/lib/dns-pkcs11/Makefile.in b/lib/dns-pkcs11/Makefile.in
|
|
|
cf16a9 |
index 58bda3c..d6a45df 100644
|
|
|
cf16a9 |
--- a/lib/dns-pkcs11/Makefile.in
|
|
|
cf16a9 |
+++ b/lib/dns-pkcs11/Makefile.in
|
|
|
cf16a9 |
@@ -22,7 +22,7 @@ VERSION=@BIND9_VERSION@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@BIND9_MAKE_INCLUDES@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CINCLUDES = -I. -I${top_srcdir}/lib/dns -Iinclude ${DNS_INCLUDES} \
|
|
|
cf16a9 |
+CINCLUDES = -I. -I${top_srcdir}/lib/dns-pkcs11 -Iinclude ${DNS_PKCS11_INCLUDES} \
|
|
|
cf16a9 |
${ISC_INCLUDES} \
|
|
|
cf16a9 |
${FSTRM_CFLAGS} \
|
|
|
cf16a9 |
${OPENSSL_CFLAGS} @DST_GSSAPI_INC@ \
|
|
|
cf16a9 |
@@ -32,7 +32,7 @@ CINCLUDES = -I. -I${top_srcdir}/lib/dns -Iinclude ${DNS_INCLUDES} \
|
|
|
cf16a9 |
${LMDB_CFLAGS} \
|
|
|
cf16a9 |
${MAXMINDDB_CFLAGS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CDEFINES = @USE_GSSAPI@
|
|
|
cf16a9 |
+CDEFINES = @USE_GSSAPI@ @USE_PKCS11@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
CWARNINGS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -135,15 +135,15 @@ version.@O@: version.c
|
|
|
cf16a9 |
-DMAPAPI=\"${MAPAPI}\" \
|
|
|
cf16a9 |
-c ${srcdir}/version.c
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-libdns.@SA@: ${OBJS}
|
|
|
cf16a9 |
+libdns-pkcs11.@SA@: ${OBJS}
|
|
|
cf16a9 |
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
|
cf16a9 |
${RANLIB} $@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-libdns.la: ${OBJS}
|
|
|
cf16a9 |
+libdns-pkcs11.la: ${OBJS}
|
|
|
cf16a9 |
${LIBTOOL_MODE_LINK} \
|
|
|
cf16a9 |
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns.la -rpath ${libdir} \
|
|
|
cf16a9 |
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns-pkcs11.la -rpath ${libdir} \
|
|
|
cf16a9 |
-release "${VERSION}" \
|
|
|
cf16a9 |
- ${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
|
|
|
cf16a9 |
+ ${OBJS} ${ISCLIBS} @DNS_CRYPTO_PK11_LIBS@ ${LIBS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
include: gen
|
|
|
cf16a9 |
${MAKE} include/dns/enumtype.h
|
|
|
cf16a9 |
@@ -174,22 +174,22 @@ gen: gen.c
|
|
|
cf16a9 |
${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \
|
|
|
cf16a9 |
${BUILD_LIBS} ${LFS_LIBS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-timestamp: include libdns.@A@
|
|
|
cf16a9 |
+timestamp: include libdns-pkcs11.@A@
|
|
|
cf16a9 |
touch timestamp
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-testdirs: libdns.@A@
|
|
|
cf16a9 |
+testdirs: libdns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
installdirs:
|
|
|
cf16a9 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
install:: timestamp installdirs
|
|
|
cf16a9 |
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns.@A@ ${DESTDIR}${libdir}
|
|
|
cf16a9 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns-pkcs11.@A@ ${DESTDIR}${libdir}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
uninstall::
|
|
|
cf16a9 |
- ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libdns.@A@
|
|
|
cf16a9 |
+ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libdns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
clean distclean::
|
|
|
cf16a9 |
- rm -f libdns.@A@ timestamp
|
|
|
cf16a9 |
+ rm -f libdns-pkcs11.@A@ timestamp
|
|
|
cf16a9 |
rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
|
|
|
cf16a9 |
rm -f include/dns/rdatastruct.h
|
|
|
cf16a9 |
rm -f dnstap.pb-c.c dnstap.pb-c.h
|
|
|
cf16a9 |
diff --git a/lib/dns-pkcs11/tests/Makefile.in b/lib/dns-pkcs11/tests/Makefile.in
|
|
|
cf16a9 |
index 3bb5e01..c96fe7d 100644
|
|
|
cf16a9 |
--- a/lib/dns-pkcs11/tests/Makefile.in
|
|
|
cf16a9 |
+++ b/lib/dns-pkcs11/tests/Makefile.in
|
|
|
cf16a9 |
@@ -15,15 +15,15 @@ VERSION=@BIND9_VERSION@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@BIND9_MAKE_INCLUDES@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CINCLUDES = -I. -Iinclude ${DNS_INCLUDES} ${ISC_INCLUDES} \
|
|
|
cf16a9 |
+CINCLUDES = -I. -Iinclude ${DNS_PKCS11_INCLUDES} ${ISC_INCLUDES} \
|
|
|
cf16a9 |
${FSTRM_CFLAGS} ${OPENSSL_CFLAGS} \
|
|
|
cf16a9 |
${PROTOBUF_C_CFLAGS} ${MAXMINDDB_CFLAGS} @CMOCKA_CFLAGS@
|
|
|
cf16a9 |
-CDEFINES = -DTESTS="\"${top_builddir}/lib/dns/tests/\""
|
|
|
cf16a9 |
+CDEFINES = @USE_PKCS11@ -DTESTS="\"${top_builddir}/lib/dns-pkcs11/tests/\""
|
|
|
cf16a9 |
|
|
|
cf16a9 |
ISCLIBS = ../../isc/libisc.@A@ @NO_LIBTOOL_ISCLIBS@
|
|
|
cf16a9 |
ISCDEPLIBS = ../../isc/libisc.@A@
|
|
|
cf16a9 |
-DNSLIBS = ../libdns.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
-DNSDEPLIBS = ../libdns.@A@
|
|
|
cf16a9 |
+DNSLIBS = ../libdns-pkcs11.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
+DNSDEPLIBS = ../libdns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
LIBS = @LIBS@ @CMOCKA_LIBS@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
diff --git a/lib/ns-pkcs11/Makefile.in b/lib/ns-pkcs11/Makefile.in
|
|
|
cf16a9 |
index bc683ce..7a9d2f2 100644
|
|
|
cf16a9 |
--- a/lib/ns-pkcs11/Makefile.in
|
|
|
cf16a9 |
+++ b/lib/ns-pkcs11/Makefile.in
|
|
|
cf16a9 |
@@ -16,12 +16,12 @@ VERSION=@BIND9_VERSION@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@BIND9_MAKE_INCLUDES@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CINCLUDES = -I. -I${top_srcdir}/lib/ns -Iinclude \
|
|
|
cf16a9 |
- ${NS_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \
|
|
|
cf16a9 |
+CINCLUDES = -I. -I${top_srcdir}/lib/ns-pkcs11 -Iinclude \
|
|
|
cf16a9 |
+ ${NS_PKCS11_INCLUDES} ${DNS_PKCS11_INCLUDES} ${ISC_INCLUDES} \
|
|
|
cf16a9 |
${OPENSSL_CFLAGS} @DST_GSSAPI_INC@ \
|
|
|
cf16a9 |
${FSTRM_CFLAGS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CDEFINES = -DNAMED_PLUGINDIR=\"${plugindir}\"
|
|
|
cf16a9 |
+CDEFINES = @USE_PKCS11@ -DNAMED_PLUGINDIR=\"${plugindir}\"
|
|
|
cf16a9 |
|
|
|
cf16a9 |
CWARNINGS =
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -29,9 +29,9 @@ ISCLIBS = ../../lib/isc/libisc.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-DNSLIBS = ../../lib/dns/libdns.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
+DNSLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-DNSDEPLIBS = ../../lib/dns/libdns.@A@
|
|
|
cf16a9 |
+DNSDEPLIBS = ../../lib/dns-pkcs11/libdns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
LIBS = @LIBS@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
@@ -60,28 +60,28 @@ version.@O@: version.c
|
|
|
cf16a9 |
-DMAJOR=\"${MAJOR}\" \
|
|
|
cf16a9 |
-c ${srcdir}/version.c
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-libns.@SA@: ${OBJS}
|
|
|
cf16a9 |
+libns-pkcs11.@SA@: ${OBJS}
|
|
|
cf16a9 |
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
|
cf16a9 |
${RANLIB} $@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-libns.la: ${OBJS}
|
|
|
cf16a9 |
+libns-pkcs11.la: ${OBJS}
|
|
|
cf16a9 |
${LIBTOOL_MODE_LINK} \
|
|
|
cf16a9 |
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libns.la -rpath ${libdir} \
|
|
|
cf16a9 |
+ ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libns-pkcs11.la -rpath ${libdir} \
|
|
|
cf16a9 |
-release "${VERSION}" \
|
|
|
cf16a9 |
- ${OBJS} ${ISCLIBS} ${DNSLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
|
|
|
cf16a9 |
+ ${OBJS} ${ISCLIBS} ${DNSLIBS} @DNS_CRYPTO_PK11_LIBS@ ${LIBS}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-timestamp: libns.@A@
|
|
|
cf16a9 |
+timestamp: libns-pkcs11.@A@
|
|
|
cf16a9 |
touch timestamp
|
|
|
cf16a9 |
|
|
|
cf16a9 |
installdirs:
|
|
|
cf16a9 |
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
install:: timestamp installdirs
|
|
|
cf16a9 |
- ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libns.@A@ \
|
|
|
cf16a9 |
+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libns-pkcs11.@A@ \
|
|
|
cf16a9 |
${DESTDIR}${libdir}
|
|
|
cf16a9 |
|
|
|
cf16a9 |
uninstall::
|
|
|
cf16a9 |
- ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libns.@A@
|
|
|
cf16a9 |
+ ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
clean distclean::
|
|
|
cf16a9 |
- rm -f libns.@A@ timestamp
|
|
|
cf16a9 |
+ rm -f libns-pkcs11.@A@ timestamp
|
|
|
cf16a9 |
diff --git a/lib/ns-pkcs11/tests/Makefile.in b/lib/ns-pkcs11/tests/Makefile.in
|
|
|
cf16a9 |
index 4c3e694..c1b6d99 100644
|
|
|
cf16a9 |
--- a/lib/ns-pkcs11/tests/Makefile.in
|
|
|
cf16a9 |
+++ b/lib/ns-pkcs11/tests/Makefile.in
|
|
|
cf16a9 |
@@ -17,17 +17,17 @@ VERSION=@BIND9_VERSION@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
WRAP_OPTIONS = -Wl,--wrap=isc__nmhandle_detach -Wl,--wrap=isc__nmhandle_attach
|
|
|
cf16a9 |
|
|
|
cf16a9 |
-CINCLUDES = -I. -Iinclude ${NS_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \
|
|
|
cf16a9 |
+CINCLUDES = -I. -Iinclude ${NS_PKCS11_INCLUDES} ${DNS_PKCS11_INCLUDES} ${ISC_INCLUDES} \
|
|
|
cf16a9 |
${OPENSSL_CFLAGS} \
|
|
|
cf16a9 |
@CMOCKA_CFLAGS@
|
|
|
cf16a9 |
-CDEFINES = -DTESTS="\"${top_builddir}/lib/ns/tests/\"" -DNAMED_PLUGINDIR=\"${plugindir}\"
|
|
|
cf16a9 |
+CDEFINES = -DTESTS="\"${top_builddir}/lib/ns-pkcs11/tests/\"" -DNAMED_PLUGINDIR=\"${plugindir}\" @USE_PKCS11@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
ISCLIBS = ../../isc/libisc.@A@ @NO_LIBTOOL_ISCLIBS@
|
|
|
cf16a9 |
ISCDEPLIBS = ../../isc/libisc.@A@
|
|
|
cf16a9 |
-DNSLIBS = ../../dns/libdns.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
-DNSDEPLIBS = ../../dns/libdns.@A@
|
|
|
cf16a9 |
-NSLIBS = ../libns.@A@
|
|
|
cf16a9 |
-NSDEPLIBS = ../libns.@A@
|
|
|
cf16a9 |
+DNSLIBS = ../../dns-pkcs11/libdns-pkcs11.@A@ @NO_LIBTOOL_DNSLIBS@
|
|
|
cf16a9 |
+DNSDEPLIBS = ../../dns-pkcs11/libdns-pkcs11.@A@
|
|
|
cf16a9 |
+NSLIBS = ../libns-pkcs11.@A@
|
|
|
cf16a9 |
+NSDEPLIBS = ../libns-pkcs11.@A@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
LIBS = @LIBS@ @CMOCKA_LIBS@
|
|
|
cf16a9 |
|
|
|
cf16a9 |
diff --git a/make/includes.in b/make/includes.in
|
|
|
cf16a9 |
index b8317d3..b73b0c4 100644
|
|
|
cf16a9 |
--- a/make/includes.in
|
|
|
cf16a9 |
+++ b/make/includes.in
|
|
|
cf16a9 |
@@ -39,3 +39,10 @@ BIND9_INCLUDES = @BIND9_BIND9_BUILDINCLUDE@ \
|
|
|
cf16a9 |
|
|
|
cf16a9 |
TEST_INCLUDES = \
|
|
|
cf16a9 |
-I${top_srcdir}/lib/tests/include
|
|
|
cf16a9 |
+
|
|
|
cf16a9 |
+DNS_PKCS11_INCLUDES = @BIND9_DNS_PKCS11_BUILDINCLUDE@ \
|
|
|
cf16a9 |
+ -I${top_srcdir}/lib/dns-pkcs11/include
|
|
|
cf16a9 |
+
|
|
|
cf16a9 |
+NS_PKCS11_INCLUDES = @BIND9_NS_PKCS11_BUILDINCLUDE@ \
|
|
|
cf16a9 |
+ -I${top_srcdir}/lib/ns-pkcs11/include
|
|
|
cf16a9 |
+
|
|
|
cf16a9 |
--
|
|
|
cf16a9 |
2.26.3
|
|
|
cf16a9 |
|