> ..are there some nice general scripts that could > be used to automate some of this for the next hunk of gnu-like code > that comes along? I wrote a tool to help me port some ANSI C code from the net. It autogenerates mkfiles based on analysis of the source and headers. Importantly the porting effort can be coded into an rc(1) script, this means new releases of your GNU (for example) package can be built with relative ease. manpage attached, sourcecode and examples in the contrib package steve/mkmk -Steve