simon-svn: putty: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sat Jul 23 12:33:29 BST 2011
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 9239
Date: 2011-07-23 12:33:29 +0100 (Sat, 23 Jul 2011)
Log message (20 lines):
Switch to using automake for the Unix autoconfigured build.
mkfiles.pl no longer generates a Makefile.in, but instead generates a
Makefile.am on which mkauto.sh runs automake. This means that the
autoconfigured makefile now does build-time dependency tracking (a
standard feature of automake-generated makefiles), and is generally
more like what Unix people will expect.
Some of the old-style make command-line settings (VER=-DRELEASE=foo,
XFLAGS=-DDEBUG) will still work; the COMPAT settings are better done
by autoconfiguration, and my habitual 'XFLAGS="-g -O0"' for an easily
debuggable build will actually not work any more because CFLAGS is
specified _after_ XFLAGS, so I should instead write 'make CFLAGS=-O0'
(-g is the default in automake, removed at 'make install' time).
The new makefile will automatically degrade into one that builds the
command-line tools only, in the case where GTK could not be found. In
principle, therefore, it should be an adequate replacement for _both_
the static Unix makefiles, Makefile.gtk and Makefile.ux. I haven't
actually retired those in this commit, but I'm pretty tempted.
Modified files:
U putty/README
U putty/Recipe
U putty/mkauto.sh
U putty/mkfiles.pl
U putty/mkunxarc.sh
_U putty/unix/
U putty/unix/configure.ac
U putty/version.c
Links:
http://svn.tartarus.org/sgt/?rev=9239&view=rev
http://svn.tartarus.org/sgt/putty/README?rev=9239&r1=9238&r2=9239
http://svn.tartarus.org/sgt/putty/Recipe?rev=9239&r1=9238&r2=9239
http://svn.tartarus.org/sgt/putty/mkauto.sh?rev=9239&r1=9238&r2=9239
http://svn.tartarus.org/sgt/putty/mkfiles.pl?rev=9239&r1=9238&r2=9239
http://svn.tartarus.org/sgt/putty/mkunxarc.sh?rev=9239&r1=9238&r2=9239
http://svn.tartarus.org/sgt/putty/unix/configure.ac?rev=9239&r1=9238&r2=9239
http://svn.tartarus.org/sgt/putty/version.c?rev=9239&r1=9238&r2=9239
More information about the tartarus-commits
mailing list