Makefile.inc revision 321964
1# $FreeBSD: stable/10/usr.bin/bmake/Makefile.inc 321964 2017-08-03 01:40:05Z sjg $ 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" && exists(${.CURDIR}/tests) 17PROG= make 18.endif 19 20.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no" 21NO_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) 28SUBDIR+= tests 29.endif 30 31WARNS=3 32CFLAGS+= -DNO_PWD_OVERRIDE 33 34.if make(after-import) 35# use our preferred value 36DEFAULT_SYS_PATH= .../share/mk:/usr/share/mk 37.export DEFAULT_SYS_PATH 38.endif 39