GNUmakefile: disable parallelism only for multiple, recursive targets
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 14 Mar 2009 15:50:46 +0000 (16:50 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 14 Mar 2009 15:50:46 +0000 (16:50 +0100)
commit6eeeffb05ed34ed47be7f7ae733adbe4863107aa
tree3a39dd024281cdac27b8b25fcd14af59fb3ea665
parent5f7ef0f5d7b8353bb85d9d88469d8c5b45c6c16a
GNUmakefile: disable parallelism only for multiple, recursive targets

* top/GNUmakefile (ALL_RECURSIVE_TARGETS): New macro; allow user
additions in the Makefile.
(AM_RECURSIVE_TARGETS): New macro, override only if not provided
by Automake.
(.NOTPARALLEL): Only disable parallel builds if multiple targets
are listed on the command line and at least one of them is
listed in $(ALL_RECURSIVE_TARGETS).

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
top/GNUmakefile