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