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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
------------------------------------------------------------------------------
-- --
-- ASIS UTILITY LIBRARY COMPONENTS --
-- --
-- A S I S --
-- --
-- Copyright (C) 2003-2012, AdaCore --
-- --
-- Asis Utility Library (ASIS UL) 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. ASIS UL 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. You should have received a --
-- copy of the GNU General Public License distributed with GNAT; see file --
-- COPYING. If not, write to the Free Software Foundation, 59 Temple Place --
-- - Suite 330, Boston, --
-- --
-- ASIS UL is maintained by ACT Europe (http://www.act-europe.fr). --
-- --
------------------------------------------------------------------------------
with "gnat_util";
with "common";
-- ASIS by itself only requires gnatvsn, and dh_ada_library needs
-- this information right here:
with "gnatvsn.gpr";
project Asis is
for Languages use ("ada");
for Source_Dirs use ("asis");
for Object_Dir use "obj";
for Library_Name use "asis";
for Library_Dir use "lib";
for Library_Kind use "static";
type A_Library_Kind is ("dynamic", "relocatable", "static");
Library_Kind : A_Library_Kind := External ("LIBRARY_KIND", "static");
case Library_Kind is
when "static" =>
null;
when "dynamic" | "relocatable" =>
for Object_Dir use Project'Object_Dir & "-dynamic";
for Library_Dir use Project'Library_Dir & "-dynamic";
for Library_Kind use "dynamic";
for Library_Version use "libasis.so." & External ("soversion", "unset");
for Library_Options use Common.Ldflags;
end case;
package Builder renames Common.Builder;
package Ide renames Common.Ide;
end Asis;
|