Index of /freebsd/head/contrib/bmake
Name Last modified Size Description
Parent Directory 24-Oct-2014 04:45 -
configure 28-Sep-2014 13:43 196k
var.c 28-Sep-2014 13:43 106k
job.c 06-Sep-2013 04:06 82k
parse.c 28-Sep-2014 13:43 82k
bmake.cat1 28-Sep-2014 13:43 72k
suff.c 21-May-2013 04:07 70k
make.1 28-Sep-2014 13:43 57k
bmake.1 28-Sep-2014 13:43 57k
ChangeLog 28-Sep-2014 13:43 56k
dir.c 03-Apr-2013 04:43 50k
main.c 28-Sep-2014 13:43 48k
make.c 16-Nov-2012 04:08 46k
arch.c 03-Oct-2012 04:10 39k
cond.c 16-Nov-2012 04:08 35k
meta.c 28-Sep-2014 13:43 33k
targ.c 03-Oct-2012 04:10 23k
make.h 28-Sep-2014 13:43 20k
compat.c 28-Sep-2014 13:43 20k
util.c 28-Sep-2014 13:43 13k
str.c 28-Sep-2014 13:43 13k
for.c 03-Oct-2012 04:10 12k
hash.c 28-Sep-2014 13:43 12k
job.h 02-Aug-2013 04:43 11k
boot-strap 28-Sep-2014 13:43 10k
configure.in 28-Sep-2014 13:43 9k
sigcompat.c 03-Oct-2012 04:10 8k
config.h.in 28-Sep-2014 13:43 8k
buf.c 03-Oct-2012 04:10 8k
nonints.h 03-Oct-2012 04:10 7k
mkdeps.sh 03-Oct-2012 04:10 7k
lst.h 03-Oct-2012 04:10 7k
make-conf.h 03-Oct-2012 04:10 6k
hash.h 03-Oct-2012 04:10 6k
realpath.c 13-Feb-2013 14:18 5k
os.sh 28-Sep-2014 13:43 5k
getopt.c 03-Oct-2012 04:10 5k
buf.h 03-Oct-2012 04:10 5k
setenv.c 03-Oct-2012 04:10 5k
dir.h 03-Oct-2012 04:10 5k
sprite.h 03-Oct-2012 04:10 4k
Makefile 28-Sep-2014 13:43 4k
install-sh 03-Oct-2012 04:10 4k
bsd.after-import.mk 28-Sep-2014 13:43 3k
trace.c 03-Oct-2012 04:10 3k
stresep.c 03-Oct-2012 04:10 3k
strlist.c 03-Oct-2012 04:10 3k
dirname.c 03-Oct-2012 04:10 3k
make_malloc.c 03-Oct-2012 04:10 3k
strlist.h 03-Oct-2012 04:10 2k
pathnames.h 03-Oct-2012 04:10 2k
meta.h 03-Apr-2013 04:43 2k
wait.h 03-Oct-2012 04:10 2k
machine.sh 03-Oct-2012 04:10 2k
make-bootstrap.sh.in 28-Sep-2014 13:43 2k
aclocal.m4 03-Oct-2012 04:10 2k
make_malloc.h 03-Oct-2012 04:10 2k
trace.h 03-Oct-2012 04:10 2k
FILES 06-Sep-2013 04:06 2k
strlcpy.c 03-Oct-2012 04:10 2k
ranlib.h 03-Oct-2012 04:10 1k
Makefile.config.in 28-Sep-2014 13:43 1k
makefile.in 13-Feb-2013 14:18 1k
find_lib.sh 03-Oct-2012 04:10 1k
unit-tests/ 06-Sep-2013 04:06 -
mk/ 28-Sep-2014 13:43 -
lst.lib/ 28-Sep-2014 13:43 -
PSD.doc/ 03-Oct-2012 04:10 -
bmake
This directory contains a port of the BSD make tool (from NetBSD)
I have run it on SunOS,Solaris,HP-UX,AIX,IRIX,FreeBSD and Linux.
Version 3 was re-worked from scratch to better facilitate
importing newer make(1) versions from NetBSD. The original code base
was NetBSD-1.0, so version 3 was built by doing a fresh import of the
NetBSD-1.0 usr.bin/make, adding the autoconf and other portability
patches to sync it with bmake v2, and then NetBSD's make
of Feb 20, 2000 was imported and conflicts dealt with.
NetBSD's make was again imported on June 6 and December 15, 2000.
In 2003 bmake switched to a date based version (first was 20030714)
which generally represents the date it was last merged with NetBSD's
make. Since then, NetBSD's make is imported within a week of any
interesting changes, so that bmake tracks it very closely.
Building:
The preferred way to bootstrap bmake is:
./bmake/boot-strap
there are a number of args - most of which get passed to configure,
eg.
./bmake/boot-strap --prefix=/opt
see the boot-strap script for details.
To make much use of bmake you will need the bsd.*.mk macros or my
portable *.mk macros. See
http://www.crufty.net/ftp/pub/sjg/mk.tar.gz
which will be links to the latest versions.
On a non-BSD system, you would want to unpack mk[-YYYYmmdd].tar.gz in
the same directory as bmake (so ./mk and ./bmake exist), and
./bmake/boot-strap will do the rest.
If you want to do it all by hand then read boot-strap first to get the
idea.
Even if you have an earlier version of bmake installed, use boot-strap
to ensure that all goes well.
--sjg