2012-06-08 22:57:36 +01:00
|
|
|
bmake
|
2016-06-08 16:38:06 +01:00
|
|
|
*****
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
This directory contains a port of the BSD make tool (from NetBSD).
|
|
|
|
Since 1993 I have run it on AIX, BSDi, Darwin, FreeBSD, HP-UX, IRIX,
|
|
|
|
Linux, Minix, OSF, Solaris, SunOS and even UTS.
|
|
|
|
Others have run it on many more systems.
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
Currently each release is tested on NetBSD, FreeBSD, Solaris and Linux.
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
Since 2003 bmake switched to a date based version (first was 20030714)
|
2012-06-08 22:57:36 +01:00
|
|
|
which generally represents the date it was last merged with NetBSD's
|
|
|
|
make. Since then, NetBSD's make is imported within a week of any
|
|
|
|
interesting changes, so that bmake tracks it very closely.
|
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
Building
|
|
|
|
========
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
The preferred way to bootstrap bmake is::
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
./bmake/boot-strap
|
2012-06-08 22:57:36 +01:00
|
|
|
|
|
|
|
there are a number of args - most of which get passed to configure,
|
|
|
|
eg.
|
2016-06-08 16:38:06 +01:00
|
|
|
::
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
./bmake/boot-strap --prefix=/opt
|
2012-06-08 22:57:36 +01:00
|
|
|
|
|
|
|
see the boot-strap script for details.
|
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
For folk that hate to read anything, since 20121212 you can also use
|
|
|
|
the GNU standard process of::
|
|
|
|
|
|
|
|
./configure; make; make install
|
|
|
|
|
2012-06-08 22:57:36 +01:00
|
|
|
To make much use of bmake you will need the bsd.*.mk macros or my
|
2016-06-08 16:38:06 +01:00
|
|
|
portable *.mk macros which are included with bmake since 20121212
|
|
|
|
and separately available from
|
2012-06-08 22:57:36 +01:00
|
|
|
http://www.crufty.net/ftp/pub/sjg/mk.tar.gz
|
|
|
|
which will be links to the latest versions.
|
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
Porting
|
|
|
|
=======
|
|
|
|
|
|
|
|
If you encounter a system that bmake does not build or work on *out of
|
|
|
|
the box*, I welcome patches.
|
|
|
|
If you can provide access to a suitable machine - even better.
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
More info can be found at http://www.crufty.net/help/sjg/bmake.htm
|
2012-06-08 22:57:36 +01:00
|
|
|
|
2016-06-08 16:38:06 +01:00
|
|
|
--sjg <sjg@crufty.net>
|
2012-06-08 22:57:36 +01:00
|
|
|
|