Home | History | Annotate | Line # | Download | only in lib
Makefile revision 1.10.2.1
      1 #	$NetBSD: Makefile,v 1.10.2.1 2012/10/30 18:46:22 yamt 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 log.c \
     41 mac.c \
     42 match.c \
     43 misc.c \
     44 monitor_fdpass.c \
     45 msg.c \
     46 nchan.c \
     47 packet.c \
     48 progressmeter.c \
     49 readpass.c \
     50 roaming_dummy.c \
     51 rsa.c \
     52 schnorr.c \
     53 ssh-dss.c \
     54 ssh-ecdsa.c \
     55 ssh-pkcs11.c \
     56 ssh-rsa.c \
     57 ttymodes.c \
     58 uidswap.c \
     59 uuencode.c \
     60 xmalloc.c
     61 
     62 #	umac.c
     63 SRCS+=	fmt_scaled.c strtonum.c
     64 SRCS+=	readpassphrase.c getpeereid.c getrrsetbyname.c
     65 COPTS.monitor_fdpass.c = -Wno-stack-protector
     66 
     67 SSHDIST=	${NETBSDSRCDIR}/crypto/external/bsd/openssh/dist
     68 CPPFLAGS+=	-I${SSHDIST}
     69 .PATH:		${SSHDIST}
     70 
     71 LIBDPLIBS+=	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
     76 COPTS.${f}.c+=	-Wno-pointer-sign
     77 .endfor
     78 
     79 # XXX
     80 COPTS.channels.c+=	-fno-strict-aliasing
     81 
     82 .include <bsd.lib.mk>
     83