This file is indexed.

/usr/share/gprconfig/windres.xml is in gprbuild 2015-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
<?xml version="1.0" ?>
<gprconfig>
   <!--  This package provides the rules to handle Windows resource files -->

  <compiler_description>
    <name>WINDRES</name>
    <executable prefix="1">(i686-pc-mingw32-|x86_64-pc-mingw32-)?windres</executable>
    <version>
      <external>${PREFIX}windres --version</external>
      <grep regexp="^GNU windres \(GNU Binutils\) (\S+)" group="1"></grep>
    </version>
    <languages>WinRes</languages>
    <target>
      <external>${PREFIX}gcc -dumpmachine</external>
      <grep regexp="[^\r\n]+"></grep>
    </target>
  </compiler_description>

   <configuration>
     <compilers>
       <compiler language="WinRes" />
     </compilers>
     <config>
   package Compiler is
      for Driver ("WinRes") use "${PREFIX(WinRes)}windres";
      for Leading_Required_Switches ("WinRes") use ("-i");
      for Object_File_Suffix ("WinRes") use ".coff";
      for Object_File_Switches ("WinRes") use ("-o", "");
   end Compiler;

   package Naming is
      for Body_Suffix ("WinRes") use ".rc";
   end Naming;
     </config>
   </configuration>

</gprconfig>