Makefile (174539) | Makefile (174564) |
---|---|
1# | 1# |
2# $FreeBSD: head/Makefile 174539 2007-12-11 20:00:55Z imp $ | 2# $FreeBSD: head/Makefile 174564 2007-12-13 00:08:02Z 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} && ${BSDMAKE} make); \ | 237 (cd ${.CURDIR} && ${MAKE} make); \ |
238 fi 239 240# 241# Upgrade make(1) to the current version using the installed 242# headers, libraries and tools. Also, allow the location of 243# the system bsdmake-like utility to be overridden. 244# | 238 fi 239 240# 241# Upgrade make(1) to the current version using the installed 242# headers, libraries and tools. Also, allow the location of 243# the system bsdmake-like utility to be overridden. 244# |
245BSDMAKE?=make | |
246MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ 247 DESTDIR= \ 248 INSTALL="sh ${.CURDIR}/tools/install.sh" | 245MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ 246 DESTDIR= \ 247 INSTALL="sh ${.CURDIR}/tools/install.sh" |
249MMAKE= ${MMAKEENV} ${BSDMAKE} \ | 248MMAKE= ${MMAKEENV} ${MAKE} \ |
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 --- | 249 -D_UPGRADING \ 250 -DNOMAN -DNO_MAN -DNOSHARED -DNO_SHARED \ 251 -DNO_CPU_CFLAGS -DNO_WERROR 252 253make: .PHONY 254 @echo 255 @echo "--------------------------------------------------------------" 256 @echo ">>> Building an up-to-date make(1)" --- 56 unchanged lines hidden --- |