bsd.obj.mk (94410) | bsd.obj.mk (94940) |
---|---|
1# $FreeBSD: head/share/mk/bsd.obj.mk 94410 2002-04-11 08:54:21Z ru $ | 1# $FreeBSD: head/share/mk/bsd.obj.mk 94940 2002-04-17 13:49:29Z ru $ |
2# 3# The include file <bsd.obj.mk> handles creating the 'obj' directory 4# and cleaning up object files, etc. 5# 6# Under construction: it also contains the _SUBDIR target (which is used 7# by most `mk' files to recurse into subdirectories) and defaults for the 8# cleandepend, depend and tags targets. It may eventually be merged with 9# with bsd.subdir.mk. --- 28 unchanged lines hidden (view full) --- 38# 39# cleandir: 40# remove the build directory (and all its contents) created by obj 41# 42# obj: 43# create build directory. 44# 45 | 2# 3# The include file <bsd.obj.mk> handles creating the 'obj' directory 4# and cleaning up object files, etc. 5# 6# Under construction: it also contains the _SUBDIR target (which is used 7# by most `mk' files to recurse into subdirectories) and defaults for the 8# cleandepend, depend and tags targets. It may eventually be merged with 9# with bsd.subdir.mk. --- 28 unchanged lines hidden (view full) --- 38# 39# cleandir: 40# remove the build directory (and all its contents) created by obj 41# 42# obj: 43# create build directory. 44# 45 |
46.if !target(__<bsd.obj.mk>__) 47__<bsd.obj.mk>__: 48.include <bsd.own.mk> 49 |
|
46.if defined(MAKEOBJDIRPREFIX) 47CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR} 48.else 49CANONICALOBJDIR:=/usr/obj${.CURDIR} 50.endif 51 52# 53# Warn of unorthodox object directory. --- 115 unchanged lines hidden (view full) --- 169 if test -d ${.CURDIR}/$${entry}.${MACHINE_ARCH}; then \ 170 cd ${.CURDIR}/$${entry}.${MACHINE_ARCH}; \ 171 else \ 172 cd ${.CURDIR}/$${entry}; \ 173 fi; \ 174 ${MAKE} ${.TARGET:S/realinstall/install/} DIRPRFX=${DIRPRFX}$$entry/); \ 175 done 176.endif | 50.if defined(MAKEOBJDIRPREFIX) 51CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR} 52.else 53CANONICALOBJDIR:=/usr/obj${.CURDIR} 54.endif 55 56# 57# Warn of unorthodox object directory. --- 115 unchanged lines hidden (view full) --- 173 if test -d ${.CURDIR}/$${entry}.${MACHINE_ARCH}; then \ 174 cd ${.CURDIR}/$${entry}.${MACHINE_ARCH}; \ 175 else \ 176 cd ${.CURDIR}/$${entry}; \ 177 fi; \ 178 ${MAKE} ${.TARGET:S/realinstall/install/} DIRPRFX=${DIRPRFX}$$entry/); \ 179 done 180.endif |
181 182.endif !target(__<bsd.obj.mk>__) |
|