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
This commit is contained in:
Bosko Milekic 2002-04-09 18:25:44 +00:00
parent 74c0361a9d
commit e5f7f97622
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94297
3 changed files with 10 additions and 3 deletions

View File

@ -22,7 +22,6 @@ SUBDIR= cat \
pax \
ps \
pwd \
rcp \
realpath \
rm \
rmdir \
@ -33,6 +32,10 @@ SUBDIR= cat \
sync \
test
.if !defined(NO_RCMNDS)
SUBDIR+=rcp
.endif
.if !defined(NO_TCSH)
SUBDIR+=csh
.endif

View File

@ -116,6 +116,7 @@
#NOSECURE= true # do not build crypto code in secure/ subdir
#NOSHARE= true # do not go into the share subdir
#NOUUCP= true # do not build uucp related programs
#NO_RCMNDS= true # do not build rlogin, rsh & rcp
#
# To build the OpenSSL manpages, uncomment the following. These are not
# built by default because they clobber a number of system manpages with

View File

@ -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