c0b9f4fe65
similar the the Solaris implementation. Repackage the krb5 GSS mechanism as a plugin library for the new implementation. This also includes a comprehensive set of manpages for the GSS-API functions with text mostly taken from the RFC. Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
33 lines
606 B
Makefile
33 lines
606 B
Makefile
# $FreeBSD$
|
|
#
|
|
|
|
PROG= ssh
|
|
CFLAGS+=-I${SSHDIR}
|
|
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
|
MAN= ssh.1 ssh_config.5
|
|
MLINKS= ssh.1 slogin.1
|
|
|
|
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
|
sshconnect.c sshconnect1.c sshconnect2.c \
|
|
gss-genr.c
|
|
|
|
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ}
|
|
LDADD= -lssh -lutil -lz
|
|
|
|
.if !defined(NO_KERBEROS)
|
|
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
|
DPADD+= ${LIBGSSAPI}
|
|
LDADD+= -lgssapi
|
|
.endif
|
|
|
|
.if defined(X11BASE)
|
|
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
|
|
.endif
|
|
|
|
DPADD+= ${LIBCRYPT} ${LIBCRYPTO}
|
|
LDADD+= -lcrypt -lcrypto
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SSHDIR}
|