1# |
2# $FreeBSD: head/Makefile 162147 2006-09-08 10:13:15Z 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". --- 42 unchanged lines hidden (view full) --- 53# 7. `make installworld' 54# 8. `make delete-old' 55# 9. `mergemaster' 56# 10. `reboot' 57# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) 58# 59# See src/UPDATING `COMMON ITEMS' for more complete information. 60# |
61# If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can 62# cross build world for other machine types using the buildworld target, |
63# and once the world is built you can cross build a kernel using the 64# buildkernel target. 65# 66# Define the user-driven targets. These are listed here in alphabetical 67# order, but that's not important. 68# 69# Targets that begin with underscore are internal targets intended for 70# developer convenience only. They are intentionally not documented and --- 190 unchanged lines hidden (view full) --- 261# existing system is. 262# 263.if make(universe) 264universe: universe_prologue 265universe_prologue: 266 @echo "--------------------------------------------------------------" 267 @echo ">>> make universe started on ${STARTTIME}" 268 @echo "--------------------------------------------------------------" |
269.for target in amd64 i386 ia64 pc98 sparc64 270KERNCONFS!= cd ${.CURDIR}/sys/${target}/conf && \ |
271 find [A-Z]*[A-Z] -type f -maxdepth 0 \ 272 ! -name DEFAULTS ! -name LINT 273KERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/} |
274universe: universe_${target} 275.ORDER: universe_prologue universe_${target} universe_epilogue 276universe_${target}: 277 @echo ">> ${target} started on `LC_ALL=C date`" |
278 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \ |
279 TARGET=${target} \ |
280 __MAKE_CONF=/dev/null \ |
281 > _.${target}.buildworld 2>&1 282 @echo ">> ${target} buildworld completed on `LC_ALL=C date`" 283.if exists(${.CURDIR}/sys/${target}/conf/NOTES) 284 -cd ${.CURDIR}/sys/${target}/conf && ${MAKE} LINT \ 285 > ${.CURDIR}/_.${target}.makeLINT 2>&1 |
286.endif 287.for kernel in ${KERNCONFS} 288 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \ |
289 TARGET=${target} \ |
290 KERNCONF=${kernel} \ 291 __MAKE_CONF=/dev/null \ |
292 > _.${target}.${kernel} 2>&1 |
293.endfor |
294 @echo ">> ${target} completed on `LC_ALL=C date`" |
295.endfor |
296universe: universe_epilogue 297universe_epilogue: 298 @echo "--------------------------------------------------------------" 299 @echo ">>> make universe completed on `LC_ALL=C date`" 300 @echo " (started ${STARTTIME})" 301 @echo "--------------------------------------------------------------" 302.endif |