|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| PSD.doc/ | H | - | - | 3,806 | 3,689 |
| filemon/ | H | - | - | 1,104 | 682 |
| missing/sys/ | H | - | - | 187 | 92 |
| mk/ | H | - | - | 16,714 | 10,900 |
| unit-tests/ | H | - | - | 33,989 | 18,753 |
| ChangeLog | H A D | 20-Jul-2024 | 159.4 KiB | 4,744 | 3,536 |
| FILES | H A D | 20-Jul-2024 | 24.6 KiB | 875 | 874 |
| LICENSE | H A D | 14-Jan-2021 | 2.6 KiB | 61 | 47 |
| Makefile | H A D | 04-May-2024 | 5.2 KiB | 239 | 171 |
| Makefile.config.in | H A D | 04-May-2024 | 570 | 24 | 20 |
| 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,027 | 604 |
| bmake.1 | H A D | 20-Jul-2024 | 73.2 KiB | 2,789 | 2,778 |
| bmake.cat1 | H A D | 20-Jul-2024 | 89.5 KiB | 1,791 | 1,356 |
| boot-strap | H A D | 14-Mar-2024 | 11.2 KiB | 491 | 453 |
| 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 | 217 | 101 |
| buf.h | H A D | 04-May-2024 | 5 KiB | 130 | 42 |
| compat.c | H A D | 20-Jul-2024 | 19.1 KiB | 783 | 478 |
| 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 | 449 | 335 |
| configure | H A D | 20-Jul-2024 | 229.3 KiB | 8,585 | 7,189 |
| configure.in | H A D | 20-Jul-2024 | 14.7 KiB | 612 | 591 |
| dir.c | H A D | 20-Jul-2024 | 42 KiB | 1,656 | 936 |
| dir.h | H A D | 20-Jul-2024 | 4.8 KiB | 112 | 31 |
| 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 | | |
| hash.c | H A D | 20-Jul-2024 | 9.5 KiB | 336 | 193 |
| hash.h | H A D | 20-Jul-2024 | 6.1 KiB | 178 | 79 |
| import.sh | H A D | 14-Mar-2024 | 3.2 KiB | 126 | 97 |
| install-sh | H A D | 14-Mar-2024 | 4.2 KiB | 227 | 127 |
| job.c | H A D | 20-Jul-2024 | 77 KiB | 3,021 | 1,804 |
| job.h | H A D | 20-Jul-2024 | 7.1 KiB | 213 | 75 |
| lst.c | H A D | 04-May-2024 | 6 KiB | 277 | 167 |
| lst.h | H A D | 04-May-2024 | 6.5 KiB | 202 | 73 |
| machine.sh | H A D | 28-Jan-2023 | 1,008 | 50 | 25 |
| main.c | H A D | 20-Jul-2024 | 51.5 KiB | 2,261 | 1,659 |
| make-bootstrap.sh.in | H A D | 04-May-2024 | 2.1 KiB | 97 | 74 |
| make-conf.h | H A D | 14-Mar-2024 | 4.5 KiB | 150 | 14 |
| make.1 | H A D | 20-Jul-2024 | 73.3 KiB | 2,796 | 2,785 |
| 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,270 | 657 |
| 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,720 | 1,250 |
| 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 | 04-May-2024 | 6 KiB | 269 | 189 |
| parse.c | H A D | 20-Jul-2024 | 72.7 KiB | 3,020 | 2,062 |
| 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 | 425 | 284 |
| str.h | H A D | 20-Jul-2024 | 7 KiB | 340 | 236 |
| 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,147 | 1,149 |
| targ.c | H A D | 20-Jul-2024 | 15.1 KiB | 599 | 353 |
| trace.c | H A D | 25-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 | 744 | 631 |
| var.c | H A D | 20-Jul-2024 | 114.6 KiB | 4,871 | 3,341 |
| 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