<?xml version="1.0" ?>
<gprconfig>
   <!--  This package provides default settings for GNAT toolchains -->

   <configuration>
     <config>
   package Naming is

      for Spec_Suffix ("Ada") use ".ads";
      for Body_Suffix ("Ada") use ".adb";

      for Body_Suffix ("Asm") use ".s";
      for Body_Suffix ("Asm2") use ".asm";
      for Body_Suffix ("Asm_Cpp") use ".S";

      for Body_Suffix ("C") use ".c";
      for Spec_Suffix ("C") use ".h";

      for Spec_Suffix ("C++") use ".hh";
      for Body_Suffix ("C++") use ".cpp";

      for Body_Suffix ("Fortran") use ".f";

      for Body_Suffix ("Rust") use ".rs";

      for Casing use "lowercase";
      for Dot_Replacement use "-";

   end Naming;

   for Inherit_Source_Path ("C++") use ("C");
   for Inherit_Source_Path ("Asm_Cpp") use ("Asm");
   for Default_Language use "Ada";

   package Compiler is
      for Language_Kind ("ada") use "unit_based";
   end Compiler;

   package Clean is
      for Source_Artifact_Extensions ("Ada") use (".dg", ".rep");
      for Object_Artifact_Extensions ("Ada") use (".s", ".ci", ".gcno", ".su", ".sid");

      for Source_Artifact_Extensions ("C")   use (".gli");
      for Object_Artifact_Extensions ("C")   use (".s", ".ci", ".gcno", ".su");

      for Source_Artifact_Extensions ("C++") use (".gli");
      for Object_Artifact_Extensions ("C++") use (".s", ".ci", ".gcno", ".su");
   end Clean;

   package Binder is
      for Bindfile_Option_Substitution ("-static") use ("-static-libgcc");
      for Bindfile_Option_Substitution ("-shared") use ("-shared-libgcc");
   end Binder;

      </config>
   </configuration>

</gprconfig>
