Index of /freebsd/head/contrib/bmake

      Name                    Last modified       Size  Description

[DIR] Parent Directory 24-Oct-2014 04:45 - [   ] configure 28-Sep-2014 13:43 196k [TXT] var.c 28-Sep-2014 13:43 106k [TXT] job.c 06-Sep-2013 04:06 82k [TXT] parse.c 28-Sep-2014 13:43 82k [   ] bmake.cat1 28-Sep-2014 13:43 72k [TXT] 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 [TXT] dir.c 03-Apr-2013 04:43 50k [TXT] main.c 28-Sep-2014 13:43 48k [TXT] make.c 16-Nov-2012 04:08 46k [TXT] arch.c 03-Oct-2012 04:10 39k [TXT] cond.c 16-Nov-2012 04:08 35k [TXT] meta.c 28-Sep-2014 13:43 33k [TXT] targ.c 03-Oct-2012 04:10 23k [TXT] make.h 28-Sep-2014 13:43 20k [TXT] compat.c 28-Sep-2014 13:43 20k [TXT] util.c 28-Sep-2014 13:43 13k [TXT] str.c 28-Sep-2014 13:43 13k [TXT] for.c 03-Oct-2012 04:10 12k [TXT] hash.c 28-Sep-2014 13:43 12k [TXT] job.h 02-Aug-2013 04:43 11k [   ] boot-strap 28-Sep-2014 13:43 10k [TXT] configure.in 28-Sep-2014 13:43 9k [TXT] sigcompat.c 03-Oct-2012 04:10 8k [TXT] config.h.in 28-Sep-2014 13:43 8k [TXT] buf.c 03-Oct-2012 04:10 8k [TXT] nonints.h 03-Oct-2012 04:10 7k [   ] mkdeps.sh 03-Oct-2012 04:10 7k [TXT] lst.h 03-Oct-2012 04:10 7k [TXT] make-conf.h 03-Oct-2012 04:10 6k [TXT] hash.h 03-Oct-2012 04:10 6k [TXT] realpath.c 13-Feb-2013 14:18 5k [   ] os.sh 28-Sep-2014 13:43 5k [TXT] getopt.c 03-Oct-2012 04:10 5k [TXT] buf.h 03-Oct-2012 04:10 5k [TXT] setenv.c 03-Oct-2012 04:10 5k [TXT] dir.h 03-Oct-2012 04:10 5k [TXT] 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 [TXT] trace.c 03-Oct-2012 04:10 3k [TXT] stresep.c 03-Oct-2012 04:10 3k [TXT] strlist.c 03-Oct-2012 04:10 3k [TXT] dirname.c 03-Oct-2012 04:10 3k [TXT] make_malloc.c 03-Oct-2012 04:10 3k [TXT] strlist.h 03-Oct-2012 04:10 2k [TXT] pathnames.h 03-Oct-2012 04:10 2k [TXT] meta.h 03-Apr-2013 04:43 2k [TXT] wait.h 03-Oct-2012 04:10 2k [   ] machine.sh 03-Oct-2012 04:10 2k [TXT] make-bootstrap.sh.in 28-Sep-2014 13:43 2k [   ] aclocal.m4 03-Oct-2012 04:10 2k [TXT] make_malloc.h 03-Oct-2012 04:10 2k [TXT] trace.h 03-Oct-2012 04:10 2k [   ] FILES 06-Sep-2013 04:06 2k [TXT] strlcpy.c 03-Oct-2012 04:10 2k [TXT] ranlib.h 03-Oct-2012 04:10 1k [TXT] Makefile.config.in 28-Sep-2014 13:43 1k [TXT] makefile.in 13-Feb-2013 14:18 1k [   ] find_lib.sh 03-Oct-2012 04:10 1k [DIR] unit-tests/ 06-Sep-2013 04:06 - [DIR] mk/ 28-Sep-2014 13:43 - [DIR] lst.lib/ 28-Sep-2014 13:43 - [DIR] 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