1# $NetBSD: Makefile,v 1.13 2013/11/08 19:18:25 christos Exp $ 2 3.include <bsd.own.mk> 4 5LIB= ssh 6SRCS=\ 7addrmatch.c \ 8atomicio.c \ 9authfd.c \ 10authfile.c \ 11bufaux.c \ 12bufbn.c \ 13bufec.c \ 14buffer.c \ 15canohost.c \ 16channels.c \ 17cipher-3des1.c \ 18cipher-bf1.c \ 19cipher.c \ 20cleanup.c \ 21compat.c \ 22compress.c \ 23crc32.c \ 24deattack.c \ 25dh.c \ 26dispatch.c \ 27dns.c \ 28fatal.c \ 29hostfile.c \ 30jpake.c \ 31kex.c \ 32kexdh.c \ 33kexdhc.c \ 34kexecdh.c \ 35kexecdhc.c \ 36kexgex.c \ 37kexgexc.c \ 38key.c \ 39krl.c \ 40log.c \ 41mac.c \ 42match.c \ 43misc.c \ 44monitor_fdpass.c \ 45msg.c \ 46nchan.c \ 47packet.c \ 48progressmeter.c \ 49readpass.c \ 50roaming_dummy.c \ 51rsa.c \ 52schnorr.c \ 53ssh-dss.c \ 54ssh-ecdsa.c \ 55ssh-pkcs11.c \ 56ssh-rsa.c \ 57ttymodes.c \ 58uidswap.c \ 59uuencode.c \ 60xmalloc.c 61 62# umac.c 63SRCS+= fmt_scaled.c strtonum.c 64SRCS+= readpassphrase.c getpeereid.c getrrsetbyname.c 65COPTS.monitor_fdpass.c = -Wno-stack-protector 66 67SSHDIST= ${NETBSDSRCDIR}/crypto/external/bsd/openssh/dist 68CPPFLAGS+= -I${SSHDIST} 69.PATH: ${SSHDIST} 70 71LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto \ 72 crypt ${NETBSDSRCDIR}/lib/libcrypt \ 73 z ${NETBSDSRCDIR}/lib/libz 74 75.for f in dns channels hostfile ssh-pkcs11 76COPTS.${f}.c+= -Wno-pointer-sign 77.endfor 78 79# XXX 80COPTS.channels.c+= -fno-strict-aliasing 81 82.include <bsd.lib.mk> 83