|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| PSD.doc/ | H | - | - | 3,806 | 3,689 |
| filemon/ | H | - | - | 1,104 | 682 |
| missing/sys/ | H | - | - | 187 | 92 |
| mk/ | H | - | - | 17,051 | 10,986 |
| unit-tests/ | H | - | - | 33,881 | 18,737 |
| ChangeLog | H A D | 20-Jul-2024 | 159.4 KiB | 4,661 | 3,474 |
| FILES | H A D | 20-Jul-2024 | 24.6 KiB | 873 | 872 |
| LICENSE | H A D | 14-Jan-2021 | 2.6 KiB | 61 | 47 |
| Makefile | H A D | 03-May-2024 | 5.2 KiB | 238 | 170 |
| Makefile.config.in | H A D | 03-May-2024 | 570 | 25 | 21 |
| README | H A D | 14-Jan-2024 | 1.7 KiB | 60 | 41 |
| VERSION | H A D | 20-Jul-2024 | 63 | 3 | 2 |
| _strtol.h | H A D | 18-Dec-2021 | 6.1 KiB | 214 | 137 |
| aclocal.m4 | H A D | 02-Mar-2018 | 1.9 KiB | 83 | 72 |
| arch.c | H A D | 20-Jul-2024 | 27 KiB | 1,029 | 604 |
| bmake.1 | H A D | 20-Jul-2024 | 73.2 KiB | 2,786 | 2,775 |
| bmake.cat1 | H A D | 20-Jul-2024 | 89.5 KiB | 1,792 | 1,358 |
| boot-strap | H A D | 14-Mar-2024 | 11.2 KiB | 504 | 465 |
| bsd.after-import.mk | H A D | 14-Jan-2024 | 4.1 KiB | 135 | 98 |
| buf.c | H A D | 03-May-2024 | 5.8 KiB | 190 | 84 |
| buf.h | H A D | 03-May-2024 | 5 KiB | 129 | 41 |
| compat.c | H A D | 20-Jul-2024 | 19.1 KiB | 779 | 473 |
| cond.c | H A D | 20-Jul-2024 | 29.9 KiB | 1,247 | 792 |
| config.h.in | H A D | 20-Jul-2024 | 12.2 KiB | 448 | 333 |
| configure | H A D | 20-Jul-2024 | 229.3 KiB | 8,399 | 7,047 |
| configure.in | H A D | 20-Jul-2024 | 14.7 KiB | 611 | 590 |
| dir.c | H A D | 20-Jul-2024 | 42 KiB | 1,658 | 938 |
| dir.h | H A D | 20-Jul-2024 | 4.8 KiB | 110 | 29 |
| dirname.c | H A D | 09-Jun-2020 | 3.1 KiB | 126 | 75 |
| find_lib.sh | H A D | 28-Jan-2023 | 321 | 21 | 14 |
| for.c | H A D | 29-Jun-2024 | 12.6 KiB | 521 | 325 |
| getopt.c | H A D | 23-May-2024 | 4.8 KiB | 189 | 126 |
| hash.c | H A D | 20-Jul-2024 | 9.5 KiB | 329 | 186 |
| hash.h | H A D | 20-Jul-2024 | 6.1 KiB | 179 | 80 |
| import.sh | H A D | 14-Mar-2024 | 3.2 KiB | 128 | 99 |
| install-sh | H A D | 14-Mar-2024 | 4.2 KiB | 229 | 127 |
| job.c | H A D | 20-Jul-2024 | 77 KiB | 3,023 | 1,804 |
| job.h | H A D | 20-Jul-2024 | 7.1 KiB | 211 | 73 |
| lst.c | H A D | 03-May-2024 | 6 KiB | 277 | 167 |
| lst.h | H A D | 03-May-2024 | 6.5 KiB | 199 | 72 |
| machine.sh | H A D | 28-Jan-2023 | 1,008 | 50 | 25 |
| main.c | H A D | 20-Jul-2024 | 51.5 KiB | 2,218 | 1,622 |
| make-bootstrap.sh.in | H A D | 03-May-2024 | 2.1 KiB | 98 | 75 |
| make-conf.h | H A D | 14-Mar-2024 | 4.5 KiB | 102 | 7 |
| make.1 | H A D | 20-Jul-2024 | 73.3 KiB | 2,793 | 2,782 |
| make.c | H A D | 29-Jun-2024 | 39.9 KiB | 1,491 | 801 |
| make.h | H A D | 20-Jul-2024 | 34.8 KiB | 1,262 | 649 |
| make_malloc.c | H A D | 05-Feb-2022 | 2.5 KiB | 94 | 48 |
| make_malloc.h | H A D | 05-Feb-2022 | 1.9 KiB | 43 | 13 |
| makefile.in | H A D | 19-Jun-2013 | 282 | 15 | 5 |
| meta.c | H A D | 20-Jul-2024 | 41.2 KiB | 1,717 | 1,247 |
| meta.h | H A D | 05-Feb-2022 | 2.4 KiB | 61 | 24 |
| metachar.c | H A D | 18-Dec-2021 | 3.6 KiB | 85 | 26 |
| metachar.h | H A D | 05-Feb-2022 | 1.9 KiB | 53 | 17 |
| mkdeps.sh | H A D | 28-Jan-2023 | 7.5 KiB | 322 | 206 |
| os.sh | H A D | 03-May-2024 | 6 KiB | 273 | 192 |
| parse.c | H A D | 20-Jul-2024 | 72.7 KiB | 3,035 | 2,074 |
| pathnames.h | H A D | 14-Jan-2021 | 2.4 KiB | 64 | 28 |
| ranlib.h | H A D | 19-Jun-2013 | 1,008 | 33 | 17 |
| realpath.c | H A D | 19-Jun-2013 | 5.1 KiB | 216 | 129 |
| setenv.c | H A D | 19-Jun-2013 | 4.6 KiB | 155 | 93 |
| sigact.h | H A D | 18-Dec-2021 | 2.5 KiB | 105 | 50 |
| sigaction.c | H A D | 18-Dec-2021 | 8.9 KiB | 398 | 208 |
| sigcompat.c | H A D | 28-Jan-2023 | 8.5 KiB | 326 | 193 |
| str.c | H A D | 20-Jul-2024 | 11 KiB | 423 | 282 |
| str.h | H A D | 20-Jul-2024 | 7 KiB | 338 | 234 |
| stresep.c | H A D | 02-Mar-2018 | 2.9 KiB | 94 | 43 |
| strlcpy.c | H A D | 28-Jan-2023 | 1.7 KiB | 63 | 28 |
| suff.c | H A D | 20-Jul-2024 | 54.2 KiB | 2,148 | 1,149 |
| targ.c | H A D | 20-Jul-2024 | 15.1 KiB | 598 | 353 |
| trace.c | H A D | 24-Apr-2023 | 3.2 KiB | 121 | 60 |
| trace.h | H A D | 11-Feb-2021 | 1.8 KiB | 54 | 14 |
| util.c | H A D | 20-Jul-2024 | 15.1 KiB | 740 | 628 |
| var.c | H A D | 20-Jul-2024 | 114.6 KiB | 4,854 | 3,311 |
| wait.h | H A D | 19-Jun-2013 | 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 Darwin, NetBSD, FreeBSD 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
14*interesting* 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
36This will *not* work on Darwin or any other system with a case
37insensitive filesystem. It depends on a generated ``makefile`` which
38is disabled by default on Darwin.
39
40To make much use of bmake you will need the bsd.*.mk macros or my
41portable *.mk macros which are included with bmake since 20121212
42and separately available from
43https://www.crufty.net/ftp/pub/sjg/mk.tar.gz
44both that and
45https://www.crufty.net/ftp/pub/sjg/bmake.tar.gz
46will be links to the latest versions.
47
48Porting
49=======
50
51If you encounter a system that bmake does not build or work on *out of
52the box*, I welcome patches.
53Even a report of unit tests which fail is appreciated.
54If you can provide access to a suitable machine - even better.
55
56More info can be found at https://www.crufty.net/help/sjg/bmake.htm
57
58--sjg <sjg@crufty.net>
59
60