diff options
author | Mark Murray <markm@FreeBSD.org> | 2000-02-24 17:00:55 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2000-02-24 17:00:55 +0000 |
commit | c23e256eefa3a3fa4d991e28c9cad41c1bfef81b (patch) | |
tree | ae6aab7c740466dd15348eac8581c327e32b1c23 /secure/usr.bin/ssh | |
parent | 843c5d4993d422083d400dd08b109f410a9f2b3c (diff) | |
download | src-c23e256eefa3a3fa4d991e28c9cad41c1bfef81b.tar.gz src-c23e256eefa3a3fa4d991e28c9cad41c1bfef81b.zip |
Add the OpenSSH userland-building Makefiles.
Notes
Notes:
svn path=/head/; revision=57434
Diffstat (limited to 'secure/usr.bin/ssh')
-rw-r--r-- | secure/usr.bin/ssh/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile new file mode 100644 index 000000000000..3741ba405550 --- /dev/null +++ b/secure/usr.bin/ssh/Makefile @@ -0,0 +1,41 @@ +# $FreeBSD$ +# + +SSHSRC= ${.CURDIR}/../../../crypto/openssh + +PROG= ssh +BINOWN= root +BINMODE=4555 +MAN1= 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> + +.PATH: ${SSHSRC} +.PATH: ${SSHSRC}/lib + +.if defined(MAKE_KERBEROS4) && \ + ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES")) +CFLAGS+= -DKRB4 +LDADD+= -lkrb -lcom_err +DPADD+= ${LIBKRB} ${LIBCOM_ERR} +.endif # MAKE_KERBEROS4 + +.if defined(MAKE_KERBEROS5) && \ + ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES")) +CFLAGS+= -DKRB5 +LDADD+= -lkrb5 -lcom_err +DPADD+= ${LIBKRB5} ${LIBCOM_ERR} +.endif # MAKE_KERBEROS5 + +.include <bsd.prog.mk> + +LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz +DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} +.if defined(RSAREF) && ${RSAREF} == YES +LDADD+= -lRSAglue +DPADD+= ${LIBRSAGLUE} +.endif |