This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
--enable-cgen-maint
- To: sid at sources dot redhat dot com
- Subject: --enable-cgen-maint
- From: Ben Elliston <bje at redhat dot com>
- Date: Wed, 21 Mar 2001 12:50:53 +1100 (EST)
I'm about to commit some changes that permit --enable-cgen-maint to be
passed into SID's collection of `configure' scripts. When you do so,
you may activate sections of your cpu's Makefile.am using:
if CGEN_MAINT
..
endif
A likely scenario is to surround a set of dependency rules which
ensure that the generated files (ie. `foo-decode.cxx') are up to date
relative to your cgen description (ie. `foo.cpu'), rebuilding as
necessary.
The only other required change is to activate the AM_CONDITIONAL code
using a new macro for this very purpose. Place something like this in
your cpu's configure.in:
dnl enable automatic rebuilding of cgen-generated files
RH_CGEN_MAINT
Please contact me if you have any questions/problems.
Ben