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