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