Deleted Added
full compact
Makefile.inc (250750) Makefile.inc (250755)
1# $FreeBSD: head/usr.bin/bmake/Makefile.inc 250750 2013-05-17 19:37:16Z sjg $
1# $FreeBSD: head/usr.bin/bmake/Makefile.inc 250755 2013-05-17 22:18:27Z sjg $
2
2
3# we need the up to date bsd.own.mk
4.if ${.CURDIR:M*make} == ""
5.sinclude "share/mk/bsd.own.mk"
6.else
7.sinclude "../../share/mk/bsd.own.mk"
8.endif
9# the above should have found it...
10.include "bsd.own.mk"
11
12.if defined(.PARSEDIR)
13# make sure this is available to unit-tests/Makefile
14.export SRCTOP
15.endif
16
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
17.if defined(MK_BMAKE) && ${MK_BMAKE} != "no"
18PROG= make
19.endif
20
21.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
22NO_SHARED?= YES
23.endif
24
25WARNS=3
26CFLAGS+= -DNO_PWD_OVERRIDE
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