diff options
author | des <des@FreeBSD.org> | 2008-07-22 18:58:19 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-07-22 18:58:19 +0000 |
commit | 666aa9cc1660793c97ef29a6cb66dfbb894dde8f (patch) | |
tree | 209e642fbe2a816041f67bc27c9800879f5541bc /crypto/openssh/ssh/Makefile | |
parent | 624d93001f28e236c027516d88282351eb7bffbe (diff) | |
download | FreeBSD-src-666aa9cc1660793c97ef29a6cb66dfbb894dde8f.zip FreeBSD-src-666aa9cc1660793c97ef29a6cb66dfbb894dde8f.tar.gz |
Revert part of 180714 - the intent was to flatten dist, not to nuke it.
Diffstat (limited to 'crypto/openssh/ssh/Makefile')
-rw-r--r-- | crypto/openssh/ssh/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crypto/openssh/ssh/Makefile b/crypto/openssh/ssh/Makefile new file mode 100644 index 0000000..80511de --- /dev/null +++ b/crypto/openssh/ssh/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.42 2002/06/20 19:56:07 stevesk Exp $ + +.PATH: ${.CURDIR}/.. + +PROG= ssh +BINOWN= root + +#BINMODE?=4555 + +BINDIR= /usr/bin +MAN= ssh.1 ssh_config.5 +LINKS= ${BINDIR}/ssh ${BINDIR}/slogin +MLINKS= ssh.1 slogin.1 + +SRCS= ssh.c readconf.c clientloop.c sshtty.c \ + sshconnect.c sshconnect1.c sshconnect2.c + +.include <bsd.own.mk> # for AFS + +.if (${KERBEROS5:L} == "yes") +CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV +LDADD+= -lkrb5 -lasn1 -lcom_err +DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} +.endif # KERBEROS5 + +.if (${KERBEROS:L} == "yes") +CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV +LDADD+= -lkrb +DPADD+= ${LIBKRB} +.if (${AFS:L} == "yes") +CFLAGS+= -DAFS +LDADD+= -lkafs +DPADD+= ${LIBKAFS} +.endif # AFS +.endif # KERBEROS + +.include <bsd.prog.mk> + +LDADD+= -lcrypto -lz -ldes +DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBDES} |