mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 14:21:18 +01:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
38 lines
797 B
Makefile
38 lines
797 B
Makefile
# we do not need this
|
|
MK_host_egacy= no
|
|
|
|
.sinclude <src.opts.mk>
|
|
|
|
.if defined(.PARSEDIR)
|
|
# make sure this is available to unit-tests/Makefile
|
|
.export SRCTOP
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/tests)
|
|
PROG= make
|
|
.if ${PROGNAME:U} != "bmake"
|
|
LINKS= ${BINDIR}/make ${BINDIR}/bmake
|
|
MLINKS= ${MAN} b${MAN}
|
|
.endif
|
|
.endif
|
|
|
|
# hack to not add tests to tests subdir since this is included from
|
|
# there and to avoid renaming things that require changes to generated
|
|
# files.
|
|
.if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
WARNS?=3
|
|
CFLAGS+= -DNO_PWD_OVERRIDE
|
|
|
|
.if make(after-import)
|
|
# use our preferred value
|
|
DEFAULT_SYS_PATH= .../share/mk:/usr/share/mk
|
|
.export DEFAULT_SYS_PATH
|
|
.endif
|
|
|
|
.if ${MACHINE} != "host"
|
|
FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h
|
|
.endif
|