1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 302182 2016-06-24 23:22:42Z gjb $
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 \
--- 25 unchanged lines hidden (view full) ---
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
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}
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 \
--- 25 unchanged lines hidden (view full) ---
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
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}