aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/ssh/Makefile
blob: 2b11b783c0073323d439432f687ba4578588d557 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.include <src.opts.mk>
.include "${SRCTOP}/secure/ssh.mk"

CONFS=	ssh_config
CONFSDIR=	/etc/ssh
PROG=	ssh
LINKS=	${BINDIR}/ssh ${BINDIR}/slogin
MAN=	ssh.1 ssh_config.5
MLINKS=	ssh.1 slogin.1
PACKAGE=	ssh

SRCS=	ssh.c readconf.c clientloop.c sshtty.c \
	sshconnect.c sshconnect2.c mux.c $(SKSRCS)

# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
SRCS+=	gss-genr.c

LIBADD=	ssh

.if ${MK_KERBEROS_SUPPORT} != "no"
.if ${MK_MITKRB5} == "no"
LIBADD+=	gssapi
.else
LIBADD+=	gssapi_krb5
.endif
.endif

LIBADD+=	crypto

.include <bsd.prog.mk>

.PATH:	${SSHDIR}