# $FreeBSD: src/secure/usr.sbin/sshd/Makefile,v 1.5.2.9 2003/02/03 17:31:12 des Exp $ # $DragonFly: src/secure/usr.sbin/sshd/Makefile,v 1.15 2008/09/28 03:19:46 pavalos Exp $ # PROG= sshd SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ sshpty.c sshlogin.c servconf.c serverloop.c \ auth.c auth1.c auth2.c auth-options.c session.c \ auth-chall.c auth2-chall.c groupaccess.c \ auth-skey.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \ auth2-none.c auth2-passwd.c auth2-pubkey.c auth2-jpake.c \ monitor_mm.c monitor.c monitor_wrap.c kexdhs.c kexgexs.c \ auth-krb5.c \ auth2-gss.c gss-serv.c gss-serv-krb5.c \ loginrec.c auth-pam.c auth-shadow.c auth-sia.c md5crypt.c \ audit.c audit-bsm.c platform.c sftp-server.c sftp-common.c \ roaming_common.c # Portability layer SRCS+= xmmap.c MAN= sshd.8 sshd_config.5 # Passwd routine SRCS+= auth-passwd-freebsd.c CFLAGS+=-DCUSTOM_SYS_AUTH_PASSWD # Flags for PAM CFLAGS+=-DUSE_PAM -DHAVE_SECURITY_PAM_APPL_H \ -DHAVE_PAM_GETENVLIST -DHAVE_PAM_PUTENV LDADD+= -lopie -lmd DPADD+= ${LIBOPIE} ${LIBMD} .if defined(X11BASE) CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\" .endif LDADD+= -lcrypt -lutil -lz -lwrap ${MINUSLPAM} DPADD+= ${LIBCRYPT} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM} .include "../../Makefile.ssh.common" .include .PATH: ${SSHDIR}/openbsd-compat