xref: /freebsd/usr.bin/bmake/Makefile.inc (revision 298f5fdc242b760e70cd3494e3a4f1f50b20664d)
1# $FreeBSD$
2
3.sinclude <src.opts.mk>
4
5.if defined(.PARSEDIR)
6# make sure this is available to unit-tests/Makefile
7.export SRCTOP
8.endif
9
10PROG= make
11
12.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
13NO_SHARED?=     YES
14.endif
15
16# hack to not add tests to tests subdir since this is included from
17# there and to avoid renaming things that require changes to generated
18# files.
19.if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
20SUBDIR+= tests
21.endif
22
23WARNS=3
24CFLAGS+= -DNO_PWD_OVERRIDE
25