Deleted Added
sdiff udiff text old ( 94410 ) new ( 94940 )
full compact
1# $FreeBSD: head/share/mk/bsd.obj.mk 94410 2002-04-11 08:54:21Z 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
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