1#
2# $FreeBSD: head/Makefile 159862 2006-06-22 16:52:53Z 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".
--- 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_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can
62# cross build world for other architectures 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 i386 i386:pc98 sparc64 ia64 amd64
270.for arch in ${target:C/:.*$//}
271.for mach in ${target:C/^.*://}
272KERNCONFS!= cd ${.CURDIR}/sys/${mach}/conf && \
273 find [A-Z]*[A-Z] -type f -maxdepth 0 \
274 ! -name DEFAULTS ! -name LINT
275KERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/}
276universe: universe_${mach}
277.ORDER: universe_prologue universe_${mach} universe_epilogue
278universe_${mach}:
279 @echo ">> ${mach} started on `LC_ALL=C date`"
280 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
281 TARGET_ARCH=${arch} TARGET=${mach} \
282 __MAKE_CONF=/dev/null \
283 > _.${mach}.buildworld 2>&1
284 @echo ">> ${mach} buildworld completed on `LC_ALL=C date`"
285.if exists(${.CURDIR}/sys/${mach}/conf/NOTES)
286 -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
287 > ${.CURDIR}/_.${mach}.makeLINT 2>&1
288.endif
289.for kernel in ${KERNCONFS}
290 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
291 TARGET_ARCH=${arch} TARGET=${mach} \
292 KERNCONF=${kernel} \
293 __MAKE_CONF=/dev/null \
294 > _.${mach}.${kernel} 2>&1
295.endfor
296 @echo ">> ${mach} completed on `LC_ALL=C date`"
297.endfor
298.endfor
299.endfor
300universe: universe_epilogue
301universe_epilogue:
302 @echo "--------------------------------------------------------------"
303 @echo ">>> make universe completed on `LC_ALL=C date`"
304 @echo " (started ${STARTTIME})"
305 @echo "--------------------------------------------------------------"
306.endif
2# $FreeBSD: head/Makefile 159862 2006-06-22 16:52:53Z 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".
--- 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_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can
62# cross build world for other architectures 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 i386 i386:pc98 sparc64 ia64 amd64
270.for arch in ${target:C/:.*$//}
271.for mach in ${target:C/^.*://}
272KERNCONFS!= cd ${.CURDIR}/sys/${mach}/conf && \
273 find [A-Z]*[A-Z] -type f -maxdepth 0 \
274 ! -name DEFAULTS ! -name LINT
275KERNCONFS:= ${KERNCONFS:S/^NOTES$/LINT/}
276universe: universe_${mach}
277.ORDER: universe_prologue universe_${mach} universe_epilogue
278universe_${mach}:
279 @echo ">> ${mach} started on `LC_ALL=C date`"
280 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
281 TARGET_ARCH=${arch} TARGET=${mach} \
282 __MAKE_CONF=/dev/null \
283 > _.${mach}.buildworld 2>&1
284 @echo ">> ${mach} buildworld completed on `LC_ALL=C date`"
285.if exists(${.CURDIR}/sys/${mach}/conf/NOTES)
286 -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
287 > ${.CURDIR}/_.${mach}.makeLINT 2>&1
288.endif
289.for kernel in ${KERNCONFS}
290 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
291 TARGET_ARCH=${arch} TARGET=${mach} \
292 KERNCONF=${kernel} \
293 __MAKE_CONF=/dev/null \
294 > _.${mach}.${kernel} 2>&1
295.endfor
296 @echo ">> ${mach} completed on `LC_ALL=C date`"
297.endfor
298.endfor
299.endfor
300universe: universe_epilogue
301universe_epilogue:
302 @echo "--------------------------------------------------------------"
303 @echo ">>> make universe completed on `LC_ALL=C date`"
304 @echo " (started ${STARTTIME})"
305 @echo "--------------------------------------------------------------"
306.endif