summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.3.1/debian/ada-libgnatvsn.dpatch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-18 12:28:46 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-18 12:28:46 +0000
commite8bda8575637b967afaa0321fc3aeb69e809087a (patch)
treed4865b2556e227b403f9c13ad128d9bfb3c009d8 /meta/packages/gcc/gcc-4.3.1/debian/ada-libgnatvsn.dpatch
parentf204c8376f18d6cc443e7f4533d7eeace5d45f95 (diff)
downloadpoky-e8bda8575637b967afaa0321fc3aeb69e809087a.tar.gz
gcc 4.3.0 -> 4.3.1 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4876 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/ada-libgnatvsn.dpatch')
-rw-r--r--meta/packages/gcc/gcc-4.3.1/debian/ada-libgnatvsn.dpatch1598
1 files changed, 1598 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/ada-libgnatvsn.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/ada-libgnatvsn.dpatch
new file mode 100644
index 0000000000..e7de16dce9
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.3.1/debian/ada-libgnatvsn.dpatch
@@ -0,0 +1,1598 @@
1#! /bin/sh -e
2
3# DP: - Introduce a new shared library named libgnatvsn, containing
4# DP: common components of GNAT under the GNAT-Modified GPL, for
5# DP: use in GNAT tools, ASIS, GLADE and GPS. Link the gnat tools
6# DP: against this new library.
7
8# This patch seems large, but the hunks in Makefile.in are actually
9# generated from Makefile.def using autogen.
10
11# !!! Must be applied after ada-link-lib.dpatch
12
13dir=./
14if [ $# -eq 3 -a "$2" = '-d' ]; then
15 pdir="-d $3"
16 dir="$3/"
17elif [ $# -ne 1 ]; then
18 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
19 exit 1
20fi
21case "$1" in
22 -patch)
23 patch $pdir -f --no-backup-if-mismatch -p0 < $0
24 cd ${dir} && autoconf
25 ;;
26 -unpatch)
27 patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
28 ;;
29 *)
30 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
31 exit 1
32esac
33exit 0
34
35Index: gcc/ada/config-lang.in
36===================================================================
37--- gcc/ada/config-lang.in.orig
38+++ gcc/ada/config-lang.in
39@@ -34,8 +34,8 @@
40
41 outputs=ada/Makefile
42
43-target_libs="target-libada"
44-lang_dirs="libada gnattools"
45+target_libs="target-libada target-libgnatvsn"
46+lang_dirs="libada libgnatvsn gnattools"
47
48 # Ada will not work until the front end starts emitting GIMPLE trees.
49 build_by_default=no
50Index: gnattools/Makefile.in
51===================================================================
52--- gnattools/Makefile.in.orig
53+++ gnattools/Makefile.in
54@@ -37,10 +35,11 @@
55 CFLAGS=-O2 -Wall
56 INCLUDES = -I@srcdir@/../gcc/ada -I@srcdir@/../gcc
57 ADA_CFLAGS=-O2 -gnatn
58-ADA_INCLUDES=-nostdinc -I- -I. -I../gcc/ada/rts -I@srcdir@/../gcc/ada
59+ADA_INCLUDES=-nostdinc -I- -I. -I../gcc/ada/rts -I../libgnatvsn
60 LIB_VERSION=$(strip $(shell grep ' Library_Version :' \
61- @srcdir@/../gcc/ada/gnatvsn.ads | sed -e 's/.*"\(.*\)".*/\1/'))
62+ ../libgnatvsn/gnatvsn.ads | sed -e 's/.*"\(.*\)".*/\1/'))
63 ADA_LIBS := -L../gcc/ada/rts -lgnat-$(LIB_VERSION)
64+ADA_LIBS += -L../libgnatvsn -lgnatvsn
65
66 # We will use the just-built compiler to compile and link everything.
67 GCC=../gcc/xgcc -B../gcc/
68@@ -66,62 +65,34 @@
69 # Since we don't have gnatmake, we must specify the full list of
70 # object files necessary to build gnatmake and gnatlink.
71 # TODO: remove from these lists the objects that are part of
72-# libgnatvsn and libgnatprj.
73+# libgnatprj.
74 GNATLINK_OBJS = \
75 ali.o \
76-alloc.o \
77 butil.o \
78-casing.o \
79-csets.o \
80-debug.o \
81 fmap.o \
82-fname.o \
83 gnatlink.o \
84-gnatvsn.o \
85-hostparm.o \
86 indepsw.o \
87-namet.o \
88-opt.o \
89 osint.o \
90-output.o \
91 prefix.o \
92 rident.o \
93 sdefault.o \
94-snames.o \
95 stylesw.o \
96 switch.o \
97-table.o \
98 targparm.o \
99-tree_io.o \
100-types.o \
101-validsw.o \
102-version.o \
103-widechar.o
104+validsw.o
105
106 GNATMAKE_OBJS = \
107 ali-util.o \
108 ali.o \
109-alloc.o \
110-atree.o \
111 binderr.o \
112 butil.o \
113-casing.o \
114-csets.o \
115-debug.o \
116-einfo.o\
117-elists.o \
118 err_vars.o \
119 erroutc.o \
120 errutil.o \
121 fmap.o \
122 fname-sf.o \
123 fname-uf.o \
124-fname.o \
125 gnatmake.o \
126-gnatvsn.o \
127-hostparm.o \
128-krunch.o \
129-lib.o \
130 make.o \
131 makeusg.o \
132 makeutl.o \
133@@ -131,12 +102,8 @@
134 mlib-tgt-specific.o \
135 mlib-utl.o \
136 mlib.o \
137-namet.o \
138-nlists.o \
139-opt.o \
140 osint-m.o \
141 osint.o \
142-output.o \
143 prefix.o \
144 prj-attr-pm.o \
145 prj-attr.o \
146@@ -154,47 +121,59 @@
147 prj-util.o \
148 prj.o \
149 rident.o \
150-scans.o \
151 scng.o \
152 sdefault.o \
153 sfn_scan.o \
154-sinfo.o \
155 sinput-c.o \
156 sinput-p.o \
157-sinput.o \
158-snames.o \
159-stand.o \
160-stringt.o \
161 styleg.o \
162 stylesw.o \
163 switch-m.o \
164 switch.o \
165-table.o \
166 targparm.o \
167 tempdir.o \
168-tree_io.o \
169-types.o \
170-uintp.o \
171-uname.o \
172-urealp.o \
173 usage.o \
174 validsw.o \
175-version.o \
176-widechar.o \
177 $(EXTRA_GNATMAKE_OBJS)
178
179+
180+EXTRA_TOOLS_OBJS = \
181+bcheck.o \
182+binde.o \
183+bindgen.o \
184+bindusg.o \
185+clean.o \
186+gprep.o \
187+makegpr.o \
188+osint-b.o \
189+osint-l.o \
190+prep.o \
191+prj-makr.o \
192+prj-pp.o \
193+switch-b.o \
194+vms_conv.o \
195+vms_data.o \
196+xr_tabls.o \
197+xref_lib.o
198+
199+OBJECTS = $(GNATLINK_OBJS) $(GNATMAKE_OBJS) $(EXTRA_TOOLS_OBJS)
200+
201 # Makefile targets
202 # ----------------
203
204 .PHONY: gnattools gnattools-native gnattools-cross regnattools
205 gnattools: @default_gnattools_target@
206
207-# Build directory for the tools. Let's copy the target-dependent
208-# sources using the same mechanism as for gnatlib. The other sources are
209-# accessed using the vpath directive.
210+BODIES := $(foreach f,$(OBJECTS),$(wildcard $(patsubst %.o,@srcdir@/../gcc/ada/%.adb,$(f))))
211+SPECS := $(foreach f,$(OBJECTS),$(wildcard $(patsubst %.o,@srcdir@/../gcc/ada/%.ads,$(f))))
212+
213+$(notdir $(SPECS) $(BODIES)): stamp-gnattools-sources
214
215 stamp-gnattools-sources:
216- $(LN_S) ../gcc/ada/sdefault.adb .
217+ for file in $(BODIES) $(SPECS); do \
218+ $(LN_S) -f $$file .; \
219+ done
220+ rm -f sdefault.adb; $(LN_S) ../gcc/ada/sdefault.adb .
221 $(foreach PAIR,$(TOOLS_TARGET_PAIRS), \
222 rm -f $(word 1,$(subst <, ,$(PAIR)));\
223 $(LN_S) @srcdir@/../gcc/ada/$(word 2,$(subst <, ,$(PAIR))) \
224@@ -202,6 +181,7 @@
225 touch $@
226
227 gnattools-native: ../gcc/ada/rts/libgnat-$(LIB_VERSION).so
228+gnattools-native: ../libgnatvsn/libgnatvsn.so
229 gnattools-native: stamp-gnattools-sources
230 gnattools-native: $(TOOLS) gnatbl
231
232@@ -209,18 +189,16 @@
233
234 vpath %.c @srcdir@/../gcc/ada:@srcdir@/../gcc
235 vpath %.h @srcdir@/../gcc/ada
236-vpath %.adb .:@srcdir@/../gcc/ada
237-vpath %.ads @srcdir@/../gcc/ada
238
239 # Because the just-built gcc is a host tool like us, we can use some
240-# of its object files, e.g. prefix.o and version.o.
241+# of its object files, e.g. prefix.o.
242 vpath prefix.o ../gcc
243-vpath version.o ../gcc
244
245 # gnatlink
246
247 gnatlink-static: $(GNATLINK_OBJS) b_gnatl.o link.o
248 $(GCC) -o $@ $^ \
249+ ../libgnatvsn/libgnatvsn.a \
250 ../gcc/ada/rts/libgnat.a \
251 ../libiberty/libiberty.a
252
253@@ -237,6 +215,7 @@
254
255 gnatmake-static: $(GNATMAKE_OBJS) b_gnatm.o link.o
256 $(GCC) -o $@ $(ADA_CFLAGS) $^ \
257+ ../libgnatvsn/libgnatvsn.a \
258 ../gcc/ada/rts/libgnat.a \
259 ../libiberty/libiberty.a
260
261@@ -250,7 +229,8 @@
262 ../gcc/gnatbind -C -o $@ $(ADA_INCLUDES) gnatmake.ali
263
264 # Other tools
265-gnatkr: version.o
266+gnatkr:
267+ if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi
268 ./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \
269 --GCC="$(GCC)" \
270 --GNATBIND=../gcc/gnatbind
271@@ -261,7 +241,8 @@
272 cp -lp $< $@
273
274 gnatbind gnatchop gnatclean gnatcmd gnatfind gnatls gnatname gnatprep gnatxref gprmake: \
275-link.o version.o prefix.o
276+link.o prefix.o
277+ if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi
278 ./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \
279 --GCC="$(GCC)" \
280 --GNATBIND=../gcc/gnatbind
281@@ -269,7 +250,7 @@
282 ../libiberty/libiberty.a \
283 --GCC="$(GCC) $(ADA_INCLUDES)"
284
285-gnatbl: gnatbl.c link.o version.o prefix.o
286+gnatbl: gnatbl.c link.o prefix.o
287 $(GCC) -o $@ $< $(CFLAGS) \
288 -I../gcc -I@srcdir@/../gcc/config -I@srcdir@/../gcc \
289 -I@srcdir@/../include \
290@@ -290,6 +271,8 @@
291 %.o: %.c
292 $(GCC) -c -o $@ $< $(CFLAGS) $(INCLUDES)
293
294+prefix.o:
295+
296 # Other
297 # -----
298
299@@ -325,13 +308,15 @@
300 install-html:
301
302 # Cleaning rules.
303+.PHONY: mostlyclean clean distclean
304+
305 mostlyclean:
306 $(RM) gnatmake gnatlink $(TOOLS) gnatbl *.o *.ali
307
308-clean:
309+clean: mostlyclean
310 $(RM) *.ads *.adb stamp-gnattools-sources
311
312-distclean:
313+distclean: clean
314 $(RM) Makefile config.status config.log
315
316 maintainer-clean:
317Index: libgnatvsn/configure
318===================================================================
319--- /dev/null
320+++ libgnatvsn/configure
321@@ -0,0 +1,43 @@
322+#!/bin/sh
323+
324+# Minimal configure script for libgnatvsn. We're only interested in
325+# a few parameters.
326+
327+for arg in $*; do
328+ case ${arg} in
329+ --build=*)
330+ build=`expr ${arg} : '--build=\(.\+\)'`;;
331+ --host=*)
332+ host=`expr ${arg} : '--host=\(.\+\)'`;;
333+ --target=*)
334+ target=`expr ${arg} : '--target=\(.\+\)'`;;
335+ --prefix=*)
336+ prefix=`expr ${arg} : '--prefix=\(.\+\)'`;;
337+ --srcdir=*)
338+ srcdir=`expr ${arg} : '--srcdir=\(.\+\)'`;;
339+ --with-pkgversion=*)
340+ pkgversion=`expr ${arg} : '--with-pkgversion=\(.\+\)'`;;
341+ --with-bugurl=*)
342+ bugurl=`expr ${arg} : '--with-bugurl=\(.\+\)'`;;
343+ *)
344+ echo "Warning: ignoring option: ${arg}"
345+ esac
346+done
347+
348+echo "build: ${build}" | tee config.log
349+echo "host: ${host}" | tee -a config.log
350+echo "target: ${target}" | tee -a config.log
351+echo "prefix: ${prefix}" | tee -a config.log
352+echo "srcdir: ${srcdir}" | tee -a config.log
353+echo "pkgversion: ${pkgversion}" | tee -a config.log
354+echo "bugurl: ${bugurl}" | tee -a config.log
355+
356+echo "Creating Makefile..." | tee -a config.log
357+sed -e "s,@build@,${build},g" \
358+ -e "s,@host@,${host},g" \
359+ -e "s,@target@,${target},g" \
360+ -e "s,@prefix@,${prefix},g" \
361+ -e "s,@srcdir@,${srcdir},g" \
362+ -e "s,@PKGVERSION@,${pkgversion},g" \
363+ -e "s,@REPORT_BUGS_TO@,${bugurl},g" \
364+ < ${srcdir}/Makefile.in > Makefile
365Index: libgnatvsn/Makefile.in
366===================================================================
367--- /dev/null
368+++ libgnatvsn/Makefile.in
369@@ -0,0 +1,147 @@
370+# Makefile for libgnatvsn.
371+# Copyright (c) 2006 Ludovic Brenta <ludovic@ludovic-brenta.org>
372+#
373+# This file is free software; you can redistribute it and/or modify
374+# it under the terms of the GNU General Public License as published by
375+# the Free Software Foundation; either version 2 of the License, or
376+# (at your option) any later version.
377+#
378+# This program is distributed in the hope that it will be useful,
379+# but WITHOUT ANY WARRANTY; without even the implied warranty of
380+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
381+# GNU General Public License for more details.
382+#
383+# You should have received a copy of the GNU General Public License
384+# along with this program; if not, write to the Free Software
385+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
386+
387+# Default target; must be first.
388+all: libgnatvsn
389+
390+.SUFFIXES:
391+
392+CPUS := $(shell getconf _NPROCESSORS_ONLN)
393+LIB_VERSION := $(strip $(shell grep ' Library_Version :' \
394+ @srcdir@/../gcc/ada/gnatvsn.ads | \
395+ sed -e 's/.*"\(.*\)".*/\1/'))
396+GCC:=../gcc/xgcc -B../gcc/
397+LIBGNAT_JUST_BUILT := -nostdinc -I../gcc/ada/rts
398+CFLAGS := -g -O2 -gnatn
399+BASEVER := $(shell cat @srcdir@/../gcc/BASE-VER)
400+DEVPHASE := $(shell cat @srcdir@/../gcc/DEV-PHASE)
401+DATESTAMP := $(shell cat @srcdir@/../gcc/DATESTAMP)
402+
403+# For use in version.c - double quoted strings, with appropriate
404+# surrounding punctuation and spaces, and with the datestamp and
405+# development phase collapsed to the empty string in release mode
406+# (i.e. if DEVPHASE_c is empty). The space immediately after the
407+# comma in the $(if ...) constructs is significant - do not remove it.
408+BASEVER_s := "\"$(BASEVER)\""
409+DEVPHASE_s := "\"$(if $(DEVPHASE), ($(DEVPHASE)))\""
410+DATESTAMP_s := "\"$(if $(DEVPHASE), $(DATESTAMP))\""
411+PKGVERSION_s:= "\"@PKGVERSION@\""
412+BUGURL_s := "\"@REPORT_BUGS_TO@\""
413+
414+ifneq (@build@,@host@)
415+ CFLAGS += -b @host@
416+endif
417+
418+.PHONY: libgnatvsn install
419+libgnatvsn: libgnatvsn.so.$(LIB_VERSION) libgnatvsn.a
420+
421+VSN_SOURCES := alloc.ads atree.adb casing.adb csets.adb debug.adb einfo.adb \
422+elists.adb fname.adb gnatvsn.adb hostparm.ads krunch.adb lib.adb namet.adb \
423+nlists.adb opt.adb output.adb repinfo.adb scans.adb sinfo.adb sinput.adb \
424+snames.adb stand.adb stringt.adb table.adb tree_in.adb tree_io.adb types.adb \
425+uintp.adb uname.adb urealp.adb widechar.adb
426+
427+VSN_SEPARATES := lib-list.adb lib-sort.adb
428+
429+OBJECTS=$(patsubst %.ads,%.o,$(VSN_SOURCES:.adb=.o)) version.o
430+
431+vpath %.c @srcdir@/../gcc
432+
433+libgnatvsn.so.$(LIB_VERSION): $(addprefix obj-shared/,$(OBJECTS))
434+ : # Make libgnatvsn.so
435+ $(GCC) -o $@ -shared -fPIC -Wl,--soname,$@ $^ \
436+ -L../gcc/ada/rts -lgnat-$(LIB_VERSION)
437+ ln -s libgnatvsn.so.$(LIB_VERSION) libgnatvsn.so
438+ chmod a=r obj-shared/*.ali
439+# Make the .ali files, but not the .o files, visible to the gnat tools.
440+ cp -lp obj-shared/*.ali .
441+
442+$(addprefix obj-shared/,$(OBJECTS)): | stamp-libgnatvsn-sources obj-shared
443+
444+obj-shared/%.o: %.adb
445+ $(GCC) -c -fPIC $(CFLAGS) $(LIBGNAT_JUST_BUILT) $< -o $@
446+
447+obj-shared/%.o: %.ads
448+ $(GCC) -c -fPIC $(CFLAGS) $(LIBGNAT_JUST_BUILT) $< -o $@
449+
450+obj-shared/version.o: version.c
451+ $(GCC) -c -fPIC -g -O2 \
452+ -DBASEVER=$(BASEVER_s) \
453+ -DDATESTAMP=$(DATESTAMP_s) \
454+ -DDEVPHASE=$(DEVPHASE_s) \
455+ -DPKGVERSION=$(PKGVERSION_s) \
456+ -DBUGURL=$(BUGURL_s) \
457+ -DREVISION= \
458+ $(realpath $<) -o $@
459+
460+obj-shared:
461+ -mkdir $@
462+
463+libgnatvsn.a: $(addprefix obj-static/,$(OBJECTS))
464+ : # Make libgnatvsn.a
465+ ar rc $@ $^
466+ ranlib $@
467+
468+$(addprefix obj-static/,$(OBJECTS)): | stamp-libgnatvsn-sources obj-static
469+
470+obj-static/%.o: %.adb
471+ $(GCC) -c $(CFLAGS) $(LIBGNAT_JUST_BUILT) $< -o $@
472+
473+obj-static/%.o: %.ads
474+ $(GCC) -c $(CFLAGS) $(LIBGNAT_JUST_BUILT) $< -o $@
475+
476+obj-static/version.o: version.c
477+ $(GCC) -c -g -O2 \
478+ -DBASEVER=$(BASEVER_s) \
479+ -DDATESTAMP=$(DATESTAMP_s) \
480+ -DDEVPHASE=$(DEVPHASE_s) \
481+ -DPKGVERSION=$(PKGVERSION_s) \
482+ -DBUGURL=$(BUGURL_s) \
483+ -DREVISION= \
484+ $< -o $@
485+
486+obj-static:
487+ -mkdir $@
488+
489+$(VSN_SOURCES) $(VSN_SEPARATES): stamp-libgnatvsn-sources
490+
491+stamp-libgnatvsn-sources:
492+ for file in $(VSN_SOURCES) $(VSN_SEPARATES); do \
493+ ads=$$(echo $$file | sed 's/\.adb/.ads/'); \
494+ if [ -f @srcdir@/../gcc/ada/$$file -a ! -L $$file ] ; then ln -s @srcdir@/../gcc/ada/$$file .; fi; \
495+ if [ -f @srcdir@/../gcc/ada/$$ads -a ! -L $$ads ] ; then ln -s @srcdir@/../gcc/ada/$$ads .; fi; \
496+ done
497+ touch $@
498+
499+install: libgnatvsn
500+ $(INSTALL_DATA) libgnatvsn.a $(DESTDIR)$(prefix)/lib
501+ $(INSTALL_DATA) libgnatvsn.so.$(LIB_VERSION) $(DESTDIR)$(prefix)/lib
502+ cd $(DESTDIR)$(prefix)/lib; \
503+ ln -sf libgnatvsn.so.$(LIB_VERSION) libgnatvsn.so
504+ mkdir -p $(DESTDIR)$(prefix)/share/ada/adainclude/gnatvsn
505+ $(INSTALL_DATA) \
506+ $(addprefix @srcdir@/../gcc/ada/,$(VSN_SOURCES) $(VSN_SEPARATES)) \
507+ $(addprefix @srcdir@/../gcc/ada/,$(patsubst %.adb,%.ads,$(filter %.adb,$(VSN_SOURCES)))) \
508+ $(DESTDIR)$(prefix)/share/ada/adainclude/gnatvsn
509+ mkdir -p $(DESTDIR)$(prefix)/lib/ada/adalib/gnatvsn
510+ $(INSTALL) -m 0444 obj-shared/*.ali \
511+ $(DESTDIR)$(prefix)/lib/ada/adalib/gnatvsn
512+ chmod a=r $(DESTDIR)$(prefix)/lib/ada/adalib/gnatvsn/*.ali
513+
514+.PHONY: clean
515+clean:
516+ rm -rf *.ali obj-static obj-shared libgnatvsn* *.adb *.ads stamp*
517Index: Makefile.def
518===================================================================
519--- Makefile.def.orig
520+++ Makefile.def
521@@ -123,6 +123,13 @@
522 missing= TAGS;
523 missing= install-info;
524 missing= installcheck; };
525+host_modules= { module= libgnatvsn; no_check=true;
526+ missing= info;
527+ missing= dvi;
528+ missing= html;
529+ missing= TAGS;
530+ missing= install-info;
531+ missing= installcheck; };
532 host_modules= { module= gnattools; no_check=true;
533 missing= info;
534 missing= dvi;
535@@ -161,6 +168,13 @@
536 missing= TAGS;
537 missing= install-info;
538 missing= installcheck; };
539+target_modules = { module= libgnatvsn; no_check=true;
540+ missing= info;
541+ missing= dvi;
542+ missing= html;
543+ missing= TAGS;
544+ missing= install-info;
545+ missing= installcheck; };
546 target_modules = { module= libgomp; lib_path=.libs; };
547
548 // These are (some of) the make targets to be done in each subdirectory.
549@@ -331,6 +345,8 @@
550 dependencies = { module=all-fixincludes; on=all-libiberty; };
551
552 dependencies = { module=all-gnattools; on=all-libada; };
553+dependencies = { module=all-gnattools; on=all-libgnatvsn; };
554+dependencies = { module=all-libgnatvsn; on=all-libada; };
555
556 dependencies = { module=configure-mpfr; on=all-gmp; };
557
558Index: Makefile.in
559===================================================================
560--- Makefile.in.orig
561+++ Makefile.in
562@@ -698,6 +698,7 @@
563 maybe-configure-libtermcap \
564 maybe-configure-utils \
565 maybe-configure-libada \
566+ maybe-configure-libgnatvsn \
567 maybe-configure-gnattools
568 .PHONY: configure-target
569 configure-target: \
570@@ -721,6 +722,7 @@
571 maybe-configure-target-qthreads \
572 maybe-configure-target-rda \
573 maybe-configure-target-libada \
574+ maybe-configure-target-libgnatvsn \
575 maybe-configure-target-libgomp
576
577 # The target built for a native non-bootstrap build.
578@@ -849,6 +851,7 @@
579 all-host: maybe-all-libtermcap
580 all-host: maybe-all-utils
581 all-host: maybe-all-libada
582+all-host: maybe-all-libgnatvsn
583 all-host: maybe-all-gnattools
584
585 .PHONY: all-target
586@@ -875,6 +878,7 @@
587 all-target: maybe-all-target-qthreads
588 all-target: maybe-all-target-rda
589 all-target: maybe-all-target-libada
590+all-target: maybe-all-target-libgnatvsn
591 all-target: maybe-all-target-libgomp
592
593 # Do a target for all the subdirectories. A ``make do-X'' will do a
594@@ -963,6 +967,7 @@
595 info-host: maybe-info-libtermcap
596 info-host: maybe-info-utils
597 info-host: maybe-info-libada
598+info-host: maybe-info-libgnatvsn
599 info-host: maybe-info-gnattools
600
601 .PHONY: info-target
602@@ -987,6 +992,7 @@
603 info-target: maybe-info-target-qthreads
604 info-target: maybe-info-target-rda
605 info-target: maybe-info-target-libada
606+info-target: maybe-info-target-libgnatvsn
607 info-target: maybe-info-target-libgomp
608
609 .PHONY: do-dvi
610@@ -1070,6 +1076,7 @@
611 dvi-host: maybe-dvi-libtermcap
612 dvi-host: maybe-dvi-utils
613 dvi-host: maybe-dvi-libada
614+dvi-host: maybe-dvi-libgnatvsn
615 dvi-host: maybe-dvi-gnattools
616
617 .PHONY: dvi-target
618@@ -1094,6 +1101,7 @@
619 dvi-target: maybe-dvi-target-qthreads
620 dvi-target: maybe-dvi-target-rda
621 dvi-target: maybe-dvi-target-libada
622+dvi-target: maybe-dvi-target-libgnatvsn
623 dvi-target: maybe-dvi-target-libgomp
624
625 .PHONY: do-pdf
626@@ -1177,6 +1185,7 @@
627 pdf-host: maybe-pdf-libtermcap
628 pdf-host: maybe-pdf-utils
629 pdf-host: maybe-pdf-libada
630+pdf-host: maybe-pdf-libgnatvsn
631 pdf-host: maybe-pdf-gnattools
632
633 .PHONY: pdf-target
634@@ -1201,6 +1210,7 @@
635 pdf-target: maybe-pdf-target-qthreads
636 pdf-target: maybe-pdf-target-rda
637 pdf-target: maybe-pdf-target-libada
638+pdf-target: maybe-pdf-target-libgnatvsn
639 pdf-target: maybe-pdf-target-libgomp
640
641 .PHONY: do-html
642@@ -1284,6 +1294,7 @@
643 html-host: maybe-html-libtermcap
644 html-host: maybe-html-utils
645 html-host: maybe-html-libada
646+html-host: maybe-html-libgnatvsn
647 html-host: maybe-html-gnattools
648
649 .PHONY: html-target
650@@ -1308,6 +1319,7 @@
651 html-target: maybe-html-target-qthreads
652 html-target: maybe-html-target-rda
653 html-target: maybe-html-target-libada
654+html-target: maybe-html-target-libgnatvsn
655 html-target: maybe-html-target-libgomp
656
657 .PHONY: do-TAGS
658@@ -1391,6 +1403,7 @@
659 TAGS-host: maybe-TAGS-libtermcap
660 TAGS-host: maybe-TAGS-utils
661 TAGS-host: maybe-TAGS-libada
662+TAGS-host: maybe-TAGS-libgnatvsn
663 TAGS-host: maybe-TAGS-gnattools
664
665 .PHONY: TAGS-target
666@@ -1415,6 +1428,7 @@
667 TAGS-target: maybe-TAGS-target-qthreads
668 TAGS-target: maybe-TAGS-target-rda
669 TAGS-target: maybe-TAGS-target-libada
670+TAGS-target: maybe-TAGS-target-libgnatvsn
671 TAGS-target: maybe-TAGS-target-libgomp
672
673 .PHONY: do-install-info
674@@ -1498,6 +1512,7 @@
675 install-info-host: maybe-install-info-libtermcap
676 install-info-host: maybe-install-info-utils
677 install-info-host: maybe-install-info-libada
678+install-info-host: maybe-install-info-libgnatvsn
679 install-info-host: maybe-install-info-gnattools
680
681 .PHONY: install-info-target
682@@ -1522,6 +1537,7 @@
683 install-info-target: maybe-install-info-target-qthreads
684 install-info-target: maybe-install-info-target-rda
685 install-info-target: maybe-install-info-target-libada
686+install-info-target: maybe-install-info-target-libgnatvsn
687 install-info-target: maybe-install-info-target-libgomp
688
689 .PHONY: do-install-pdf
690@@ -1605,6 +1621,7 @@
691 install-pdf-host: maybe-install-pdf-libtermcap
692 install-pdf-host: maybe-install-pdf-utils
693 install-pdf-host: maybe-install-pdf-libada
694+install-pdf-host: maybe-install-pdf-libgnatvsn
695 install-pdf-host: maybe-install-pdf-gnattools
696
697 .PHONY: install-pdf-target
698@@ -1629,6 +1646,7 @@
699 install-pdf-target: maybe-install-pdf-target-qthreads
700 install-pdf-target: maybe-install-pdf-target-rda
701 install-pdf-target: maybe-install-pdf-target-libada
702+install-pdf-target: maybe-install-pdf-target-libgnatvsn
703 install-pdf-target: maybe-install-pdf-target-libgomp
704
705 .PHONY: do-install-html
706@@ -1712,6 +1730,7 @@
707 install-html-host: maybe-install-html-libtermcap
708 install-html-host: maybe-install-html-utils
709 install-html-host: maybe-install-html-libada
710+install-html-host: maybe-install-html-libgnatvsn
711 install-html-host: maybe-install-html-gnattools
712
713 .PHONY: install-html-target
714@@ -1736,6 +1755,7 @@
715 install-html-target: maybe-install-html-target-qthreads
716 install-html-target: maybe-install-html-target-rda
717 install-html-target: maybe-install-html-target-libada
718+install-html-target: maybe-install-html-target-libgnatvsn
719 install-html-target: maybe-install-html-target-libgomp
720
721 .PHONY: do-installcheck
722@@ -1819,6 +1839,7 @@
723 installcheck-host: maybe-installcheck-libtermcap
724 installcheck-host: maybe-installcheck-utils
725 installcheck-host: maybe-installcheck-libada
726+installcheck-host: maybe-installcheck-libgnatvsn
727 installcheck-host: maybe-installcheck-gnattools
728
729 .PHONY: installcheck-target
730@@ -1843,6 +1864,7 @@
731 installcheck-target: maybe-installcheck-target-qthreads
732 installcheck-target: maybe-installcheck-target-rda
733 installcheck-target: maybe-installcheck-target-libada
734+installcheck-target: maybe-installcheck-target-libgnatvsn
735 installcheck-target: maybe-installcheck-target-libgomp
736
737 .PHONY: do-mostlyclean
738@@ -1926,6 +1948,7 @@
739 mostlyclean-host: maybe-mostlyclean-libtermcap
740 mostlyclean-host: maybe-mostlyclean-utils
741 mostlyclean-host: maybe-mostlyclean-libada
742+mostlyclean-host: maybe-mostlyclean-libgnatvsn
743 mostlyclean-host: maybe-mostlyclean-gnattools
744
745 .PHONY: mostlyclean-target
746@@ -1950,6 +1973,7 @@
747 mostlyclean-target: maybe-mostlyclean-target-qthreads
748 mostlyclean-target: maybe-mostlyclean-target-rda
749 mostlyclean-target: maybe-mostlyclean-target-libada
750+mostlyclean-target: maybe-mostlyclean-target-libgnatvsn
751 mostlyclean-target: maybe-mostlyclean-target-libgomp
752
753 .PHONY: do-clean
754@@ -2033,6 +2057,7 @@
755 clean-host: maybe-clean-libtermcap
756 clean-host: maybe-clean-utils
757 clean-host: maybe-clean-libada
758+clean-host: maybe-clean-libgnatvsn
759 clean-host: maybe-clean-gnattools
760
761 .PHONY: clean-target
762@@ -2057,6 +2082,7 @@
763 clean-target: maybe-clean-target-qthreads
764 clean-target: maybe-clean-target-rda
765 clean-target: maybe-clean-target-libada
766+clean-target: maybe-clean-target-libgnatvsn
767 clean-target: maybe-clean-target-libgomp
768
769 .PHONY: do-distclean
770@@ -2140,6 +2166,7 @@
771 distclean-host: maybe-distclean-libtermcap
772 distclean-host: maybe-distclean-utils
773 distclean-host: maybe-distclean-libada
774+distclean-host: maybe-distclean-libgnatvsn
775 distclean-host: maybe-distclean-gnattools
776
777 .PHONY: distclean-target
778@@ -2164,6 +2191,7 @@
779 distclean-target: maybe-distclean-target-qthreads
780 distclean-target: maybe-distclean-target-rda
781 distclean-target: maybe-distclean-target-libada
782+distclean-target: maybe-distclean-target-libgnatvsn
783 distclean-target: maybe-distclean-target-libgomp
784
785 .PHONY: do-maintainer-clean
786@@ -2247,6 +2275,7 @@
787 maintainer-clean-host: maybe-maintainer-clean-libtermcap
788 maintainer-clean-host: maybe-maintainer-clean-utils
789 maintainer-clean-host: maybe-maintainer-clean-libada
790+maintainer-clean-host: maybe-maintainer-clean-libgnatvsn
791 maintainer-clean-host: maybe-maintainer-clean-gnattools
792
793 .PHONY: maintainer-clean-target
794@@ -2271,6 +2300,7 @@
795 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
796 maintainer-clean-target: maybe-maintainer-clean-target-rda
797 maintainer-clean-target: maybe-maintainer-clean-target-libada
798+maintainer-clean-target: maybe-maintainer-clean-target-libgnatvsn
799 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
800
801
802@@ -2408,6 +2438,7 @@
803 maybe-check-libtermcap \
804 maybe-check-utils \
805 maybe-check-libada \
806+ maybe-check-libgnatvsn \
807 maybe-check-gnattools
808
809 .PHONY: check-target
810@@ -2432,6 +2463,7 @@
811 maybe-check-target-qthreads \
812 maybe-check-target-rda \
813 maybe-check-target-libada \
814+ maybe-check-target-libgnatvsn \
815 maybe-check-target-libgomp
816
817 do-check:
818@@ -2541,6 +2573,7 @@
819 maybe-install-libtermcap \
820 maybe-install-utils \
821 maybe-install-libada \
822+ maybe-install-libgnatvsn \
823 maybe-install-gnattools
824
825 .PHONY: install-host
826@@ -2615,6 +2648,7 @@
827 maybe-install-libtermcap \
828 maybe-install-utils \
829 maybe-install-libada \
830+ maybe-install-libgnatvsn \
831 maybe-install-gnattools
832
833 .PHONY: install-target
834@@ -2639,6 +2673,7 @@
835 maybe-install-target-qthreads \
836 maybe-install-target-rda \
837 maybe-install-target-libada \
838+ maybe-install-target-libgnatvsn \
839 maybe-install-target-libgomp
840
841 uninstall:
842@@ -39206,6 +39241,327 @@
843
844
845
846+.PHONY: configure-libgnatvsn maybe-configure-libgnatvsn
847+maybe-configure-libgnatvsn:
848+@if gcc-bootstrap
849+configure-libgnatvsn: stage_current
850+@endif gcc-bootstrap
851+@if libgnatvsn
852+maybe-configure-libgnatvsn: configure-libgnatvsn
853+configure-libgnatvsn:
854+ @: $(MAKE); $(unstage)
855+ @r=`${PWD_COMMAND}`; export r; \
856+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
857+ test ! -f $(HOST_SUBDIR)/libgnatvsn/Makefile || exit 0; \
858+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgnatvsn ; \
859+ $(HOST_EXPORTS) \
860+ echo Configuring in $(HOST_SUBDIR)/libgnatvsn; \
861+ cd "$(HOST_SUBDIR)/libgnatvsn" || exit 1; \
862+ case $(srcdir) in \
863+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
864+ *) topdir=`echo $(HOST_SUBDIR)/libgnatvsn/ | \
865+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
866+ esac; \
867+ srcdiroption="--srcdir=$${topdir}/libgnatvsn"; \
868+ libsrcdir="$$s/libgnatvsn"; \
869+ $(SHELL) $${libsrcdir}/configure \
870+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
871+ --target=${target_alias} $${srcdiroption} \
872+ || exit 1
873+@endif libgnatvsn
874+
875+
876+
877+
878+
879+.PHONY: all-libgnatvsn maybe-all-libgnatvsn
880+maybe-all-libgnatvsn:
881+@if gcc-bootstrap
882+all-libgnatvsn: stage_current
883+@endif gcc-bootstrap
884+@if libgnatvsn
885+TARGET-libgnatvsn=all
886+maybe-all-libgnatvsn: all-libgnatvsn
887+all-libgnatvsn: configure-libgnatvsn
888+ @: $(MAKE); $(unstage)
889+ @r=`${PWD_COMMAND}`; export r; \
890+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
891+ $(HOST_EXPORTS) \
892+ (cd $(HOST_SUBDIR)/libgnatvsn && \
893+ $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgnatvsn))
894+@endif libgnatvsn
895+
896+
897+
898+
899+.PHONY: check-libgnatvsn maybe-check-libgnatvsn
900+maybe-check-libgnatvsn:
901+@if libgnatvsn
902+maybe-check-libgnatvsn: check-libgnatvsn
903+
904+check-libgnatvsn:
905+
906+@endif libgnatvsn
907+
908+.PHONY: install-libgnatvsn maybe-install-libgnatvsn
909+maybe-install-libgnatvsn:
910+@if libgnatvsn
911+maybe-install-libgnatvsn: install-libgnatvsn
912+
913+install-libgnatvsn: installdirs
914+ @: $(MAKE); $(unstage)
915+ @r=`${PWD_COMMAND}`; export r; \
916+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
917+ $(HOST_EXPORTS) \
918+ (cd $(HOST_SUBDIR)/libgnatvsn && \
919+ $(MAKE) $(FLAGS_TO_PASS) install)
920+
921+@endif libgnatvsn
922+
923+# Other targets (info, dvi, pdf, etc.)
924+
925+.PHONY: maybe-info-libgnatvsn info-libgnatvsn
926+maybe-info-libgnatvsn:
927+@if libgnatvsn
928+maybe-info-libgnatvsn: info-libgnatvsn
929+
930+# libgnatvsn doesn't support info.
931+info-libgnatvsn:
932+
933+@endif libgnatvsn
934+
935+.PHONY: maybe-dvi-libgnatvsn dvi-libgnatvsn
936+maybe-dvi-libgnatvsn:
937+@if libgnatvsn
938+maybe-dvi-libgnatvsn: dvi-libgnatvsn
939+
940+# libgnatvsn doesn't support dvi.
941+dvi-libgnatvsn:
942+
943+@endif libgnatvsn
944+
945+.PHONY: maybe-pdf-libgnatvsn pdf-libgnatvsn
946+maybe-pdf-libgnatvsn:
947+@if libgnatvsn
948+maybe-pdf-libgnatvsn: pdf-libgnatvsn
949+
950+pdf-libgnatvsn: \
951+ configure-libgnatvsn
952+ @: $(MAKE); $(unstage)
953+ @[ -f ./libgnatvsn/Makefile ] || exit 0; \
954+ r=`${PWD_COMMAND}`; export r; \
955+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
956+ $(HOST_EXPORTS) \
957+ for flag in $(EXTRA_HOST_FLAGS) ; do \
958+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
959+ done; \
960+ echo "Doing pdf in libgnatvsn" ; \
961+ (cd $(HOST_SUBDIR)/libgnatvsn && \
962+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
963+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
964+ "RANLIB=$${RANLIB}" \
965+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
966+ pdf) \
967+ || exit 1
968+
969+@endif libgnatvsn
970+
971+.PHONY: maybe-html-libgnatvsn html-libgnatvsn
972+maybe-html-libgnatvsn:
973+@if libgnatvsn
974+maybe-html-libgnatvsn: html-libgnatvsn
975+
976+# libgnatvsn doesn't support html.
977+html-libgnatvsn:
978+
979+@endif libgnatvsn
980+
981+.PHONY: maybe-TAGS-libgnatvsn TAGS-libgnatvsn
982+maybe-TAGS-libgnatvsn:
983+@if libgnatvsn
984+maybe-TAGS-libgnatvsn: TAGS-libgnatvsn
985+
986+# libgnatvsn doesn't support TAGS.
987+TAGS-libgnatvsn:
988+
989+@endif libgnatvsn
990+
991+.PHONY: maybe-install-info-libgnatvsn install-info-libgnatvsn
992+maybe-install-info-libgnatvsn:
993+@if libgnatvsn
994+maybe-install-info-libgnatvsn: install-info-libgnatvsn
995+
996+# libgnatvsn doesn't support install-info.
997+install-info-libgnatvsn:
998+
999+@endif libgnatvsn
1000+
1001+.PHONY: maybe-install-pdf-libgnatvsn install-pdf-libgnatvsn
1002+maybe-install-pdf-libgnatvsn:
1003+@if libgnatvsn
1004+maybe-install-pdf-libgnatvsn: install-pdf-libgnatvsn
1005+
1006+install-pdf-libgnatvsn: \
1007+ configure-libgnatvsn \
1008+ pdf-libgnatvsn
1009+ @: $(MAKE); $(unstage)
1010+ @[ -f ./libgnatvsn/Makefile ] || exit 0; \
1011+ r=`${PWD_COMMAND}`; export r; \
1012+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1013+ $(HOST_EXPORTS) \
1014+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1015+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1016+ done; \
1017+ echo "Doing install-pdf in libgnatvsn" ; \
1018+ (cd $(HOST_SUBDIR)/libgnatvsn && \
1019+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1020+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1021+ "RANLIB=$${RANLIB}" \
1022+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1023+ install-pdf) \
1024+ || exit 1
1025+
1026+@endif libgnatvsn
1027+
1028+.PHONY: maybe-install-html-libgnatvsn install-html-libgnatvsn
1029+maybe-install-html-libgnatvsn:
1030+@if libgnatvsn
1031+maybe-install-html-libgnatvsn: install-html-libgnatvsn
1032+
1033+install-html-libgnatvsn: \
1034+ configure-libgnatvsn \
1035+ html-libgnatvsn
1036+ @: $(MAKE); $(unstage)
1037+ @[ -f ./libgnatvsn/Makefile ] || exit 0; \
1038+ r=`${PWD_COMMAND}`; export r; \
1039+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1040+ $(HOST_EXPORTS) \
1041+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1042+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1043+ done; \
1044+ echo "Doing install-html in libgnatvsn" ; \
1045+ (cd $(HOST_SUBDIR)/libgnatvsn && \
1046+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1047+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1048+ "RANLIB=$${RANLIB}" \
1049+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1050+ install-html) \
1051+ || exit 1
1052+
1053+@endif libgnatvsn
1054+
1055+.PHONY: maybe-installcheck-libgnatvsn installcheck-libgnatvsn
1056+maybe-installcheck-libgnatvsn:
1057+@if libgnatvsn
1058+maybe-installcheck-libgnatvsn: installcheck-libgnatvsn
1059+
1060+# libgnatvsn doesn't support installcheck.
1061+installcheck-libgnatvsn:
1062+
1063+@endif libgnatvsn
1064+
1065+.PHONY: maybe-mostlyclean-libgnatvsn mostlyclean-libgnatvsn
1066+maybe-mostlyclean-libgnatvsn:
1067+@if libgnatvsn
1068+maybe-mostlyclean-libgnatvsn: mostlyclean-libgnatvsn
1069+
1070+mostlyclean-libgnatvsn:
1071+ @: $(MAKE); $(unstage)
1072+ @[ -f ./libgnatvsn/Makefile ] || exit 0; \
1073+ r=`${PWD_COMMAND}`; export r; \
1074+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1075+ $(HOST_EXPORTS) \
1076+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1077+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1078+ done; \
1079+ echo "Doing mostlyclean in libgnatvsn" ; \
1080+ (cd $(HOST_SUBDIR)/libgnatvsn && \
1081+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1082+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1083+ "RANLIB=$${RANLIB}" \
1084+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1085+ mostlyclean) \
1086+ || exit 1
1087+
1088+@endif libgnatvsn
1089+
1090+.PHONY: maybe-clean-libgnatvsn clean-libgnatvsn
1091+maybe-clean-libgnatvsn:
1092+@if libgnatvsn
1093+maybe-clean-libgnatvsn: clean-libgnatvsn
1094+
1095+clean-libgnatvsn:
1096+ @: $(MAKE); $(unstage)
1097+ @[ -f ./libgnatvsn/Makefile ] || exit 0; \
1098+ r=`${PWD_COMMAND}`; export r; \
1099+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1100+ $(HOST_EXPORTS) \
1101+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1102+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1103+ done; \
1104+ echo "Doing clean in libgnatvsn" ; \
1105+ (cd $(HOST_SUBDIR)/libgnatvsn && \
1106+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1107+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1108+ "RANLIB=$${RANLIB}" \
1109+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1110+ clean) \
1111+ || exit 1
1112+
1113+@endif libgnatvsn
1114+
1115+.PHONY: maybe-distclean-libgnatvsn distclean-libgnatvsn
1116+maybe-distclean-libgnatvsn:
1117+@if libgnatvsn
1118+maybe-distclean-libgnatvsn: distclean-libgnatvsn
1119+
1120+distclean-libgnatvsn:
1121+ @: $(MAKE); $(unstage)
1122+ @[ -f ./libgnatvsn/Makefile ] || exit 0; \
1123+ r=`${PWD_COMMAND}`; export r; \
1124+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1125+ $(HOST_EXPORTS) \
1126+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1127+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1128+ done; \
1129+ echo "Doing distclean in libgnatvsn" ; \
1130+ (cd $(HOST_SUBDIR)/libgnatvsn && \
1131+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1132+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1133+ "RANLIB=$${RANLIB}" \
1134+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1135+ distclean) \
1136+ || exit 1
1137+
1138+@endif libgnatvsn
1139+
1140+.PHONY: maybe-maintainer-clean-libgnatvsn maintainer-clean-libgnatvsn
1141+maybe-maintainer-clean-libgnatvsn:
1142+@if libgnatvsn
1143+maybe-maintainer-clean-libgnatvsn: maintainer-clean-libgnatvsn
1144+
1145+maintainer-clean-libgnatvsn:
1146+ @: $(MAKE); $(unstage)
1147+ @[ -f ./libgnatvsn/Makefile ] || exit 0; \
1148+ r=`${PWD_COMMAND}`; export r; \
1149+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1150+ $(HOST_EXPORTS) \
1151+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1152+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1153+ done; \
1154+ echo "Doing maintainer-clean in libgnatvsn" ; \
1155+ (cd $(HOST_SUBDIR)/libgnatvsn && \
1156+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1157+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1158+ "RANLIB=$${RANLIB}" \
1159+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1160+ maintainer-clean) \
1161+ || exit 1
1162+
1163+@endif libgnatvsn
1164+
1165+
1166+
1167 .PHONY: configure-gnattools maybe-configure-gnattools
1168 maybe-configure-gnattools:
1169 @if gcc-bootstrap
1170@@ -48785,6 +49141,345 @@
1171
1172
1173
1174+.PHONY: configure-target-libgnatvsn maybe-configure-target-libgnatvsn
1175+maybe-configure-target-libgnatvsn:
1176+@if gcc-bootstrap
1177+configure-target-libgnatvsn: stage_current
1178+@endif gcc-bootstrap
1179+@if target-libgnatvsn
1180+maybe-configure-target-libgnatvsn: configure-target-libgnatvsn
1181+configure-target-libgnatvsn:
1182+ @: $(MAKE); $(unstage)
1183+ @r=`${PWD_COMMAND}`; export r; \
1184+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1185+ echo "Checking multilib configuration for libgnatvsn..."; \
1186+ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgnatvsn ; \
1187+ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgnatvsn/multilib.tmp 2> /dev/null ; \
1188+ if test -r $(TARGET_SUBDIR)/libgnatvsn/multilib.out; then \
1189+ if cmp -s $(TARGET_SUBDIR)/libgnatvsn/multilib.tmp $(TARGET_SUBDIR)/libgnatvsn/multilib.out; then \
1190+ rm -f $(TARGET_SUBDIR)/libgnatvsn/multilib.tmp; \
1191+ else \
1192+ rm -f $(TARGET_SUBDIR)/libgnatvsn/Makefile; \
1193+ mv $(TARGET_SUBDIR)/libgnatvsn/multilib.tmp $(TARGET_SUBDIR)/libgnatvsn/multilib.out; \
1194+ fi; \
1195+ else \
1196+ mv $(TARGET_SUBDIR)/libgnatvsn/multilib.tmp $(TARGET_SUBDIR)/libgnatvsn/multilib.out; \
1197+ fi; \
1198+ test ! -f $(TARGET_SUBDIR)/libgnatvsn/Makefile || exit 0; \
1199+ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgnatvsn ; \
1200+ $(NORMAL_TARGET_EXPORTS) \
1201+ echo Configuring in $(TARGET_SUBDIR)/libgnatvsn; \
1202+ cd "$(TARGET_SUBDIR)/libgnatvsn" || exit 1; \
1203+ case $(srcdir) in \
1204+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
1205+ *) topdir=`echo $(TARGET_SUBDIR)/libgnatvsn/ | \
1206+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
1207+ esac; \
1208+ srcdiroption="--srcdir=$${topdir}/libgnatvsn"; \
1209+ libsrcdir="$$s/libgnatvsn"; \
1210+ rm -f no-such-file || : ; \
1211+ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1212+ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
1213+ --target=${target_alias} $${srcdiroption} \
1214+ || exit 1
1215+@endif target-libgnatvsn
1216+
1217+
1218+
1219+
1220+
1221+.PHONY: all-target-libgnatvsn maybe-all-target-libgnatvsn
1222+maybe-all-target-libgnatvsn:
1223+@if gcc-bootstrap
1224+all-target-libgnatvsn: stage_current
1225+@endif gcc-bootstrap
1226+@if target-libgnatvsn
1227+TARGET-target-libgnatvsn=all
1228+maybe-all-target-libgnatvsn: all-target-libgnatvsn
1229+all-target-libgnatvsn: configure-target-libgnatvsn
1230+ @: $(MAKE); $(unstage)
1231+ @r=`${PWD_COMMAND}`; export r; \
1232+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1233+ $(NORMAL_TARGET_EXPORTS) \
1234+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1235+ $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgnatvsn))
1236+@endif target-libgnatvsn
1237+
1238+
1239+
1240+
1241+
1242+.PHONY: check-target-libgnatvsn maybe-check-target-libgnatvsn
1243+maybe-check-target-libgnatvsn:
1244+@if target-libgnatvsn
1245+maybe-check-target-libgnatvsn: check-target-libgnatvsn
1246+
1247+# Dummy target for uncheckable module.
1248+check-target-libgnatvsn:
1249+
1250+@endif target-libgnatvsn
1251+
1252+.PHONY: install-target-libgnatvsn maybe-install-target-libgnatvsn
1253+maybe-install-target-libgnatvsn:
1254+@if target-libgnatvsn
1255+maybe-install-target-libgnatvsn: install-target-libgnatvsn
1256+
1257+install-target-libgnatvsn: installdirs
1258+ @: $(MAKE); $(unstage)
1259+ @r=`${PWD_COMMAND}`; export r; \
1260+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1261+ $(NORMAL_TARGET_EXPORTS) \
1262+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1263+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
1264+
1265+@endif target-libgnatvsn
1266+
1267+# Other targets (info, dvi, pdf, etc.)
1268+
1269+.PHONY: maybe-info-target-libgnatvsn info-target-libgnatvsn
1270+maybe-info-target-libgnatvsn:
1271+@if target-libgnatvsn
1272+maybe-info-target-libgnatvsn: info-target-libgnatvsn
1273+
1274+# libgnatvsn doesn't support info.
1275+info-target-libgnatvsn:
1276+
1277+@endif target-libgnatvsn
1278+
1279+.PHONY: maybe-dvi-target-libgnatvsn dvi-target-libgnatvsn
1280+maybe-dvi-target-libgnatvsn:
1281+@if target-libgnatvsn
1282+maybe-dvi-target-libgnatvsn: dvi-target-libgnatvsn
1283+
1284+# libgnatvsn doesn't support dvi.
1285+dvi-target-libgnatvsn:
1286+
1287+@endif target-libgnatvsn
1288+
1289+.PHONY: maybe-pdf-target-libgnatvsn pdf-target-libgnatvsn
1290+maybe-pdf-target-libgnatvsn:
1291+@if target-libgnatvsn
1292+maybe-pdf-target-libgnatvsn: pdf-target-libgnatvsn
1293+
1294+pdf-target-libgnatvsn: \
1295+ configure-target-libgnatvsn
1296+ @: $(MAKE); $(unstage)
1297+ @[ -f $(TARGET_SUBDIR)/libgnatvsn/Makefile ] || exit 0 ; \
1298+ r=`${PWD_COMMAND}`; export r; \
1299+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1300+ $(NORMAL_TARGET_EXPORTS) \
1301+ echo "Doing pdf in $(TARGET_SUBDIR)/libgnatvsn" ; \
1302+ for flag in $(EXTRA_TARGET_FLAGS); do \
1303+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1304+ done; \
1305+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1306+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1307+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1308+ "RANLIB=$${RANLIB}" \
1309+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1310+ pdf) \
1311+ || exit 1
1312+
1313+@endif target-libgnatvsn
1314+
1315+.PHONY: maybe-html-target-libgnatvsn html-target-libgnatvsn
1316+maybe-html-target-libgnatvsn:
1317+@if target-libgnatvsn
1318+maybe-html-target-libgnatvsn: html-target-libgnatvsn
1319+
1320+# libgnatvsn doesn't support html.
1321+html-target-libgnatvsn:
1322+
1323+@endif target-libgnatvsn
1324+
1325+.PHONY: maybe-TAGS-target-libgnatvsn TAGS-target-libgnatvsn
1326+maybe-TAGS-target-libgnatvsn:
1327+@if target-libgnatvsn
1328+maybe-TAGS-target-libgnatvsn: TAGS-target-libgnatvsn
1329+
1330+# libgnatvsn doesn't support TAGS.
1331+TAGS-target-libgnatvsn:
1332+
1333+@endif target-libgnatvsn
1334+
1335+.PHONY: maybe-install-info-target-libgnatvsn install-info-target-libgnatvsn
1336+maybe-install-info-target-libgnatvsn:
1337+@if target-libgnatvsn
1338+maybe-install-info-target-libgnatvsn: install-info-target-libgnatvsn
1339+
1340+# libgnatvsn doesn't support install-info.
1341+install-info-target-libgnatvsn:
1342+
1343+@endif target-libgnatvsn
1344+
1345+.PHONY: maybe-install-pdf-target-libgnatvsn install-pdf-target-libgnatvsn
1346+maybe-install-pdf-target-libgnatvsn:
1347+@if target-libgnatvsn
1348+maybe-install-pdf-target-libgnatvsn: install-pdf-target-libgnatvsn
1349+
1350+install-pdf-target-libgnatvsn: \
1351+ configure-target-libgnatvsn \
1352+ pdf-target-libgnatvsn
1353+ @: $(MAKE); $(unstage)
1354+ @[ -f $(TARGET_SUBDIR)/libgnatvsn/Makefile ] || exit 0 ; \
1355+ r=`${PWD_COMMAND}`; export r; \
1356+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1357+ $(NORMAL_TARGET_EXPORTS) \
1358+ echo "Doing install-pdf in $(TARGET_SUBDIR)/libgnatvsn" ; \
1359+ for flag in $(EXTRA_TARGET_FLAGS); do \
1360+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1361+ done; \
1362+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1363+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1364+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1365+ "RANLIB=$${RANLIB}" \
1366+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1367+ install-pdf) \
1368+ || exit 1
1369+
1370+@endif target-libgnatvsn
1371+
1372+.PHONY: maybe-install-html-target-libgnatvsn install-html-target-libgnatvsn
1373+maybe-install-html-target-libgnatvsn:
1374+@if target-libgnatvsn
1375+maybe-install-html-target-libgnatvsn: install-html-target-libgnatvsn
1376+
1377+install-html-target-libgnatvsn: \
1378+ configure-target-libgnatvsn \
1379+ html-target-libgnatvsn
1380+ @: $(MAKE); $(unstage)
1381+ @[ -f $(TARGET_SUBDIR)/libgnatvsn/Makefile ] || exit 0 ; \
1382+ r=`${PWD_COMMAND}`; export r; \
1383+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1384+ $(NORMAL_TARGET_EXPORTS) \
1385+ echo "Doing install-html in $(TARGET_SUBDIR)/libgnatvsn" ; \
1386+ for flag in $(EXTRA_TARGET_FLAGS); do \
1387+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1388+ done; \
1389+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1390+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1391+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1392+ "RANLIB=$${RANLIB}" \
1393+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1394+ install-html) \
1395+ || exit 1
1396+
1397+@endif target-libgnatvsn
1398+
1399+.PHONY: maybe-installcheck-target-libgnatvsn installcheck-target-libgnatvsn
1400+maybe-installcheck-target-libgnatvsn:
1401+@if target-libgnatvsn
1402+maybe-installcheck-target-libgnatvsn: installcheck-target-libgnatvsn
1403+
1404+# libgnatvsn doesn't support installcheck.
1405+installcheck-target-libgnatvsn:
1406+
1407+@endif target-libgnatvsn
1408+
1409+.PHONY: maybe-mostlyclean-target-libgnatvsn mostlyclean-target-libgnatvsn
1410+maybe-mostlyclean-target-libgnatvsn:
1411+@if target-libgnatvsn
1412+maybe-mostlyclean-target-libgnatvsn: mostlyclean-target-libgnatvsn
1413+
1414+mostlyclean-target-libgnatvsn:
1415+ @: $(MAKE); $(unstage)
1416+ @[ -f $(TARGET_SUBDIR)/libgnatvsn/Makefile ] || exit 0 ; \
1417+ r=`${PWD_COMMAND}`; export r; \
1418+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1419+ $(NORMAL_TARGET_EXPORTS) \
1420+ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgnatvsn" ; \
1421+ for flag in $(EXTRA_TARGET_FLAGS); do \
1422+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1423+ done; \
1424+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1425+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1426+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1427+ "RANLIB=$${RANLIB}" \
1428+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1429+ mostlyclean) \
1430+ || exit 1
1431+
1432+@endif target-libgnatvsn
1433+
1434+.PHONY: maybe-clean-target-libgnatvsn clean-target-libgnatvsn
1435+maybe-clean-target-libgnatvsn:
1436+@if target-libgnatvsn
1437+maybe-clean-target-libgnatvsn: clean-target-libgnatvsn
1438+
1439+clean-target-libgnatvsn:
1440+ @: $(MAKE); $(unstage)
1441+ @[ -f $(TARGET_SUBDIR)/libgnatvsn/Makefile ] || exit 0 ; \
1442+ r=`${PWD_COMMAND}`; export r; \
1443+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1444+ $(NORMAL_TARGET_EXPORTS) \
1445+ echo "Doing clean in $(TARGET_SUBDIR)/libgnatvsn" ; \
1446+ for flag in $(EXTRA_TARGET_FLAGS); do \
1447+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1448+ done; \
1449+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1450+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1451+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1452+ "RANLIB=$${RANLIB}" \
1453+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1454+ clean) \
1455+ || exit 1
1456+
1457+@endif target-libgnatvsn
1458+
1459+.PHONY: maybe-distclean-target-libgnatvsn distclean-target-libgnatvsn
1460+maybe-distclean-target-libgnatvsn:
1461+@if target-libgnatvsn
1462+maybe-distclean-target-libgnatvsn: distclean-target-libgnatvsn
1463+
1464+distclean-target-libgnatvsn:
1465+ @: $(MAKE); $(unstage)
1466+ @[ -f $(TARGET_SUBDIR)/libgnatvsn/Makefile ] || exit 0 ; \
1467+ r=`${PWD_COMMAND}`; export r; \
1468+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1469+ $(NORMAL_TARGET_EXPORTS) \
1470+ echo "Doing distclean in $(TARGET_SUBDIR)/libgnatvsn" ; \
1471+ for flag in $(EXTRA_TARGET_FLAGS); do \
1472+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1473+ done; \
1474+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1475+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1476+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1477+ "RANLIB=$${RANLIB}" \
1478+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1479+ distclean) \
1480+ || exit 1
1481+
1482+@endif target-libgnatvsn
1483+
1484+.PHONY: maybe-maintainer-clean-target-libgnatvsn maintainer-clean-target-libgnatvsn
1485+maybe-maintainer-clean-target-libgnatvsn:
1486+@if target-libgnatvsn
1487+maybe-maintainer-clean-target-libgnatvsn: maintainer-clean-target-libgnatvsn
1488+
1489+maintainer-clean-target-libgnatvsn:
1490+ @: $(MAKE); $(unstage)
1491+ @[ -f $(TARGET_SUBDIR)/libgnatvsn/Makefile ] || exit 0 ; \
1492+ r=`${PWD_COMMAND}`; export r; \
1493+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1494+ $(NORMAL_TARGET_EXPORTS) \
1495+ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgnatvsn" ; \
1496+ for flag in $(EXTRA_TARGET_FLAGS); do \
1497+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1498+ done; \
1499+ (cd $(TARGET_SUBDIR)/libgnatvsn && \
1500+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1501+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1502+ "RANLIB=$${RANLIB}" \
1503+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1504+ maintainer-clean) \
1505+ || exit 1
1506+
1507+@endif target-libgnatvsn
1508+
1509+
1510+
1511+
1512+
1513 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
1514 maybe-configure-target-libgomp:
1515 @if gcc-bootstrap
1516@@ -51334,6 +52029,7 @@
1517 configure-target-qthreads: stage_last
1518 configure-target-rda: stage_last
1519 configure-target-libada: stage_last
1520+configure-target-libgnatvsn: stage_last
1521 configure-target-libgomp: stage_last
1522 @endif gcc-bootstrap
1523
1524@@ -51358,6 +52054,7 @@
1525 configure-target-qthreads: maybe-all-gcc
1526 configure-target-rda: maybe-all-gcc
1527 configure-target-libada: maybe-all-gcc
1528+configure-target-libgnatvsn: maybe-all-gcc
1529 configure-target-libgomp: maybe-all-gcc
1530 @endif gcc-no-bootstrap
1531
1532@@ -51612,6 +52309,8 @@
1533 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
1534 all-fixincludes: maybe-all-libiberty
1535 all-gnattools: maybe-all-libada
1536+all-gnattools: maybe-all-libgnatvsn
1537+all-libgnatvsn: maybe-all-libada
1538 configure-mpfr: maybe-all-gmp
1539
1540 configure-stage1-mpfr: maybe-all-stage1-gmp
1541@@ -52049,6 +52748,7 @@
1542 configure-target-qthreads: maybe-all-target-libgcc
1543 configure-target-rda: maybe-all-target-libgcc
1544 configure-target-libada: maybe-all-target-libgcc
1545+configure-target-libgnatvsn: maybe-all-target-libgcc
1546 configure-target-libgomp: maybe-all-target-libgcc
1547 @endif gcc-no-bootstrap
1548
1549@@ -52091,6 +52791,8 @@
1550
1551 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
1552
1553+configure-target-libgnatvsn: maybe-all-target-newlib maybe-all-target-libgloss
1554+
1555 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
1556
1557
1558Index: configure.ac
1559===================================================================
1560--- configure.ac.orig
1561+++ configure.ac
1562@@ -155,7 +155,7 @@
1563
1564 # these libraries are used by various programs built for the host environment
1565 #
1566-host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr libada"
1567+host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr libada libgnatvsn"
1568
1569 # these tools are built for the host environment
1570 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1571@@ -185,7 +185,8 @@
1572 target-boehm-gc \
1573 ${libgcj} \
1574 target-libobjc \
1575- target-libada"
1576+ target-libada \
1577+ target-libgnatvsn"
1578
1579 # these tools are built using the target libraries, and are intended to
1580 # run only in the target environment
1581@@ -263,7 +264,7 @@
1582
1583 # Similarly, some are only suitable for cross toolchains.
1584 # Remove these if host=target.
1585-cross_only="target-libgloss target-newlib target-opcodes target-libada"
1586+cross_only="target-libgloss target-newlib target-opcodes target-libada target-libgnatvsn"
1587
1588 case $is_cross_compiler in
1589 no) skipdirs="${skipdirs} ${cross_only}" ;;
1590@@ -340,7 +341,7 @@
1591 ENABLE_LIBADA=$enableval,
1592 ENABLE_LIBADA=yes)
1593 if test "${ENABLE_LIBADA}" != "yes" ; then
1594- noconfigdirs="$noconfigdirs gnattools"
1595+ noconfigdirs="$noconfigdirs libgnatvsn gnattools"
1596 fi
1597
1598 AC_ARG_ENABLE(libssp,