summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-04-06 21:46:44 +0000
committerimp <imp@FreeBSD.org>2003-04-06 21:46:44 +0000
commita3dc544bfe477e789002017345b81e493484784f (patch)
tree6134d5a9092b743af5a94a687a2730463db71e70 /Makefile.inc1
parent2dcfa9709bf0c612bb1f6fb0ec0d2b3f81d626b9 (diff)
downloadFreeBSD-src-a3dc544bfe477e789002017345b81e493484784f.zip
FreeBSD-src-a3dc544bfe477e789002017345b81e493484784f.tar.gz
-legacy and /.../legacy/... looks better than build or bootstrap in
the logs, so use that instead. Submitted by: obrien.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc124
1 files changed, 14 insertions, 10 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index be80d9f..5805ac2 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -159,7 +159,7 @@ INSTALLTMP!= /usr/bin/mktemp -d -u -t install
#
# Building a world goes through the following stages
#
-# 1. libbuild stage [BMAKE]
+# 1. legacy stage [BMAKE]
# This stage is responsible for creating compatibility
# shims that are needed by the bootstrap-tools,
# build-tools and cross-tools stages.
@@ -281,15 +281,15 @@ _worldtmp:
mkdir -p ${WORLDTMP}/usr/include/${_dir}
.endfor
ln -sf ${.CURDIR}/sys ${WORLDTMP}
-.for _dir in lib include/sys
- mkdir -p ${WORLDTMP}/build/usr/${_dir}
+.for _dir in lib include include/sys
+ mkdir -p ${WORLDTMP}/legacy/usr/${_dir}
.endfor
-_libbuild:
+_legacy:
@echo
@echo "--------------------------------------------------------------"
- @echo ">>> stage 1: libbuild"
+ @echo ">>> stage 1: legacy release compatibility shims"
@echo "--------------------------------------------------------------"
- cd ${.CURDIR}; ${BMAKE} libbuild
+ cd ${.CURDIR}; ${BMAKE} legacy
_bootstrap-tools:
@echo
@echo "--------------------------------------------------------------"
@@ -350,7 +350,7 @@ everything:
WMAKE_TGTS=
.if !defined(SUBDIR_OVERRIDE)
-WMAKE_TGTS+= _worldtmp _libbuild _bootstrap-tools
+WMAKE_TGTS+= _worldtmp _legacy _bootstrap-tools
.endif
WMAKE_TGTS+= _cleanobj _obj _build-tools
.if !defined(SUBDIR_OVERRIDE)
@@ -618,16 +618,20 @@ installmost:
#
#
-# libbuild: Build compatibility shims for the next three targets
+# legacy: Build compatibility shims for the next three targets
#
-libbuild:
+.if exists(${.CURDIR}/games) && !defined(NOGAMES)
+_strfile= games/fortune/strfile
+.endif
+
+legacy:
.for _tool in tools/build
@${ECHODIR} "===> ${_tool}"; \
cd ${.CURDIR}/${_tool}; \
${MAKE} DIRPRFX=${_tool}/ obj; \
${MAKE} DIRPRFX=${_tool}/ depend; \
${MAKE} DIRPRFX=${_tool}/ all; \
- ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/build install
+ ${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install
.endfor
#
OpenPOWER on IntegriCloud