File: aws.gpr

package info (click to toggle)
libaws 2.2dfsg-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,624 kB
  • ctags: 1,173
  • sloc: ada: 61,829; ansic: 6,483; makefile: 1,282; xml: 196; sh: 119; java: 112; python: 66; sed: 40
file content (53 lines) | stat: -rw-r--r-- 2,123 bytes parent folder | download
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
--  Ada Web Server project file for use with GNAT 3.15p
--  Copyright (c) 2004 Ludovic Brenta <ludovic.brenta@insalien.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 2 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.
--
--  This project file is designed to help build applications that use
--  Ada Web Server.  Here is an example of how to use this project file:
--
--  with "/usr/share/ada/adainclude/aws";
--  project Example is
--     for Object_Dir use "obj";
--     for Exec_Dir use ".";
--     for Main use ("example");
--     package Linker renames AWS.Linker;
--     --  Alternatively, if you need additional switches:
--     --  package Linker is
--     --     for Default_Switches ("Ada") use (AWS.Ada_Switches & ...)
--     --  end Linker;
--  end Example;

with "xmlada2.gpr";
with "templates_parser.gpr";
project AWS is
   for Source_Dirs use ("/usr/share/ada/adainclude/aws");
   for Object_Dir use "/usr/lib/ada/adalib/aws";

   package Naming is
      --  Configuration for GNU/Linux using GNU TLS for strong crypto
      for Body ("AWS.Net.SSL") use "aws-net-ssl__gnutls.adb";
      for Body ("AWS.Net.SSL.Certificate")
        use "aws-net-ssl-certificate__gnutls.adb";
      for Body ("AWS.Net.Std") use "aws-net-std__gnat.adb";
      for Body ("AWS.OS_Lib") use "aws-os_lib__gnat.adb";
      for Body ("AWS.Translator.Conversion")
        use "aws-translator-conversion__f.adb";
      for Spec ("SSL.Thin") use "ssl-thin__gnutls.ads";
      for Spec ("Templates_Parser.Configuration")
        use "templates_parser-configuration__aws.ads";
   end Naming;

   Ada_Switches := "-laws";
   package Linker is
      for Default_Switches ("Ada") use (Ada_Switches);
   end Linker;
end AWS;