Re: Making module versions (Was: OFFTOPIC: binary modules, bad idea!)

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Sat, 20 Dec 1997 23:39:55 +0100


> I guess he meant:
>
> - make foo.ver.tmp depend on foo.c
> - use cp-if-changed to get foo.ver
> - things that depend on foo.ver still depend on it
>
> To pull this off, foo.ver.tmp and foo.ver may have to be handled by
> different make invocations.

This would work, a typical linux compilation would then say

make dep modversions bzlilo modules modules_install

Is this really what we want? I would rather have make decide that the
dependencies and the module versions are not up-to-date, and
modules_install decide that the modules are not up-to-date.

Martin