summaryrefslogtreecommitdiff
path: root/lib/libssh/Makefile
blob: 4dceb3d00ab0e11f2fbb90645727cccc618ace7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#	$NetBSD: Makefile,v 1.10 2007/05/28 12:06:21 tls Exp $

.include <bsd.own.mk>

LIB=	ssh
SRCS=	authfd.c authfile.c bufaux.c bufbn.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 md-sha256.c nchan.c packet.c readpass.c \
	rsa.c strtonum.c ttymodes.c xmalloc.c atomicio.c \
	key.c dispatch.c kex.c mac.c uuencode.c misc.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 uidswap.c
SRCS+=	random.c
SRCS+=	readpassphrase.c getpeereid.c getrrsetbyname.c
COPTS.monitor_fdpass.c = -Wno-stack-protector

WARNS=	1

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


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

.if ${HAVE_GCC} == 4
.for f in dns channels hostfile
COPTS.${f}.c+=	-Wno-pointer-sign
.endfor
.endif

.include <bsd.lib.mk>