HardenedBSD/share/mk/bsd.compat.mk
Tom Rhodes c71158d453 Wrap BSD r* commands in NO_RCMDS.
Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.

Discussed with: ru, nectar
2005-03-02 11:53:22 +00:00

43 lines
882 B
Makefile

# $FreeBSD$
.if !defined(BURN_BRIDGES)
.for oldnew in \
NOATM:NO_ATM \
NOCLEANDIR:NO_CLEANDIR \
NOCRYPT:NO_CRYPT \
NODOCCOMPRESS:NO_DOCCOMPRESS \
NOEXTRADEPEND:NO_EXTRADEPEND \
NOFORTH:NO_FORTH \
NOFSCHG:NO_FSCHG \
NOGAMES:NO_GAMES \
NOHTML:NO_HTML \
NOINET6:NO_INET6 \
NOINFO:NO_INFO \
NOINFOCOMPRESS:NO_INFOCOMPRESS \
NOINSTALLLIB:NO_INSTALLLIB \
NOLIBC_R:NO_LIBC_R \
NOLIBPTHREAD:NO_LIBPTHREAD \
NOLIBTHR:NO_LIBTHR \
NOLINT:NO_LINT \
NOMAN:NO_MAN \
NOMANCOMPRESS:NO_MANCOMPRESS \
NOMLINKS:NO_MLINKS \
NOOBJ:NO_OBJ \
NOPAM:NO_PAM \
NOPIC:NO_PIC \
NOPROFILE:NO_PROFILE \
NO_RCMNDS:NO_RCMDS \
NOSHARE:NO_SHARE \
NOSHARED:NO_SHARED \
NOTAGS:NO_TAGS
.for old in ${oldnew:C/:.*//}
.for new in ${oldnew:C/.*://}
.if defined(${old}) && !defined(${new})
.warning ${old} is deprecated in favor of ${new}
${new}= ${${old}}
.endif
.endfor
.endfor
.endfor
.endif