# INSTALL

## bmake

First you must build bmake - unless you are running 4.4BSD This tree is designed to be built with bmake and with support for multiple architectures. GNU autoconf is used to make a config.h which handles most system dependencies, but the Makefiles rely on bmake. Fortunately my bmake uses autoconf :-)

    BASE=`pwd`
    mkdir /tmp/bmake
    cd /tmp/bmake
    $BASE/bmake/configure
    gmake -f makefile.boot
    gmake -f makefile.boot install

If you really want to, you can use the bmake thus produced to re-build bmake

    cd $BASE/bmake
    bmake obj
    bmake
    bmake install

## Makefile.base

The Makefiles want to know where the top level directory is. If it is not /usr/local/src/sjg, then you should either create Makefile.base in the top level directory or set BASE in your environment.

If you have my version of bsd.subdir.mk, any missing subdirectories will simply be skipped (it will tell you), so you need not build the entire distribution. If need be, just edit the Makefile(s) to reflect the SUBDIRs you have.

Finally, if you do not have the BSD mandoc macros for [nt]roff, or you do not want the man pages formatted, set NOMAN=no in your environment or in Makefile.base

## Building

In various directories, you may find `symlink`s named src pointing off to no where. These should point to the directories holding the appropriate distribution. For instance:

    $ ls -l ssl/bin/rdist/src
    lrwxrwxr-x  1 sjg  wheel  17 Jun 20  1996 ssl/bin/rdist/src@ -> ../../../../rdist-6.1.3
    $

Obvriously you will need these links correct before you can expect to build things like SSLrdist. See other distributions for details on where to get the other distrbutions you might need.

Now just:

    cd $BASE
    bmake obj
    bmake depend
    bmake
    bmake install

## SSL

The ssl tree here expects SSLeay to be installed in /usr/local/ssl the ssl/build tree can be used to build SSLeay using bmake, just make ssl/build/dist a symlink to the location of the SSLeay srcs, it is currently configured for SSLeay-6.4 or 6.5

$Id: install.html,v 1.2 1997/02/09 11:02:06 sjg Exp $
Copyright (c) 1997 QUICK.COM.AU