Remove building with NOCRYPTO option
[minix.git] / usr.bin / make / unit-tests / export-env.mk
blob6e9993b7bde904ed5e47fd806663759062bbedda
1 # $Id: export-env.mk,v 1.1 2014/08/21 13:44:51 apb Exp $
3 # our normal .export, subsequent changes affect the environment
4 UT_TEST=this
5 .export UT_TEST
6 UT_TEST:= ${.PARSEFILE}
8 # not so with .export-env
9 UT_ENV=exported
10 .export-env UT_ENV
11 UT_ENV=not-exported
13 # gmake style export goes further; affects nothing but the environment
14 UT_EXP=before-export
15 export UT_EXP=exported
16 UT_EXP=not-exported
18 all:
19 @echo make:; ${UT_TEST UT_ENV UT_EXP:L:@v@echo $v=${$v};@}
20 @echo env:; ${UT_TEST UT_ENV UT_EXP:L:@v@echo $v=$${$v};@}