Name Date Size #Lines LOC

..06-May-2025-

PSD.doc/H06-May-2025-3,8063,689

filemon/H06-May-2025-1,104682

missing/sys/H06-May-2025-18792

mk/H06-May-2025-16,12710,528

unit-tests/H06-May-2025-32,56417,975

ChangeLogH A D06-May-2025144.2 KiB4,2813,201

FILESH A D06-May-202524.5 KiB873872

LICENSEH A D06-May-20252.6 KiB6147

MakefileH A D06-May-20255.2 KiB239171

Makefile.config.inH A D06-May-2025535 2420

READMEH A D06-May-20251.5 KiB5335

VERSIONH A D06-May-202563 32

_strtol.hH A D06-May-20256.1 KiB214137

aclocal.m4H A D06-May-20251.9 KiB8372

arch.cH A D06-May-202530.7 KiB1,148611

bmake.1H A D06-May-202572.5 KiB2,7552,744

bmake.cat1H A D06-May-202585.1 KiB1,7571,328

boot-strapH A D06-May-202510.6 KiB477439

bsd.after-import.mkH A D06-May-20253.9 KiB12893

buf.cH A D06-May-20256.4 KiB217101

buf.hH A D06-May-20255 KiB13042

compat.cH A D06-May-202519.7 KiB801466

cond.cH A D06-May-202532.2 KiB1,323811

config.h.inH A D06-May-202512 KiB445331

configureH A D06-May-2025223.5 KiB8,3426,998

configure.inH A D06-May-202513.3 KiB568547

dir.cH A D06-May-202545.4 KiB1,742938

dir.hH A D06-May-20254.7 KiB10928

dirname.cH A D06-May-20253.1 KiB12675

find_lib.shH A D06-May-2025321 2114

for.cH A D06-May-202513.1 KiB546343

getopt.cH A D06-May-20254.8 KiB189126

hash.cH A D06-May-20259.3 KiB334191

hash.hH A D06-May-20256.3 KiB18080

import.shH A D06-May-20252.5 KiB9873

install-shH A D06-May-20254.1 KiB225204

job.cH A D06-May-202577.5 KiB3,0561,812

job.hH A D06-May-20257.1 KiB21373

lst.cH A D06-May-20256.3 KiB295180

lst.hH A D06-May-20256.8 KiB20875

machine.shH A D06-May-20251,008 5025

main.cH A D06-May-202550.3 KiB2,2071,583

make-bootstrap.sh.inH A D06-May-20252 KiB9673

make-conf.hH A D06-May-20255.6 KiB15014

make.1H A D06-May-202572.6 KiB2,7622,751

make.cH A D06-May-202540 KiB1,495805

make.hH A D06-May-202534.6 KiB1,243627

make_malloc.cH A D06-May-20252.5 KiB9448

make_malloc.hH A D06-May-20251.9 KiB4313

makefile.inH A D06-May-2025282 155

meta.cH A D06-May-202541 KiB1,7091,240

meta.hH A D06-May-20252.4 KiB6124

metachar.cH A D06-May-20253.6 KiB8526

metachar.hH A D06-May-20251.9 KiB5317

mkdeps.shH A D06-May-20257.5 KiB322206

os.shH A D06-May-20255.9 KiB269189

parse.cH A D06-May-202574.8 KiB3,1162,084

pathnames.hH A D06-May-20252.4 KiB6428

ranlib.hH A D06-May-20251,008 3317

realpath.cH A D06-May-20255.1 KiB216129

setenv.cH A D06-May-20254.6 KiB15593

sigact.hH A D06-May-20252.5 KiB10550

sigaction.cH A D06-May-20258.9 KiB398208

sigcompat.cH A D06-May-20258.5 KiB326193

str.cH A D06-May-202511.3 KiB442289

str.hH A D06-May-20257.2 KiB349243

stresep.cH A D06-May-20252.9 KiB9443

strlcpy.cH A D06-May-20251.7 KiB6328

suff.cH A D06-May-202555.4 KiB2,2031,160

targ.cH A D06-May-202515.5 KiB606347

trace.cH A D06-May-20253.2 KiB12160

trace.hH A D06-May-20251.8 KiB5414

util.cH A D06-May-202513.4 KiB668557

var.cH A D06-May-2025115.2 KiB4,8603,211

wait.hH A D06-May-20252 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 NetBSD, FreeBSD, Solaris 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
14interesting 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
36To make much use of bmake you will need the bsd.*.mk macros or my
37portable *.mk macros which are included with bmake since 20121212
38and separately available from
39http://www.crufty.net/ftp/pub/sjg/mk.tar.gz
40which will be links to the latest versions.
41
42Porting
43=======
44
45If you encounter a system that bmake does not build or work on *out of
46the box*, I welcome patches.
47If you can provide access to a suitable machine - even better.
48
49More info can be found at http://www.crufty.net/help/sjg/bmake.htm
50
51--sjg <[email protected]>
52
53