   <!ENTITY version_from_wind_base_vx653
    '<version>
      <getenv name="WIND_BASE"></getenv>
      <grep regexp=".*[/\\](vxworks653-[0-9.]*).*" group="1"></grep>
      <must_match>vxworks653.*</must_match>
     </version>'
   >

   <!ENTITY runtimes_vx653
    '<runtimes>full,cert,ravenscar-cert,zfp</runtimes>'
   >

  <!ENTITY config_vx653_cflags
  '
     <config>
   package Compiler is
      for Leading_Required_Switches ("C") use
        Compiler &apos; Leading_Required_Switches ("C")
        &amp; ("-DVTHREADS",
               "-I" &amp; Wind_Base &amp; "/target/vThreads/h",
               "-I" &amp; Wind_Base &amp; "/target/val/h");
   end Compiler;

   package Compiler is
      for Leading_Required_Switches ("C++") use
        Compiler &apos; Leading_Required_Switches ("C++")
        &amp; ("-DVTHREADS",
               "-I" &amp; Wind_Base &amp; "/target/vThreads/h",
               "-I" &amp; Wind_Base &amp; "/target/val/h");
   end Compiler;
     </config>
  '
  >
  <!ENTITY configurations_vx653
  '
   <configuration>
     &if_this_target;

     &config_wind_base;
   </configuration>

   <configuration>
     &if_this_target;

     &config_out_suffix;
   </configuration>

   <configuration>
     &if_this_target;

     &config_vx653_cflags;
   </configuration>

   <configuration>
     &if_zfp;
     &if_this_target;

     &config_no_builtin;
   </configuration>

   <configuration>
     &if_restricted_rts;
     &if_this_target;

     &config_no_builtin;
   </configuration>

   <configuration>
    &if_this_target;

    &config_gnat_ar;
   </configuration>

  <!-- For VxWorks use Ada driver as default for linking, since cc*
       and c++* do not recognize the -crtbe switch needed for ZCX -->
  <configuration>
     &if_ada;
     &if_this_target;

     &config_ada_linker;
  </configuration>

   <configuration>
     &if_no_ada;
     &if_cpp;
     &if_this_target;

     &config_cpp_linker;
   </configuration>

   <configuration>
     &if_no_ada;
     &if_no_cpp;
     &if_this_target;

     &config_c_linker;
   </configuration>
  '
  >
