1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
-- GNAT Project file that builds the ASIS library.
-- Copyright (c) 2005, 2006, 2008, 2009 Ludovic Brenta <ludovic@ludovic-brenta.org>
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
with "gnatvsn.gpr";
project Install_ASIS is
for Library_Name use "asis";
for Library_Dir use External ("object_dir");
for Library_Kind use External ("Library_Kind");
for Library_Version use "libasis.so." & External ("soversion");
for Source_Dirs use ("../asis");
for Object_Dir use External ("object_dir") & "/obj";
for Externally_Built use External ("Externally_Built", "false");
package Compiler is
for Default_Switches ("Ada") use ("-g", "-O2", "-gnatafno", "-gnatwa", "-gnatVa");
-- Work around compiler bug #642980
for Switches ("asis-text.adb") use ("-g", "-O0", "-gnatafno", "-gnatwa", "-gnatVa");
end Compiler;
end Install_ASIS;
|