6 CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
7 LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
8 MAN= ssh.1 ssh_config.5
11 SRCS= ssh.c readconf.c clientloop.c sshtty.c \
12 sshconnect.c sshconnect1.c sshconnect2.c mux.c \
13 roaming_common.c roaming_client.c
15 # gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
18 DPADD= ${LIBSSH} ${LIBUTIL}
22 .if ${MK_LDNS} != "no"
23 CFLAGS+= -DHAVE_LDNS=1
29 .if ${MK_KERBEROS_SUPPORT} != "no"
30 CFLAGS+= -include krb5_config.h
35 .if ${MK_OPENSSH_NONE_CIPHER} != "no"
36 CFLAGS+= -DNONE_CIPHER_ENABLED
39 DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
40 LDADD+= -lcrypt -lcrypto -lz
42 .if defined(LOCALBASE)
43 CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
46 .include <bsd.prog.mk>
50 ${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
51 .if ${MK_KERBEROS_SUPPORT} != "no"
52 ${OBJS} ${POBJS} ${SOBJS}: krb5_config.h