3 .sinclude <src.opts.mk>
6 # make sure this is available to unit-tests/Makefile
10 .if exists(${.CURDIR}/tests)
14 .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
18 # hack to not add tests to tests subdir since this is included from
19 # there and to avoid renaming things that require changes to generated
21 .if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
26 CFLAGS+= -DNO_PWD_OVERRIDE
28 .if make(after-import)
29 # use our preferred value
30 DEFAULT_SYS_PATH= .../share/mk:/usr/share/mk
31 .export DEFAULT_SYS_PATH
34 .if ${MACHINE} != "host"
35 FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h