aboutsummaryrefslogtreecommitdiff
path: root/libexec/rshd
diff options
context:
space:
mode:
authorGeoff Rehmet <csgr@FreeBSD.org>1994-09-29 13:06:54 +0000
committerGeoff Rehmet <csgr@FreeBSD.org>1994-09-29 13:06:54 +0000
commitc368d11dd254623bef4a57867d286025fc877b7c (patch)
treed7768b90fa6e2ae30b1a6c769ed4e2de71513bb8 /libexec/rshd
parentcf843099195b87fb3ef096f059cd9f72bf871bfd (diff)
Notes
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 47b80f2e731d..ddf08e176483 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>