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