freebsd-dev/usr.bin/bmake/Makefile.inc
Simon J. Gerraty 8ebb983529 We really need to get the bsd.own.mk from this tree so the
correct options are set.
Also defined NO_PWD_OVERRIDE to match behavior of fmake.
2013-05-17 19:37:16 +00:00

27 lines
514 B
Makefile

# $FreeBSD$
# we need the up to date bsd.own.mk
.if ${.CURDIR:M*make} == ""
.sinclude "share/mk/bsd.own.mk"
.else
.sinclude "../../share/mk/bsd.own.mk"
.endif
# the above should have found it...
.include "bsd.own.mk"
.if defined(.PARSEDIR)
# make sure this is available to unit-tests/Makefile
.export SRCTOP
.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