1# $NetBSD: make-exported.mk,v 1.1 2020/08/09 12:59:16 rillig Exp $ 2# 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. 6 7-env= make-exported-value 8-literal= make-exported-value 9UT_VAR= ${UNEXPANDED} 10 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 14 15all: 16 @env | sort | grep -E '^UT_|make-exported-value' || true 17