1# we do not need this 2MK_host_egacy= no 3 4.sinclude <src.opts.mk> 5 6.if defined(.PARSEDIR) 7# make sure this is available to unit-tests/Makefile 8.export SRCTOP 9.endif 10 11.if exists(${.CURDIR}/tests) 12PROG= make 13.if ${PROGNAME:U} != "bmake" 14LINKS= ${BINDIR}/make ${BINDIR}/bmake 15MLINKS= ${MAN} b${MAN} 16.endif 17.endif 18 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 21# files. 22.if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests) 23SUBDIR+= tests 24.endif 25 26WARNS?=3 27CFLAGS+= -DNO_PWD_OVERRIDE 28 29.if make(after-import) 30# use our preferred value 31DEFAULT_SYS_PATH= .../share/mk:/usr/share/mk 32.export DEFAULT_SYS_PATH 33.endif 34 35.if ${MACHINE} != "host" 36FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h 37.endif 38