xref: /freebsd/usr.bin/bmake/Makefile.inc (revision 4fd0d10e0fe684211328bc148edf89a792425b39)
1# $FreeBSD$
2
3.include "bsd.own.mk"
4
5.if defined(.PARSEDIR)
6# make sure this is available to unit-tests/Makefile
7.export SRCTOP
8.endif
9
10# Sadly, we cannot assume bsd.own.mk did its job,
11# nor can we safely include the one we want
12.if !defined(WITHOUT_BMAKE)
13MK_BMAKE= yes
14.endif
15
16.if defined(MK_BMAKE) && ${MK_BMAKE} != "no"
17PROG= make
18.endif
19
20.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
21NO_SHARED?=     YES
22.endif
23
24WARNS=3
25CFLAGS+= -DNO_PWD_OVERRIDE
26