On Tue, Jan 4, 2011 at 12:46 AM, Eric Blake <ebl...@redhat.com> wrote: > On 01/03/2011 04:43 PM, Xan Lopez wrote: >> Alternatively, is there some well-known way to reduce either the size >> or the processing time for the Makefile in huge automake projects?[1] > > Have you tried './configure --disable-dependency-tracking' as a way to > make automake quit outputting -MP options in the makefile? Since you're > already willing to give up the benefits of dependency tracking, you > might as well tell that to configure.
I'm only interested in getting rid of the -MP flag, not all -M flags. It does, according to the doc: -MP This option instructs CPP to add a phony target for each dependency other than the main file, causing each to depend on nothing. These dummy rules work around errors make gives if you remove header files without updating the Makefile to match. I understand this can cause problems if, say, a file is removed from the build tree or so, but it's very different to removing completely dependency tracking (which indeed makes the null-build be essentially 0s). Xan > > -- > Eric Blake ebl...@redhat.com +1-801-349-2682 > Libvirt virtualization library http://libvirt.org > >