Tim,
On 2004 Jun 25 , at 22.54, Tim Jenness wrote:
> Naive question: why no Makefile.am at the top level?
Because the top level is too special -- it makes no sense (ie, there's
no gain) to automate it.
> Where do we specify the build order?
We don't. In each of the configure.ac files we specify the
dependencies of each component on the others. These are written into
component.xml at configure-time. These are processed (by
buildsupport/starconf/java/GenerateDependencies.java) into
<top-level>/Makefile.dependencies, and so make works out the build
order itself.
This shows that make is a simple logic-programming language. Anyone
for Prolog?
Norman
--
----------------------------------------------------------------------
Norman Gray / Physics and Astronomy, University of Glasgow, UK
http://www.astro.gla.ac.uk/users/norman/
|