Deleted Added
full compact
Makefile (132588) Makefile (133376)
1#
1#
2# $FreeBSD: head/Makefile 132588 2004-07-23 21:21:34Z kensmith $
2# $FreeBSD: head/Makefile 133376 2004-08-09 11:38:41Z harti $
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".

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

121cleanworld:
122.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR}
123.if exists(${BW_CANONICALOBJDIR}/)
124 -rm -rf ${BW_CANONICALOBJDIR}/*
125 chflags -R 0 ${BW_CANONICALOBJDIR}
126 rm -rf ${BW_CANONICALOBJDIR}/*
127.endif
128 # To be safe in this case, fall back to a 'make cleandir'
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".

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

121cleanworld:
122.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR}
123.if exists(${BW_CANONICALOBJDIR}/)
124 -rm -rf ${BW_CANONICALOBJDIR}/*
125 chflags -R 0 ${BW_CANONICALOBJDIR}
126 rm -rf ${BW_CANONICALOBJDIR}/*
127.endif
128 # To be safe in this case, fall back to a 'make cleandir'
129 @cd ${.CURDIR}; ${_MAKE} cleandir
129 ${_+_}@cd ${.CURDIR}; ${_MAKE} cleandir
130.else
131 -rm -rf ${.OBJDIR}/*
132 chflags -R 0 ${.OBJDIR}
133 rm -rf ${.OBJDIR}/*
134.endif
135
136#
137# Handle the user-driven targets, using the source relative mk files.
138#
139
140${TGTS}:
130.else
131 -rm -rf ${.OBJDIR}/*
132 chflags -R 0 ${.OBJDIR}
133 rm -rf ${.OBJDIR}/*
134.endif
135
136#
137# Handle the user-driven targets, using the source relative mk files.
138#
139
140${TGTS}:
141 @cd ${.CURDIR}; \
141 ${_+_}@cd ${.CURDIR}; \
142 ${_MAKE} ${.TARGET}
143
144# Set a reasonable default
145.MAIN: all
146
147.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR)
148.if make(world)
149STARTTIME!= LC_ALL=C date

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

160 @echo "--------------------------------------------------------------"
161 @echo ">>> make world started on ${STARTTIME}"
162 @echo "--------------------------------------------------------------"
163.if target(pre-world)
164 @echo
165 @echo "--------------------------------------------------------------"
166 @echo ">>> Making 'pre-world' target"
167 @echo "--------------------------------------------------------------"
142 ${_MAKE} ${.TARGET}
143
144# Set a reasonable default
145.MAIN: all
146
147.if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR)
148.if make(world)
149STARTTIME!= LC_ALL=C date

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

160 @echo "--------------------------------------------------------------"
161 @echo ">>> make world started on ${STARTTIME}"
162 @echo "--------------------------------------------------------------"
163.if target(pre-world)
164 @echo
165 @echo "--------------------------------------------------------------"
166 @echo ">>> Making 'pre-world' target"
167 @echo "--------------------------------------------------------------"
168 @cd ${.CURDIR}; ${_MAKE} pre-world
168 ${_+_}@cd ${.CURDIR}; ${_MAKE} pre-world
169.endif
169.endif
170 @cd ${.CURDIR}; ${_MAKE} buildworld
171 @cd ${.CURDIR}; ${_MAKE} -B installworld
170 ${_+_}@cd ${.CURDIR}; ${_MAKE} buildworld
171 ${_+_}@cd ${.CURDIR}; ${_MAKE} -B installworld
172.if target(post-world)
173 @echo
174 @echo "--------------------------------------------------------------"
175 @echo ">>> Making 'post-world' target"
176 @echo "--------------------------------------------------------------"
172.if target(post-world)
173 @echo
174 @echo "--------------------------------------------------------------"
175 @echo ">>> Making 'post-world' target"
176 @echo "--------------------------------------------------------------"
177 @cd ${.CURDIR}; ${_MAKE} post-world
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:

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

227 -DNOMAN -DNOSHARED \
228 -DNO_CPU_CFLAGS -DNO_WERROR
229
230make: .PHONY
231 @echo
232 @echo "--------------------------------------------------------------"
233 @echo ">>> Building an up-to-date make(1)"
234 @echo "--------------------------------------------------------------"
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:

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

227 -DNOMAN -DNOSHARED \
228 -DNO_CPU_CFLAGS -DNO_WERROR
229
230make: .PHONY
231 @echo
232 @echo "--------------------------------------------------------------"
233 @echo ">>> Building an up-to-date make(1)"
234 @echo "--------------------------------------------------------------"
235 @cd ${.CURDIR}/usr.bin/make; \
235 ${_+_}@cd ${.CURDIR}/usr.bin/make; \
236 ${MMAKE} obj && \
237 ${MMAKE} depend && \
238 ${MMAKE} all && \
239 ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR=
240
241#
242# universe
243#

--- 42 unchanged lines hidden ---
236 ${MMAKE} obj && \
237 ${MMAKE} depend && \
238 ${MMAKE} all && \
239 ${MMAKE} install DESTDIR=${MAKEPATH} BINDIR=
240
241#
242# universe
243#

--- 42 unchanged lines hidden ---