[OpenAFS-devel] lwp/process.o dependency

Jim Rees rees@umich.edu
Fri, 10 Oct 2003 09:17:10 -0400


I just added another dependency to lwp/Makefile.in:

process.o	: process.s process.i386.s process.c

This is overly conservative, because process.o really only depends on one of
the three source files, depending on sysname.

This could be fixed with something like

<pmax_he1 sgi_61 ...>
process.o	: process.s
<i386_obsd31 i386_obsd32 ...>
process.o	: process.i386.s

but without wildcards, this would be very awkward, and prone to error.

So is there any way to wildcard those lines, or some other way to do this
right?