> > Is the Makefile approach good enough? > > Not sure. Others should judge that.
I don't know why the complexity of Makefile hackery is needed. Give all the other architectures a MD file. Some contain code and array handling, others contain fewer lines of code marking it NULL. And that would be the end of the story. Why do you need a .if !exists point at a different file, confusing all of it. Is cp(1) of a file with 1 line of code some deep-seated attack on OOP or something? Is there going to be a bug found in this years from now, and all of them will get fixed except someone will forget to fix the powerpc file leading to a massive security hole? This type of complexity is *WORSE*.