Lines Matching +full:machine +full:- +full:level
1 # SPDX-License-Identifier: BSD-2-Clause
5 # @(#) Copyright (c) 2012-2023, Simon J. Gerraty
14 # Please send copies of changes and bug-fixes to:
22 # Include from [local.]sys.mk - if doing DIRDEPS_BUILD
32 .-include <local.sys.dirdeps.env.mk>
34 .if ${.MAKE.LEVEL} == 0
37 # as will dirdeps-targets.mk for top-level builds.
51 # SB documented at http://www.crufty.net/sjg/docs/sb-tools.htm
61 # we expect OBJROOT to end with / (- can work too)
62 .if ${OBJROOT:M*[/-]} == ""
72 # If TARGET_SPEC_VARS is other than just MACHINE
75 TARGET_SPEC_VARS ?= MACHINE
86 .export-env TARGET_SPEC
97 .if ${MACHINE:Mhost*} != ""
99 TARGET_SPEC = ${MACHINE}
105 TARGET_SPEC_VARSr := ${TARGET_SPEC_VARS:[-1..1]}
111 TARGET_OBJ_SPEC ?= ${MACHINE}
117 # it can be handy to know which MACHINE kicked off the build
120 MACHINE0 := ${MACHINE}
126 MACHINE_OBJ.${MACHINE} ?= ${TARGET_OBJ_SPEC}
127 MACHINE_OBJDIR = ${MACHINE_OBJ.${MACHINE}}
130 .if ${MACHINE} == "host"
132 .elif ${MACHINE} == "host32"
137 .if ${.MAKE.LEVEL} > 0
138 # should not change from level 1 onwards
139 # this only matters for cases like bmake/unit-tests
140 # where we do ${MAKE} -r
151 .export-env MAKEOBJDIR
165 TIME_STAMP_FMT ?= @ %s [%Y-%m-%d %T] ${:U}
188 .-include <sys.dependfile.mk>
190 .-include <local.sys.dirdeps.mk>
201 # and when level > 0