This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building java library is slow
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: Richard Henderson <rth at redhat dot com>, Michael Matz <matzmich at cs dot tu-berlin dot de>, Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>, lucier at math dot purdue dot edu, gcc at gcc dot gnu dot org
- Date: Mon, 1 Apr 2002 18:21:30 +1000
- Subject: Re: Building java library is slow
- References: <3CA276ED.6050209@waitaki.otago.ac.nz> <Pine.GSO.4.33.0203281144340.27502-100000@platon> <20020331092857.GA22832@ceres.cs.mu.oz.au> <20020331021704.B21223@redhat.com>
On 31-Mar-2002, Richard Henderson <rth@redhat.com> wrote:
> On Sun, Mar 31, 2002 at 07:28:57PM +1000, Fergus Henderson wrote:
> > Probably the right fix for this is, like the message says, to add
> > `+' at the start of the rules which recursively invoke make for the
> > subdirectories.
>
> Does that break bsd make?
I'm not sure off-hand, but if so, it could be worked around by using
a variable which is set by an autoconf test.
E.g. instead of
foo-subdir:
cd foo && make
you can write
RECURSIVE = +
foo-subdir:
$(RECURSIVE) cd foo && make
and it will still work correctly. For non-GNU Make, just set RECURSIVE
to be empty instead of `+'.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.