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