fbaeb3b2ac
Initial done work by Lukasz Strzygowsky and reorganization of files done by me.
23 lines
404 B
Makefile
23 lines
404 B
Makefile
# $NetBSD: d_export.mk,v 1.1 2009/02/13 05:19:52 jmmv Exp $
|
|
|
|
UT_TEST=export
|
|
UT_FOO=foo${BAR}
|
|
UT_FU=fubar
|
|
UT_ZOO=hoopie
|
|
UT_NO=all
|
|
# belive it or not, we expect this one to come out with $UT_FU unexpanded.
|
|
UT_DOLLAR= This is $$UT_FU
|
|
|
|
.export UT_FU UT_FOO
|
|
.export UT_DOLLAR
|
|
# this one will be ignored
|
|
.export .MAKE.PID
|
|
|
|
BAR=bar is ${UT_FU}
|
|
|
|
.MAKE.EXPORTED+= UT_ZOO UT_TEST
|
|
|
|
all:
|
|
@env | grep '^UT_' | sort
|
|
|