Add hppa-openbsd target
[official-gcc.git] / gcc / ada / mlib-tgt.adb
blob00fabbd4bfad8085a00ac28242ab6b1deb7732f3
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- M L I B . T G T --
6 -- (Default Version) --
7 -- --
8 -- B o d y --
9 -- --
10 -- --
11 -- Copyright (C) 2001, Ada Core Technologies, Inc. --
12 -- --
13 -- GNAT is free software; you can redistribute it and/or modify it under --
14 -- terms of the GNU General Public License as published by the Free Soft- --
15 -- ware Foundation; either version 2, or (at your option) any later ver- --
16 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
17 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
18 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
19 -- for more details. You should have received a copy of the GNU General --
20 -- Public License distributed with GNAT; see file COPYING. If not, write --
21 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
22 -- MA 02111-1307, USA. --
23 -- --
24 -- GNAT was originally developed by the GNAT team at New York University. --
25 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
26 -- --
27 ------------------------------------------------------------------------------
29 -- This is the default version which does not support libraries.
30 -- All subprograms are dummies, because they are never called,
31 -- except Libraries_Are_Supported which returns False.
33 package body MLib.Tgt is
35 pragma Warnings (Off); -- stop warnings on unreferenced formals
37 -----------------
38 -- Archive_Ext --
39 -----------------
41 function Archive_Ext return String is
42 begin
43 return "";
44 end Archive_Ext;
46 -----------------
47 -- Base_Option --
48 -----------------
50 function Base_Option return String is
51 begin
52 return "";
53 end Base_Option;
55 ---------------------------
56 -- Build_Dynamic_Library --
57 ---------------------------
59 procedure Build_Dynamic_Library
60 (Ofiles : Argument_List;
61 Foreign : Argument_List;
62 Afiles : Argument_List;
63 Options : Argument_List;
64 Lib_Filename : String;
65 Lib_Dir : String;
66 Lib_Address : String := "";
67 Lib_Version : String := "";
68 Relocatable : Boolean := False)
70 begin
71 null;
72 end Build_Dynamic_Library;
74 --------------------
75 -- Copy_ALI_Files --
76 --------------------
78 procedure Copy_ALI_Files
79 (From : Name_Id;
80 To : Name_Id)
82 begin
83 null;
84 end Copy_ALI_Files;
86 -------------------------
87 -- Default_DLL_Address --
88 -------------------------
90 function Default_DLL_Address return String is
91 begin
92 return "";
93 end Default_DLL_Address;
95 -------------
96 -- DLL_Ext --
97 -------------
99 function DLL_Ext return String is
100 begin
101 return "";
102 end DLL_Ext;
104 --------------------
105 -- Dynamic_Option --
106 --------------------
108 function Dynamic_Option return String is
109 begin
110 return "";
111 end Dynamic_Option;
113 -------------------
114 -- Is_Object_Ext --
115 -------------------
117 function Is_Object_Ext (Ext : String) return Boolean is
118 begin
119 return False;
120 end Is_Object_Ext;
122 --------------
123 -- Is_C_Ext --
124 --------------
126 function Is_C_Ext (Ext : String) return Boolean is
127 begin
128 return False;
129 end Is_C_Ext;
131 --------------------
132 -- Is_Archive_Ext --
133 --------------------
135 function Is_Archive_Ext (Ext : String) return Boolean is
136 begin
137 return False;
138 end Is_Archive_Ext;
140 -------------
141 -- Libgnat --
142 -------------
144 function Libgnat return String is
145 begin
146 return "libgnat.a";
147 end Libgnat;
149 -----------------------------
150 -- Libraries_Are_Supported --
151 -----------------------------
153 function Libraries_Are_Supported return Boolean is
154 begin
155 return False;
156 end Libraries_Are_Supported;
158 --------------------------------
159 -- Linker_Library_Path_Option --
160 --------------------------------
162 function Linker_Library_Path_Option
163 (Directory : String)
164 return String_Access
166 begin
167 return null;
168 end Linker_Library_Path_Option;
170 ----------------
171 -- Object_Ext --
172 ----------------
174 function Object_Ext return String is
175 begin
176 return "";
177 end Object_Ext;
179 ----------------
180 -- PIC_Option --
181 ----------------
183 function PIC_Option return String is
184 begin
185 return "";
186 end PIC_Option;
188 end MLib.Tgt;