1*cb3c414fSSimon J. Gerraty# we do not need this 2*cb3c414fSSimon J. GerratyMK_host_egacy= no 3*cb3c414fSSimon J. Gerraty 4f0e84579SWarner Losh.sinclude <src.opts.mk> 5d4d90f10SMarcel Moolenaar 6d4d90f10SMarcel Moolenaar.if defined(.PARSEDIR) 7d4d90f10SMarcel Moolenaar# make sure this is available to unit-tests/Makefile 8d4d90f10SMarcel Moolenaar.export SRCTOP 9d4d90f10SMarcel Moolenaar.endif 10d4d90f10SMarcel Moolenaar 1122548942SBryan Drewery.if exists(${.CURDIR}/tests) 12d4d90f10SMarcel MoolenaarPROG= make 13eb8bf6bbSBryan Drewery.if ${PROGNAME:U} != "bmake" 1485d6747aSSimon J. GerratyLINKS= ${BINDIR}/make ${BINDIR}/bmake 15ee106663SSimon J. GerratyMLINKS= ${MAN} b${MAN} 1622548942SBryan Drewery.endif 17eb8bf6bbSBryan Drewery.endif 18d4d90f10SMarcel Moolenaar 190629d5e9SWarner Losh# hack to not add tests to tests subdir since this is included from 200629d5e9SWarner Losh# there and to avoid renaming things that require changes to generated 210629d5e9SWarner Losh# files. 220629d5e9SWarner Losh.if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests) 23a3438dfcSWarner LoshSUBDIR+= tests 24a3438dfcSWarner Losh.endif 25a3438dfcSWarner Losh 26ecebb3ccSKyle EvansWARNS?=3 278ebb9835SSimon J. GerratyCFLAGS+= -DNO_PWD_OVERRIDE 28c7019bf7SSimon J. Gerraty 29c7019bf7SSimon J. Gerraty.if make(after-import) 30c7019bf7SSimon J. Gerraty# use our preferred value 31c7019bf7SSimon J. GerratyDEFAULT_SYS_PATH= .../share/mk:/usr/share/mk 32c7019bf7SSimon J. Gerraty.export DEFAULT_SYS_PATH 33c7019bf7SSimon J. Gerraty.endif 3450d2e745SSimon J. Gerraty 3550d2e745SSimon J. Gerraty.if ${MACHINE} != "host" 3650d2e745SSimon J. GerratyFILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h 3750d2e745SSimon J. Gerraty.endif 38