mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
3c1c0edeef
we could be on an old system that knows noting of MK_BMAKE or on an almost up to date one that is defaulting it to "no" neither of which will work.
26 lines
475 B
Makefile
26 lines
475 B
Makefile
# $FreeBSD$
|
|
|
|
.include "bsd.own.mk"
|
|
|
|
.if defined(.PARSEDIR)
|
|
# make sure this is available to unit-tests/Makefile
|
|
.export SRCTOP
|
|
.endif
|
|
|
|
# Sadly, we cannot assume bsd.own.mk did its job,
|
|
# nor can we safely include the one we want
|
|
.if !defined(WITHOUT_BMAKE)
|
|
MK_BMAKE= yes
|
|
.endif
|
|
|
|
.if defined(MK_BMAKE) && ${MK_BMAKE} != "no"
|
|
PROG= make
|
|
.endif
|
|
|
|
.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
|
|
NO_SHARED?= YES
|
|
.endif
|
|
|
|
WARNS=3
|
|
CFLAGS+= -DNO_PWD_OVERRIDE
|