-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathseminar.gpr
90 lines (62 loc) · 2.46 KB
/
seminar.gpr
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
with "/sw/cluster/florist17/share/gpr/florist.gpr";
project Seminar is
for Object_Dir use "obj";
for Exec_Dir use ".";
type Build_Kind is
("static", "relocatable", "static-pic");
Xmlada_Build : Build_Kind := external ("XMLADA_BUILD");
type Build_Kind1 is
("default", "relocatable");
Aws_Build : Build_Kind1 := external ("AWS_BUILD");
type Build_Kind2 is
("default");
Florist_Build : Build_Kind2 := external ("FLORIST_BUILD");
case Xmlada_Build is
when "static" =>
case Aws_Build is
when "default" =>
case Florist_Build is
when "default" =>
for Main use ("debug.adb", "seminar-main.adb");
for Source_Dirs use ("src/**", "../tools/XMLAda/xmlada-3.2.1-src/**", "../tools/adacgi-1.6");
end case;
when "relocatable" =>
for Main use ("seminar-main.adb");
for Source_Dirs use ("src");
end case;
when "relocatable" =>
for Main use ("seminar-main.adb");
for Source_Dirs use ("src");
when "static-pic" =>
for Main use ("seminar-main.adb");
for Source_Dirs use ("src");
end case;
package Builder is
for Executable ("seminar-main.adb") use "seminar";
end Builder;
package Compiler is
case Xmlada_Build is
when "static" =>
case Aws_Build is
when "default" =>
for Switches ("ada") use ("-gnatwa", "-gnatyylbyaAbBCehiklnoOpsStux3", "-gnatyyyy2", "-gnatyyyy1");
when "relocatable" =>
for Switches ("ada") use ("-gnatyyaAbBCehiklnoOpsStux3", "-gnatyy2", "-gnatyy1");
end case;
when "relocatable" =>
case Aws_Build is
when "default" =>
for Switches ("ada") use ("-gnatyyaAbBCehiklnoOpsStux3", "-gnatyy2", "-gnatyy1");
when "relocatable" =>
for Switches ("ada") use ("-gnatyyaAbBCehiklnoOpsStux3", "-gnatyy2", "-gnatyy1");
end case;
when "static-pic" =>
case Aws_Build is
when "default" =>
for Switches ("ada") use ("-gnatyyaAbBCehiklnoOpsStux3", "-gnatyy2", "-gnatyy1");
when "relocatable" =>
for Switches ("ada") use ("-gnatyyaAbBCehiklnoOpsStux3", "-gnatyy2", "-gnatyy1");
end case;
end case;
end Compiler;
end Seminar;