Deleted Added
full compact
bsd.obj.mk (50476) bsd.obj.mk (53152)
1# $FreeBSD: head/share/mk/bsd.obj.mk 50476 1999-08-28 00:22:10Z peter $
1# $FreeBSD: head/share/mk/bsd.obj.mk 53152 1999-11-14 13:54:44Z marcel $
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.

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

146${__target}: _SUBDIR
147.endif
148.endfor
149
150_SUBDIR: .USE
151.if defined(SUBDIR) && !empty(SUBDIR)
152 @for entry in ${SUBDIR}; do \
153 (${ECHODIR} "===> ${DIRPRFX}$$entry"; \
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.

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

146${__target}: _SUBDIR
147.endif
148.endfor
149
150_SUBDIR: .USE
151.if defined(SUBDIR) && !empty(SUBDIR)
152 @for entry in ${SUBDIR}; do \
153 (${ECHODIR} "===> ${DIRPRFX}$$entry"; \
154 if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \
155 cd ${.CURDIR}/$${entry}.${MACHINE}; \
154 if test -d ${.CURDIR}/$${entry}.${MACHINE_ARCH}; then \
155 cd ${.CURDIR}/$${entry}.${MACHINE_ARCH}; \
156 else \
157 cd ${.CURDIR}/$${entry}; \
158 fi; \
159 ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
160 done
161.endif
156 else \
157 cd ${.CURDIR}/$${entry}; \
158 fi; \
159 ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
160 done
161.endif