xref: /freebsd/contrib/bmake/unit-tests/export-all.mk (revision 1c05a6ea6b849ff95e539c31adea887c644a6a01)
1# $Id: export-all.mk,v 1.1.1.2 2015/04/10 20:43:38 sjg Exp $
2
3UT_OK=good
4UT_F=fine
5
6# the old way to do :tA
7M_tAbad = C,.*,cd & \&\& 'pwd',:sh
8# the new
9M_tA = tA
10
11here := ${.PARSEDIR}
12
13# this will cause trouble (recursing if we let it)
14UT_BADDIR = ${${here}/../${here:T}:L:${M_tAbad}:T}
15# this will be ok
16UT_OKDIR = ${${here}/../${here:T}:L:${M_tA}:T}
17
18.export
19
20.include "export.mk"
21
22UT_TEST=export-all
23UT_ALL=even this gets exported
24