Deleted Added
full compact
Makefile (291198) Makefile (291941)
1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 291198 2015-11-23 12:48:13Z des $
1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 291941 2015-12-07 16:08:09Z bdrewery $
2
3.include <src.opts.mk>
4
5PROG= sshd
6SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
7 audit.c audit-bsm.c audit-linux.c platform.c \
8 sshpty.c sshlogin.c servconf.c serverloop.c \
9 auth.c auth1.c auth2.c auth-options.c session.c \

--- 9 unchanged lines hidden (view full) ---

19 sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c \
20 sandbox-seccomp-filter.c sandbox-capsicum.c
21
22# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
23SRCS+= gss-genr.c
24
25MAN= sshd.8 sshd_config.5
26CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
2
3.include <src.opts.mk>
4
5PROG= sshd
6SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
7 audit.c audit-bsm.c audit-linux.c platform.c \
8 sshpty.c sshlogin.c servconf.c serverloop.c \
9 auth.c auth1.c auth2.c auth-options.c session.c \

--- 9 unchanged lines hidden (view full) ---

19 sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c \
20 sandbox-seccomp-filter.c sandbox-capsicum.c
21
22# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
23SRCS+= gss-genr.c
24
25MAN= sshd.8 sshd_config.5
26CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
27SRCS+= ssh_namespace.h
27
28# pam should always happen before ssh here for static linking
29LIBADD= pam ssh util wrap
30
31.if ${MK_LDNS} != "no"
32CFLAGS+= -DHAVE_LDNS=1
33#DPADD+= ${LIBLDNS}
34#LDADD+= -lldns
35.endif
36
37.if ${MK_AUDIT} != "no"
38CFLAGS+= -DUSE_BSM_AUDIT -DHAVE_GETAUDIT_ADDR
39LIBADD+= bsm
40.endif
41
42.if ${MK_KERBEROS_SUPPORT} != "no"
43CFLAGS+= -include krb5_config.h
28
29# pam should always happen before ssh here for static linking
30LIBADD= pam ssh util wrap
31
32.if ${MK_LDNS} != "no"
33CFLAGS+= -DHAVE_LDNS=1
34#DPADD+= ${LIBLDNS}
35#LDADD+= -lldns
36.endif
37
38.if ${MK_AUDIT} != "no"
39CFLAGS+= -DUSE_BSM_AUDIT -DHAVE_GETAUDIT_ADDR
40LIBADD+= bsm
41.endif
42
43.if ${MK_KERBEROS_SUPPORT} != "no"
44CFLAGS+= -include krb5_config.h
45SRCS+= krb5_config.h
44LIBADD+= gssapi_krb5 gssapi krb5
45.endif
46
47LIBADD+= crypto
48
49.if defined(LOCALBASE)
50CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
51.endif
52
53.include <bsd.prog.mk>
54
55.PATH: ${SSHDIR}
46LIBADD+= gssapi_krb5 gssapi krb5
47.endif
48
49LIBADD+= crypto
50
51.if defined(LOCALBASE)
52CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"
53.endif
54
55.include <bsd.prog.mk>
56
57.PATH: ${SSHDIR}
56
57${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
58.if ${MK_KERBEROS_SUPPORT} != "no"
59${OBJS} ${POBJS} ${SOBJS}: krb5_config.h
60.endif