Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.subdir.mk
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.ORDER: all install | .ORDER: all install | ||||
# SUBDIR recursing may be disabled for MK_DIRDEPS_BUILD | # SUBDIR recursing may be disabled for MK_DIRDEPS_BUILD | ||||
.if !target(_SUBDIR) | .if !target(_SUBDIR) | ||||
.if defined(SUBDIR) || defined(SUBDIR.yes) | .if defined(SUBDIR) || defined(SUBDIR.yes) | ||||
SUBDIR:=${SUBDIR} ${SUBDIR.yes} | SUBDIR:=${SUBDIR} ${SUBDIR.yes} | ||||
.if defined(SUBDIR_SORTED) | |||||
SUBDIR:=${SUBDIR:O} | |||||
.endif | |||||
SUBDIR:=${SUBDIR:u} | SUBDIR:=${SUBDIR:u} | ||||
.endif | .endif | ||||
# Subdir code shared among 'make <subdir>', 'make <target>' and SUBDIR_PARALLEL. | # Subdir code shared among 'make <subdir>', 'make <target>' and SUBDIR_PARALLEL. | ||||
_SUBDIR_SH= \ | _SUBDIR_SH= \ | ||||
if test -d ${.CURDIR}/$${dir}.${MACHINE_ARCH}; then \ | if test -d ${.CURDIR}/$${dir}.${MACHINE_ARCH}; then \ | ||||
dir=$${dir}.${MACHINE_ARCH}; \ | dir=$${dir}.${MACHINE_ARCH}; \ | ||||
fi; \ | fi; \ | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |