Files
PolyORB/projects/src_dsa.gpr
Thomas Quinot a3be3beff2 Add s-dsatyp
for G302-010

Subversion-branch: /trunk/polyorb
Subversion-revision: 124918
2008-05-21 14:16:25 +00:00

66 lines
3.5 KiB
Plaintext

------------------------------------------------------------------------------
-- --
-- POLYORB COMPONENTS --
-- --
-- S R C _ D S A --
-- --
-- P r o j --
-- --
-- Copyright (C) 2007-2008, Free Software Foundation, Inc. --
-- --
-- PolyORB is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the Free --
-- Software Foundation; either version 2, or (at your option) any later --
-- version. PolyORB is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- --
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public --
-- License for more details. You should have received a copy of the GNU --
-- General Public License distributed with PolyORB; see file COPYING. If --
-- not, write to the Free Software Foundation, 51 Franklin Street, Fifth --
-- Floor, Boston, MA 02111-1301, USA. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- PolyORB is maintained by AdaCore --
-- (email: sales@adacore.com) --
-- --
------------------------------------------------------------------------------
with "common", "src";
project src_dsa is
Dir := "src/dsa";
Obj_Dir := Common.Build_Dir & Dir;
for Object_Dir use Obj_Dir;
for Source_Dirs use (Obj_Dir, Common.Source_Dir & Dir);
for Library_Name use "polyorb-dsa";
for Library_Dir use Common.Build_Dir & "lib";
for Library_ALI_Dir use Common.Build_Dir & "ali/src_dsa";
for Library_Kind use "static";
package Compiler is
for Default_Switches ("Ada")
use Src.Compiler'Default_Switches ("Ada");
Ada_RTL_Switches :=
Compiler'Default_Switches ("Ada") & ("-gnatw" & Common.Warnings_Mode);
-- Gnatmake compiles children of System with -gnatg (otherwise it is
-- illegal to recompile such children). -gnatg sets the warnings mode
-- to -gnatwe, so we need to reset it explicitly afterwards.
for Switches ("s-parint.adb") use Ada_RTL_Switches;
for Switches ("s-dsaser.adb") use Ada_RTL_Switches;
for Switches ("s-dsatyp.adb") use Ada_RTL_Switches;
end Compiler;
end src_dsa;