This commit is contained in:
christos 2023-06-22 22:39:22 +00:00
parent f8ab6e2320
commit d375f34d40
29 changed files with 121 additions and 84 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.7 2023/06/20 17:23:01 christos Exp $
# $NetBSD: Makefile.inc,v 1.8 2023/06/22 22:39:37 christos Exp $
HEIMBASE?= ${NETBSDSRCDIR}/crypto/external/bsd/heimdal
HEIMDIST= ${HEIMBASE}/dist
@ -22,6 +22,8 @@ DPLIBROKEN= roken ${HEIMBASE}/lib/libroken
DPLIBSL= sl ${HEIMBASE}/lib/libsl
DPLIBVERS= vers ${HEIMBASE}/lib/libvers
DPLIBWIND= wind ${HEIMBASE}/lib/libwind
KRB5LDADD= -lsqlite3 -lcrypto -lcrypt -lm
KRB5DPADD= ${LIBSQLITE3} ${LIBCRYPTO} ${LIBCRYPT} ${LIBM}
.if ${USETOOLS} != "yes"
COMPILEETOBJ!= cd ${HEIMBASE}/lib/libcom_err/compile_et && ${PRINTOBJDIR}

View File

@ -1,5 +1,6 @@
# $NetBSD: Makefile.inc,v 1.5 2023/06/20 17:23:01 christos Exp $
# $NetBSD: Makefile.inc,v 1.6 2023/06/22 22:39:22 christos Exp $
BINDIR=/usr/bin
PROGDPLIBS += ${DPLIBKRB5} ${DPLIBHEIMBASE} ${DPLIBROKEN} ${DPLIBVERS}
PROGDPLIBS += ${DPLIBKRB5} ${DPLIBHX509} ${DPLIBASN1} ${DPLIBCOM_ERR}
PROGDPLIBS += ${DPLIBWIND} ${DPLIBHEIMBASE} ${DPLIBROKEN} ${DPLIBVERS}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2023/06/20 17:23:01 christos Exp $
# $NetBSD: Makefile,v 1.4 2023/06/22 22:39:22 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -13,10 +13,10 @@ HEIMSRCS= gsstool.c gss-commands.in
MAN=
PROGDPLIBS += ${DPLIBGSSAPI} ${DPLIBSL}
LDADD+= -ledit -lterminfo
DPADD+= ${LIBEDIT} ${LIBTERMINFO}
PROGDPLIBS += ${DPLIBGSSAPI} ${DPLIBHEIMNTLM} ${DPLIBSL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -ledit -lterminfo ${KRB5LDADD}
DPADD+= ${LIBEDIT} ${LIBTERMINFO} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2023/06/20 17:23:01 christos Exp $
# $NetBSD: Makefile,v 1.6 2023/06/22 22:39:22 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -13,11 +13,12 @@ HEIMSRCS= hxtool.c hxtool-commands.in
MAN=
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBGSSAPI} ${DPLIBHX509} ${DPLIBSL}
LDADD+= -lcrypto -ledit -lterminfo
DPADD+= ${LIBCRYPTO} ${LIBEDIT} ${LIBTERMINFO}
PROGDPLIBS+= ${DPLIBGSSAPI} ${DPLIBSL}
COPTS.hxtool.c+= -Wno-error=deprecated-declarations
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lcrypto -ledit -lterminfo
DPADD+= ${LIBCRYPTO} ${LIBEDIT} ${LIBTERMINFO}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2023/06/20 17:23:01 christos Exp $
# $NetBSD: Makefile,v 1.6 2023/06/22 22:39:22 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -22,9 +22,10 @@ SRCS= copy_cred_cache.c \
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
CPPFLAGS+= -I${HEIMDIST}/kuser
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBKAFS} ${DPLIBSL}
LDADD+= -ledit -lterminfo
DPADD+= ${LIBEDIT} ${LIBTERMINFO}
PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBSL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -ledit -lterminfo ${KRB5LDADD}
DPADD+= ${LIBEDIT} ${LIBTERMINFO} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:02 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:23 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -14,3 +14,6 @@ PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBSL} ${DPLIBHEIMNTLM}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:02 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:23 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -10,7 +10,10 @@ USE_FORT?= yes # cryptographic software
PROG= kgetcred
SRCS= kgetcred.c
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBKAFS} ${DPLIBSL} ${DPLIBHEIMNTLM}
PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBSL} ${DPLIBHEIMNTLM}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:02 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:23 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -13,8 +13,9 @@ SRCS= kinit.c
CPPFLAGS+= -I${HEIMDIST}/lib/ntlm
PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBSL} ${DPLIBHEIMNTLM}
LDADD+= -lcrypto
DPSDD+= ${LIBCRYPTO}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:02 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:23 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -11,8 +11,9 @@ PROG= kpasswd
SRCS= kpasswd.c
PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBSL} ${DPLIBHEIMNTLM}
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2023/06/20 17:23:02 christos Exp $
# $NetBSD: Makefile,v 1.4 2023/06/22 22:39:23 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -18,9 +18,10 @@ MAN= kvno.1
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
COPTS.kvno.c+= -Wno-deprecated-declarations
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBKAFS} ${DPLIBSL}
LDADD+= -ledit -lterminfo
DPADD+= ${LIBEDIT} ${LIBTERMINFO}
PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBSL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -ledit -lterminfo ${KRB5LDADD}
DPADD+= ${LIBEDIT} ${LIBTERMINFO} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:02 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:23 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -20,8 +20,8 @@ CPPFLAGS+= \
-I${HEIMBASE}/lib/libheimntlm \
-I${HEIMBASE}/lib/libwind \
LDADD+=-lcrypto
DPADD+=${LIBCRYPTO}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:02 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:23 christos Exp $
WARNS?= 2 # XXX -Wextra
@ -22,3 +22,6 @@ SRCS= verify_krb5_conf.c
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,5 +1,6 @@
# $NetBSD: Makefile.inc,v 1.7 2023/06/20 17:23:03 christos Exp $
# $NetBSD: Makefile.inc,v 1.8 2023/06/22 22:39:37 christos Exp $
BINDIR=/usr/libexec
PROGDPLIBS+= ${DPLIBKRB5} ${DPLIBHEIMNTLM} ${DPLIBROKEN} ${DPLIBVERS}
PROGDPLIBS += ${DPLIBKRB5} ${DPLIBHX509} ${DPLIBASN1} ${DPLIBCOM_ERR}
PROGDPLIBS += ${DPLIBWIND} ${DPLIBHEIMBASE} ${DPLIBROKEN} ${DPLIBVERS}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:03 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:37 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -14,9 +14,10 @@ CPPFLAGS+= \
-I${HEIMDIST}/lib/krb5 \
-I${HEIMDIST}/lib/ipc
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBKDC} ${DPLIBHDB}
LDADD+=-lcrypto
DPADD+=${LIBCRYPTO}
PROGDPLIBS+= ${DPLIBKDC} ${DPLIBHDB} ${DPLIBHEIMNTLM}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:03 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:37 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -18,3 +18,6 @@ PROGDPLIBS+= ${DPLIBHDB}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:03 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:37 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -21,8 +21,9 @@ CPPFLAGS+= \
-I${DESTDIR}/usr/include/kadm5
PROGDPLIBS+= ${DPLIBKADM5SRV} ${DPLIBHDB}
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:03 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:37 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -18,8 +18,9 @@ CPPFLAGS+= \
-I${DESTDIR}/usr/include/kadm5
PROGDPLIBS+= ${DPLIBKADM5SRV} ${DPLIBHDB}
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2023/06/20 17:23:03 christos Exp $
# $NetBSD: Makefile,v 1.7 2023/06/22 22:39:37 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -18,9 +18,10 @@ CPPFLAGS+= \
-I${HEIMDIST}/lib/asn1 \
-I${HEIMBASE}/include/krb5
PROGDPLIBS+= ${DPLIBGSSAPI} ${DPLIBKADM5SRV} ${DPLIBHDB}
LDADD+= -lutil
DPADD+= ${LIBUTIL}
PROGDPLIBS+= ${DPLIBGSSAPI} ${DPLIBKADM5SRV} ${DPLIBHDB} ${DPLIBHEIMNTLM}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:03 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -13,8 +13,9 @@ CPPFLAGS+= -DINETD_SUPPORT
CPPFLAGS+= -I${HEIMDIST}/lib
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBKADM5SRV} ${DPLIBHDB}
LDADD+= -lcrypto -lutil
DPADD+= ${LIBCRYPTO} ${LIBUTIL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${KRB5DPADD}

View File

@ -1,5 +1,6 @@
# $NetBSD: Makefile.inc,v 1.6 2023/06/20 17:23:04 christos Exp $
# $NetBSD: Makefile.inc,v 1.7 2023/06/22 22:39:38 christos Exp $
BINDIR=/usr/sbin
PROGDPLIBS += ${DPLIBKRB5} ${DPLIBHEIMBASE} ${DPLIBROKEN} ${DPLIBVERS}
PROGDPLIBS += ${DPLIBKRB5} ${DPLIBHX509} ${DPLIBASN1} ${DPLIBCOM_ERR}
PROGDPLIBS += ${DPLIBWIND} ${DPLIBHEIMBASE} ${DPLIBROKEN} ${DPLIBVERS}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:04 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -21,8 +21,9 @@ CPPFLAGS+= \
-I${HEIMDIST}/lib/krb5 \
PROGDPLIBS+= ${DPLIBHDB}
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:04 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -13,8 +13,9 @@ HEIMSRCS= iprop-log.c iprop-commands.in
CPPFLAGS+= -I${DESTDIR}/usr/include/kadm5 -I${HEIMDIST}/lib/krb5
PROGDPLIBS += ${DPLIBKADM5SRV} ${DPLIBHDB} ${DPLIBSL}
LDADD+= -ledit -lterminfo
DPADD+= ${LIBEDIT} ${LIBTERMINFO}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -ledit -lterminfo ${KRB5LDADD}
DPADD+= ${LIBEDIT} ${LIBTERMINFO} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2023/06/20 17:23:04 christos Exp $
# $NetBSD: Makefile,v 1.6 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -39,10 +39,7 @@ CPPFLAGS+= \
-I${HEIMBASE}/lib/libwind \
-I${DESTDIR}/usr/include/kadm5
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBKADM5SRV} ${DPLIBHDB} ${DPLIBKADM5CLNT}
PROGDPLIBS+= ${DPLIBSL}
LDADD+= -lcrypto -lutil -ledit -lterminfo
DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO}
PROGDPLIBS+= ${DPLIBKADM5SRV} ${DPLIBHDB} ${DPLIBKADM5CLNT} ${DPLIBSL}
kadmin.8: kadmin.1
@${TOOL_SED} -e 's/KADMIN 1/KADMIN 8/' < ${.ALLSRC} > ${.TARGET}
@ -51,3 +48,6 @@ CLEANFILES+=kadmin.8
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil -ledit -lterminfo ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:04 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -29,8 +29,9 @@ CPPFLAGS+= \
-I${HEIMDIST}/lib/ipc
PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBHEIMNTLM}
LDADD+= -lcrypto -lutil
DPADD+= ${LIBCRYPTO} ${LIBUTIL}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil ${KRB5LDADD}
DPADD+= ${LIBCRYPTO} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:04 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -20,10 +20,11 @@ CPPFLAGS+= \
-I${HEIMDIST}/lib
PROGDPLIBS+= ${DPLIBKDC} ${DPLIBHDB} ${DPLIBHEIMNTLM}
LDADD+= -lutil
DPADD+= ${LIBUTIL}
MAN= kdc.8
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2023/06/20 17:23:05 christos Exp $
# $NetBSD: Makefile,v 1.6 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -11,8 +11,9 @@ MAN= kdigest.8
HEIMSRCS+= kdigest.c kdigest-commands.in
PROGDPLIBS+= ${DPLIBHEIMNTLM} ${DPLIBSL}
LDADD+= -lcrypto -lutil -ledit -lterminfo
DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -lutil -ledit -lterminfo ${KRB5LDADD}
DPADD+= ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO} ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:05 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:38 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -9,7 +9,10 @@ PROG= kimpersonate
SRCS= kimpersonate.c
MAN= kimpersonate.8
PROGDPLIBS+= ${DPLIBASN1} ${DPLIBKAFS} ${DPLIBHEIMNTLM}
PROGDPLIBS+= ${DPLIBKAFS} ${DPLIBHEIMNTLM}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= ${KRB5LDADD}
DPADD+= ${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/06/20 17:23:05 christos Exp $
# $NetBSD: Makefile,v 1.5 2023/06/22 22:39:39 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -23,8 +23,9 @@ CPPFLAGS+= -I${HEIMDIST}/lib/krb5 -I${DESTDIR}/usr/include/krb5
# -DHAVE_CONFIG_H
PROGDPLIBS+= ${DPLIBHDB}
LDADD+=-lcrypto
DPADD+=${LIBCRYPTO}
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+=${KRB5LDADD}
DPADD+=${KRB5DPADD}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2023/06/20 17:23:05 christos Exp $
# $NetBSD: Makefile,v 1.6 2023/06/22 22:39:39 christos Exp $
.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>
@ -27,8 +27,6 @@ SRCS= \
rename.c
PROGDPLIBS+= ${DPLIBKADM5CLNT} ${DPLIBSL}
LDADD+= -lcrypto -ledit -lterminfo -lutil
DPADD+= ${LIBCRYPTO} ${LIBEDIT} ${LIBTERMINFO} ${LIBUTIL}
ktutil.8: ktutil.1
@${TOOL_SED} -e 's/KTUTIL 1/KTUTIL 8/' < ${.ALLSRC} > ${.TARGET}
@ -37,3 +35,6 @@ CLEANFILES+=ktutil.8
.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.prog.mk>
LDADD+= -ledit -lterminfo -lutil ${KRB5LDADD}
DPADD+= ${LIBEDIT} ${LIBTERMINFO} ${LIBUTIL} ${KRB5DPADD}