bsd.obj.mk (124061) | bsd.obj.mk (128188) |
---|---|
1# $FreeBSD: head/share/mk/bsd.obj.mk 124061 2004-01-02 05:05:48Z green $ | 1# $FreeBSD: head/share/mk/bsd.obj.mk 128188 2004-04-13 12:36:00Z ru $ |
2# 3# The include file <bsd.obj.mk> handles creating the 'obj' directory 4# and cleaning up object files, etc. 5# 6# +++ variables +++ 7# 8# CLEANDIRS Additional directories to remove for the clean target. 9# --- 63 unchanged lines hidden (view full) --- 73.elif exists(${.CURDIR}/obj.${MACHINE}/) || exists(${.CURDIR}/obj/) 74 @${ECHO} "Warning: Using ${.OBJDIR} as object directory instead of\ 75 canonical ${CANONICALOBJDIR}" 76.endif 77.endif 78 79.if !defined(NOOBJ) 80.if !target(obj) | 2# 3# The include file <bsd.obj.mk> handles creating the 'obj' directory 4# and cleaning up object files, etc. 5# 6# +++ variables +++ 7# 8# CLEANDIRS Additional directories to remove for the clean target. 9# --- 63 unchanged lines hidden (view full) --- 73.elif exists(${.CURDIR}/obj.${MACHINE}/) || exists(${.CURDIR}/obj/) 74 @${ECHO} "Warning: Using ${.OBJDIR} as object directory instead of\ 75 canonical ${CANONICALOBJDIR}" 76.endif 77.endif 78 79.if !defined(NOOBJ) 80.if !target(obj) |
81obj: | 81obj: .PHONY |
82 @if ! test -d ${CANONICALOBJDIR}/; then \ 83 mkdir -p ${CANONICALOBJDIR}; \ 84 if ! test -d ${CANONICALOBJDIR}/; then \ 85 ${ECHO} "Unable to create ${CANONICALOBJDIR}."; \ 86 exit 1; \ 87 fi; \ 88 ${ECHO} "${CANONICALOBJDIR} created for ${.CURDIR}"; \ 89 fi --- 44 unchanged lines hidden --- | 82 @if ! test -d ${CANONICALOBJDIR}/; then \ 83 mkdir -p ${CANONICALOBJDIR}; \ 84 if ! test -d ${CANONICALOBJDIR}/; then \ 85 ${ECHO} "Unable to create ${CANONICALOBJDIR}."; \ 86 exit 1; \ 87 fi; \ 88 ${ECHO} "${CANONICALOBJDIR} created for ${.CURDIR}"; \ 89 fi --- 44 unchanged lines hidden --- |