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

View File

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

View File

@ -121,11 +121,9 @@ SUBDIR= apply \
quota \ quota \
renice \ renice \
rev \ rev \
rlogin \
rpcgen \ rpcgen \
rpcinfo \ rpcinfo \
rs \ rs \
rsh \
rup \ rup \
ruptime \ ruptime \
rusers \ rusers \
@ -230,6 +228,11 @@ SUBDIR+=ar \
SUBDIR+=uac SUBDIR+=uac
.endif .endif
.if !defined(NO_RCMNDS)
SUBDIR+=rlogin \
rsh
.endif
# Things which don't compile on new platforms yet: # Things which don't compile on new platforms yet:
.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "ia64" .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "ia64"
SUBDIR+=xlint SUBDIR+=xlint