|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| PSD.doc/ | | 12-Feb-2019 | - | 3,806 | 3,689 |
| filemon/ | | 23-Dec-2020 | - | 1,085 | 684 |
| lst.lib/ | | 23-Dec-2020 | - | 2,654 | 844 |
| mk/ | | 23-Dec-2020 | - | 13,668 | 9,023 |
| unit-tests/ | | 23-Dec-2020 | - | 3,419 | 2,344 |
| ChangeLog | D | 23-Dec-2020 | 81.4 KiB | 2,496 | 1,760 |
| FILES | D | 23-Dec-2020 | 3.2 KiB | 190 | 189 |
| Makefile | D | 23-Dec-2020 | 4.9 KiB | 242 | 179 |
| Makefile.config.in | D | 23-Dec-2020 | 485 | 23 | 19 |
| README | D | 12-Feb-2019 | 1.5 KiB | 53 | 35 |
| VERSION | D | 23-Dec-2020 | 63 | 3 | 2 |
| aclocal.m4 | D | 12-Feb-2019 | 1.9 KiB | 83 | 72 |
| arch.c | D | 23-Dec-2020 | 39.4 KiB | 1,417 | 699 |
| bmake.1 | D | 23-Dec-2020 | 64.4 KiB | 2,446 | 2,434 |
| bmake.cat1 | D | 23-Dec-2020 | 79.1 KiB | 1,560 | 1,200 |
| boot-strap | D | 23-Dec-2020 | 10.7 KiB | 476 | 441 |
| bsd.after-import.mk | D | 23-Dec-2020 | 3.4 KiB | 112 | 79 |
| buf.c | D | 23-Dec-2020 | 8 KiB | 292 | 95 |
| buf.h | D | 12-Feb-2019 | 4.7 KiB | 120 | 30 |
| compat.c | D | 23-Dec-2020 | 20.6 KiB | 782 | 438 |
| cond.c | D | 23-Dec-2020 | 35.8 KiB | 1,440 | 793 |
| config.h.in | D | 23-Dec-2020 | 8.8 KiB | 345 | 241 |
| configure | D | 23-Dec-2020 | 201.9 KiB | 7,449 | 6,253 |
| configure.in | D | 23-Dec-2020 | 10.6 KiB | 434 | 417 |
| dir.c | D | 23-Dec-2020 | 51 KiB | 1,859 | 911 |
| dir.h | D | 12-Feb-2019 | 4.6 KiB | 109 | 27 |
| dirname.c | D | 23-Dec-2020 | 3.1 KiB | 126 | 75 |
| find_lib.sh | D | 12-Feb-2019 | 138 | 14 | 10 |
| for.c | D | 23-Dec-2020 | 12.5 KiB | 497 | 290 |
| getopt.c | D | 12-Feb-2019 | 4.8 KiB | 189 | 126 |
| hash.c | D | 23-Dec-2020 | 12.3 KiB | 478 | 175 |
| hash.h | D | 23-Dec-2020 | 5.6 KiB | 151 | 31 |
| install-sh | D | 12-Feb-2019 | 3.8 KiB | 202 | 183 |
| job.c | D | 23-Dec-2020 | 84.3 KiB | 3,180 | 1,701 |
| job.h | D | 23-Dec-2020 | 10.7 KiB | 275 | 94 |
| lst.h | D | 12-Feb-2019 | 6.7 KiB | 190 | 41 |
| machine.sh | D | 12-Feb-2019 | 2.2 KiB | 107 | 76 |
| main.c | D | 23-Dec-2020 | 52.4 KiB | 2,253 | 1,540 |
| make-bootstrap.sh.in | D | 23-Dec-2020 | 2.3 KiB | 102 | 78 |
| make-conf.h | D | 12-Feb-2019 | 6 KiB | 163 | 19 |
| make.1 | D | 23-Dec-2020 | 64.6 KiB | 2,453 | 2,441 |
| make.c | D | 23-Dec-2020 | 45.5 KiB | 1,556 | 747 |
| make.h | D | 23-Dec-2020 | 21.2 KiB | 551 | 274 |
| make_malloc.c | D | 23-Dec-2020 | 2.7 KiB | 120 | 58 |
| make_malloc.h | D | 12-Feb-2019 | 1.8 KiB | 42 | 12 |
| makefile.in | D | 12-Feb-2019 | 282 | 15 | 5 |
| meta.c | D | 23-Dec-2020 | 40.2 KiB | 1,748 | 1,300 |
| meta.h | D | 23-Dec-2020 | 2.4 KiB | 60 | 24 |
| metachar.c | D | 12-Feb-2019 | 3.6 KiB | 89 | 28 |
| metachar.h | D | 12-Feb-2019 | 2 KiB | 62 | 23 |
| mkdeps.sh | D | 12-Feb-2019 | 7.3 KiB | 315 | 202 |
| nonints.h | D | 23-Dec-2020 | 7.6 KiB | 213 | 111 |
| os.sh | D | 12-Feb-2019 | 5.5 KiB | 256 | 180 |
| parse.c | D | 23-Dec-2020 | 85.8 KiB | 3,373 | 1,857 |
| pathnames.h | D | 12-Feb-2019 | 2.4 KiB | 63 | 28 |
| ranlib.h | D | 12-Feb-2019 | 1,008 | 33 | 17 |
| realpath.c | D | 12-Feb-2019 | 5.1 KiB | 216 | 129 |
| setenv.c | D | 12-Feb-2019 | 4.6 KiB | 155 | 93 |
| sigcompat.c | D | 12-Feb-2019 | 8.5 KiB | 326 | 193 |
| sprite.h | D | 12-Feb-2019 | 4.4 KiB | 117 | 13 |
| str.c | D | 23-Dec-2020 | 13.2 KiB | 530 | 285 |
| stresep.c | D | 12-Feb-2019 | 2.9 KiB | 94 | 43 |
| strlcpy.c | D | 12-Feb-2019 | 1.7 KiB | 64 | 30 |
| strlist.c | D | 12-Feb-2019 | 2.8 KiB | 94 | 51 |
| strlist.h | D | 12-Feb-2019 | 2.5 KiB | 63 | 22 |
| suff.c | D | 23-Dec-2020 | 70.5 KiB | 2,677 | 1,251 |
| targ.c | D | 23-Dec-2020 | 22.8 KiB | 847 | 384 |
| trace.c | D | 23-Dec-2020 | 3 KiB | 117 | 59 |
| trace.h | D | 12-Feb-2019 | 1.8 KiB | 50 | 11 |
| util.c | D | 23-Dec-2020 | 12.7 KiB | 597 | 493 |
| var.c | D | 23-Dec-2020 | 106.5 KiB | 4,131 | 2,694 |
| wait.h | D | 12-Feb-2019 | 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 <sjg@crufty.net>
52
53