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,385 | 11,229 | |
unit-tests/ | H | - | - | 34,731 | 19,463 | |
ChangeLog | H A D | 19-Mar-2025 | 164.2 KiB | 4,883 | 3,632 | |
FILES | H A D | 31-Jan-2025 | 24.6 KiB | 877 | 876 | |
LICENSE | H A D | 14-Jan-2021 | 2.6 KiB | 61 | 47 | |
Makefile | H A D | 19-Mar-2025 | 5.7 KiB | 267 | 186 | |
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 | 19-Mar-2025 | 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 | 31-Jan-2025 | 27 KiB | 1,026 | 603 | |
bmake.1 | H A D | 31-Jan-2025 | 73.6 KiB | 2,802 | 2,791 | |
bmake.cat1 | H A D | 19-Mar-2025 | 90.2 KiB | 1,797 | 1,362 | |
boot-strap | H A D | 14-Mar-2024 | 11.2 KiB | 491 | 453 | |
bsd.after-import.mk | H A D | 19-Mar-2025 | 4.4 KiB | 134 | 97 | |
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 | 31-Jan-2025 | 19.3 KiB | 788 | 484 | |
cond.c | H A D | 31-Jan-2025 | 30 KiB | 1,246 | 795 | |
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 | 19-Mar-2025 | 73.1 KiB | 2,971 | 1,782 | |
job.h | H A D | 31-Jan-2025 | 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 | 19-Mar-2025 | 51.4 KiB | 2,267 | 1,666 | |
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 | 31-Jan-2025 | 73.7 KiB | 2,809 | 2,798 | |
make.c | H A D | 29-Jun-2024 | 39.9 KiB | 1,491 | 801 | |
make.h | H A D | 19-Mar-2025 | 35.2 KiB | 1,285 | 661 | |
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 | 19-Mar-2025 | 6.2 KiB | 275 | 195 | |
parse.c | H A D | 31-Jan-2025 | 71.2 KiB | 2,987 | 2,061 | |
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 | 31-Jan-2025 | 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 | 31-Jan-2025 | 114.1 KiB | 4,844 | 3,340 | |
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