Name Date Size #Lines LOC

..15-Mar-2024-

PSD.doc/H08-May-2022-3,8063,689

filemon/H08-May-2022-1,104682

missing/sys/H08-May-2022-18792

mk/H14-May-2024-17,01610,965

unit-tests/H03-Jun-2024-33,58318,538

ChangeLogH A D03-Jun-2024154.8 KiB4,6123,437

FILESH A D28-Jun-202324.5 KiB873872

LICENSEH A D08-May-20222.6 KiB6147

MakefileH A D04-May-20245.2 KiB238170

Makefile.config.inH A D04-May-2024570 2521

READMEH A D14-Jan-20241.7 KiB6041

VERSIONH A D03-Jun-202463 32

_strtol.hH A D08-May-20226.1 KiB214137

aclocal.m4H A D08-May-20221.9 KiB8372

arch.cH A D04-May-202427 KiB1,028603

bmake.1H A D15-Mar-202472.9 KiB2,7752,764

bmake.cat1H A D04-May-202489.3 KiB1,7841,353

boot-strapH A D15-Mar-202411.2 KiB504465

bsd.after-import.mkH A D14-Jan-20244.1 KiB13598

buf.cH A D04-May-20245.8 KiB19084

buf.hH A D04-May-20245 KiB12941

compat.cH A D04-May-202419.1 KiB774468

cond.cH A D04-May-202430 KiB1,246791

config.h.inH A D15-Mar-202412.1 KiB448333

configureH A D04-May-2024225.1 KiB8,3997,047

configure.inH A D04-May-202414.5 KiB611590

dir.cH A D03-Jun-202441.8 KiB1,645926

dir.hH A D03-Jun-20244.8 KiB11029

dirname.cH A D08-May-20223.1 KiB12675

find_lib.shH A D28-Jan-2023321 2114

for.cH A D04-May-202412.9 KiB541338

getopt.cH A D03-Jun-20244.8 KiB189126

hash.cH A D14-Jan-20249.3 KiB334191

hash.hH A D14-Jan-20246.2 KiB17980

import.shH A D15-Mar-20243.2 KiB12899

install-shH A D15-Mar-20244.2 KiB229127

job.cH A D14-May-202477 KiB3,0251,806

job.hH A D14-Jan-20247.1 KiB21173

lst.cH A D04-May-20246 KiB277167

lst.hH A D04-May-20246.5 KiB19972

machine.shH A D28-Jan-20231,008 5025

main.cH A D03-Jun-202450.5 KiB2,2191,619

make-bootstrap.sh.inH A D04-May-20242.1 KiB9875

make-conf.hH A D15-Mar-20244.5 KiB1027

make.1H A D15-Mar-202473.1 KiB2,7822,771

make.cH A D14-Jan-202440 KiB1,491801

make.hH A D14-May-202434.9 KiB1,261639

make_malloc.cH A D08-May-20222.5 KiB9448

make_malloc.hH A D08-May-20221.9 KiB4313

makefile.inH A D08-May-2022282 155

meta.cH A D04-May-202441.2 KiB1,7161,246

meta.hH A D08-May-20222.4 KiB6124

metachar.cH A D08-May-20223.6 KiB8526

metachar.hH A D08-May-20221.9 KiB5317

mkdeps.shH A D28-Jan-20237.5 KiB322206

os.shH A D04-May-20246 KiB273192

parse.cH A D03-Jun-202472.5 KiB3,0222,062

pathnames.hH A D08-May-20222.4 KiB6428

ranlib.hH A D08-May-20221,008 3317

realpath.cH A D08-May-20225.1 KiB216129

setenv.cH A D08-May-20224.6 KiB15593

sigact.hH A D08-May-20222.5 KiB10550

sigaction.cH A D08-May-20228.9 KiB398208

sigcompat.cH A D28-Jan-20238.5 KiB326193

str.cH A D04-May-202410.9 KiB423282

str.hH A D14-Jan-20247 KiB338234

stresep.cH A D08-May-20222.9 KiB9443

strlcpy.cH A D28-Jan-20231.7 KiB6328

suff.cH A D15-Mar-202454.2 KiB2,1471,148

targ.cH A D04-May-202415.6 KiB610352

trace.cH A D25-Apr-20233.2 KiB12160

trace.hH A D08-May-20221.8 KiB5414

util.cH A D14-Jan-202415.1 KiB740628

var.cH A D14-May-2024113.4 KiB4,8223,280

wait.hH A D08-May-20222 KiB8250

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