Deleted Added
full compact
Makefile (169597) Makefile (172744)
1#
1#
2# $FreeBSD: head/Makefile 169597 2007-05-16 08:46:35Z des $
2# $FreeBSD: head/Makefile 172744 2007-10-18 08:41:52Z delphij $
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".

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

142# some directories via more than one method, but that duplication is
143# needed to correctly handle all the possible situations.
144#
145BW_CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
146cleanworld:
147.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR}
148.if exists(${BW_CANONICALOBJDIR}/)
149 -rm -rf ${BW_CANONICALOBJDIR}/*
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".

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

142# some directories via more than one method, but that duplication is
143# needed to correctly handle all the possible situations.
144#
145BW_CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
146cleanworld:
147.if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR}
148.if exists(${BW_CANONICALOBJDIR}/)
149 -rm -rf ${BW_CANONICALOBJDIR}/*
150 chflags -R 0 ${BW_CANONICALOBJDIR}
150 -chflags -R 0 ${BW_CANONICALOBJDIR}
151 rm -rf ${BW_CANONICALOBJDIR}/*
152.endif
153 # To be safe in this case, fall back to a 'make cleandir'
154 ${_+_}@cd ${.CURDIR}; ${_MAKE} cleandir
155.else
156 -rm -rf ${.OBJDIR}/*
151 rm -rf ${BW_CANONICALOBJDIR}/*
152.endif
153 # To be safe in this case, fall back to a 'make cleandir'
154 ${_+_}@cd ${.CURDIR}; ${_MAKE} cleandir
155.else
156 -rm -rf ${.OBJDIR}/*
157 chflags -R 0 ${.OBJDIR}
157 -chflags -R 0 ${.OBJDIR}
158 rm -rf ${.OBJDIR}/*
159.endif
160
161#
162# Handle the user-driven targets, using the source relative mk files.
163#
164
165${TGTS}:

--- 146 unchanged lines hidden ---
158 rm -rf ${.OBJDIR}/*
159.endif
160
161#
162# Handle the user-driven targets, using the source relative mk files.
163#
164
165${TGTS}:

--- 146 unchanged lines hidden ---