Update Makefiles for OpenSSH 3.7.1p2.

This commit is contained in:
Dag-Erling Smørgrav 2004-01-07 11:17:23 +00:00
parent cf2b5f3b6d
commit a04e3d6c30
11 changed files with 37 additions and 37 deletions

View File

@ -2,15 +2,16 @@
LIB= ssh
SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
cipher.c compat.c compress.c crc32.c deattack.c fatal.c \
hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \
rsa.c tildexpand.c ttymodes.c xmalloc.c atomicio.c \
cipher.c cipher-aes.o cipher-bf1.o cipher-ctr.o cipher-3des1.o \
compat.c compress.c crc32.c deattack.c fatal.c \
hostfile.c log.c match.c moduli.c mpaux.c nchan.c packet.c \
readpass.c rsa.c tildexpand.c ttymodes.c xmalloc.c atomicio.c \
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
kexdhc.c kexgexc.c scard.c msg.c progressmeter.c \
entropy.c
kexdhc.c kexgexc.c scard.c msg.c progressmeter.c dns.c \
entropy.c scard-opensc.c gss-genr.c
# Portability layer
SRCS+= bsd-misc.c vis.c xmmap.c
SRCS+= bsd-misc.c vis.c xcrypt.c xmmap.c
# FreeBSD additions
SRCS+= version.c
@ -25,8 +26,8 @@ CFLAGS+= -DKRB5 -DHEIMDAL
NOLINT= true
DPADD= ${LIBCRYPTO} ${LIBZ}
LDADD= -lcrypto -lz
DPADD= ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ}
LDADD= -lcrypto -lcrypt -lz
.include <bsd.lib.mk>

View File

@ -5,8 +5,8 @@ SRCS= sftp-common.c sftp-server.c
MAN= sftp-server.8
CFLAGS+=-I${SSHDIR}
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD+= -lssh -lcrypto -lz
DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD+= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -8,8 +8,8 @@ CFLAGS+=-I${SSHDIR}
BINMODE=4511
.endif
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -3,8 +3,8 @@
PROG= scp
CFLAGS+=-I${SSHDIR}
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -4,8 +4,8 @@ PROG= sftp
SRCS= sftp.c sftp-client.c sftp-int.c sftp-common.c sftp-glob.c
CFLAGS+=-I${SSHDIR}
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -3,8 +3,8 @@
PROG= ssh-add
CFLAGS+=-I${SSHDIR}
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -3,8 +3,8 @@
PROG= ssh-agent
CFLAGS+=-I${SSHDIR}
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -3,8 +3,8 @@
PROG= ssh-keygen
CFLAGS+=-I${SSHDIR}
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -3,8 +3,8 @@
PROG= ssh-keyscan
CFLAGS+=-I${SSHDIR}
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypt -lcrypto -lz
.include <bsd.prog.mk>

View File

@ -20,8 +20,8 @@ DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN} ${LIBCRYPT}
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
.endif
LDADD+= -lssh -lcrypto -lutil -lz
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
LDADD+= -lssh -lcrypt -lcrypto -lutil -lz
.include <bsd.prog.mk>

View File

@ -6,37 +6,36 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
sshpty.c sshlogin.c servconf.c serverloop.c uidswap.c \
auth.c auth1.c auth2.c auth-options.c session.c \
auth-chall.c auth2-chall.c groupaccess.c \
auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \
auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
auth2-none.c auth2-passwd.c auth2-pubkey.c \
auth2-hostbased.c auth2-kbdint.c \
auth2-pam-freebsd.c monitor_wrap.c monitor_fdpass.c \
kexdhs.c kexgexs.c
# Portability layer
SRCS+= loginrec.c
monitor_mm.c monitor.c monitor_wrap.c monitor_fdpass.c \
kexdhs.c kexgexs.c \
auth-krb5.c \
auth2-gss.c gss-serv.c gss-serv-krb5.c \
loginrec.c auth-pam.c auth-sia.c md5crypt.c
MAN= sshd.8 sshd_config.5
CFLAGS+=-I${SSHDIR}
.if !defined(NO_KERBEROS)
CFLAGS+= -DKRB5 -DHEIMDAL
SRCS+= auth-krb5.c
LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -lroken
DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -lroken
.endif
LDADD+= -lopie -lmd
DPADD+= ${LIBOPIE} ${LIBMD}
LDADD+= -lopie -lmd
.if defined(X11BASE)
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
.endif
LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
.if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R)
CFLAGS+=-DUSE_POSIX_THREADS
LDADD+= -lc_r
DPADD+= ${LIBC_R}
LDADD+= -lc_r
.endif
.include <bsd.prog.mk>