35 lines
967 B
Makefile
35 lines
967 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= ssh
|
|
SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
|
|
cipher.c cipher-aes.c cipher-bf1.c cipher-ctr.c cipher-3des1.c \
|
|
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 dns.c \
|
|
entropy.c scard-opensc.c gss-genr.c
|
|
# Portability layer
|
|
SRCS+= bsd-misc.c vis.c xcrypt.c xmmap.c
|
|
# FreeBSD additions
|
|
SRCS+= version.c
|
|
|
|
.if defined(COMPAT_GETADDRINFO)
|
|
SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c
|
|
.endif
|
|
|
|
CFLAGS+= -I${SSHDIR}
|
|
.if !defined(NO_KERBEROS)
|
|
CFLAGS+= -DKRB5 -DHEIMDAL
|
|
.endif
|
|
|
|
NOLINT= true
|
|
|
|
DPADD= ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ}
|
|
LDADD= -lcrypto -lcrypt -lz
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat
|