mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
For MIT Kerberos, MK_GSSAPI has no meaning: GSSAPI is a required part of Kerberos and is always built if MK_KERBEROS is enabled. Backport this behaviour to Heimdal so it works the same way. While here, change Heimdal's libcom_err and compile_et to be selected by MK_KERBEROS, not MK_KERBEROS_SUPPORT, since these are part of Kerberos and third-party users might need it even if Kerberos support is disabled in the base system. This means MK_KERBEROS_SUPPORT installs the same files with both MIT and Heimdal. Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D51859
32 lines
580 B
Makefile
32 lines
580 B
Makefile
.include <src.opts.mk>
|
|
.include "${SRCTOP}/secure/ssh.mk"
|
|
|
|
CONFS= ssh_config
|
|
CONFSDIR= /etc/ssh
|
|
PROG= ssh
|
|
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
|
MAN= ssh.1 ssh_config.5
|
|
MLINKS= ssh.1 slogin.1
|
|
PACKAGE= ssh
|
|
|
|
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
|
sshconnect.c sshconnect2.c mux.c $(SKSRCS)
|
|
|
|
# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
|
|
SRCS+= gss-genr.c
|
|
|
|
LIBADD= ssh
|
|
|
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
|
.if ${MK_MITKRB5} == "no"
|
|
LIBADD+= gssapi
|
|
.else
|
|
LIBADD+= gssapi_krb5
|
|
.endif
|
|
.endif
|
|
|
|
LIBADD+= crypto
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SSHDIR}
|