aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rlogin/Makefile
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-07-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-07-01 08:00:00 +0000
commit5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch)
treee779b5a6edddbb949b7990751b12d6f25304ba86 /usr.bin/rlogin/Makefile
parenta16f65c7d117419bd266c28a1901ef129a337569 (diff)
This commit was manufactured to restore the state of the 1.1.5.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'usr.bin/rlogin/Makefile')
-rw-r--r--usr.bin/rlogin/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/usr.bin/rlogin/Makefile b/usr.bin/rlogin/Makefile
index c4da477ed0d8..465ef8abca55 100644
--- a/usr.bin/rlogin/Makefile
+++ b/usr.bin/rlogin/Makefile
@@ -1,14 +1,19 @@
-# @(#)Makefile 5.6 (Berkeley) 9/27/90
+# $Id: Makefile,v 1.6 1994/05/03 19:20:35 wollman Exp $
+# From: @(#)Makefile 5.6 (Berkeley) 9/27/90
PROG= rlogin
-SRCS= rlogin.c
+SRCS= rlogin.c krcmd.c kcmd.c
BINOWN= root
BINMODE=4555
-.if exists(/usr/lib/libcrypt.a)
-#CFLAGS+=-DCRYPT -DKERBEROS
-DPADD+= ${LIBCRYPT} #${LIBKRB}
-LDADD+= -lcrypt #-lkrb
+.if exists(${DESTDIR}/usr/lib/libcrypt.a)
+DPADD+= ${LIBCRYPT}
+LDADD+= -lcrypt
+.endif
+.if exists(${DESTDIR}/usr/lib/libkrb.a)
+DPADD+= ${LIBKRB} ${LIBDES}
+LDADD+= -lkrb -ldes
+CFLAGS+= -DKERBEROS -DCRYPT
.endif
.include <bsd.prog.mk>