Remove all support for legacy NOFOO and NO_FOO build options.

This commit is contained in:
Dag-Erling Smørgrav 2013-01-10 22:44:19 +00:00
parent e86fef2a0b
commit edd42017c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245269
5 changed files with 0 additions and 118 deletions

View File

@ -6,7 +6,6 @@
FILES= \
bsd.README \
bsd.arch.inc.mk \
bsd.compat.mk \
bsd.compiler.mk \
bsd.cpu.mk \
bsd.crunchgen.mk \

View File

@ -1,41 +0,0 @@
# $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 \
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 favour of ${new}
${new}= ${${old}}
.endif
.endfor
.endfor
.endfor
.endif

View File

@ -9,7 +9,6 @@ __<bsd.init.mk>__:
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.endif
.include <bsd.compat.mk>
.include <bsd.own.mk>
.MAIN: all
.endif # !target(__<bsd.init.mk>__)

View File

@ -215,80 +215,6 @@ WITHOUT_${var}=
.endif
.endfor
#
# Compat NO_* options (same as above, except their use is deprecated).
#
.if !defined(BURN_BRIDGES)
.for var in \
ACPI \
ATM \
AUDIT \
AUTHPF \
BIND \
BIND_DNSSEC \
BIND_ETC \
BIND_LIBS_LWRES \
BIND_MTREE \
BIND_NAMED \
BIND_UTILS \
BLUETOOTH \
BOOT \
CALENDAR \
CPP \
CRYPT \
CVS \
CXX \
DICT \
DYNAMICROOT \
EXAMPLES \
FORTH \
FP_LIBC \
GAMES \
GCOV \
GDB \
GNU \
GPIB \
GROFF \
HTML \
INET6 \
INFO \
IPFILTER \
IPX \
KDUMP \
KERBEROS \
LIB32 \
LIBPTHREAD \
LIBTHR \
LOCALES \
LPR \
MAILWRAPPER \
NETCAT \
NIS \
NLS \
NLS_CATALOGS \
NS_CACHING \
OPENSSH \
OPENSSL \
PAM \
PF \
RCMDS \
RCS \
RESCUE \
SENDMAIL \
SETUID_LOGIN \
SHAREDOCS \
SYSCONS \
TCSH \
TOOLCHAIN \
USB \
WPA_SUPPLICANT_EAPOL
.if defined(NO_${var})
#.warning NO_${var} is deprecated in favour of WITHOUT_${var}=
WITHOUT_${var}=
.endif
.endfor
.endif # !defined(BURN_BRIDGES)
#
# Older-style variables that enabled behaviour when set.
#

View File

@ -346,5 +346,4 @@ OBJFORMAT?= elf
.endif
.include <bsd.compat.mk>
.include <bsd.cpu.mk>