Update files for OpenSSH-6.7p1 import.
[dragonfly.git] / secure / usr.sbin / sshd / Makefile
1 # $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5.2.9 2003/02/03 17:31:12 des Exp $
2
3 PROG=   sshd
4 SRCS=   sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
5         audit.c audit-bsm.c platform.c \
6         sshpty.c sshlogin.c servconf.c serverloop.c \
7         auth.c auth1.c auth2.c auth-options.c session.c \
8         auth-chall.c auth2-chall.c groupaccess.c \
9         auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
10         auth2-none.c auth2-passwd.c auth2-pubkey.c \
11         monitor_mm.c monitor.c monitor_wrap.c kexdhs.c kexgexs.c kexecdhs.c \
12         kexc25519s.c auth-krb5.c \
13         auth2-gss.c gss-serv.c gss-serv-krb5.c \
14         loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \
15         sftp-server.c sftp-common.c \
16         roaming_common.c roaming_serv.c \
17         sandbox-rlimit.c
18
19 WARNS?= 0
20
21 # Portability layer
22 SRCS+=  fmt_scaled.c xmmap.c
23 MAN=    sshd.8 sshd_config.5
24
25 # Passwd routine
26 SRCS+=  auth-passwd-freebsd.c
27 CFLAGS+=-DCUSTOM_SYS_AUTH_PASSWD
28
29 # Flags for PAM
30 CFLAGS+=-DUSE_PAM -DHAVE_SECURITY_PAM_APPL_H \
31         -DHAVE_PAM_GETENVLIST -DHAVE_PAM_PUTENV
32
33 LDADD+= -lopie
34 DPADD+= ${LIBOPIE}
35
36 XAUTH_PATH?=    /usr/local/bin/xauth
37 CFLAGS+= -DXAUTH_PATH=\"${XAUTH_PATH}\"
38
39 LDADD+= -lcrypt -lwrap ${MINUSLPAM}
40 DPADD+= ${LIBCRYPT} ${LIBWRAP} ${LIBPAM}
41
42 .include "../../Makefile.ssh.common"
43 .include <bsd.prog.mk>