|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 06-May-2025 | - |
| PSD.doc/ | H | 06-May-2025 | - | 3,806 | 3,689 |
| filemon/ | H | 06-May-2025 | - | 1,104 | 682 |
| missing/sys/ | H | 06-May-2025 | - | 187 | 92 |
| mk/ | H | 06-May-2025 | - | 16,127 | 10,528 |
| unit-tests/ | H | 06-May-2025 | - | 32,564 | 17,975 |
| ChangeLog | H A D | 06-May-2025 | 144.2 KiB | 4,281 | 3,201 |
| FILES | H A D | 06-May-2025 | 24.5 KiB | 873 | 872 |
| LICENSE | H A D | 06-May-2025 | 2.6 KiB | 61 | 47 |
| Makefile | H A D | 06-May-2025 | 5.2 KiB | 239 | 171 |
| Makefile.config.in | H A D | 06-May-2025 | 535 | 24 | 20 |
| README | H A D | 06-May-2025 | 1.5 KiB | 53 | 35 |
| VERSION | H A D | 06-May-2025 | 63 | 3 | 2 |
| _strtol.h | H A D | 06-May-2025 | 6.1 KiB | 214 | 137 |
| aclocal.m4 | H A D | 06-May-2025 | 1.9 KiB | 83 | 72 |
| arch.c | H A D | 06-May-2025 | 30.7 KiB | 1,148 | 611 |
| bmake.1 | H A D | 06-May-2025 | 72.5 KiB | 2,755 | 2,744 |
| bmake.cat1 | H A D | 06-May-2025 | 85.1 KiB | 1,757 | 1,328 |
| boot-strap | H A D | 06-May-2025 | 10.6 KiB | 477 | 439 |
| bsd.after-import.mk | H A D | 06-May-2025 | 3.9 KiB | 128 | 93 |
| buf.c | H A D | 06-May-2025 | 6.4 KiB | 217 | 101 |
| buf.h | H A D | 06-May-2025 | 5 KiB | 130 | 42 |
| compat.c | H A D | 06-May-2025 | 19.7 KiB | 801 | 466 |
| cond.c | H A D | 06-May-2025 | 32.2 KiB | 1,323 | 811 |
| config.h.in | H A D | 06-May-2025 | 12 KiB | 445 | 331 |
| configure | H A D | 06-May-2025 | 223.5 KiB | 8,342 | 6,998 |
| configure.in | H A D | 06-May-2025 | 13.3 KiB | 568 | 547 |
| dir.c | H A D | 06-May-2025 | 45.4 KiB | 1,742 | 938 |
| dir.h | H A D | 06-May-2025 | 4.7 KiB | 109 | 28 |
| dirname.c | H A D | 06-May-2025 | 3.1 KiB | 126 | 75 |
| find_lib.sh | H A D | 06-May-2025 | 321 | 21 | 14 |
| for.c | H A D | 06-May-2025 | 13.1 KiB | 546 | 343 |
| getopt.c | H A D | 06-May-2025 | 4.8 KiB | 189 | 126 |
| hash.c | H A D | 06-May-2025 | 9.3 KiB | 334 | 191 |
| hash.h | H A D | 06-May-2025 | 6.3 KiB | 180 | 80 |
| import.sh | H A D | 06-May-2025 | 2.5 KiB | 98 | 73 |
| install-sh | H A D | 06-May-2025 | 4.1 KiB | 225 | 204 |
| job.c | H A D | 06-May-2025 | 77.5 KiB | 3,056 | 1,812 |
| job.h | H A D | 06-May-2025 | 7.1 KiB | 213 | 73 |
| lst.c | H A D | 06-May-2025 | 6.3 KiB | 295 | 180 |
| lst.h | H A D | 06-May-2025 | 6.8 KiB | 208 | 75 |
| machine.sh | H A D | 06-May-2025 | 1,008 | 50 | 25 |
| main.c | H A D | 06-May-2025 | 50.3 KiB | 2,207 | 1,583 |
| make-bootstrap.sh.in | H A D | 06-May-2025 | 2 KiB | 96 | 73 |
| make-conf.h | H A D | 06-May-2025 | 5.6 KiB | 150 | 14 |
| make.1 | H A D | 06-May-2025 | 72.6 KiB | 2,762 | 2,751 |
| make.c | H A D | 06-May-2025 | 40 KiB | 1,495 | 805 |
| make.h | H A D | 06-May-2025 | 34.6 KiB | 1,243 | 627 |
| make_malloc.c | H A D | 06-May-2025 | 2.5 KiB | 94 | 48 |
| make_malloc.h | H A D | 06-May-2025 | 1.9 KiB | 43 | 13 |
| makefile.in | H A D | 06-May-2025 | 282 | 15 | 5 |
| meta.c | H A D | 06-May-2025 | 41 KiB | 1,709 | 1,240 |
| meta.h | H A D | 06-May-2025 | 2.4 KiB | 61 | 24 |
| metachar.c | H A D | 06-May-2025 | 3.6 KiB | 85 | 26 |
| metachar.h | H A D | 06-May-2025 | 1.9 KiB | 53 | 17 |
| mkdeps.sh | H A D | 06-May-2025 | 7.5 KiB | 322 | 206 |
| os.sh | H A D | 06-May-2025 | 5.9 KiB | 269 | 189 |
| parse.c | H A D | 06-May-2025 | 74.8 KiB | 3,116 | 2,084 |
| pathnames.h | H A D | 06-May-2025 | 2.4 KiB | 64 | 28 |
| ranlib.h | H A D | 06-May-2025 | 1,008 | 33 | 17 |
| realpath.c | H A D | 06-May-2025 | 5.1 KiB | 216 | 129 |
| setenv.c | H A D | 06-May-2025 | 4.6 KiB | 155 | 93 |
| sigact.h | H A D | 06-May-2025 | 2.5 KiB | 105 | 50 |
| sigaction.c | H A D | 06-May-2025 | 8.9 KiB | 398 | 208 |
| sigcompat.c | H A D | 06-May-2025 | 8.5 KiB | 326 | 193 |
| str.c | H A D | 06-May-2025 | 11.3 KiB | 442 | 289 |
| str.h | H A D | 06-May-2025 | 7.2 KiB | 349 | 243 |
| stresep.c | H A D | 06-May-2025 | 2.9 KiB | 94 | 43 |
| strlcpy.c | H A D | 06-May-2025 | 1.7 KiB | 63 | 28 |
| suff.c | H A D | 06-May-2025 | 55.4 KiB | 2,203 | 1,160 |
| targ.c | H A D | 06-May-2025 | 15.5 KiB | 606 | 347 |
| trace.c | H A D | 06-May-2025 | 3.2 KiB | 121 | 60 |
| trace.h | H A D | 06-May-2025 | 1.8 KiB | 54 | 14 |
| util.c | H A D | 06-May-2025 | 13.4 KiB | 668 | 557 |
| var.c | H A D | 06-May-2025 | 115.2 KiB | 4,860 | 3,211 |
| wait.h | H A D | 06-May-2025 | 2 KiB | 82 | 50 |
README
1 bmake
2 *****
3
4This directory contains a port of the BSD make tool (from NetBSD).
5Since 1993 I have run it on AIX, BSDi, Darwin, FreeBSD, HP-UX, IRIX,
6Linux, Minix, OSF, Solaris, SunOS and even UTS.
7Others have run it on many more systems.
8
9Currently each release is tested on NetBSD, FreeBSD, Solaris and Linux.
10
11Since 2003 bmake switched to a date based version (first was 20030714)
12which generally represents the date it was last merged with NetBSD's
13make. Since then, NetBSD's make is imported within a week of any
14interesting changes, so that bmake tracks it very closely.
15
16Building
17========
18
19The preferred way to bootstrap bmake is::
20
21 ./bmake/boot-strap
22
23there are a number of args - most of which get passed to configure,
24eg.
25::
26
27 ./bmake/boot-strap --prefix=/opt
28
29see the boot-strap script for details.
30
31For folk that hate to read anything, since 20121212 you can also use
32the GNU standard process of::
33
34 ./configure; make; make install
35
36To make much use of bmake you will need the bsd.*.mk macros or my
37portable *.mk macros which are included with bmake since 20121212
38and separately available from
39http://www.crufty.net/ftp/pub/sjg/mk.tar.gz
40which will be links to the latest versions.
41
42Porting
43=======
44
45If you encounter a system that bmake does not build or work on *out of
46the box*, I welcome patches.
47If you can provide access to a suitable machine - even better.
48
49More info can be found at http://www.crufty.net/help/sjg/bmake.htm
50
51--sjg <[email protected]>
52
53