3 .sinclude <src.opts.mk>
6 # make sure this is available to unit-tests/Makefile
10 .if exists(${.CURDIR}/tests)
12 .if ${PROGNAME:U} != "bmake"
13 LINKS= ${BINDIR}/make ${BINDIR}/bmake
14 MLINKS= ${MAN} b${MAN}
18 .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
22 # hack to not add tests to tests subdir since this is included from
23 # there and to avoid renaming things that require changes to generated
25 .if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
30 CFLAGS+= -DNO_PWD_OVERRIDE
32 .if make(after-import)
33 # use our preferred value
34 DEFAULT_SYS_PATH= .../share/mk:/usr/share/mk
35 .export DEFAULT_SYS_PATH
38 .if ${MACHINE} != "host"
39 FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h