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 57 58 59 60 61
|
------------------------------------------------------------------------------
-- --
-- POLYORB COMPONENTS --
-- --
-- P O L Y O R B _ S R C _ C O R B A _ M E S S A G I N G --
-- --
-- P r o j --
-- --
-- Copyright (C) 2007-2011, 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. --
-- --
-- --
-- PolyORB is maintained by AdaCore --
-- (email: sales@adacore.com) --
-- --
------------------------------------------------------------------------------
with "polyorb_common", "polyorb_src", "polyorb_src_corba";
library project PolyORB_src_corba_messaging is
Dir := "src/corba/messaging";
Obj_Dir := PolyORB_Common.Build_Dir & Dir;
for Object_Dir use Obj_Dir;
-- for Source_Dirs use (Obj_Dir);
for Source_Dirs use (Obj_Dir, PolyORB_Common.Source_Dir & Dir);
Libname := "polyorb-corba-messaging";
for Library_Name use Libname;
for Library_Dir use PolyORB_Common.Build_Dir & "lib";
for Library_ALI_Dir use PolyORB_Common.Build_Dir & "ali/src_corba_messaging";
for Library_Kind use PolyORB_Common.Library_Type;
for Library_Version use "lib" & Libname & ".so." & PolyORB_Common.Libversion;
-- adding hardening options
Ldlibs := External_As_List ("LDLIBS", " ");
case PolyORB_Common.Library_Type is
when "relocatable" =>
For Library_Options use External_As_List ("LDFLAGS", " ") & Ldlibs;
when "static" =>
null;
end case;
package Compiler is
for Default_Switches ("Ada")
use PolyORB_Src.Compiler'Default_Switches ("Ada");
end Compiler;
end PolyORB_src_corba_messaging;
|