Makefile (172744) | Makefile (174539) |
---|---|
1# | 1# |
2# $FreeBSD: head/Makefile 172744 2007-10-18 08:41:52Z delphij $ | 2# $FreeBSD: head/Makefile 174539 2007-12-11 20:00:55Z imp $ |
3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# buildworld - Rebuild *everything*, including glue to help do 9# upgrades. 10# installworld - Install everything built by "buildworld". --- 218 unchanged lines hidden (view full) --- 229# Perform a few tests to determine if the installed tools are adequate 230# for building the world. 231# 232upgrade_checks: 233 @if ! (cd ${.CURDIR}/tools/build/make_check && \ 234 PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \ 235 PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \ 236 then \ | 3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# buildworld - Rebuild *everything*, including glue to help do 9# upgrades. 10# installworld - Install everything built by "buildworld". --- 218 unchanged lines hidden (view full) --- 229# Perform a few tests to determine if the installed tools are adequate 230# for building the world. 231# 232upgrade_checks: 233 @if ! (cd ${.CURDIR}/tools/build/make_check && \ 234 PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \ 235 PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \ 236 then \ |
237 (cd ${.CURDIR} && make make); \ | 237 (cd ${.CURDIR} && ${BSDMAKE} make); \ |
238 fi 239 240# 241# Upgrade make(1) to the current version using the installed | 238 fi 239 240# 241# Upgrade make(1) to the current version using the installed |
242# headers, libraries and tools. | 242# headers, libraries and tools. Also, allow the location of 243# the system bsdmake-like utility to be overridden. |
243# | 244# |
245BSDMAKE?=make |
|
244MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ 245 DESTDIR= \ 246 INSTALL="sh ${.CURDIR}/tools/install.sh" | 246MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ 247 DESTDIR= \ 248 INSTALL="sh ${.CURDIR}/tools/install.sh" |
247MMAKE= ${MMAKEENV} make \ | 249MMAKE= ${MMAKEENV} ${BSDMAKE} \ |
248 -D_UPGRADING \ 249 -DNOMAN -DNO_MAN -DNOSHARED -DNO_SHARED \ 250 -DNO_CPU_CFLAGS -DNO_WERROR 251 252make: .PHONY 253 @echo 254 @echo "--------------------------------------------------------------" 255 @echo ">>> Building an up-to-date make(1)" --- 56 unchanged lines hidden --- | 250 -D_UPGRADING \ 251 -DNOMAN -DNO_MAN -DNOSHARED -DNO_SHARED \ 252 -DNO_CPU_CFLAGS -DNO_WERROR 253 254make: .PHONY 255 @echo 256 @echo "--------------------------------------------------------------" 257 @echo ">>> Building an up-to-date make(1)" --- 56 unchanged lines hidden --- |