1 # $NetBSD: Makefile,v 1.30 2009/02/17 04:03:18 mrg Exp $
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
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
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}
34 .
include <bsd.prog.mk
>