From edd42017c9fb57f7f712031c3bed28e89cb22d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 10 Jan 2013 22:44:19 +0000 Subject: [PATCH] Remove all support for legacy NOFOO and NO_FOO build options. --- share/mk/Makefile | 1 - share/mk/bsd.compat.mk | 41 ----------------------- share/mk/bsd.init.mk | 1 - share/mk/bsd.own.mk | 74 ------------------------------------------ share/mk/sys.mk | 1 - 5 files changed, 118 deletions(-) delete mode 100644 share/mk/bsd.compat.mk diff --git a/share/mk/Makefile b/share/mk/Makefile index 81f943c234db..2110b26ba3d5 100644 --- a/share/mk/Makefile +++ b/share/mk/Makefile @@ -6,7 +6,6 @@ FILES= \ bsd.README \ bsd.arch.inc.mk \ - bsd.compat.mk \ bsd.compiler.mk \ bsd.cpu.mk \ bsd.crunchgen.mk \ diff --git a/share/mk/bsd.compat.mk b/share/mk/bsd.compat.mk deleted file mode 100644 index 6a86871d1323..000000000000 --- a/share/mk/bsd.compat.mk +++ /dev/null @@ -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 diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk index 72a6de0ef342..f5f4c66cfffc 100644 --- a/share/mk/bsd.init.mk +++ b/share/mk/bsd.init.mk @@ -9,7 +9,6 @@ ____: .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" .endif -.include .include .MAIN: all .endif # !target(____) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index bb99388760c6..24a0f9222fbd 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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. # diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 2f67903cfc85..8b8a5cec71a8 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -346,5 +346,4 @@ OBJFORMAT?= elf .endif -.include .include