File: polyorb_src_security_x509.gpr

package info (click to toggle)
polyorb 2.11~20140418-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 30,012 kB
  • ctags: 465
  • sloc: ada: 273,015; sh: 4,507; makefile: 4,265; python: 1,332; cpp: 1,213; java: 507; ansic: 274; xml: 30; perl: 23; exp: 6
file content (63 lines) | stat: -rw-r--r-- 3,184 bytes parent folder | download | duplicates (2)
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
62
63
------------------------------------------------------------------------------
--                                                                          --
--                           POLYORB COMPONENTS                             --
--                                                                          --
--            P O L Y O R B _ S R C _ S E C U R I T Y _ X 5 0 9             --
--                                                                          --
--                                 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)                           --
--                                                                          --
------------------------------------------------------------------------------

--# require HAVE_SSL

with "polyorb_common", "polyorb_src", "polyorb_src_security";

library project PolyORB_src_security_x509 is

   for Languages use ("Ada", "C");

   Dir := "src/security/x509";
   Obj_Dir := PolyORB_Common.Build_Dir & Dir;
   for Object_Dir use Obj_Dir;
   for Source_Dirs use (Obj_Dir, PolyORB_Common.Source_Dir & Dir);

   Libname := "polyorb-security-x509";
   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_security_x509";
   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_security_x509;