5 .sinclude <src.opts.mk>
8 # make sure this is available to unit-tests/Makefile
12 .if exists(${.CURDIR}/tests)
14 .if ${PROGNAME:U} != "bmake"
15 LINKS= ${BINDIR}/make ${BINDIR}/bmake
16 MLINKS= ${MAN} b${MAN}
20 # hack to not add tests to tests subdir since this is included from
21 # there and to avoid renaming things that require changes to generated
23 .if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
28 CFLAGS+= -DNO_PWD_OVERRIDE
30 .if make(after-import)
31 # use our preferred value
32 DEFAULT_SYS_PATH= .../share/mk:/usr/share/mk
33 .export DEFAULT_SYS_PATH
36 .if ${MACHINE} != "host"
37 FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h