summaryrefslogtreecommitdiffstats
path: root/usr.bin/bmake/Makefile.inc
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2012-10-06 19:19:21 +0000
committermarcel <marcel@FreeBSD.org>2012-10-06 19:19:21 +0000
commitbd137de2db94b8668cf1fd550552bb4b41facb0e (patch)
treeda2d0bce63a7f39427e44b7f31cea3bbb63cc9c4 /usr.bin/bmake/Makefile.inc
parent78ade40ed1d3591a0bf9f5a1bb057c1f4084135d (diff)
downloadFreeBSD-src-bd137de2db94b8668cf1fd550552bb4b41facb0e.zip
FreeBSD-src-bd137de2db94b8668cf1fd550552bb4b41facb0e.tar.gz
Add bmake to the build and allow it to be installed as make(1) instead
of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net)
Diffstat (limited to 'usr.bin/bmake/Makefile.inc')
-rw-r--r--usr.bin/bmake/Makefile.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.bin/bmake/Makefile.inc b/usr.bin/bmake/Makefile.inc
new file mode 100644
index 0000000..4d7fd54
--- /dev/null
+++ b/usr.bin/bmake/Makefile.inc
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+.include "bsd.own.mk"
+
+.if defined(.PARSEDIR)
+# make sure this is available to unit-tests/Makefile
+.export SRCTOP
+.endif
+
+.if defined(MK_BMAKE)
+PROG= make
+.endif
+
+WARNS=3
OpenPOWER on IntegriCloud