summaryrefslogtreecommitdiffstats
path: root/tools/build/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-27 11:22:58 +0000
committerru <ru@FreeBSD.org>2005-02-27 11:22:58 +0000
commit0434ec5fe811d1420d080ae4e36fbdb6cf6d0bc3 (patch)
tree6b6782895333e40cf577e160ec68407ae1dc29a2 /tools/build/Makefile
parent6583ba44969fe32288dc749181da1bfadfa39edd (diff)
downloadFreeBSD-src-0434ec5fe811d1420d080ae4e36fbdb6cf6d0bc3.zip
FreeBSD-src-0434ec5fe811d1420d080ae4e36fbdb6cf6d0bc3.tar.gz
As threatened, drop support for source upgrades from pre-5.3.
Inspired by: obrien
Diffstat (limited to 'tools/build/Makefile')
-rw-r--r--tools/build/Makefile54
1 files changed, 0 insertions, 54 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 885a4c8..5b76f09 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -9,65 +9,11 @@ INCS=
BOOTSTRAPPING?= 0
-# Some tools need <sys/endian.h>.
-.if !exists(/usr/include/sys/endian.h) || ${BOOTSTRAPPING} < 500000
-INCSGROUPS+= SYSHDRS
-SYSHDRS= endian.h
-SYSHDRSDIR= ${INCLUDEDIR}/sys
-.endif
-
-# gnu/usr.bin/binutils/ld needs <elf-hints.h>.
-.if !exists(/usr/include/elf-hints.h)
-INCS+= elf-hints.h
-.endif
-
-# lib/libncurses needs <stdbool.h>.
-.if !exists(/usr/include/stdbool.h)
-INCS+= stdbool.h
-.endif
-
# usr.bin/mklocale needs <runefile.h>.
.if !exists(/usr/include/runefile.h)
INCS+= runefile.h
.endif
-# usr.bin/xargs needs <nl_langinfo.h>.
-.if !exists(/usr/include/langinfo.h)
-INCS+= langinfo.h
-.endif
-
-# Some tools need basename(3).
-.if !exists(/usr/include/libgen.h)
-INCS+= libgen.h
-.PATH: ${.CURDIR}/../../lib/libc/gen
-SRCS+= basename.c
-.endif
-
-# Some tools need {get,set}progname(3).
-.if ( ${BOOTSTRAPPING} < 440001 || \
- ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500023 ))
-SRCS+= progname.c
-.endif
-
-# install(1) needs strtofflags(3).
-.if ( ${BOOTSTRAPPING} < 400021 || \
- ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500007 ))
-.PATH: ${.CURDIR}/../../lib/libc/gen
-SRCS+= strtofflags.c
-.endif
-
-# Lot of tools need <getopt.h> and getopt_long(3).
-.if !exists(/usr/include/getopt.h) || ${BOOTSTRAPPING} < 502104
-INCS+= getopt.h
-.PATH: ${.CURDIR}/../../lib/libc/stdlib
-SRCS+= getopt_long.c
-.endif
-
-# Some tools depend on a new <regex.h> not requiring <sys/types.h>.
-.if ${BOOTSTRAPPING} < 500042
-INCS+= regex.h
-.endif
-
.if empty(SRCS)
SRCS= dummy.c
.endif
OpenPOWER on IntegriCloud