On Sat, 2007-10-06 at 15:49 +0100, Chris Beal wrote:
> One thing I will caution though is for projects wanting to take code 
> back to Solaris 10, they'll have to do two different types of Makefile 
> changes.

Fortunately, the extra work will be minimal.

This is a purely local optimization to the makefiles with no new
external dependencies once the makefile is expanded.  

While not ideal from either an aesthetic or a build performance
standpoint, you can mix the current wildcard rules with explicit rules
for files in other directories.  I know this works -- I'm doing that now
because my tools don't recognize and thus haven't eliminated all the
wildcards yet.

I'd imagine that projects introducing new source directories in their
backports to earlier releases would be able to extract the
auto-generated rules for the files in their new source directories,
paste them into new or existing Makefile.rules, and get some of the
performance benefit within their new turf.

Or they could recreate the old-style wildcards.

                                        - Bill

_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to