Il 14/12/2012 14:46, Lluís Vilanova ha scritto: >>> The thing I like about automake is that it provides a clear set of vars to >>> manage the per-dir builds, thanks to using a per-dir $(MAKE); but I'm >>> not sure how the per-target build would be managed (except by having a >>> separate configure+make for each of them). >>> Yes, that would be it. > > I'd certainly love to see something along those lines for the sake of makefile > simplicity.
QEMU is complex enough that I'm not really sure what Automake would buy. >> > Even an autoconf conversion probably would have to use separate configure >> > scripts for the global project and for each target. > If you're willing to pay for a complete recompilation for each target you can > just have a single configure file. That's not the problem. The problem is that Autoconf does not lend well to the style of the QEMU build system, with many subparts that are enabled/disabled at configure time. > Ah, I know that one in gcc > > -Wl,--whole-archive foo.a -Wl,--no-whole-archive Really in ld (that's what -Wl does) and not very portable... Paolo