Changeset View
Changeset View
Standalone View
Standalone View
head/share/mk/bsd.subdir.mk
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
# Described above. | # Described above. | ||||
STANDALONE_SUBDIR_TARGETS?= obj checkdpadd clean cleandepend cleandir \ | STANDALONE_SUBDIR_TARGETS?= obj checkdpadd clean cleandepend cleandir \ | ||||
cleanilinks cleanobj | cleanilinks cleanobj | ||||
.include <bsd.init.mk> | .include <bsd.init.mk> | ||||
.if !defined(NEED_SUBDIR) | .if !defined(NEED_SUBDIR) | ||||
.if ${.MAKE.LEVEL} == 0 && ${MK_META_MODE} == "yes" && !empty(SUBDIR) && !(make(clean*) || make(destroy*)) | .if ${.MAKE.LEVEL} == 0 && ${MK_DIRDEPS_BUILD} == "yes" && !empty(SUBDIR) && !(make(clean*) || make(destroy*)) | ||||
.include <meta.subdir.mk> | .include <meta.subdir.mk> | ||||
# ignore this | # ignore this | ||||
_SUBDIR: | _SUBDIR: | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.if !target(_SUBDIR) | .if !target(_SUBDIR) | ||||
.if defined(SUBDIR) | .if defined(SUBDIR) | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |