Lines Matching full:export
1 # $NetBSD: directive-export-gmake.mk,v 1.9 2023/12/17 09:44:00 rillig Exp $
3 # Tests for the export directive (without leading dot), as in GNU make.
5 # The "export" directive only affects the environment of the make process
9 export VAR=exported
19 # This line looks like it would export 2 variables, but it doesn't.
21 export VAR=exported VAR2=exported-as-well
29 export VAR= leading spaces
41 export VAR =trailing space in varname
51 export VAR=${ONCE}
58 export VAR=an ${UNDEF} variable
64 # The body of the .for loop expands to 'export VAR=${:U1}', and the 'export'
66 # 'export' to be a regular target.
70 # expect+1: Invalid line 'export VAR=${:U1}', expanded to 'export VAR=1'
71 export VAR=${value}
75 # The 'export' directive expands expressions, but the expressions must not
79 # As a side effect, this test demonstrates that the 'export' directive exports
80 # the environment variable immediately, other than the '.export' directive,
83 export TZ=${INDIRECT_TZ}
91 # expect+1: Variable/Value missing from "export"
92 export EQ_VAR${EQ}eq-value
103 export ${INDIRECT_NAME}=${INDIRECT_VALUE}