Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.7.2.1
      1 #	$NetBSD: Makefile,v 1.7.2.1 2011/02/08 16:18:32 bouyer Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      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-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
     17 SRCS+=	fmt_scaled.c strtonum.c
     18 SRCS+=	readpassphrase.c getpeereid.c getrrsetbyname.c
     19 COPTS.monitor_fdpass.c = -Wno-stack-protector
     20 
     21 WARNS=	1
     22 
     23 SSHDIST=	${NETBSDSRCDIR}/crypto/external/bsd/openssh/dist
     24 CPPFLAGS+=	-I${SSHDIST}
     25 .PATH:		${SSHDIST}
     26 
     27 LIBDPLIBS+=	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
     33 COPTS.${f}.c+=	-Wno-pointer-sign
     34 .endfor
     35 .endif
     36 
     37 .include <bsd.lib.mk>
     38