Deleted Added
full compact
Makefile (133942) Makefile (133945)
1#
1#
2# $FreeBSD: head/Makefile 133942 2004-08-18 06:49:56Z ru $
2# $FreeBSD: head/Makefile 133945 2004-08-18 07:17:01Z 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".

--- 134 unchanged lines hidden (view full) ---

145
146${TGTS}:
147 ${_+_}@cd ${.CURDIR}; \
148 ${_MAKE} ${.TARGET}
149
150# Set a reasonable default
151.MAIN: all
152
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".

--- 134 unchanged lines hidden (view full) ---

145
146${TGTS}:
147 ${_+_}@cd ${.CURDIR}; \
148 ${_MAKE} ${.TARGET}
149
150# Set a reasonable default
151.MAIN: all
152
153.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR)
154.if make(world)
155STARTTIME!= LC_ALL=C date
153STARTTIME!= LC_ALL=C date
156.endif
154
155.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR)
157#
158# world
159#
160# Attempt to rebuild and reinstall everything. This target is not to be
161# used for upgrading an existing FreeBSD system, because the kernel is
162# not included. One can argue that this target doesn't build everything
163# then.
164#

--- 78 unchanged lines hidden (view full) ---

243 ${MMAKE} depend && \
244 ${MMAKE} all && \
245 ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR=
246
247#
248# universe
249#
250# Attempt to rebuild *everything* for all supported architectures,
156#
157# world
158#
159# Attempt to rebuild and reinstall everything. This target is not to be
160# used for upgrading an existing FreeBSD system, because the kernel is
161# not included. One can argue that this target doesn't build everything
162# then.
163#

--- 78 unchanged lines hidden (view full) ---

242 ${MMAKE} depend && \
243 ${MMAKE} all && \
244 ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR=
245
246#
247# universe
248#
249# Attempt to rebuild *everything* for all supported architectures,
251# with reasonable chance of success, regardless of how old your
250# with a reasonable chance of success, regardless of how old your
252# existing system is.
253#
251# existing system is.
252#
254i386_mach= pc98
255universe:
253universe: universe_prologue
254universe_prologue:
256 @echo "--------------------------------------------------------------"
257 @echo ">>> make universe started on ${STARTTIME}"
258 @echo "--------------------------------------------------------------"
255 @echo "--------------------------------------------------------------"
256 @echo ">>> make universe started on ${STARTTIME}"
257 @echo "--------------------------------------------------------------"
259.for arch in i386 sparc64 alpha ia64 amd64
260.for mach in ${arch} ${${arch}_mach}
258.for target in i386 i386:pc98 sparc64 alpha ia64 amd64
259.for arch in ${target:C/:.*$//}
260.for mach in ${target:C/^.*://}
261universe: universe_${mach}
262.ORDER: universe_prologue universe_${mach} universe_epilogue
263universe_${mach}:
261 @echo ">> ${mach} started on `LC_ALL=C date`"
262 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
263 TARGET_ARCH=${arch} TARGET=${mach} \
264 __MAKE_CONF=/dev/null \
265 > _.${mach}.buildworld 2>&1
266 @echo ">> ${mach} buildworld completed on `LC_ALL=C date`"
267.if exists(${.CURDIR}/sys/${mach}/conf/NOTES)
268 -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
269 > ${.CURDIR}/_.${mach}.makeLINT 2>&1
270.endif
264 @echo ">> ${mach} started on `LC_ALL=C date`"
265 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildworld \
266 TARGET_ARCH=${arch} TARGET=${mach} \
267 __MAKE_CONF=/dev/null \
268 > _.${mach}.buildworld 2>&1
269 @echo ">> ${mach} buildworld completed on `LC_ALL=C date`"
270.if exists(${.CURDIR}/sys/${mach}/conf/NOTES)
271 -cd ${.CURDIR}/sys/${mach}/conf && ${MAKE} LINT \
272 > ${.CURDIR}/_.${mach}.makeLINT 2>&1
273.endif
271 cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernels TARGET_ARCH=${arch} TARGET=${mach}
274 cd ${.CURDIR} && ${MAKE} buildkernels TARGET_ARCH=${arch} TARGET=${mach}
272 @echo ">> ${mach} completed on `LC_ALL=C date`"
273.endfor
274.endfor
275 @echo ">> ${mach} completed on `LC_ALL=C date`"
276.endfor
277.endfor
278.endfor
279universe: universe_epilogue
280universe_epilogue:
275 @echo "--------------------------------------------------------------"
276 @echo ">>> make universe completed on `LC_ALL=C date`"
277 @echo " (started ${STARTTIME})"
278 @echo "--------------------------------------------------------------"
279
280.if make(buildkernels)
281KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \
282 find [A-Z]*[A-Z] -type f -maxdepth 0 ! -name NOTES
281 @echo "--------------------------------------------------------------"
282 @echo ">>> make universe completed on `LC_ALL=C date`"
283 @echo " (started ${STARTTIME})"
284 @echo "--------------------------------------------------------------"
285
286.if make(buildkernels)
287KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \
288 find [A-Z]*[A-Z] -type f -maxdepth 0 ! -name NOTES
283.endif
284
285buildkernels:
286.for kernel in ${KERNCONFS}
287 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
288 KERNCONF=${kernel} \
289 __MAKE_CONF=/dev/null \
290 > _.${TARGET}.${kernel} 2>&1
291.endfor
289buildkernels:
290.for kernel in ${KERNCONFS}
291 -cd ${.CURDIR} && ${MAKE} ${JFLAG} buildkernel \
292 KERNCONF=${kernel} \
293 __MAKE_CONF=/dev/null \
294 > _.${TARGET}.${kernel} 2>&1
295.endfor
296.endif