]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - usr.bin/bmake/Makefile.inc
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / usr.bin / bmake / Makefile.inc
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)
13 MK_BMAKE= yes
14 .endif
15
16 .if defined(MK_BMAKE) && ${MK_BMAKE} != "no"
17 PROG= make
18 .endif
19
20 .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
21 NO_SHARED?=     YES
22 .endif
23
24 # hack to not add tests to tests subdir since this is included from
25 # there and to avoid renaming things that require changes to generated
26 # files.
27 .if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
28 SUBDIR+= tests
29 .endif
30
31 WARNS=3
32 CFLAGS+= -DNO_PWD_OVERRIDE