freebsd-skq/usr.bin/bmake/Makefile.inc

25 lines
523 B
PHP
Raw Normal View History

# $FreeBSD$
.sinclude <src.opts.mk>
.if defined(.PARSEDIR)
# make sure this is available to unit-tests/Makefile
.export SRCTOP
.endif
PROG= make
.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?= YES
.endif
# hack to not add tests to tests subdir since this is included from
# there and to avoid renaming things that require changes to generated
# files.
.if defined(MK_TESTS) && ${MK_TESTS} != no && exists(${.CURDIR}/tests)
SUBDIR+= tests
.endif
WARNS=3
CFLAGS+= -DNO_PWD_OVERRIDE