]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/osint-m.adb
exp_atag.ads, [...]: Replace headers with GPL v3 headers.
[thirdparty/gcc.git] / gcc / ada / osint-m.adb
CommitLineData
598c3446
GB
1------------------------------------------------------------------------------
2-- --
3-- GNAT COMPILER COMPONENTS --
4-- --
07fc65c4 5-- O S I N T - M --
598c3446 6-- --
07fc65c4 7-- B o d y --
598c3446 8-- --
b5c84c3c 9-- Copyright (C) 2001-2007, Free Software Foundation, Inc. --
598c3446
GB
10-- --
11-- GNAT is free software; you can redistribute it and/or modify it under --
12-- terms of the GNU General Public License as published by the Free Soft- --
b5c84c3c 13-- ware Foundation; either version 3, or (at your option) any later ver- --
598c3446
GB
14-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
15-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
16-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
17-- for more details. You should have received a copy of the GNU General --
b5c84c3c
RD
18-- Public License distributed with GNAT; see file COPYING3. If not, go to --
19-- http://www.gnu.org/licenses for a complete copy of the license. --
598c3446
GB
20-- --
21-- GNAT was originally developed by the GNAT team at New York University. --
1f02b6af 22-- Extensive contributions were provided by Ada Core Technologies Inc. --
598c3446
GB
23-- --
24------------------------------------------------------------------------------
25
e0ac6309
RD
26with Osint;
27
28pragma Elaborate_All (Osint);
29-- This pragma is needed because of the call to Set_Program in the
30-- elaboration of the package. We cannot rely on the static model
31-- of elaboration since the compiler is routinely compiled with
32-- checks off (-gnatp), and with older versions of the compiler
33-- (up to and including most 5.04 wavefronts), -gnatp suppresses
34-- the static elaboration check mechanisms. It could be removed
35-- one day, but there really is no need to do so.
36
07fc65c4 37package body Osint.M is
598c3446 38
07fc65c4
GB
39 -----------------------
40 -- More_Source_Files --
41 -----------------------
42
43 function More_Source_Files return Boolean renames More_Files;
44
45 ----------------------
46 -- Next_Main_Source --
47 ----------------------
48
49 function Next_Main_Source return File_Name_Type renames Next_Main_File;
50
51 ----------------------
52 -- Object_File_Name --
53 ----------------------
54
55 function Object_File_Name (N : File_Name_Type) return File_Name_Type
56 renames Osint.Object_File_Name;
57
58begin
59 Set_Program (Make);
60end Osint.M;