Makefile (116679) | Makefile (116696) |
---|---|
1# | 1# |
2# $FreeBSD: head/Makefile 116679 2003-06-22 10:01:03Z simokawa $ | 2# $FreeBSD: head/Makefile 116696 2003-06-22 21:56:22Z ru $ |
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". --- 124 unchanged lines hidden (view full) --- 135kernel: buildkernel installkernel 136 137# 138# Perform a few tests to determine if the installed tools are adequate 139# for building the world. 140# 141upgrade_checks: 142 @if ! (cd ${.CURDIR}/tools/regression/usr.bin/make && \ | 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". --- 124 unchanged lines hidden (view full) --- 135kernel: buildkernel installkernel 136 137# 138# Perform a few tests to determine if the installed tools are adequate 139# for building the world. 140# 141upgrade_checks: 142 @if ! (cd ${.CURDIR}/tools/regression/usr.bin/make && \ |
143 PATH=${PATH} ${MAKE} 2>/dev/null); \ | 143 PATH=${PATH} ${MAKE} >/dev/null 2>&1); \ |
144 then \ 145 (cd ${.CURDIR} && make make); \ 146 fi 147 148# 149# Upgrade make(1) to the current version using the installed 150# headers, libraries and tools. 151# 152MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ 153 DESTDIR= \ 154 INSTALL="sh ${.CURDIR}/tools/install.sh" 155MMAKE= ${MMAKEENV} make \ 156 -D_UPGRADING \ 157 -DNOMAN -DNOSHARED \ 158 -DNO_CPU_CFLAGS -DNO_WERROR 159 160make: 161 @echo 162 @echo "--------------------------------------------------------------" | 144 then \ 145 (cd ${.CURDIR} && make make); \ 146 fi 147 148# 149# Upgrade make(1) to the current version using the installed 150# headers, libraries and tools. 151# 152MMAKEENV= MAKEOBJDIRPREFIX=${MAKEPATH} \ 153 DESTDIR= \ 154 INSTALL="sh ${.CURDIR}/tools/install.sh" 155MMAKE= ${MMAKEENV} make \ 156 -D_UPGRADING \ 157 -DNOMAN -DNOSHARED \ 158 -DNO_CPU_CFLAGS -DNO_WERROR 159 160make: 161 @echo 162 @echo "--------------------------------------------------------------" |
163 @echo " Building an up-to-date make(1)" | 163 @echo ">>> Building an up-to-date make(1)" |
164 @echo "--------------------------------------------------------------" 165 @cd ${.CURDIR}/usr.bin/make; \ 166 ${MMAKE} obj && \ 167 ${MMAKE} depend && \ 168 ${MMAKE} all && \ 169 ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR= 170 171# --- 41 unchanged lines hidden --- | 164 @echo "--------------------------------------------------------------" 165 @cd ${.CURDIR}/usr.bin/make; \ 166 ${MMAKE} obj && \ 167 ${MMAKE} depend && \ 168 ${MMAKE} all && \ 169 ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR= 170 171# --- 41 unchanged lines hidden --- |