summaryrefslogtreecommitdiffstats
path: root/libexec/rshd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rshd')
-rw-r--r--libexec/rshd/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile
index 47b80f2..ddf08e1 100644
--- a/libexec/rshd/Makefile
+++ b/libexec/rshd/Makefile
@@ -1,11 +1,15 @@
-# @(#)Makefile 8.1 (Berkeley) 6/4/93
+# From: @(#)Makefile 8.1 (Berkeley) 6/4/93
+# $Id$
PROG= rshd
-#CFLAGS+=-DKERBEROS -DCRYPT
-SRCS= rshd.c #des_rw.c
+SRCS= rshd.c
MAN8= rshd.8
-#DPADD= ${LIBKRB} ${LIBDES}
-#LDADD= -lkrb -ldes
-.PATH: ${.CURDIR}/../../usr.bin/rlogin
+
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
+ || defined(MAKE_EBONES))
+CFLAGS+=-DKERBEROS -DCRYPT
+DPADD= ${LIBKRB} ${LIBDES}
+LDADD= -lkrb -ldes
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud