summaryrefslogtreecommitdiffstats
path: root/bin/rcp/Makefile
diff options
context:
space:
mode:
authorcsgr <csgr@FreeBSD.org>1994-09-29 13:06:54 +0000
committercsgr <csgr@FreeBSD.org>1994-09-29 13:06:54 +0000
commite9bb220eefc37eecee5de118173282f633485000 (patch)
treed7768b90fa6e2ae30b1a6c769ed4e2de71513bb8 /bin/rcp/Makefile
parent44fa06583856e697515ef16cc1a96b4e0c280303 (diff)
downloadFreeBSD-src-e9bb220eefc37eecee5de118173282f633485000.zip
FreeBSD-src-e9bb220eefc37eecee5de118173282f633485000.tar.gz
First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile, and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions, and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY DEFINE ONE OF THESE. - Make Makefiles kerberos-aware.
Diffstat (limited to 'bin/rcp/Makefile')
-rw-r--r--bin/rcp/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile
index ff9840c..08658fc 100644
--- a/bin/rcp/Makefile
+++ b/bin/rcp/Makefile
@@ -1,14 +1,22 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
-# $Id$
+# $Id: Makefile,v 1.3 1994/09/24 02:56:53 davidg Exp $
PROG= rcp
-SRCS= rcp.c util.c #kcmd.c krcmd.c
-#CFLAGS+=-DKERBEROS -DCRYPT
-#DPADD= ${LIBKRB} ${LIBDES}
-#LDADD= -lkrb -ldes
+SRCS= rcp.c util.c
+
+
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
+ || defined(MAKE_EBONES))
+SRCS+= kcmd.c krcmd.c
+CFLAGS+=-DKERBEROS -DCRYPT
+DPADD= ${LIBKRB} ${LIBDES}
+LDADD= -lkrb -ldes
+.endif
+
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
+
.PATH: ${.CURDIR}/../../usr.bin/rlogin
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud