Name Date Size #Lines LOC

..--

PSD.doc/H--3,8063,689

filemon/H--1,104682

missing/sys/H--18792

mk/H--16,71410,900

unit-tests/H--33,98918,753

ChangeLogH A D20-Jul-2024159.4 KiB4,7443,536

FILESH A D20-Jul-202424.6 KiB875874

LICENSEH A D14-Jan-20212.6 KiB6147

MakefileH A D04-May-20245.2 KiB239171

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

READMEH A D14-Jan-20241.7 KiB6041

VERSIONH A D20-Jul-202463 32

_strtol.hH A D18-Dec-20216.1 KiB214137

aclocal.m4H A D02-Mar-20181.9 KiB8372

arch.cH A D20-Jul-202427 KiB1,027604

bmake.1H A D20-Jul-202473.2 KiB2,7892,778

bmake.cat1H A D20-Jul-202489.5 KiB1,7911,356

boot-strapH A D14-Mar-202411.2 KiB491453

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

buf.cH A D04-May-20245.8 KiB217101

buf.hH A D04-May-20245 KiB13042

compat.cH A D20-Jul-202419.1 KiB783478

cond.cH A D20-Jul-202429.9 KiB1,247792

config.h.inH A D20-Jul-202412.2 KiB449335

configureH A D20-Jul-2024229.3 KiB8,5857,189

configure.inH A D20-Jul-202414.7 KiB612591

dir.cH A D20-Jul-202442 KiB1,656936

dir.hH A D20-Jul-20244.8 KiB11231

dirname.cH A D09-Jun-20203.1 KiB12675

find_lib.shH A D28-Jan-2023321 2114

for.cH A D29-Jun-202412.6 KiB521325

getopt.cH A D23-May-20244.8 KiB

hash.cH A D20-Jul-20249.5 KiB336193

hash.hH A D20-Jul-20246.1 KiB17879

import.shH A D14-Mar-20243.2 KiB12697

install-shH A D14-Mar-20244.2 KiB227127

job.cH A D20-Jul-202477 KiB3,0211,804

job.hH A D20-Jul-20247.1 KiB21375

lst.cH A D04-May-20246 KiB277167

lst.hH A D04-May-20246.5 KiB20273

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

main.cH A D20-Jul-202451.5 KiB2,2611,659

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

make-conf.hH A D14-Mar-20244.5 KiB15014

make.1H A D20-Jul-202473.3 KiB2,7962,785

make.cH A D29-Jun-202439.9 KiB1,491801

make.hH A D20-Jul-202434.8 KiB1,270657

make_malloc.cH A D05-Feb-20222.5 KiB9448

make_malloc.hH A D05-Feb-20221.9 KiB4313

makefile.inH A D19-Jun-2013282 155

meta.cH A D20-Jul-202441.2 KiB1,7201,250

meta.hH A D05-Feb-20222.4 KiB6124

metachar.cH A D18-Dec-20213.6 KiB8526

metachar.hH A D05-Feb-20221.9 KiB5317

mkdeps.shH A D28-Jan-20237.5 KiB322206

os.shH A D04-May-20246 KiB269189

parse.cH A D20-Jul-202472.7 KiB3,0202,062

pathnames.hH A D14-Jan-20212.4 KiB6428

ranlib.hH A D19-Jun-20131,008 3317

realpath.cH A D19-Jun-20135.1 KiB216129

setenv.cH A D19-Jun-20134.6 KiB15593

sigact.hH A D18-Dec-20212.5 KiB10550

sigaction.cH A D18-Dec-20218.9 KiB398208

sigcompat.cH A D28-Jan-20238.5 KiB326193

str.cH A D20-Jul-202411 KiB425284

str.hH A D20-Jul-20247 KiB340236

stresep.cH A D02-Mar-20182.9 KiB9443

strlcpy.cH A D28-Jan-20231.7 KiB6328

suff.cH A D20-Jul-202454.2 KiB2,1471,149

targ.cH A D20-Jul-202415.1 KiB599353

trace.cH A D25-Apr-20233.2 KiB12160

trace.hH A D11-Feb-20211.8 KiB5414

util.cH A D20-Jul-202415.1 KiB744631

var.cH A D20-Jul-2024114.6 KiB4,8713,341

wait.hH A D19-Jun-20132 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