1# $FreeBSD: head/secure/usr.sbin/sshd/Makefile 301551 2016-06-07 16:18:09Z lidl $
| 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 \ 10 auth-chall.c auth2-chall.c groupaccess.c \ 11 auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \ 12 auth2-none.c auth2-passwd.c auth2-pubkey.c \ 13 monitor_mm.c monitor.c monitor_wrap.c auth-krb5.c \ 14 auth2-gss.c gss-serv.c gss-serv-krb5.c \ 15 loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \ 16 sftp-server.c sftp-common.c \ 17 sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c \ 18 sandbox-seccomp-filter.c sandbox-capsicum.c sandbox-pledge.c \ 19 sandbox-solaris.c 20PACKAGE= ssh 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 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
| 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 \ 10 auth-chall.c auth2-chall.c groupaccess.c \ 11 auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \ 12 auth2-none.c auth2-passwd.c auth2-pubkey.c \ 13 monitor_mm.c monitor.c monitor_wrap.c auth-krb5.c \ 14 auth2-gss.c gss-serv.c gss-serv-krb5.c \ 15 loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \ 16 sftp-server.c sftp-common.c \ 17 sandbox-null.c sandbox-rlimit.c sandbox-systrace.c sandbox-darwin.c \ 18 sandbox-seccomp-filter.c sandbox-capsicum.c sandbox-pledge.c \ 19 sandbox-solaris.c 20PACKAGE= ssh 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 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_BLACKLIST_SUPPORT} != "no" 44CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include 45SRCS+= blacklist.c 46LIBADD+= blacklist 47LDFLAGS+=-L${LIBBLACKLISTDIR} 48.endif 49
| |
50.if ${MK_KERBEROS_SUPPORT} != "no" 51CFLAGS+= -include krb5_config.h 52SRCS+= krb5_config.h 53LIBADD+= gssapi_krb5 gssapi krb5 54.endif 55 56LIBADD+= crypto 57 58.if defined(LOCALBASE) 59CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" 60.endif 61 62.include <bsd.prog.mk> 63 64.PATH: ${SSHDIR}
| 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}
|