Deleted Added
full compact
Makefile (131876) Makefile (132234)
1#
1#
2# $FreeBSD: head/Makefile 131876 2004-07-09 13:55:50Z phk $
2# $FreeBSD: head/Makefile 132234 2004-07-16 02:51:28Z marcel $
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".

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

139
140${TGTS}:
141 @cd ${.CURDIR}; \
142 ${_MAKE} ${.TARGET}
143
144# Set a reasonable default
145.MAIN: all
146
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".

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

139
140${TGTS}:
141 @cd ${.CURDIR}; \
142 ${_MAKE} ${.TARGET}
143
144# Set a reasonable default
145.MAIN: all
146
147.if defined(DESTDIR)
147.if make(world)
148STARTTIME!= LC_ALL=C date
149.endif
150#
151# world
152#
148.if make(world)
149STARTTIME!= LC_ALL=C date
150.endif
151#
152# world
153#
153# Attempt to rebuild and reinstall *everything*, with reasonable chance of
154# success, regardless of how old your existing system is.
154# Attempt to rebuild and reinstall everything. This target is not to be
155# used for upgrading an existing FreeBSD system, because the kernel is
156# not included. One can argue that this target doesn't build everything
157# then.
155#
156world: upgrade_checks
157 @echo "--------------------------------------------------------------"
158 @echo ">>> make world started on ${STARTTIME}"
159 @echo "--------------------------------------------------------------"
160.if target(pre-world)
161 @echo
162 @echo "--------------------------------------------------------------"

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

173 @echo "--------------------------------------------------------------"
174 @cd ${.CURDIR}; ${_MAKE} post-world
175.endif
176 @echo
177 @echo "--------------------------------------------------------------"
178 @echo ">>> make world completed on `LC_ALL=C date`"
179 @echo " (started ${STARTTIME})"
180 @echo "--------------------------------------------------------------"
158#
159world: upgrade_checks
160 @echo "--------------------------------------------------------------"
161 @echo ">>> make world started on ${STARTTIME}"
162 @echo "--------------------------------------------------------------"
163.if target(pre-world)
164 @echo
165 @echo "--------------------------------------------------------------"

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

176 @echo "--------------------------------------------------------------"
177 @cd ${.CURDIR}; ${_MAKE} post-world
178.endif
179 @echo
180 @echo "--------------------------------------------------------------"
181 @echo ">>> make world completed on `LC_ALL=C date`"
182 @echo " (started ${STARTTIME})"
183 @echo "--------------------------------------------------------------"
184.else
185world:
186 @echo "WARNING: make world will overwrite your existing FreeBSD"
187 @echo "installation without also building and installing a new"
188 @echo "kernel. This can be dangerous. Please read the handbook,"
189 @echo "'Using make world', for how to upgrade your system."
190 @echo "Define DESTDIR to the where you want to install FreeBSD,
191 @echo "including /, to override this warning and proceed as usual."
192 @echo "Bailing out now..."
193 @false
194.endif
181
182#
183# kernel
184#
185# Short hand for `make buildkernel installkernel'
186#
187kernel: buildkernel installkernel
188

--- 79 unchanged lines hidden ---
195
196#
197# kernel
198#
199# Short hand for `make buildkernel installkernel'
200#
201kernel: buildkernel installkernel
202

--- 79 unchanged lines hidden ---