No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / external / bsd / openssh / lib / Makefile
blobce3fb7b7dbcdf42b14efece8f8d174fe44572a64
1 # $NetBSD: Makefile,v 1.3 2009/08/03 20:56:25 joerg Exp $
3 .include <bsd.own.mk>
5 LIB= ssh
6 SRCS= authfd.c authfile.c bufaux.c bufbn.c buffer.c canohost.c channels.c \
7 cipher.c cipher-3des1.c cipher-ctr.c cipher-ctr-mt.c cipher-bf1.c \
8 cleanup.c compat.c compress.c crc32.c deattack.c dns.c fatal.c \
9 hostfile.c log.c match.c nchan.c packet.c readpass.c \
10 rsa.c strtonum.c ttymodes.c xmalloc.c atomicio.c \
11 key.c dispatch.c kex.c mac.c uuencode.c misc.c \
12 ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
13 kexdhc.c kexgexc.c scard.c msg.c progressmeter.c \
14 monitor_fdpass.c uidswap.c addrmatch.c roaming_common.c
15 # umac.c
16 SRCS+= random.c
17 SRCS+= readpassphrase.c getpeereid.c getrrsetbyname.c
18 COPTS.monitor_fdpass.c = -Wno-stack-protector
20 WARNS= 1
22 SSHDIST= ${NETBSDSRCDIR}/crypto/external/bsd/openssh/dist
23 CPPFLAGS+= -I${SSHDIST}
24 .PATH: ${SSHDIST}
26 LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto \
27 crypt ${NETBSDSRCDIR}/lib/libcrypt \
28 z ${NETBSDSRCDIR}/lib/libz
30 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
31 .for f in dns channels hostfile
32 COPTS.${f}.c+= -Wno-pointer-sign
33 .endfor
34 .endif
36 .include <bsd.lib.mk>