1236769Sobrien			       bmake
2236769Sobrien
3236769SobrienThis directory contains a port of the BSD make tool (from NetBSD)
4236769SobrienI have run it on SunOS,Solaris,HP-UX,AIX,IRIX,FreeBSD and Linux.
5236769Sobrien
6236769SobrienVersion 3 was re-worked from scratch to better facilitate
7236769Sobrienimporting newer make(1) versions from NetBSD.  The original code base
8236769Sobrienwas NetBSD-1.0, so version 3 was built by doing a fresh import of the
9236769SobrienNetBSD-1.0 usr.bin/make, adding the autoconf and other portability
10236769Sobrienpatches to sync it with bmake v2, and then NetBSD's make 
11236769Sobrienof Feb 20, 2000 was imported and conflicts dealt with.
12236769SobrienNetBSD's make was again imported on June 6 and December 15, 2000.
13236769Sobrien
14236769SobrienIn 2003 bmake switched to a date based version (first was 20030714)
15236769Sobrienwhich generally represents the date it was last merged with NetBSD's
16236769Sobrienmake.  Since then, NetBSD's make is imported within a week of any
17236769Sobrieninteresting changes, so that bmake tracks it very closely.
18236769Sobrien
19236769SobrienBuilding:
20236769Sobrien
21236769SobrienThe prefered way to bootstrap bmake is:
22236769Sobrien
23236769Sobrien./bmake/boot-strap
24236769Sobrien
25236769Sobrienthere are a number of args - most of which get passed to configure,
26236769Sobrieneg.
27236769Sobrien
28236769Sobrien./bmake/boot-strap --prefix=/opt
29236769Sobrien
30236769Sobriensee the boot-strap script for details.
31236769Sobrien
32236769SobrienTo make much use of bmake you will need the bsd.*.mk macros or my
33236769Sobrienportable *.mk macros.  See 
34236769Sobrienhttp://www.crufty.net/ftp/pub/sjg/mk.tar.gz
35236769Sobrienwhich will be links to the latest versions.
36236769Sobrien
37236769SobrienOn a non-BSD system, you would want to unpack mk[-YYYYmmdd].tar.gz in
38236769Sobrienthe same directory as bmake (so ./mk and ./bmake exist), and
39236769Sobrien./bmake/boot-strap will do the rest.
40236769Sobrien
41236769SobrienIf you want to do it all by hand then read boot-strap first to get the
42236769Sobrienidea.
43236769Sobrien
44236769SobrienEven if you have an earlier version of bmake installed, use boot-strap
45236769Sobriento ensure that all goes well.
46236769Sobrien
47236769Sobrien--sjg
48