Fix parallel-build issues with LIBRARY_USE_INTERMEDIATE_FILE
authorRaja R Harinath <harinath@hurrynot.org>
Sun, 26 Jul 2009 16:56:02 +0000 (16:56 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Sun, 26 Jul 2009 16:56:02 +0000 (16:56 -0000)
commit38c89643f2d8cf1ae6c6a4182f05e1cc5bf3df83
tree7859456770cb95a675c425aa4820cd55fde65df2
parentd531a7515eaad9fb1c2ca9fff160851fa70aa168
Fix parallel-build issues with LIBRARY_USE_INTERMEDIATE_FILE

* library.make (build_lib): Define to a profile dependent
temporary location for LIBRARY_USE_INTERMEDIATE_FILE.
(DO_AOT): New.  Extracted from ...
($(build_lib)): ... here.  Simplify.  Extract code handling
LIBRARY_USE_INTERMEDIATE_FILE into ...
($(the_lib)) [LIBRARY_USE_INTERMEDIATE_FILE]: ... here, a new rule
that takes care of copying the library from its temporary location
to the final location.

svn path=/trunk/mcs/; revision=138691
mcs/build/ChangeLog
mcs/build/library.make