Index of /freebsd/head/contrib/bmake
Name Last modified Size Description
Parent Directory 24-Oct-2014 04:45 -
PSD.doc/ 03-Oct-2012 04:10 -
aclocal.m4 03-Oct-2012 04:10 2k
arch.c 03-Oct-2012 04:10 39k
buf.c 03-Oct-2012 04:10 8k
buf.h 03-Oct-2012 04:10 5k
dir.h 03-Oct-2012 04:10 5k
dirname.c 03-Oct-2012 04:10 3k
find_lib.sh 03-Oct-2012 04:10 1k
for.c 03-Oct-2012 04:10 12k
getopt.c 03-Oct-2012 04:10 5k
hash.h 03-Oct-2012 04:10 6k
install-sh 03-Oct-2012 04:10 4k
lst.h 03-Oct-2012 04:10 7k
machine.sh 03-Oct-2012 04:10 2k
make-conf.h 03-Oct-2012 04:10 6k
make_malloc.c 03-Oct-2012 04:10 3k
make_malloc.h 03-Oct-2012 04:10 2k
mkdeps.sh 03-Oct-2012 04:10 7k
nonints.h 03-Oct-2012 04:10 7k
pathnames.h 03-Oct-2012 04:10 2k
ranlib.h 03-Oct-2012 04:10 1k
setenv.c 03-Oct-2012 04:10 5k
sigcompat.c 03-Oct-2012 04:10 8k
sprite.h 03-Oct-2012 04:10 4k
stresep.c 03-Oct-2012 04:10 3k
strlcpy.c 03-Oct-2012 04:10 2k
strlist.c 03-Oct-2012 04:10 3k
strlist.h 03-Oct-2012 04:10 2k
targ.c 03-Oct-2012 04:10 23k
trace.c 03-Oct-2012 04:10 3k
trace.h 03-Oct-2012 04:10 2k
wait.h 03-Oct-2012 04:10 2k
cond.c 16-Nov-2012 04:08 35k
make.c 16-Nov-2012 04:08 46k
makefile.in 13-Feb-2013 14:18 1k
realpath.c 13-Feb-2013 14:18 5k
dir.c 03-Apr-2013 04:43 50k
meta.h 03-Apr-2013 04:43 2k
suff.c 21-May-2013 04:07 70k
job.h 02-Aug-2013 04:43 11k
FILES 06-Sep-2013 04:06 2k
job.c 06-Sep-2013 04:06 82k
unit-tests/ 06-Sep-2013 04:06 -
lst.lib/ 28-Sep-2014 13:43 -
mk/ 28-Sep-2014 13:43 -
ChangeLog 28-Sep-2014 13:43 56k
Makefile 28-Sep-2014 13:43 4k
Makefile.config.in 28-Sep-2014 13:43 1k
bmake.1 28-Sep-2014 13:43 57k
bmake.cat1 28-Sep-2014 13:43 72k
boot-strap 28-Sep-2014 13:43 10k
bsd.after-import.mk 28-Sep-2014 13:43 3k
compat.c 28-Sep-2014 13:43 20k
config.h.in 28-Sep-2014 13:43 8k
configure 28-Sep-2014 13:43 196k
configure.in 28-Sep-2014 13:43 9k
hash.c 28-Sep-2014 13:43 12k
main.c 28-Sep-2014 13:43 48k
make-bootstrap.sh.in 28-Sep-2014 13:43 2k
make.1 28-Sep-2014 13:43 57k
make.h 28-Sep-2014 13:43 20k
meta.c 28-Sep-2014 13:43 33k
os.sh 28-Sep-2014 13:43 5k
parse.c 28-Sep-2014 13:43 82k
str.c 28-Sep-2014 13:43 13k
util.c 28-Sep-2014 13:43 13k
var.c 28-Sep-2014 13:43 106k
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