kernel - Order ipfw3 module before other ipfw3_* modules
[dragonfly.git] / usr.sbin / sshd / Makefile
blob009e1717fe065f085cc40c4a2b93dcd71a628fbf
1 # $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5.2.9 2003/02/03 17:31:12 des Exp $
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 auth-krb5.c \
12 auth2-gss.c gss-serv.c gss-serv-krb5.c \
13 loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \
14 sftp-server.c sftp-common.c \
15 sandbox-rlimit.c
17 WARNS?= 3
19 # Portability layer
20 SRCS+= fmt_scaled.c xmmap.c
21 MAN= sshd.8 sshd_config.5
23 # Passwd routine
24 SRCS+= auth-passwd-freebsd.c
25 CFLAGS+=-DCUSTOM_SYS_AUTH_PASSWD
27 # Flags for PAM
28 CFLAGS+=-DUSE_PAM -DHAVE_SECURITY_PAM_APPL_H \
29 -DHAVE_PAM_GETENVLIST -DHAVE_PAM_PUTENV
31 LDADD+= -lopie
32 DPADD+= ${LIBOPIE}
34 LDADD+= -lcrypt -lwrap ${MINUSLPAM}
35 DPADD+= ${LIBCRYPT} ${LIBWRAP} ${LIBPAM}
37 .include "../../Makefile.ssh.common"
38 .include <bsd.prog.mk>