summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2002-04-09 18:25:44 +0000
committerbmilekic <bmilekic@FreeBSD.org>2002-04-09 18:25:44 +0000
commit890c5794a5b33627b1d76c4e353bf675d44e3eee (patch)
tree8fe299593d024fbca29e318aacd8e79c29467d29 /usr.bin
parentd1c813d025208b72e3c54344d68f62174a27936d (diff)
downloadFreeBSD-src-890c5794a5b33627b1d76c4e353bf675d44e3eee.zip
FreeBSD-src-890c5794a5b33627b1d76c4e353bf675d44e3eee.tar.gz
Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,
and document in share/examples/etc/make.conf Submitted by: Aleksandar Simic <asimic@dsl.pipex.com> MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 935fd98..18b7dc5 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -121,11 +121,9 @@ SUBDIR= apply \
quota \
renice \
rev \
- rlogin \
rpcgen \
rpcinfo \
rs \
- rsh \
rup \
ruptime \
rusers \
@@ -230,6 +228,11 @@ SUBDIR+=ar \
SUBDIR+=uac
.endif
+.if !defined(NO_RCMNDS)
+SUBDIR+=rlogin \
+ rsh
+.endif
+
# Things which don't compile on new platforms yet:
.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "ia64"
SUBDIR+=xlint
OpenPOWER on IntegriCloud