Consolidate common beforebuild logic.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
@@ -15,6 +15,10 @@ __<bsd.init.mk>__:
|
||||
.endif
|
||||
.include <bsd.own.mk>
|
||||
.MAIN: all
|
||||
beforebuild: .PHONY .NOTMAIN
|
||||
.if !defined(_SKIP_BUILD)
|
||||
all: beforebuild .WAIT
|
||||
.endif
|
||||
|
||||
.if ${.MAKE.LEVEL:U1} == 0 && ${BUILD_AT_LEVEL0:Uyes:tl} == "no" && !make(clean*)
|
||||
# this tells lib.mk and prog.mk to not actually build anything
|
||||
|
||||
Reference in New Issue
Block a user