1 2.include <src.opts.mk> 3.include "${SRCTOP}/secure/ssh.mk" 4 5CONFS= ssh_config 6CONFSDIR= /etc/ssh 7PROG= ssh 8LINKS= ${BINDIR}/ssh ${BINDIR}/slogin 9MAN= ssh.1 ssh_config.5 10MLINKS= ssh.1 slogin.1 11PACKAGE= ssh 12 13SRCS= ssh.c readconf.c clientloop.c sshtty.c \ 14 sshconnect.c sshconnect2.c mux.c 15 16# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile 17SRCS+= gss-genr.c 18 19LIBADD= ssh 20 21.if ${MK_LDNS} != "no" 22CFLAGS+= -DHAVE_LDNS=1 23.endif 24 25.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no" 26CFLAGS+= -include krb5_config.h 27SRCS+= krb5_config.h 28LIBADD+= gssapi 29.endif 30 31LIBADD+= crypto 32 33.if defined(LOCALBASE) 34CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" 35.endif 36 37.include <bsd.prog.mk> 38 39.PATH: ${SSHDIR} 40