Files
PolyORB/projects/polyorb_src_setup_security.gpr
Thomas Quinot 97130fd947 Make sure we do not attempt to build or link SSL-related stuff when
SSL is disabled.
Followup work on L821-003 (shared libs build)

Subversion-branch: /trunk/polyorb
Subversion-revision: 202021
2013-02-05 13:12:06 +00:00

62 lines
3.4 KiB
Plaintext

------------------------------------------------------------------------------
-- --
-- POLYORB COMPONENTS --
-- --
-- P O L Y O R B _ S R C _ S E T U P _ S E C U R I T Y --
-- --
-- P r o j --
-- --
-- Copyright (C) 2007-2009, 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) --
-- --
------------------------------------------------------------------------------
--# require HAVE_SSL
-- Pre-canned setups for security subsystem
-- See src_setup for purpose and usage rules
with "polyorb_common", "polyorb_src", "polyorb_src_corba", "polyorb_src_giop", "polyorb_src_security", "polyorb_src_security_gssup", "polyorb_src_corba_security", "polyorb_src_giop_iiop_security", "polyorb_src_giop_iiop_security_tls";
project PolyORB_src_setup_security is
Dir := "src/setup/security";
Obj_Dir := PolyORB_Common.Build_Dir & Dir;
for Object_Dir use Obj_Dir;
for Source_Dirs use (Obj_Dir, PolyORB_Common.Source_Dir & Dir);
for Library_Name use "polyorb-setup-security";
for Library_Dir use PolyORB_Common.Build_Dir & "lib";
for Library_ALI_Dir use PolyORB_Common.Build_Dir & "ali/src_setup_security";
for Library_Kind use "static";
package Compiler is
for Default_Switches ("Ada")
use PolyORB_Src.Compiler'Default_Switches ("Ada");
end Compiler;
end PolyORB_src_setup_security;