2000-02-24 17:00:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
LIB= ssh
|
2002-06-23 16:09:29 +00:00
|
|
|
SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
|
2004-01-07 11:59:52 +00:00
|
|
|
cipher.c cipher-aes.c cipher-bf1.c cipher-ctr.c cipher-3des1.c \
|
2004-01-07 11:17:23 +00:00
|
|
|
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 \
|
2001-05-04 04:21:25 +00:00
|
|
|
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
|
2002-03-18 10:20:33 +00:00
|
|
|
rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
|
2004-01-07 11:17:23 +00:00
|
|
|
kexdhc.c kexgexc.c scard.c msg.c progressmeter.c dns.c \
|
|
|
|
entropy.c scard-opensc.c gss-genr.c
|
2002-06-25 19:10:09 +00:00
|
|
|
# Portability layer
|
2004-01-07 11:17:23 +00:00
|
|
|
SRCS+= bsd-misc.c vis.c xcrypt.c xmmap.c
|
2002-06-25 19:10:09 +00:00
|
|
|
# FreeBSD additions
|
|
|
|
SRCS+= version.c
|
2001-05-04 04:21:25 +00:00
|
|
|
|
2002-11-06 22:54:58 +00:00
|
|
|
.if defined(COMPAT_GETADDRINFO)
|
|
|
|
SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c
|
|
|
|
.endif
|
2002-09-25 09:58:00 +00:00
|
|
|
|
2002-11-06 22:54:58 +00:00
|
|
|
CFLAGS+= -I${SSHDIR}
|
2004-01-08 11:41:02 +00:00
|
|
|
DPADD= ${LIBZ}
|
|
|
|
LDADD= -lz
|
|
|
|
|
2003-05-05 07:58:44 +00:00
|
|
|
.if !defined(NO_KERBEROS)
|
2004-01-08 09:05:24 +00:00
|
|
|
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
|
|
|
|
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
|
|
|
|
LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
|
2002-10-29 10:18:00 +00:00
|
|
|
.endif
|
|
|
|
|
2002-11-06 22:54:58 +00:00
|
|
|
NOLINT= true
|
2000-02-24 17:00:55 +00:00
|
|
|
|
2004-01-08 11:41:02 +00:00
|
|
|
DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
|
|
|
|
LDADD+= -lcrypto -lcrypt
|
2002-02-08 13:42:58 +00:00
|
|
|
|
2000-02-24 17:00:55 +00:00
|
|
|
.include <bsd.lib.mk>
|
2001-03-26 14:53:33 +00:00
|
|
|
|
2002-11-06 22:54:58 +00:00
|
|
|
.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat
|