• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/bmake/mk/

Lines Matching refs:MACHINE

31 # Otherwise the recommendation is to use Makefile.depend.${MACHINE}
43 # machines "host" or "common" regardless of current ${MACHINE}.
70 # The default value is just MACHINE, and for most environments
72 # both MACHINE and TARGET_SPEC to the suffix of the current
75 # If more than MACHINE is needed then sys.mk needs to decompose
77 # It is important that MACHINE be included in and actually be
80 # below relies on MACHINE being the first entry.
86 # # Always list MACHINE first,
88 # TARGET_SPEC_VARS = MACHINE TARGET_OS
91 # MACHINE := ${_tspec:[1]}
95 # # and deal with MACHINE=${TARGET_SPEC} in the environment.
179 TARGET_MACHINE := ${MACHINE}
191 # If TARGET_SPEC_VARS is other than just MACHINE
194 TARGET_SPEC_VARS ?= MACHINE
208 # The makefiles may only partially specify (eg. MACHINE only),
235 .if ${TARGET_SPEC} != ${MACHINE}
236 .MAKE.DEPENDFILE_PREFERENCE += ${_CURDIR}/${.MAKE.DEPENDFILE:T:R}.$${MACHINE}
243 _machine_dependfiles := ${.MAKE.DEPENDFILE_PREFERENCE:T:M*${MACHINE}*}
245 # for machine specific dependfiles we require ${MACHINE} to be at the end
258 N_notmachine := ${.MAKE.DEPENDFILE_PREFERENCE:E:N*${MACHINE}*:${M_ListToSkip}}
262 # First off, we want to know what ${MACHINE} to build for.
263 # This can be complicated if we are using a mixture of ${MACHINE} specific
268 DEP_MACHINE = ${TARGET_MACHINE:U${MACHINE}}
406 MACHINE=${.TARGET:E} \
572 # M_dep_qual_fixes expects .${MACHINE}* so add (and remove) '.'
735 # Warning: there is an assumption here that MACHINE is always
737 # If TARGET_SPEC and MACHINE are insufficient, you have a problem.
738 _m := ${.MAKE.DEPENDFILE_PREFERENCE:T:S;${TARGET_SPEC}$;${d:E};:S;${MACHINE};${d:E:C/,.*//};:@m@${exists(${d:R}/$m):?${d:R}/$m:}@:[1]}
817 _src != cd ${.CURDIR} && for m in ${.MAKE.DEPENDFILE_PREFERENCE:T:S,${MACHINE},*,}; do test -s $$m || continue; echo $$m; break; done; echo
824 .MAKE.DEPENDFILE_BOOTSTRAP_SED+= -e 's/${_src:E:C/,.*//}/${MACHINE}/g'