Sync with manuals from netbsd-8 branch.
[minix3.git] / usr.bin / make / unit-tests / export.mk
blob1b4ee722ca200dfbc3cefdb914cb004352f03830
1 # $Id: export.mk,v 1.1 2014/08/21 13:44:51 apb Exp $
3 UT_TEST=export
4 UT_FOO=foo${BAR}
5 UT_FU=fubar
6 UT_ZOO=hoopie
7 UT_NO=all
8 # belive it or not, we expect this one to come out with $UT_FU unexpanded.
9 UT_DOLLAR= This is $$UT_FU
11 .export UT_FU UT_FOO
12 .export UT_DOLLAR
13 # this one will be ignored
14 .export .MAKE.PID
16 BAR=bar is ${UT_FU}
18 .MAKE.EXPORTED+= UT_ZOO UT_TEST
20 all:
21 @env | grep '^UT_' | sort