|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 15-Mar-2024 | - |
| PSD.doc/ | H | 08-May-2022 | - | 3,806 | 3,689 |
| filemon/ | H | 08-May-2022 | - | 1,104 | 682 |
| missing/sys/ | H | 08-May-2022 | - | 187 | 92 |
| mk/ | H | 14-May-2024 | - | 17,016 | 10,965 |
| unit-tests/ | H | 03-Jun-2024 | - | 33,583 | 18,538 |
| ChangeLog | H A D | 03-Jun-2024 | 154.8 KiB | 4,612 | 3,437 |
| FILES | H A D | 28-Jun-2023 | 24.5 KiB | 873 | 872 |
| LICENSE | H A D | 08-May-2022 | 2.6 KiB | 61 | 47 |
| Makefile | H A D | 04-May-2024 | 5.2 KiB | 238 | 170 |
| Makefile.config.in | H A D | 04-May-2024 | 570 | 25 | 21 |
| README | H A D | 14-Jan-2024 | 1.7 KiB | 60 | 41 |
| VERSION | H A D | 03-Jun-2024 | 63 | 3 | 2 |
| _strtol.h | H A D | 08-May-2022 | 6.1 KiB | 214 | 137 |
| aclocal.m4 | H A D | 08-May-2022 | 1.9 KiB | 83 | 72 |
| arch.c | H A D | 04-May-2024 | 27 KiB | 1,028 | 603 |
| bmake.1 | H A D | 15-Mar-2024 | 72.9 KiB | 2,775 | 2,764 |
| bmake.cat1 | H A D | 04-May-2024 | 89.3 KiB | 1,784 | 1,353 |
| boot-strap | H A D | 15-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 | 04-May-2024 | 5.8 KiB | 190 | 84 |
| buf.h | H A D | 04-May-2024 | 5 KiB | 129 | 41 |
| compat.c | H A D | 04-May-2024 | 19.1 KiB | 774 | 468 |
| cond.c | H A D | 04-May-2024 | 30 KiB | 1,246 | 791 |
| config.h.in | H A D | 15-Mar-2024 | 12.1 KiB | 448 | 333 |
| configure | H A D | 04-May-2024 | 225.1 KiB | 8,399 | 7,047 |
| configure.in | H A D | 04-May-2024 | 14.5 KiB | 611 | 590 |
| dir.c | H A D | 03-Jun-2024 | 41.8 KiB | 1,645 | 926 |
| dir.h | H A D | 03-Jun-2024 | 4.8 KiB | 110 | 29 |
| dirname.c | H A D | 08-May-2022 | 3.1 KiB | 126 | 75 |
| find_lib.sh | H A D | 28-Jan-2023 | 321 | 21 | 14 |
| for.c | H A D | 04-May-2024 | 12.9 KiB | 541 | 338 |
| getopt.c | H A D | 03-Jun-2024 | 4.8 KiB | 189 | 126 |
| hash.c | H A D | 14-Jan-2024 | 9.3 KiB | 334 | 191 |
| hash.h | H A D | 14-Jan-2024 | 6.2 KiB | 179 | 80 |
| import.sh | H A D | 15-Mar-2024 | 3.2 KiB | 128 | 99 |
| install-sh | H A D | 15-Mar-2024 | 4.2 KiB | 229 | 127 |
| job.c | H A D | 14-May-2024 | 77 KiB | 3,025 | 1,806 |
| job.h | H A D | 14-Jan-2024 | 7.1 KiB | 211 | 73 |
| lst.c | H A D | 04-May-2024 | 6 KiB | 277 | 167 |
| lst.h | H A D | 04-May-2024 | 6.5 KiB | 199 | 72 |
| machine.sh | H A D | 28-Jan-2023 | 1,008 | 50 | 25 |
| main.c | H A D | 03-Jun-2024 | 50.5 KiB | 2,219 | 1,619 |
| make-bootstrap.sh.in | H A D | 04-May-2024 | 2.1 KiB | 98 | 75 |
| make-conf.h | H A D | 15-Mar-2024 | 4.5 KiB | 102 | 7 |
| make.1 | H A D | 15-Mar-2024 | 73.1 KiB | 2,782 | 2,771 |
| make.c | H A D | 14-Jan-2024 | 40 KiB | 1,491 | 801 |
| make.h | H A D | 14-May-2024 | 34.9 KiB | 1,261 | 639 |
| make_malloc.c | H A D | 08-May-2022 | 2.5 KiB | 94 | 48 |
| make_malloc.h | H A D | 08-May-2022 | 1.9 KiB | 43 | 13 |
| makefile.in | H A D | 08-May-2022 | 282 | 15 | 5 |
| meta.c | H A D | 04-May-2024 | 41.2 KiB | 1,716 | 1,246 |
| meta.h | H A D | 08-May-2022 | 2.4 KiB | 61 | 24 |
| metachar.c | H A D | 08-May-2022 | 3.6 KiB | 85 | 26 |
| metachar.h | H A D | 08-May-2022 | 1.9 KiB | 53 | 17 |
| mkdeps.sh | H A D | 28-Jan-2023 | 7.5 KiB | 322 | 206 |
| os.sh | H A D | 04-May-2024 | 6 KiB | 273 | 192 |
| parse.c | H A D | 03-Jun-2024 | 72.5 KiB | 3,022 | 2,062 |
| pathnames.h | H A D | 08-May-2022 | 2.4 KiB | 64 | 28 |
| ranlib.h | H A D | 08-May-2022 | 1,008 | 33 | 17 |
| realpath.c | H A D | 08-May-2022 | 5.1 KiB | 216 | 129 |
| setenv.c | H A D | 08-May-2022 | 4.6 KiB | 155 | 93 |
| sigact.h | H A D | 08-May-2022 | 2.5 KiB | 105 | 50 |
| sigaction.c | H A D | 08-May-2022 | 8.9 KiB | 398 | 208 |
| sigcompat.c | H A D | 28-Jan-2023 | 8.5 KiB | 326 | 193 |
| str.c | H A D | 04-May-2024 | 10.9 KiB | 423 | 282 |
| str.h | H A D | 14-Jan-2024 | 7 KiB | 338 | 234 |
| stresep.c | H A D | 08-May-2022 | 2.9 KiB | 94 | 43 |
| strlcpy.c | H A D | 28-Jan-2023 | 1.7 KiB | 63 | 28 |
| suff.c | H A D | 15-Mar-2024 | 54.2 KiB | 2,147 | 1,148 |
| targ.c | H A D | 04-May-2024 | 15.6 KiB | 610 | 352 |
| trace.c | H A D | 25-Apr-2023 | 3.2 KiB | 121 | 60 |
| trace.h | H A D | 08-May-2022 | 1.8 KiB | 54 | 14 |
| util.c | H A D | 14-Jan-2024 | 15.1 KiB | 740 | 628 |
| var.c | H A D | 14-May-2024 | 113.4 KiB | 4,822 | 3,280 |
| wait.h | H A D | 08-May-2022 | 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