File: main.gpr

package info (click to toggle)
phcpack 2.4.92%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 143,848 kB
  • sloc: ada: 971,503; cpp: 214,980; ansic: 59,290; python: 52,262; makefile: 3,661; lisp: 444; javascript: 352
file content (131 lines) | stat: -rw-r--r-- 4,905 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
with "config/phcpack_config.gpr";

project main is

  case phcpack_config.Alire_Host_OS is

    when "windows" =>

      for Source_Dirs use
      (
        "src/Ada/Main", "src/Ada/System", "src/Ada/System/Basic_Timer",
        "src/Ada/Math_Lib/Numbers", "src/Ada/Math_Lib/QD",
        "src/Ada/Math_Lib/Vectors", "src/Ada/Math_Lib/Matrices",
        "src/Ada/Math_Lib/Reduction", "src/Ada/Math_Lib/Divisors",
        "src/Ada/Math_Lib/Polynomials", "src/Ada/Math_Lib/Functions",
        "src/Ada/Math_Lib/Supports", "src/Ada/Math_Lib/Series",
        "src/Ada/Math_Lib/Circuits", "src/Ada/Math_Lib/Laurent",
        "src/Ada/Deformations/Solutions", "src/Ada/Deformations/Homotopy",
        "src/Ada/Deformations/Newton", "src/Ada/Deformations/Curves",
        "src/Ada/Deformations/End_Games",
        "src/Ada/Deformations/Trackers", "src/Ada/Deformations/Sweep",
        "src/Ada/Deformations/Continuation",
        "src/Ada/Root_Counts/Product", "src/Ada/Root_Counts/Binomials",
        "src/Ada/Root_Counts/Implift", "src/Ada/Root_Counts/Stalift",
        "src/Ada/Root_Counts/Dynlift", "src/Ada/Root_Counts/Symmetry",
        "src/Ada/Root_Counts/MixedVol", "src/Ada/Root_Counts/Puiseux",
        "src/Ada/Root_Counts/DEMiCs",
        "src/Ada/Schubert/SAGBI", "src/Ada/Schubert/Pieri",
        "src/Ada/Schubert/Induction",
        "src/Ada/Components/Samplers", "src/Ada/Components/Interpolators",
        "src/Ada/Components/Factorization", "src/Ada/Components/Decomposition",
        "src/Ada/Components/Solver", "src/Ada/Components/Tropical",
        "src/Ada/CtoPHC/Types", "src/Ada/CtoPHC/Structures",
        "src/Ada/CtoPHC/Funky", "src/Ada/CtoPHC/State", "src/Ada/Tasking",
        "src/Feedback"
      );
      for Excluded_Source_Files use
      (
        "ts_smith.c", "ts_roots.c", "ts_timer.c", "ts_gcd.c",
        "ts_diahom.adb", "ts_elim.adb",
        "ts_itrack.adb", "ts_ilocal.adb", "ts_inewt.adb",
        "rewrite_polynomials.ads", "rewrite_polynomials.adb",
        "ts_rwpoly.adb"
      );
      for Languages use ("Ada", "C");

    when others =>

      for Source_Dirs use
      (
        "src/Ada/Main", "src/Ada/System", "src/Ada/System/Unix_Timer",
        "src/Ada/Math_Lib/Numbers", "src/Ada/Math_Lib/QD",
        "src/Ada/Math_Lib/Vectors", "src/Ada/Math_Lib/Matrices",
        "src/Ada/Math_Lib/Reduction", "src/Ada/Math_Lib/Divisors",
        "src/Ada/Math_Lib/Polynomials", "src/Ada/Math_Lib/Functions",
        "src/Ada/Math_Lib/Supports", "src/Ada/Math_Lib/Series",
        "src/Ada/Math_Lib/Circuits", "src/Ada/Math_Lib/Laurent",
        "src/Ada/Deformations/Solutions", "src/Ada/Deformations/Homotopy",
        "src/Ada/Deformations/Newton", "src/Ada/Deformations/Curves",
        "src/Ada/Deformations/End_Games",
        "src/Ada/Deformations/Trackers", "src/Ada/Deformations/Sweep",
        "src/Ada/Deformations/Continuation",
        "src/Ada/Root_Counts/Product", "src/Ada/Root_Counts/Binomials",
        "src/Ada/Root_Counts/Implift", "src/Ada/Root_Counts/Stalift",
        "src/Ada/Root_Counts/Dynlift", "src/Ada/Root_Counts/Symmetry",
        "src/Ada/Root_Counts/MixedVol", "src/Ada/Root_Counts/Puiseux",
        "src/Ada/Root_Counts/DEMiCs",
        "src/Ada/Schubert/SAGBI", "src/Ada/Schubert/Pieri",
        "src/Ada/Schubert/Induction",
        "src/Ada/Components/Samplers", "src/Ada/Components/Interpolators",
        "src/Ada/Components/Factorization", "src/Ada/Components/Decomposition",
        "src/Ada/Components/Solver", "src/Ada/Components/Tropical",
        "src/Ada/CtoPHC/Types", "src/Ada/CtoPHC/Structures",
        "src/Ada/CtoPHC/Funky", "src/Ada/CtoPHC/State", "src/Ada/Tasking",
        "src/Feedback"
      );
      for Excluded_Source_Files use
      (
        "ts_use_syscon.c",
        "ts_smith.c", "ts_roots.c", "ts_timer.c", "ts_gcd.c",
        "ts_diahom.adb", "ts_elim.adb",
        "ts_itrack.adb", "ts_ilocal.adb", "ts_inewt.adb",
        "rewrite_polynomials.ads", "rewrite_polynomials.adb",
        "ts_rwpoly.adb"
      );
      for Languages use ("Ada", "C");

    end case;

    for Object_Dir use "obj";
    for Exec_Dir use "bin";

    for Main use
    (
      "phctop.adb"    -- the main program
    );

    package Compiler is

       -- for Default_Switches ("Ada") use ("-gnatwa", "-gnatva");
      for Default_Switches ("Ada") use ("-O3", "-gnatv", "-gnatp", "-gnatf");

      for Switches ("use_c2phc.adb") use ("-c");

    end Compiler;

    package Binder is

      for Switches ("use_c2phc.adb") use ("-n");

      for Switches ("pieri_solver.adb") use ("-n");

    end Binder;

    package Linker is

      case phcpack_config.Alire_Host_OS is
        when "windows" => null;
        when others =>
          for Switches ("phctop.adb") use ("-static-libgcc");
      end case;

    end Linker;

    package Builder is

       for Executable ("phctop.adb") use "phc";

    end Builder;

end main;