Remove all support for legacy NOFOO and NO_FOO build options.
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
FILES= \
|
FILES= \
|
||||||
bsd.README \
|
bsd.README \
|
||||||
bsd.arch.inc.mk \
|
bsd.arch.inc.mk \
|
||||||
bsd.compat.mk \
|
|
||||||
bsd.compiler.mk \
|
bsd.compiler.mk \
|
||||||
bsd.cpu.mk \
|
bsd.cpu.mk \
|
||||||
bsd.crunchgen.mk \
|
bsd.crunchgen.mk \
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -9,7 +9,6 @@ __<bsd.init.mk>__:
|
|||||||
.if exists(${.CURDIR}/../Makefile.inc)
|
.if exists(${.CURDIR}/../Makefile.inc)
|
||||||
.include "${.CURDIR}/../Makefile.inc"
|
.include "${.CURDIR}/../Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
.include <bsd.compat.mk>
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
.MAIN: all
|
.MAIN: all
|
||||||
.endif # !target(__<bsd.init.mk>__)
|
.endif # !target(__<bsd.init.mk>__)
|
||||||
|
|||||||
@@ -215,80 +215,6 @@ WITHOUT_${var}=
|
|||||||
.endif
|
.endif
|
||||||
.endfor
|
.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.
|
# Older-style variables that enabled behaviour when set.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -346,5 +346,4 @@ OBJFORMAT?= elf
|
|||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.compat.mk>
|
|
||||||
.include <bsd.cpu.mk>
|
.include <bsd.cpu.mk>
|
||||||
|
|||||||
Reference in New Issue
Block a user