mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
Relevant/interesting changes: * make.1: document seemingly unexplained Error code 6. o compat.c: CompatDeleteTarget skip .PHONY targets to be consistent with JobDeleteTarget. o job.c: fix memory leak in handling sysv :from=to modifiers o unit tests for .MAKE.META.IGNORE_{FILTER,PATHS,PATTERNS} o var.c: fix parsing of unevaluated subexpressions with unbalanced '{}' o cond.c: reduce complexity of evaluating expressions
24 lines
633 B
Makefile
24 lines
633 B
Makefile
# $NetBSD: varname-dot-makeoverrides.mk,v 1.5 2023/02/25 06:54:08 rillig Exp $
|
|
#
|
|
# Tests for the special .MAKEOVERRIDES variable, which lists the names of the
|
|
# variables that are passed on to child processes via the MAKEFLAGS
|
|
# environment variable.
|
|
#
|
|
# See also:
|
|
# varname-dot-makeflags.mk
|
|
|
|
all:
|
|
@echo '$@: overrides=<'${.MAKEOVERRIDES:Uundefined:Q}'>'
|
|
${MAKE} -f ${MAKEFILE} stage_1 VAR=value
|
|
|
|
stage_1:
|
|
@echo '$@: overrides=<'${.MAKEOVERRIDES:Q}'>'
|
|
${MAKE} -f ${MAKEFILE} stage_2
|
|
|
|
stage_2:
|
|
@echo '$@: overrides=<'${.MAKEOVERRIDES:Q}'>'
|
|
${MAKE} -f ${MAKEFILE} stage_3
|
|
|
|
stage_3:
|
|
@echo '$@: overrides=<'${.MAKEOVERRIDES:Q}'>'
|