No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / external / bsd / openssh / bin / ssh / Makefile
blobd508c8dbefde77c32f26fd92f9612cf159f13c6d
1 # $NetBSD: Makefile,v 1.30 2009/02/17 04:03:18 mrg Exp $
3 .include <bsd.own.mk>
5 BINDIR = /usr/bin
7 PROG= ssh
8 SRCS= ssh.c readconf.c clientloop.c sshtty.c \
9 sshconnect.c sshconnect1.c sshconnect2.c mux.c
11 COPTS.sshconnect1.c= -fno-strict-aliasing
12 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
13 COPTS.sshconnect2.c= -Wno-pointer-sign
14 .endif
16 LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
17 MAN= ssh.1 ssh_config.5
18 MLINKS= ssh.1 slogin.1
20 .if (${USE_KERBEROS} != "no")
22 # this is not entirely true, libgssapi might be independent of krb5
23 SRCS += gss-genr.c
24 LDADD+= -lgssapi -lheimntlm
25 DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM}
27 LDADD+= -lkrb5 -lhx509 -lkafs -lasn1 -lcrypt
28 DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBKAFS} ${LIBASN1} ${LIBCRYPT}
30 LDADD+= -lcom_err -lroken -lutil
31 DPADD+= ${LIBCOM_ERR} ${LIBROKEN} ${LIBUTIL}
32 .endif
34 .include <bsd.prog.mk>