aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnarl/libgnarl.gpr
blob: 3933f6f2f3a26406e33127af10b3a232124e8ee9 (plain)
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
with "libgnat_common";

library project Libgnarl is

   for Languages use ("Ada", "C");
   for Source_Dirs use (".");
   for Source_List_File use "libgnarl.lst";
   for Object_Dir use "../obj-" & Libgnat_Common.Library_Kind;

   for Library_Name use "gnarl";
   for Library_Dir use "../adalib";
   for Library_Kind use Libgnat_Common.Library_Kind;

   package Compiler is

      for Switches ("C") use Libgnat_Common.C_Flags;
      for Switches ("Ada") use Libgnat_Common.Ada_Flags;

      for Switches ("s-tasdeb.adb") use
        Libgnat_Common.Ada_Flags &
        Libgnat_Common.Force_Debug &
        Libgnat_Common.No_Opt;
      --  Compile s-tasdeb.o without optimization and with debug info so that
      --  it is always possible to set conditional breakpoints on tasks.

   end Compiler;

end Libgnarl;