Abandon the `m4'-based build system. And there was great rejoicing.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 1 Jun 2013 19:28:26 +0000 (20:28 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 5 Jun 2013 23:41:43 +0000 (00:41 +0100)
commit7db733d4d0fd085313e4ae3d8ff9b7cc533616bb
treef21d7a4b026baef48e84c708b732ba8afa959a6c
parent813390c45f438f411662b1a55678e63f11681eb4
Abandon the `m4'-based build system.  And there was great rejoicing.

The makefile has been entirely rewritten using old-fashioned Automake.
I've used the undocumented `foo_OBJECTS' variables in a couple of places
to make parallel builds work, but those will disappear again in the
course of future rearrangements of the source tree.

A couple of the scungier programs for building boilerplate source files
have been replaced by the marvellous new template-substitution program
`multigen'.

The `qcc' script is a casualty of the rearrangements.  Supporting it is
easy, but probably pointless.  So it's gone.

Currently most of the generated code is left in the build tree (rather
than the source tree) and not distributed.  This wants to be fixed
later, but the exact machinery will be rather different.

This is only the start of a programme of overhauling Catacomb's ageing
and rather nasty build system.  The objective is to end up with modern-
looking build scripts, and a pleasant and sensible directory tree.  Not
much of the actual code will change during this, though lots of it will
move around.  In particular, the testing machinery is likely to be
overhauled quite a lot.
16 files changed:
.gitignore
.links
Makefile.am [new file with mode: 0644]
Makefile.m4 [deleted file]
build-setup [new file with mode: 0755]
configure.in
gengctab [deleted file]
genmodes [deleted file]
gthingtab.c.in [new file with mode: 0644]
mode.c.in [new file with mode: 0644]
mode.h.in [new file with mode: 0644]
modes.am.in [new file with mode: 0644]
multigen [new file with mode: 0755]
qcc.in [deleted file]
tests/.gitignore
tests/Makefile.m4 [deleted file]