Subject: Re: lib/9702: Makefile lossage for crypto-intl
To: Simon Burge <simonb@NetBSD.ORG>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-crypto
Date: 03/29/2000 13:31:18
Simon Burge wrote:

> >       There is a problem with the Makefiles for the crypto-intl stuff.
> >       It remakes things too often.
> I _think_ from memory that this is because commands like compile_et and
> so on get rebuilt (because libc is updated) and they have dependancies
> on them so other files get rebuilt.

Aha!


> Do you get unnecessary recompiles
> if you "make UPDATE=y build" yet again?

No.


> Without looking, a fix could possibly be to get compile_et to generate
> it's output into a temp file and compare that with the old generated
> file and only update it if it's changed.

That seems like a good way to get out of this.  I seem to spend most of
my CPU-time on recompiling crypto-junk nowadays. :)

--

        -- Lennart