Deleted Added
full compact
Makefile (291198) Makefile (291941)
1# $FreeBSD: head/secure/usr.bin/ssh/Makefile 291198 2015-11-23 12:48:13Z des $
1# $FreeBSD: head/secure/usr.bin/ssh/Makefile 291941 2015-12-07 16:08:09Z bdrewery $
2
3.include <src.opts.mk>
4
5PROG= ssh
2
3.include <src.opts.mk>
4
5PROG= ssh
6CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
7LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
8MAN= ssh.1 ssh_config.5
9MLINKS= ssh.1 slogin.1
10
11SRCS= 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
16SRCS+= gss-genr.c
17
6LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
7MAN= ssh.1 ssh_config.5
8MLINKS= ssh.1 slogin.1
9
10SRCS= ssh.c readconf.c clientloop.c sshtty.c \
11 sshconnect.c sshconnect1.c sshconnect2.c mux.c \
12 roaming_common.c roaming_client.c
13
14# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
15SRCS+= gss-genr.c
16
17CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
18SRCS+= ssh_namespace.h
19
18LIBADD= ssh
19
20.if ${MK_LDNS} != "no"
21CFLAGS+= -DHAVE_LDNS=1
22.endif
23
24.if ${MK_KERBEROS_SUPPORT} != "no"
25CFLAGS+= -include krb5_config.h
20LIBADD= ssh
21
22.if ${MK_LDNS} != "no"
23CFLAGS+= -DHAVE_LDNS=1
24.endif
25
26.if ${MK_KERBEROS_SUPPORT} != "no"
27CFLAGS+= -include krb5_config.h
28SRCS+= krb5_config.h
26LIBADD+= gssapi
27.endif
28
29LIBADD+= crypto
30
31.if defined(LOCALBASE)
32CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
33.endif
34
35.include <bsd.prog.mk>
36
37.PATH: ${SSHDIR}
29LIBADD+= gssapi
30.endif
31
32LIBADD+= crypto
33
34.if defined(LOCALBASE)
35CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
36.endif
37
38.include <bsd.prog.mk>
39
40.PATH: ${SSHDIR}
38
39${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
40.if ${MK_KERBEROS_SUPPORT} != "no"
41${OBJS} ${POBJS} ${SOBJS}: krb5_config.h
42.endif