diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-03-26 14:53:33 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-03-26 14:53:33 +0000 |
commit | b8cba406f2af8bad36f00fa94d493eaa9b259798 (patch) | |
tree | eb0fe5e61507d580a9dd88148e6c402b2c2b5d1b /secure/usr.bin/ssh | |
parent | 75c9631facc0764a0cd3e0ac49f66be128d3a996 (diff) | |
download | src-b8cba406f2af8bad36f00fa94d493eaa9b259798.tar.gz src-b8cba406f2af8bad36f00fa94d493eaa9b259798.zip |
secure/ build fixes:
- TELNETOBJDIR is gone. `buildworld' already installs libtelnet.a
in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there.
- SSHDIR (formerly SSHSRC) is now shared between all SSH modules.
New LIBSSH is introduced for libssh.a (an internal static lib).
Previously, build without prior `obj' was broken; SSH modules
always looked for libssh.a in ${.OBJDIR}. Also, the dependancies
on the libssh.a were missing.
- libtelnet/ did not install the crypto version of telnet.h into
/usr/include/arpa.
- Removed BINOWN, BINMODE, BINDIR and SRCS with default values.
Reviewed by: markm
- MAN[1-9] -> MAN.
Notes
Notes:
svn path=/head/; revision=74818
Diffstat (limited to 'secure/usr.bin/ssh')
-rw-r--r-- | secure/usr.bin/ssh/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile index 0b99611f058c..fcb95d995ae8 100644 --- a/secure/usr.bin/ssh/Makefile +++ b/secure/usr.bin/ssh/Makefile @@ -1,25 +1,16 @@ # $FreeBSD$ # -SSHSRC= ${.CURDIR}/../../../crypto/openssh - PROG= ssh -BINOWN= root .if defined(ENABLE_SUID_SSH) BINMODE=4555 .endif -MAN1= ssh.1 LINKS= ${BINDIR}/ssh ${BINDIR}/slogin MLINKS= ssh.1 slogin.1 SRCS= ssh.c log-client.c readconf.c clientloop.c sshconnect.c \ sshconnect1.c sshconnect2.c -.include <bsd.own.mk> - -.PATH: ${SSHSRC} -.PATH: ${SSHSRC}/lib - .if defined(MAKE_KERBEROS4) && \ ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES")) DISTRIBUTION=krb4 @@ -40,7 +31,9 @@ DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD} ${LIBCRYPT} CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" .endif -LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz -DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} +LDADD+= ${LIBSSH} -lcrypto -lutil -lz +DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} .include <bsd.prog.mk> + +.PATH: ${SSHDIR} |