6 # make sure this is available to unit-tests/Makefile
10 # Sadly, we cannot assume bsd.own.mk did its job,
11 # nor can we safely include the one we want
12 .if !defined(WITHOUT_BMAKE)
16 .if defined(MK_BMAKE) && ${MK_BMAKE} != "no" && exists(${.CURDIR}/tests)
20 .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
24 # hack to not add tests to tests subdir since this is included from
25 # there and to avoid renaming things that require changes to generated
27 .if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
32 CFLAGS+= -DNO_PWD_OVERRIDE