6 LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
7 MAN= ssh.1 ssh_config.5
10 SRCS= ssh.c readconf.c clientloop.c sshtty.c \
11 sshconnect.c sshconnect1.c sshconnect2.c mux.c \
12 roaming_common.c roaming_client.c
14 # gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
17 CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
18 SRCS+= ssh_namespace.h
20 DPADD= ${LIBSSH} ${LIBUTIL}
24 .if ${MK_LDNS} != "no"
25 CFLAGS+= -DHAVE_LDNS=1
31 .if ${MK_KERBEROS_SUPPORT} != "no"
32 CFLAGS+= -include krb5_config.h
38 DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
39 LDADD+= -lcrypt -lcrypto -lz
41 .if defined(LOCALBASE)
42 CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
45 .include <bsd.prog.mk>