1 # $NetBSD: export.mk,v 1.10 2020/10/24 08:50:17 rillig Exp $
8 # believe it or not, we expect this one to come out with $UT_FU unexpanded.
9 UT_DOLLAR= This is $$UT_FU
14 .if !defined(.MAKE.PID)
15 . error .MAKE.PID must be defined
20 ${:U!}= exclamation # A direct != would try to run "exclamation"
21 # as a shell command and assign its output
22 # to the empty variable.
25 # This is ignored because it is internal.
27 # These are ignored because they are local to the target.
32 # This is exported (see the .rawout file) but not displayed since the dash
33 # shell filters it out. To reach consistent output for each shell, the
34 # ampersand is filtered out already by FILTER_CMD.
36 # This is ignored because it is undefined.
41 .MAKE.EXPORTED+= UT_ZOO UT_TEST
43 FILTER_CMD?= egrep -v '^(MAKEFLAGS|MALLOC_OPTIONS|PATH|PWD|SHLVL|_|&)='
46 @env | ${FILTER_CMD} | sort