1# $NetBSD: Makefile,v 1.8 2011/02/05 16:01:57 christos Exp $ 2 3.include <bsd.own.mk> 4 5LIB= ssh 6SRCS= authfd.c authfile.c bufaux.c bufbn.c buffer.c canohost.c channels.c \ 7 cipher.c cipher-3des1.c cipher-bf1.c cipher-ctr.c \ 8 cleanup.c compat.c compress.c crc32.c deattack.c fatal.c \ 9 hostfile.c log.c match.c nchan.c packet.c readpass.c \ 10 rsa.c ttymodes.c xmalloc.c atomicio.c \ 11 key.c dispatch.c kex.c mac.c uidswap.c uuencode.c misc.c \ 12 ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \ 13 kexdhc.c kexgexc.c msg.c progressmeter.c dns.c \ 14 monitor_fdpass.c addrmatch.c schnorr.c jpake.c ssh-pkcs11.c \ 15 roaming_dummy.c 16# umac.c 17SRCS+= fmt_scaled.c strtonum.c 18SRCS+= readpassphrase.c getpeereid.c getrrsetbyname.c 19COPTS.monitor_fdpass.c = -Wno-stack-protector 20 21WARNS= 1 22 23SSHDIST= ${NETBSDSRCDIR}/crypto/external/bsd/openssh/dist 24CPPFLAGS+= -I${SSHDIST} 25.PATH: ${SSHDIST} 26 27LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto \ 28 crypt ${NETBSDSRCDIR}/lib/libcrypt \ 29 z ${NETBSDSRCDIR}/lib/libz 30 31.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC) 32.for f in dns channels hostfile ssh-pkcs11 33COPTS.${f}.c+= -Wno-pointer-sign 34.endfor 35.endif 36 37.include <bsd.lib.mk> 38