xref: /freebsd/secure/usr.sbin/sshd/Makefile (revision dc5ba6b8b4f028eb944434be82838d272330f26f)
1.include <src.opts.mk>
2.include "${SRCTOP}/secure/ssh.mk"
3
4CONFS=	moduli sshd_config
5CONFSDIR=	/etc/ssh
6PROG=	sshd
7SRCS=	sshd.c \
8	platform-listen.c \
9	servconf.c sshpty.c srclimit.c groupaccess.c auth2-methods.c \
10	dns.c fatal.c compat.c utf8.c authfd.c canohost.c \
11	$(SKSRCS)
12PACKAGE=	ssh
13
14MAN=	sshd.8 sshd_config.5
15
16# Don't rebuild based on moduli.c
17moduli: .MADE
18
19LIBADD=	ssh util
20
21.if ${MK_KERBEROS_SUPPORT} != "no"
22.if ${MK_MITKRB5} == "no"
23LIBADD+=	gssapi_krb5 gssapi krb5
24.else
25LIBADD+=	gssapi_krb5 krb5
26.endif
27.endif
28
29.if ${MK_TCP_WRAPPERS} != "no"
30LIBADD+=	wrap
31.endif
32
33LIBADD+=	crypto
34
35.include <bsd.prog.mk>
36
37.PATH:	${SSHDIR}
38