1 # $NetBSD: make-exported.mk,v 1.1 2020/08/09 12:59:16 rillig Exp $
3 # As of 2020-08-09, the code in Var_Export is shared between the .export
4 # directive and the .MAKE.EXPORTED variable. This leads to non-obvious
5 # behavior for certain variable assignments.
7 -env= make-exported-value
8 -literal= make-exported-value
11 # The following behavior is probably not intended.
12 .MAKE.EXPORTED= -env # like .export-env
13 .MAKE.EXPORTED= -literal UT_VAR # like .export-literal PATH
16 @env | sort | grep -E '^UT_|make-exported-value' || true