Replace legacy make with bmake
authorJohn Marino <draco@marino.st>
Sun, 28 Oct 2012 12:38:32 +0000 (13:38 +0100)
committerJohn Marino <draco@marino.st>
Sun, 28 Oct 2012 13:32:12 +0000 (14:32 +0100)
commit3da8e88fd44bdb1ff2af162b8fecd7c65d5e533b
tree7809103c46342013041370917bbc602e681b813b
parentb3badcb070292bd53d2b9cabd6e4efbf1ab5e03e
Replace legacy make with bmake

The proper way to detect which make is building the makefile is to check
for .PARSEDIR.  If present, bmake is processing the makefile.  For the
time being, both make will be supported for bootstrapping purposes, but
in time the check can be removed, say for the DragonFly 3.6 release.

The abundance of .ORDER commands in bsd.dep.mk caused a breakage when
building world in parallel with bmake.  Likely some order constraints
were impossible to achieve, and bmake just stopped while legacy did the
best it could.  In any case, the majority of the .ORDER commands were
replaced by a single .ORDER command which solved the problem.

The legacy make is disconnected in this commit set, but the source files
will be removed soon.
13 files changed:
Makefile
Makefile.inc1
lib/i18n_module/Makefile.inc
lib/libc/citrus/Makefile.inc
nrelease/Makefile
share/mk/bsd.cpu.mk
share/mk/bsd.dep.mk
share/mk/bsd.obj.mk
share/mk/bsd.subdir.mk
share/mk/bsd.sys.mk
share/mk/sys.mk
usr.bin/Makefile
usr.sbin/config/mkmakefile.c