]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/bmake/Makefile.inc
Merge from head
[FreeBSD/FreeBSD.git] / usr.bin / bmake / Makefile.inc
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
10 PROG= make
11
12 .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
13 NO_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)
20 SUBDIR+= tests
21 .endif
22
23 WARNS=3
24 CFLAGS+= -DNO_PWD_OVERRIDE ${DBG}