makeutl.ads (Main_Config_Project): Moved to gpr_util.ads
authorVincent Celier <celier@adacore.com>
Wed, 26 Sep 2007 10:44:55 +0000 (12:44 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 26 Sep 2007 10:44:55 +0000 (12:44 +0200)
commit15cf0748477830cc0b490111a345dc36bb06de14
tree843e004295b9af3ff36cb24860ace43160446c8f
parent0a8e311d153cabafc215ec3deecc2f4b49af9a79
makeutl.ads (Main_Config_Project): Moved to gpr_util.ads

2007-09-26  Vincent Celier  <celier@adacore.com>

* makeutl.ads (Main_Config_Project): Moved to gpr_util.ads

* prj.ads, prj.adb (Default_Language): Remove function, no longer used
Replace components Compiler_Min_Options and Binder_Min_Options with
Compiler_Required_Switches and Binder_Required_Switches in record
Language_Config.
Remove components Default_Language and Config in Project_Tree_Data,
no longer used.

* prj-attr.adb: New attributes Required_Switches (<language>) in
packages Compiler and Binder.

* prj-nmsc.adb: Major rewrite of the processing of configuration
attributes for gprbuild. No impact on GNAT tools.

* prj-proc.ads, prj-proc.adb (Process_Project_Tree_Phase_2): No longer
process configuration attributes: this is done in Prj.Nmsc.Check.
(Recursive_Process): Make a full copy of packages inherited from project
being extended, instead of a shallow copy.
(Process_Project_Tree_Phase_1): New procedure
(Process_Project_Tree_Phase_1): New procedure
(Process): Implementation now uses the two new procedures

* prj-util.adb (Executable_Of): Get the suffix and the default suffix
from the project config, not the tree config that no longer exists.

From-SVN: r128796
gcc/ada/make.adb
gcc/ada/prj-env.adb
gcc/ada/prj-env.ads