summaryrefslogtreecommitdiffstats
path: root/libexec/rshd/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-09-19 22:05:32 +0000
committermarkm <markm@FreeBSD.org>1999-09-19 22:05:32 +0000
commit0b2fe68756570c146bda89ff69a3d209aac9f8be (patch)
tree8d4295813f9b149f83950d8b50c74d07c35aa987 /libexec/rshd/Makefile
parentfc84b1a733b5c4774a2dcd8035e4f71948716a55 (diff)
downloadFreeBSD-src-0b2fe68756570c146bda89ff69a3d209aac9f8be.zip
FreeBSD-src-0b2fe68756570c146bda89ff69a3d209aac9f8be.tar.gz
Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.
Diffstat (limited to 'libexec/rshd/Makefile')
-rw-r--r--libexec/rshd/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile
index cf3acf3..2005122 100644
--- a/libexec/rshd/Makefile
+++ b/libexec/rshd/Makefile
@@ -5,11 +5,13 @@ PROG= rshd
SRCS= rshd.c
MAN8= rshd.8
-.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
-CFLAGS+=-DKERBEROS -DCRYPT
-DPADD= ${LIBKRB} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR}
-LDADD= -lkrb -ldes -lcrypt -lcom_err
-DISTRIBUTION= krb
+.if defined(NOPAM)
+CFLAGS+= -DNO_PAM
+.else
+#CFLAGS+= -DCRYPT
+SRCS+= auth_pam.c
+DPADD+= ${LIBPAM}
+LDADD+= ${MINUSLPAM}
.endif
# For login_cap handling
@@ -18,3 +20,5 @@ DPADD+= ${LIBUTIL}
LDADD+= -lutil
.include <bsd.prog.mk>
+
+.PATH: ${.CURDIR}/../rlogind
OpenPOWER on IntegriCloud