xref: /freebsd/secure/ssh.mk (revision bf46aec4b29a72bcaaa9f1b2fc446ee299f5a6fd)
1# Common Make variables for OpenSSH
2
3.include <src.opts.mk>
4
5SSHDIR=		${SRCTOP}/crypto/openssh
6
7CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
8
9.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no"
10CFLAGS+= -include krb5_config.h
11.endif
12
13CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE:U/usr/local}/bin/xauth\"
14
15.if ${MK_LDNS} != "no"
16CFLAGS+= -DHAVE_LDNS=1
17.endif
18
19.if ${MK_TCP_WRAPPERS} != "no"
20CFLAGS+= -DLIBWRAP=1
21.endif
22
23.if ${MK_USB} != "no"
24# Built-in security key support
25CFLAGS+= -include sk_config.h
26.endif
27