Build bmake by default.

If someone explicitly builds usr.bin/make while MK_BMAKE==yes,
install it as 'fmake'.

Reviewed by:	brooks
This commit is contained in:
sjg 2013-05-16 15:28:38 +00:00
parent 6a6c551958
commit 50a31d452c
2 changed files with 8 additions and 1 deletions

View File

@ -251,6 +251,7 @@ __DEFAULT_YES_OPTIONS = \
BIND_UTILS \
BINUTILS \
BLUETOOTH \
BMAKE \
BOOT \
BSD_CPIO \
BSNMP \
@ -360,7 +361,6 @@ __DEFAULT_NO_OPTIONS = \
BIND_LIBS \
BIND_SIGCHASE \
BIND_XML \
BMAKE \
BSDCONFIG \
BSD_GREP \
CLANG_EXTRAS \

View File

@ -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>