The rework mentioned below has been committed.  The 42K patch was
rejected by the mailing list.

--

A rework of the Vanilla build process was about to be committed, but
SourceForge CVS is down again.  Patch is attached.

The goal of the change is to reduce the cost of adding functions, and to
ease understanding of the code.

I've chosen for the moment not to use a shared library, since doing so
complicates the build process and involves the use of an additional
build dependency (libtool), although it might drop run-time virtual
memory consumption slightly.

- most common code used in ntserv/ is placed in an ar(1) archive
  libnetrek.a,

- binaries are linked against libnetrek.a,

- some binaries that need special compilation (e.g. of
  ntserv/commands.c) still do this.

-- 
James Cameron    mailto:quozl at us.netrek.org     http://quozl.netrek.org/