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