summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-05-16 15:28:38 +0000
committersjg <sjg@FreeBSD.org>2013-05-16 15:28:38 +0000
commit50a31d452c540902dc3440b10fdb5be335608fe8 (patch)
treeafcfd928851de386eed0df43c4bf1be8698f6f14 /usr.bin/make
parent6a6c551958965746577b88c3f2987080a5a97b7f (diff)
downloadFreeBSD-src-50a31d452c540902dc3440b10fdb5be335608fe8.zip
FreeBSD-src-50a31d452c540902dc3440b10fdb5be335608fe8.tar.gz
Build bmake by default.
If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'. Reviewed by: brooks
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index 5442eaa..5bc8b87 100644
--- a/usr.bin/make/Makefile
+++ b/usr.bin/make/Makefile
@@ -111,4 +111,11 @@ CFLAGS+= -DDEFSHELLNAME=\"${MAKE_SHELL}\"
.error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"."
.endif
+.if ${MK_BMAKE} != "no"
+# if we are here we don't want this called 'make'
+PROG= fmake
+fmake.1: make.1
+ cp ${.ALLSRC} ${.TARGET}
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud