build: add rules for nesting
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 May 2012 11:41:27 +0000 (13:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Jun 2012 05:17:31 +0000 (07:17 +0200)
commite05804eebc6444bc5660ab2770fd9452fd66ec56
treeaa5c0a2cbfad987590827679e5a2b7119f85ed61
parent4115852bb0670841ff0e780692bcfcf1ede120b0
build: add rules for nesting

This adds the 'magic' rules that take care of subdirectories.
The subdirectory makefiles in the source tree are not complete; they
only define some variables (listed in nested-vars) according to the
configuration.

The magic rules descend into subdirectory makefiles and gather the
evaluated values of those variables.  The values from all subdirectories
are joined together, each prefixed with the subdirectory name, and used
by the "real" makefiles.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rules.mak