summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/ssh/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 14:29:47 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 14:29:47 +0000
commitfc557ff7d97438559e69347575f5aa8ef03a5f50 (patch)
treec90ea5392aa03e7619696143bde781f2bf5c0dff /crypto/openssh/ssh/Makefile
downloadFreeBSD-src-fc557ff7d97438559e69347575f5aa8ef03a5f50.zip
FreeBSD-src-fc557ff7d97438559e69347575f5aa8ef03a5f50.tar.gz
Vendor import of OpenSSH.
Diffstat (limited to 'crypto/openssh/ssh/Makefile')
-rw-r--r--crypto/openssh/ssh/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/crypto/openssh/ssh/Makefile b/crypto/openssh/ssh/Makefile
new file mode 100644
index 0000000..61a38ad
--- /dev/null
+++ b/crypto/openssh/ssh/Makefile
@@ -0,0 +1,36 @@
+.PATH: ${.CURDIR}/..
+
+PROG= ssh
+BINOWN= root
+
+.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
+ ${MACHINE_ARCH} == "hppa")
+BINMODE=0000
+.else
+BINMODE?=4555
+.endif
+
+BINDIR= /usr/bin
+MAN= ssh.1
+LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
+MLINKS= ssh.1 slogin.1
+
+SRCS= ssh.c sshconnect.c log-client.c readconf.c clientloop.c
+
+.include <bsd.own.mk> # for AFS
+
+.if (${KERBEROS} == "yes")
+CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+LDADD+= -lkrb
+DPADD+= ${LIBKRB}
+.if (${AFS} == "yes")
+CFLAGS+= -DAFS
+LDADD+= -lkafs
+DPADD+= ${LIBKRBAFS}
+.endif # AFS
+.endif # KERBEROS
+
+.include <bsd.prog.mk>
+
+LDADD+= -lutil -lz -lcrypto
+DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
OpenPOWER on IntegriCloud