2006-11-09 23:45:01 +03:00
|
|
|
# $NetBSD: Makefile,v 1.9 2006/11/09 20:45:01 christos Exp $
|
2005-01-03 09:00:12 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= ssh
|
2006-09-29 01:24:33 +04:00
|
|
|
SRCS= authfd.c authfile.c bufaux.c bufbn.c buffer.c canohost.c channels.c \
|
2005-02-13 09:06:48 +03:00
|
|
|
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 \
|
2006-09-29 01:24:33 +04:00
|
|
|
hostfile.c log.c match.c md-sha256.c nchan.c packet.c readpass.c \
|
2006-02-05 01:34:16 +03:00
|
|
|
rsa.c strtonum.c ttymodes.c xmalloc.c atomicio.c \
|
2005-01-03 09:00:12 +03:00
|
|
|
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
|
2005-04-23 20:53:47 +04:00
|
|
|
ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
|
2005-02-13 09:06:48 +03:00
|
|
|
kexdhc.c kexgexc.c scard.c msg.c progressmeter.c \
|
2005-04-23 20:53:47 +04:00
|
|
|
monitor_fdpass.c uidswap.c
|
2005-01-03 09:00:12 +03:00
|
|
|
SRCS+= random.c
|
2005-02-13 09:06:48 +03:00
|
|
|
SRCS+= readpassphrase.c getpeereid.c getrrsetbyname.c
|
2006-11-09 23:45:01 +03:00
|
|
|
COPTS.monitor_fdpass.c = -Wno-stack-protector
|
2005-01-03 09:00:12 +03:00
|
|
|
|
|
|
|
WARNS= 1
|
|
|
|
|
|
|
|
SSHDIST= ${NETBSDSRCDIR}/crypto/dist/ssh
|
2005-02-14 01:42:24 +03:00
|
|
|
CPPFLAGS+= -I${SSHDIST}
|
2005-01-03 09:00:12 +03:00
|
|
|
.PATH: ${SSHDIST}
|
|
|
|
|
|
|
|
|
|
|
|
LIBDPLIBS= crypto ${.CURDIR}/../libcrypto \
|
2005-03-09 06:11:21 +03:00
|
|
|
crypt ${.CURDIR}/../libcrypt \
|
2005-01-03 09:00:12 +03:00
|
|
|
z ${.CURDIR}/../libz
|
|
|
|
|
2006-05-12 03:16:28 +04:00
|
|
|
.if ${HAVE_GCC} == 4
|
|
|
|
.for f in dns channels hostfile
|
|
|
|
COPTS.${f}.c+= -Wno-pointer-sign
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2005-01-03 09:00:12 +03:00
|
|
|
.include <bsd.lib.mk>
|