Name Date Size #Lines LOC

..--

PSD.doc/H12-Mar-2021-3,8063,689

filemon/H15-Nov-2022-1,104682

missing/sys/H12-Mar-2021-18792

mk/H29-Jan-2025-17,05110,986

unit-tests/H29-Jan-2025-33,88118,737

ChangeLogH A D29-Jan-2025159.4 KiB4,6613,474

FILESH A D29-Jan-202524.6 KiB873872

LICENSEH A D12-Mar-20212.6 KiB6147

MakefileH A D08-Jul-20245.2 KiB238170

Makefile.config.inH A D08-Jul-2024570 2521

READMEH A D08-Jul-20241.7 KiB6041

VERSIONH A D29-Jan-202563 32

_strtol.hH A D18-Feb-20226.1 KiB214137

aclocal.m4H A D12-Mar-20211.9 KiB8372

arch.cH A D29-Jan-202527 KiB1,029604

bmake.1H A D29-Jan-202573.2 KiB2,7862,775

bmake.cat1H A D29-Jan-202589.5 KiB1,7921,358

boot-strapH A D08-Jul-202411.2 KiB504465

bsd.after-import.mkH A D08-Jul-20244.1 KiB13598

buf.cH A D08-Jul-20245.8 KiB19084

buf.hH A D08-Jul-20245 KiB12941

compat.cH A D29-Jan-202519.1 KiB779473

cond.cH A D29-Jan-202529.9 KiB1,247792

config.h.inH A D29-Jan-202512.2 KiB448333

configureH A D29-Jan-2025229.3 KiB8,3997,047

configure.inH A D29-Jan-202514.7 KiB611590

dir.cH A D29-Jan-202542 KiB1,658938

dir.hH A D29-Jan-20254.8 KiB11029

dirname.cH A D12-Mar-20213.1 KiB12675

find_lib.shH A D08-Jul-2024321 2114

for.cH A D08-Jul-202412.6 KiB521325

getopt.cH A D08-Jul-20244.8 KiB189126

hash.cH A D29-Jan-20259.5 KiB329186

hash.hH A D29-Jan-20256.1 KiB17980

import.shH A D08-Jul-20243.2 KiB12899

install-shH A D08-Jul-20244.2 KiB229127

job.cH A D29-Jan-202577 KiB3,0231,804

job.hH A D29-Jan-20257.1 KiB21173

lst.cH A D08-Jul-20246 KiB277167

lst.hH A D08-Jul-20246.5 KiB19972

machine.shH A D08-Jul-20241,008 5025

main.cH A D29-Jan-202551.5 KiB2,2181,622

make-bootstrap.sh.inH A D08-Jul-20242.1 KiB9875

make-conf.hH A D08-Jul-20244.5 KiB1027

make.1H A D29-Jan-202573.3 KiB2,7932,782

make.cH A D08-Jul-202439.9 KiB1,491801

make.hH A D29-Jan-202534.8 KiB1,262649

make_malloc.cH A D18-Feb-20222.5 KiB9448

make_malloc.hH A D18-Feb-20221.9 KiB4313

makefile.inH A D12-Mar-2021282 155

meta.cH A D29-Jan-202541.2 KiB1,7171,247

meta.hH A D18-Feb-20222.4 KiB6124

metachar.cH A D18-Feb-20223.6 KiB8526

metachar.hH A D18-Feb-20221.9 KiB5317

mkdeps.shH A D08-Jul-20247.5 KiB322206

os.shH A D08-Jul-20246 KiB273192

parse.cH A D29-Jan-202572.7 KiB3,0352,074

pathnames.hH A D12-Mar-20212.4 KiB6428

ranlib.hH A D12-Mar-20211,008 3317

realpath.cH A D12-Mar-20215.1 KiB216129

setenv.cH A D12-Mar-20214.6 KiB15593

sigact.hH A D18-Feb-20222.5 KiB10550

sigaction.cH A D18-Feb-20228.9 KiB398208

sigcompat.cH A D08-Jul-20248.5 KiB326193

str.cH A D29-Jan-202511 KiB423282

str.hH A D29-Jan-20257 KiB338234

stresep.cH A D12-Mar-20212.9 KiB9443

strlcpy.cH A D08-Jul-20241.7 KiB6328

suff.cH A D29-Jan-202554.2 KiB2,1481,149

targ.cH A D29-Jan-202515.1 KiB598353

trace.cH A D08-Jul-20243.2 KiB12160

trace.hH A D12-Mar-20211.8 KiB5414

util.cH A D29-Jan-202515.1 KiB740628

var.cH A D29-Jan-2025114.6 KiB4,8543,311

wait.hH A D12-Mar-20212 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