#	$NetBSD: Makefile,v 1.4 2005/03/09 03:11:21 christos Exp $

.include <bsd.own.mk>

LIB=	ssh
SRCS=	authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
	cipher.c cipher-3des1.c cipher-ctr.c cipher-bf1.c cleanup.c \
	compat.c compress.c crc32.c deattack.c dns.c fatal.c \
	hostfile.c log.c match.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 \
	monitor_fdpass.c
SRCS+=	random.c
SRCS+=	readpassphrase.c getpeereid.c getrrsetbyname.c

WARNS=	1

SSHDIST=	${NETBSDSRCDIR}/crypto/dist/ssh
CPPFLAGS+=	-I${SSHDIST}
.PATH:		${SSHDIST}


LIBDPLIBS=	crypto	${.CURDIR}/../libcrypto \
		crypt	${.CURDIR}/../libcrypt \
		z	${.CURDIR}/../libz

.include <bsd.lib.mk>
