On Jan 24, 2014, at 2:16 AM, Izumi Tsutsui wrote:

>> Sorry that I was lost, but I still believe that
>> creating-directories-as-make-target is to avoid.
> 
> Do you have any suggestion without boring work to rename all
> #include <machine/foo.h> lines and expand the "machine" path
> in MI files to ${MACHINE}/include?
> 
> Creating symlinks for stand programs has been annoying for me
> for >15 years, but see no alternative.

You could install them all into /usr/include/arch and make all the machine/*.h 
files look like:

#include "arch/" # MACHINE # "/foo.h"

which could be generated from a master list or globular expansion of 
arch/*/include (just to get the list, any individual arch/machine would be free 
to not worry about them). OF course, this solved the installed problem, and not 
the symlinks created by config(1), but I'm guessing that's not quite so 
irritating...

Warner

Reply via email to