From 283073b4e6227e899f55859974eb35930dce9af8 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Thu, 9 Mar 2000 14:54:00 +0000 Subject: [PATCH] Make LOGIN_CAP work properly. Submitted by: ache --- secure/usr.sbin/sshd/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile index 8ac914d68f10..62ec36287923 100644 --- a/secure/usr.sbin/sshd/Makefile +++ b/secure/usr.sbin/sshd/Makefile @@ -2,6 +2,7 @@ # SSHSRC= ${.CURDIR}/../../../crypto/openssh +LOGINSRC= ${.CURDIR}/../../../usr.bin/login PROG= sshd BINOWN= root @@ -9,13 +10,14 @@ BINMODE=555 MAN8= sshd.8 SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ - pty.c log-server.c login.c servconf.c serverloop.c + pty.c log-server.c login.c servconf.c serverloop.c \ + login_access.c -CFLAGS= -DLIBWRAP +CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -I${LOGINSRC} .include -.PATH: ${SSHSRC} +.PATH: ${SSHSRC} ${LOGINSRC} .if defined(MAKE_KERBEROS4) && \ ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))