1
# DP: - Introduce a new shared library named libgnatprj, containing
2
# DP: the GNAT project file manager licensed under the pure GPL, for
3
# DP: use in GNAT tools, GLADE and GPS. Link the GNAT tools against
4
# DP: this new library.
6
# This patch seems large, but the hunks in Makefile.in are actually
7
# generated from Makefile.def using autogen.
9
# !!! Must be applied after ada-libgnatvsn.dpatch
11
Index: b/src/gcc/ada/gcc-interface/config-lang.in
12
===================================================================
13
--- a/src/gcc/ada/gcc-interface/config-lang.in
14
+++ b/src/gcc/ada/gcc-interface/config-lang.in
17
outputs="ada/gcc-interface/Makefile ada/Makefile"
19
-target_libs="target-libada target-libgnatvsn"
20
-lang_dirs="libada libgnatvsn gnattools"
21
+target_libs="target-libada target-libgnatvsn target-libgnatprj"
22
+lang_dirs="libada libgnatvsn libgnatprj gnattools"
24
# Ada is not enabled by default for the time being.
26
Index: b/src/gnattools/Makefile.in
27
===================================================================
28
--- a/src/gnattools/Makefile.in
29
+++ b/src/gnattools/Makefile.in
31
target_noncanonical=@target_noncanonical@
34
-INCLUDES = -I@srcdir@/../gcc/ada -I@srcdir@/../gcc
36
-ADA_INCLUDES=-nostdinc -I- -I. -I../gcc/ada/rts -I../libgnatvsn
37
+ADA_INCLUDES=-nostdinc -I- -I. -I../gcc/ada/rts -I../libgnatvsn -I../libgnatprj
38
LIB_VERSION=$(strip $(shell grep ' Library_Version :' \
39
../libgnatvsn/gnatvsn.ads | sed -e 's/.*"\(.*\)".*/\1/'))
40
ADA_LIBS := -L../gcc/ada/rts -lgnat-$(LIB_VERSION)
41
ADA_LIBS += -L../libgnatvsn -lgnatvsn
42
+ADA_LIBS += -L../libgnatprj -lgnatprj
44
# We will use the just-built compiler to compile and link everything.
45
GCC=../gcc/xgcc -B../gcc/
48
# Since we don't have gnatmake, we must specify the full list of
49
# object files necessary to build gnatmake and gnatlink.
50
-# TODO: remove from these lists the objects that are part of
85
-mlib-tgt-specific.o \
120
$(EXTRA_GNATMAKE_OBJS)
122
for file in $(BODIES) $(SPECS); do \
123
$(LN_S) -f $$file .; \
125
- rm -f sdefault.adb; $(LN_S) ../gcc/ada/sdefault.adb .
126
- $(foreach PAIR,$(TOOLS_TARGET_PAIRS), \
127
- rm -f $(word 1,$(subst <, ,$(PAIR)));\
128
- $(LN_S) @srcdir@/../gcc/ada/$(word 2,$(subst <, ,$(PAIR))) \
129
- $(word 1,$(subst <, ,$(PAIR)));)
132
gnattools-native: ../gcc/ada/rts/libgnat-$(LIB_VERSION).so
133
@@ -193,19 +132,16 @@
134
vpath %.c @srcdir@/../gcc/ada:@srcdir@/../gcc
135
vpath %.h @srcdir@/../gcc/ada
137
-# Because the just-built gcc is a host tool like us, we can use some
138
-# of its object files, e.g. prefix.o.
139
-vpath prefix.o ../gcc
143
-gnatlink-static: $(GNATLINK_OBJS) b_gnatl.o link.o
144
+gnatlink-static: $(GNATLINK_OBJS) b_gnatl.o
146
+ ../libgnatprj/libgnatprj.a \
147
../libgnatvsn/libgnatvsn.a \
148
../gcc/ada/rts/libgnat.a \
149
../libiberty/libiberty.a
151
-gnatlink: $(GNATLINK_OBJS) b_gnatl.o link.o
152
+gnatlink: $(GNATLINK_OBJS) b_gnatl.o
153
$(GCC) -o $@ $^ $(ADA_LIBS) ../libiberty/libiberty.a
155
b_gnatl.o: b_gnatl.c adaint.h
156
@@ -216,13 +152,14 @@
160
-gnatmake-static: $(GNATMAKE_OBJS) b_gnatm.o link.o
161
+gnatmake-static: $(GNATMAKE_OBJS) b_gnatm.o
162
$(GCC) -o $@ $(ADA_CFLAGS) $^ \
163
+ ../libgnatprj/libgnatprj.a \
164
../libgnatvsn/libgnatvsn.a \
165
../gcc/ada/rts/libgnat.a \
166
../libiberty/libiberty.a
168
-gnatmake: $(GNATMAKE_OBJS) b_gnatm.o link.o
169
+gnatmake: $(GNATMAKE_OBJS) b_gnatm.o
170
$(GCC) -o $@ $(ADA_CFLAGS) $^ $(ADA_LIBS) ../libiberty/libiberty.a
172
b_gnatm.o: b_gnatm.c adaint.h
173
@@ -232,19 +169,11 @@
174
../gcc/gnatbind -C -o $@ $(ADA_INCLUDES) gnatmake.ali
178
- if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi
179
- ./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \
181
- --GNATBIND=../gcc/gnatbind
182
- ./gnatlink-static -o $@ $@.ali $^ $(ADA_INCLUDES) $(ADA_LIBS) \
183
- --GCC="$(GCC) $(ADA_INCLUDES)"
188
-gnatbind gnatchop gnatclean gnatcmd gnatfind gnatls gnatname gnatprep gnatxref: \
190
+gnatbind gnatchop gnatclean gnatcmd gnatfind gnatkr gnatls gnatname gnatprep \
192
if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi
193
./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \
195
@@ -253,22 +182,12 @@
196
../libiberty/libiberty.a \
197
--GCC="$(GCC) $(ADA_INCLUDES)"
199
-# Force compiling sdefault.adb, not .ads, to produce sdefault.o
200
-sdefault.o: sdefault.adb
202
-sdefault.adb: stamp-gnattools-sources
205
$(GCC) -c -o $@ $< $(ADA_CFLAGS) $(ADA_INCLUDES)
208
$(GCC) -c -o $@ $< $(ADA_CFLAGS) $(ADA_INCLUDES)
211
- $(GCC) -c -o $@ $< $(CFLAGS) $(INCLUDES)
218
Index: b/src/libgnatprj/Makefile.in
219
===================================================================
221
+++ b/src/libgnatprj/Makefile.in
223
+# Makefile for libgnatprj.
224
+# Copyright (c) 2006 Ludovic Brenta <ludovic@ludovic-brenta.org>
226
+# This file is free software; you can redistribute it and/or modify
227
+# it under the terms of the GNU General Public License as published by
228
+# the Free Software Foundation; either version 2 of the License, or
229
+# (at your option) any later version.
231
+# This program is distributed in the hope that it will be useful,
232
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
233
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
234
+# GNU General Public License for more details.
236
+# You should have received a copy of the GNU General Public License
237
+# along with this program; if not, write to the Free Software
238
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
240
+# Default target; must be first.
245
+CPUS := $(shell getconf _NPROCESSORS_ONLN)
246
+LIB_VERSION := $(strip $(shell grep ' Library_Version :' \
247
+ @srcdir@/../gcc/ada/gnatvsn.ads | \
248
+ sed -e 's/.*"\(.*\)".*/\1/'))
249
+GCC:=../gcc/xgcc -B../gcc/
250
+LIBGNAT_JUST_BUILT := -nostdinc -I../gcc/ada/rts
251
+LIBGNATVSN := -I../libgnatvsn
253
+ADAFLAGS := -g -O2 -gnatn
254
+BASEVER := $(shell cat @srcdir@/../gcc/BASE-VER)
255
+DEVPHASE := $(shell cat @srcdir@/../gcc/DEV-PHASE)
256
+DATESTAMP := $(shell cat @srcdir@/../gcc/DATESTAMP)
257
+TOOLS_TARGET_PAIRS := @TOOLS_TARGET_PAIRS@
260
+ifneq (@build@,@host@)
261
+ CFLAGS += -b @host@
264
+.PHONY: libgnatprj install
265
+libgnatprj: libgnatprj.so.$(LIB_VERSION) libgnatprj.a
267
+# Here we list one file per Ada unit: the body file if the unit has a
268
+# body, the spec file otherwise.
269
+PRJ_SOURCES := ali.adb ali-util.adb butil.adb binderr.adb errout.adb \
270
+erroutc.adb errutil.adb err_vars.ads fname-uf.adb fmap.adb impunit.adb \
271
+lib-util.adb makeutl.adb mlib.adb mlib-fil.adb mlib-tgt.adb \
272
+mlib-tgt-specific.adb mlib-utl.adb osint.adb osint-c.adb prj.adb prj-attr.adb \
273
+prj-attr-pm.adb prj-com.ads prj-conf.adb prj-dect.adb prj-env.adb prj-err.adb \
274
+prj-ext.adb prj-nmsc.adb prj-pars.adb prj-part.adb prj-pp.adb prj-proc.adb \
275
+prj-strt.adb prj-tree.adb prj-util.adb rident.ads scng.adb sfn_scan.adb \
276
+sinfo-cn.adb sinput-c.adb sinput-p.adb style.adb styleg.adb stylesw.adb \
277
+switch.adb switch-m.adb targparm.adb tempdir.adb
279
+# Source files generated in build/gcc/ada, not src/gcc/ada.
280
+GENERATED_SOURCES := sdefault.adb
282
+SOURCES := $(PRJ_SOURCES) $(GENERATED_SOURCES)
284
+OBJECTS := $(patsubst %.ads,%.o,$(SOURCES:.adb=.o))
286
+# Add some object files compiled from C sources. prefix.o requires
287
+# some objects from libiberty.
288
+OBJECTS += concat.o link.o prefix.o xexit.o xmalloc.o xstrdup.o
290
+vpath %.c @srcdir@/../gcc/ada
292
+libgnatprj.so.$(LIB_VERSION): $(addprefix obj-shared/,$(OBJECTS))
293
+ : # Make libgnatprj.so
294
+ $(GCC) -o $@ -shared -fPIC -Wl,--soname,$@ $^ \
295
+ -L../gcc/ada/rts -lgnat-$(LIB_VERSION) \
296
+ -L../libgnatvsn -lgnatvsn
297
+ $(LN_S) -f libgnatprj.so.$(LIB_VERSION) libgnatprj.so
298
+ chmod a=r obj-shared/*.ali
299
+# Make the .ali files, but not the .o files, visible to the gnat tools.
300
+ cp -lp obj-shared/*.ali .
302
+$(addprefix obj-shared/,$(OBJECTS)): | stamp-libgnatprj-sources obj-shared
304
+obj-shared/%.o: %.adb
305
+ $(GCC) -c -fPIC $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
307
+obj-shared/%.o: %.ads
308
+ $(GCC) -c -fPIC $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
311
+ $(GCC) -c -fPIC $(CFLAGS) -I@srcdir@/../gcc $< -o $@
313
+obj-shared/prefix.o: @srcdir@/../gcc/prefix.c
314
+ $(GCC) -c -fPIC $(CFLAGS) -DPREFIX=\"@prefix@\" -DBASEVER=\"$(BASEVER)\" \
315
+ -I@srcdir@/../gcc -I@srcdir@/../include -I../gcc -I../libiberty \
318
+obj-shared/%.o: @srcdir@/../libiberty/%.c
319
+ $(GCC) -c -fPIC $(CFLAGS) \
320
+ -I@srcdir@/../libiberty -I@srcdir@/../include $< -o $@
325
+libgnatprj.a: $(addprefix obj-static/,$(OBJECTS))
326
+ : # Make libgnatprj.a
330
+$(addprefix obj-static/,$(OBJECTS)): | stamp-libgnatprj-sources obj-static
332
+obj-static/%.o: %.adb
333
+ $(GCC) -c $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
335
+obj-static/%.o: %.ads
336
+ $(GCC) -c $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
339
+ $(GCC) -c $(CFLAGS) -I@srcdir@/../gcc $< -o $@
341
+obj-static/prefix.o: @srcdir@/../gcc/prefix.c
342
+ $(GCC) -c $(CFLAGS) -DPREFIX=\"@prefix@\" -DBASEVER=\"$(BASEVER)\" \
343
+ -I@srcdir@/../gcc -I@srcdir@/../include -I../gcc -I../libiberty \
346
+obj-static/%.o: @srcdir@/../libiberty/%.c
347
+ $(GCC) -c -fPIC $(CFLAGS) \
348
+ -I@srcdir@/../libiberty -I@srcdir@/../include $< -o $@
353
+$(SOURCES): stamp-libgnatprj-sources
355
+stamp-libgnatprj-sources:
356
+ for file in $(PRJ_SOURCES); do \
357
+ ads=$$(echo $$file | sed 's/\.adb/.ads/'); \
358
+ if [ -f @srcdir@/../gcc/ada/$$file -a ! -L $$file ] ; then $(LN_S) @srcdir@/../gcc/ada/$$file .; fi; \
359
+ if [ -f @srcdir@/../gcc/ada/$$ads -a ! -L $$ads ] ; then $(LN_S) @srcdir@/../gcc/ada/$$ads .; fi; \
361
+ for file in $(GENERATED_SOURCES); do \
362
+ ads=$$(echo $$file | sed 's/\.adb/.ads/'); \
363
+ if [ -f ../gcc/ada/$$file -a ! -L $$file ] ; then $(LN_S) ../gcc/ada/$$file .; fi; \
364
+ if [ -f ../gcc/ada/$$ads -a ! -L $$ads ] ; then $(LN_S) ../gcc/ada/$$ads .; \
366
+ if [ -f @srcdir@/../gcc/ada/$$ads -a ! -L $$ads ] ; then $(LN_S) @srcdir@/../gcc/ada/$$ads .; fi; \
369
+ $(foreach PAIR,$(TOOLS_TARGET_PAIRS), \
370
+ rm -f $(word 1,$(subst <, ,$(PAIR)));\
371
+ $(LN_S) @srcdir@/../gcc/ada/$(word 2,$(subst <, ,$(PAIR))) \
372
+ $(word 1,$(subst <, ,$(PAIR)));)
375
+# Generate a list of source files (.ads and .adb) to install. Almost
376
+# all of them are in src/gcc/ada, but some are generated during build
377
+# and are in build/gcc/ada.
378
+BODIES := $(filter %.adb,$(PRJ_SOURCES))
379
+SPECS := $(filter %.ads,$(PRJ_SOURCES)) $(patsubst %.adb,%.ads,$(BODIES) $(GENERATED_SOURCES))
380
+SOURCES_TO_INSTALL := \
381
+$(addprefix @srcdir@/../gcc/ada/,$(SPECS) $(BODIES)) \
382
+$(addprefix ../gcc/ada/,$(GENERATED_SOURCES))
387
+ $(INSTALL_DATA) libgnatprj.a $(DESTDIR)$(libdir)
388
+ $(INSTALL_DATA) libgnatprj.so.$(LIB_VERSION) $(DESTDIR)$(libdir)
389
+ cd $(DESTDIR)$(libdir); ln -sf libgnatprj.so.$(LIB_VERSION) libgnatprj.so
390
+ mkdir -p $(DESTDIR)$(prefix)/share/ada/adainclude/gnatprj
391
+ $(INSTALL_DATA) $(SOURCES_TO_INSTALL) \
392
+ $(DESTDIR)$(prefix)/share/ada/adainclude/gnatprj
393
+ mkdir -p $(DESTDIR)$(prefix)/lib/ada/adalib/gnatprj
394
+ $(INSTALL) -m 0444 obj-shared/*.ali \
395
+ $(DESTDIR)$(prefix)/lib/ada/adalib/gnatprj
396
+ chmod a=r $(DESTDIR)$(prefix)/lib/ada/adalib/gnatprj/*.ali
400
+ rm -rf *.ali obj-static obj-shared libgnatprj* *.adb *.ads stamp*
401
Index: b/src/Makefile.def
402
===================================================================
403
--- a/src/Makefile.def
404
+++ b/src/Makefile.def
407
missing= install-info;
408
missing= installcheck; };
409
+host_modules= { module= libgnatprj; no_check=true;
414
+ missing= install-info;
415
+ missing= installcheck; };
416
host_modules= { module= gnattools; no_check=true;
421
missing= install-info;
422
missing= installcheck; };
423
+target_modules = { module= libgnatprj; no_check=true;
428
+ missing= install-info;
429
+ missing= installcheck; };
430
target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
432
// These are (some of) the make targets to be done in each subdirectory.
435
dependencies = { module=all-gnattools; on=all-libada; };
436
dependencies = { module=all-gnattools; on=all-libgnatvsn; };
437
+dependencies = { module=all-gnattools; on=all-libgnatprj; };
438
dependencies = { module=all-libgnatvsn; on=all-libada; };
439
+dependencies = { module=all-libgnatprj; on=all-libada; };
440
+dependencies = { module=all-libgnatprj; on=all-libgnatvsn; };
442
dependencies = { module=all-lto-plugin; on=all-libiberty; };
444
Index: b/src/Makefile.in
445
===================================================================
446
--- a/src/Makefile.in
447
+++ b/src/Makefile.in
449
maybe-configure-utils \
450
maybe-configure-libada \
451
maybe-configure-libgnatvsn \
452
+ maybe-configure-libgnatprj \
453
maybe-configure-gnattools \
454
maybe-configure-lto-plugin
455
.PHONY: configure-target
457
maybe-configure-target-rda \
458
maybe-configure-target-libada \
459
maybe-configure-target-libgnatvsn \
460
+ maybe-configure-target-libgnatprj \
461
maybe-configure-target-libgomp
463
# The target built for a native non-bootstrap build.
464
@@ -1132,6 +1134,7 @@
465
all-host: maybe-all-utils
466
all-host: maybe-all-libada
467
all-host: maybe-all-libgnatvsn
468
+all-host: maybe-all-libgnatprj
469
all-host: maybe-all-gnattools
470
@if lto-plugin-no-bootstrap
471
all-host: maybe-all-lto-plugin
472
@@ -1166,6 +1169,7 @@
473
all-target: maybe-all-target-rda
474
all-target: maybe-all-target-libada
475
all-target: maybe-all-target-libgnatvsn
476
+all-target: maybe-all-target-libgnatprj
477
@if target-libgomp-no-bootstrap
478
all-target: maybe-all-target-libgomp
479
@endif target-libgomp-no-bootstrap
480
@@ -1264,6 +1268,7 @@
481
info-host: maybe-info-utils
482
info-host: maybe-info-libada
483
info-host: maybe-info-libgnatvsn
484
+info-host: maybe-info-libgnatprj
485
info-host: maybe-info-gnattools
486
info-host: maybe-info-lto-plugin
488
@@ -1292,6 +1297,7 @@
489
info-target: maybe-info-target-rda
490
info-target: maybe-info-target-libada
491
info-target: maybe-info-target-libgnatvsn
492
+info-target: maybe-info-target-libgnatprj
493
info-target: maybe-info-target-libgomp
496
@@ -1383,6 +1389,7 @@
497
dvi-host: maybe-dvi-utils
498
dvi-host: maybe-dvi-libada
499
dvi-host: maybe-dvi-libgnatvsn
500
+dvi-host: maybe-dvi-libgnatprj
501
dvi-host: maybe-dvi-gnattools
502
dvi-host: maybe-dvi-lto-plugin
504
@@ -1411,6 +1418,7 @@
505
dvi-target: maybe-dvi-target-rda
506
dvi-target: maybe-dvi-target-libada
507
dvi-target: maybe-dvi-target-libgnatvsn
508
+dvi-target: maybe-dvi-target-libgnatprj
509
dvi-target: maybe-dvi-target-libgomp
512
@@ -1502,6 +1510,7 @@
513
pdf-host: maybe-pdf-utils
514
pdf-host: maybe-pdf-libada
515
pdf-host: maybe-pdf-libgnatvsn
516
+pdf-host: maybe-pdf-libgnatprj
517
pdf-host: maybe-pdf-gnattools
518
pdf-host: maybe-pdf-lto-plugin
520
@@ -1530,6 +1539,7 @@
521
pdf-target: maybe-pdf-target-rda
522
pdf-target: maybe-pdf-target-libada
523
pdf-target: maybe-pdf-target-libgnatvsn
524
+pdf-target: maybe-pdf-target-libgnatprj
525
pdf-target: maybe-pdf-target-libgomp
528
@@ -1621,6 +1631,7 @@
529
html-host: maybe-html-utils
530
html-host: maybe-html-libada
531
html-host: maybe-html-libgnatvsn
532
+html-host: maybe-html-libgnatprj
533
html-host: maybe-html-gnattools
534
html-host: maybe-html-lto-plugin
536
@@ -1649,6 +1660,7 @@
537
html-target: maybe-html-target-rda
538
html-target: maybe-html-target-libada
539
html-target: maybe-html-target-libgnatvsn
540
+html-target: maybe-html-target-libgnatprj
541
html-target: maybe-html-target-libgomp
544
@@ -1740,6 +1752,7 @@
545
TAGS-host: maybe-TAGS-utils
546
TAGS-host: maybe-TAGS-libada
547
TAGS-host: maybe-TAGS-libgnatvsn
548
+TAGS-host: maybe-TAGS-libgnatprj
549
TAGS-host: maybe-TAGS-gnattools
550
TAGS-host: maybe-TAGS-lto-plugin
552
@@ -1768,6 +1781,7 @@
553
TAGS-target: maybe-TAGS-target-rda
554
TAGS-target: maybe-TAGS-target-libada
555
TAGS-target: maybe-TAGS-target-libgnatvsn
556
+TAGS-target: maybe-TAGS-target-libgnatprj
557
TAGS-target: maybe-TAGS-target-libgomp
559
.PHONY: do-install-info
560
@@ -1859,6 +1873,7 @@
561
install-info-host: maybe-install-info-utils
562
install-info-host: maybe-install-info-libada
563
install-info-host: maybe-install-info-libgnatvsn
564
+install-info-host: maybe-install-info-libgnatprj
565
install-info-host: maybe-install-info-gnattools
566
install-info-host: maybe-install-info-lto-plugin
568
@@ -1887,6 +1902,7 @@
569
install-info-target: maybe-install-info-target-rda
570
install-info-target: maybe-install-info-target-libada
571
install-info-target: maybe-install-info-target-libgnatvsn
572
+install-info-target: maybe-install-info-target-libgnatprj
573
install-info-target: maybe-install-info-target-libgomp
575
.PHONY: do-install-pdf
576
@@ -1978,6 +1994,7 @@
577
install-pdf-host: maybe-install-pdf-utils
578
install-pdf-host: maybe-install-pdf-libada
579
install-pdf-host: maybe-install-pdf-libgnatvsn
580
+install-pdf-host: maybe-install-pdf-libgnatprj
581
install-pdf-host: maybe-install-pdf-gnattools
582
install-pdf-host: maybe-install-pdf-lto-plugin
584
@@ -2006,6 +2023,7 @@
585
install-pdf-target: maybe-install-pdf-target-rda
586
install-pdf-target: maybe-install-pdf-target-libada
587
install-pdf-target: maybe-install-pdf-target-libgnatvsn
588
+install-pdf-target: maybe-install-pdf-target-libgnatprj
589
install-pdf-target: maybe-install-pdf-target-libgomp
591
.PHONY: do-install-html
592
@@ -2097,6 +2115,7 @@
593
install-html-host: maybe-install-html-utils
594
install-html-host: maybe-install-html-libada
595
install-html-host: maybe-install-html-libgnatvsn
596
+install-html-host: maybe-install-html-libgnatprj
597
install-html-host: maybe-install-html-gnattools
598
install-html-host: maybe-install-html-lto-plugin
600
@@ -2125,6 +2144,7 @@
601
install-html-target: maybe-install-html-target-rda
602
install-html-target: maybe-install-html-target-libada
603
install-html-target: maybe-install-html-target-libgnatvsn
604
+install-html-target: maybe-install-html-target-libgnatprj
605
install-html-target: maybe-install-html-target-libgomp
607
.PHONY: do-installcheck
608
@@ -2216,6 +2236,7 @@
609
installcheck-host: maybe-installcheck-utils
610
installcheck-host: maybe-installcheck-libada
611
installcheck-host: maybe-installcheck-libgnatvsn
612
+installcheck-host: maybe-installcheck-libgnatprj
613
installcheck-host: maybe-installcheck-gnattools
614
installcheck-host: maybe-installcheck-lto-plugin
616
@@ -2244,6 +2265,7 @@
617
installcheck-target: maybe-installcheck-target-rda
618
installcheck-target: maybe-installcheck-target-libada
619
installcheck-target: maybe-installcheck-target-libgnatvsn
620
+installcheck-target: maybe-installcheck-target-libgnatprj
621
installcheck-target: maybe-installcheck-target-libgomp
623
.PHONY: do-mostlyclean
624
@@ -2335,6 +2357,7 @@
625
mostlyclean-host: maybe-mostlyclean-utils
626
mostlyclean-host: maybe-mostlyclean-libada
627
mostlyclean-host: maybe-mostlyclean-libgnatvsn
628
+mostlyclean-host: maybe-mostlyclean-libgnatprj
629
mostlyclean-host: maybe-mostlyclean-gnattools
630
mostlyclean-host: maybe-mostlyclean-lto-plugin
632
@@ -2363,6 +2386,7 @@
633
mostlyclean-target: maybe-mostlyclean-target-rda
634
mostlyclean-target: maybe-mostlyclean-target-libada
635
mostlyclean-target: maybe-mostlyclean-target-libgnatvsn
636
+mostlyclean-target: maybe-mostlyclean-target-libgnatprj
637
mostlyclean-target: maybe-mostlyclean-target-libgomp
640
@@ -2454,6 +2478,7 @@
641
clean-host: maybe-clean-utils
642
clean-host: maybe-clean-libada
643
clean-host: maybe-clean-libgnatvsn
644
+clean-host: maybe-clean-libgnatprj
645
clean-host: maybe-clean-gnattools
646
clean-host: maybe-clean-lto-plugin
648
@@ -2482,6 +2507,7 @@
649
clean-target: maybe-clean-target-rda
650
clean-target: maybe-clean-target-libada
651
clean-target: maybe-clean-target-libgnatvsn
652
+clean-target: maybe-clean-target-libgnatprj
653
clean-target: maybe-clean-target-libgomp
656
@@ -2573,6 +2599,7 @@
657
distclean-host: maybe-distclean-utils
658
distclean-host: maybe-distclean-libada
659
distclean-host: maybe-distclean-libgnatvsn
660
+distclean-host: maybe-distclean-libgnatprj
661
distclean-host: maybe-distclean-gnattools
662
distclean-host: maybe-distclean-lto-plugin
664
@@ -2601,6 +2628,7 @@
665
distclean-target: maybe-distclean-target-rda
666
distclean-target: maybe-distclean-target-libada
667
distclean-target: maybe-distclean-target-libgnatvsn
668
+distclean-target: maybe-distclean-target-libgnatprj
669
distclean-target: maybe-distclean-target-libgomp
671
.PHONY: do-maintainer-clean
672
@@ -2692,6 +2720,7 @@
673
maintainer-clean-host: maybe-maintainer-clean-utils
674
maintainer-clean-host: maybe-maintainer-clean-libada
675
maintainer-clean-host: maybe-maintainer-clean-libgnatvsn
676
+maintainer-clean-host: maybe-maintainer-clean-libgnatprj
677
maintainer-clean-host: maybe-maintainer-clean-gnattools
678
maintainer-clean-host: maybe-maintainer-clean-lto-plugin
680
@@ -2720,6 +2749,7 @@
681
maintainer-clean-target: maybe-maintainer-clean-target-rda
682
maintainer-clean-target: maybe-maintainer-clean-target-libada
683
maintainer-clean-target: maybe-maintainer-clean-target-libgnatvsn
684
+maintainer-clean-target: maybe-maintainer-clean-target-libgnatprj
685
maintainer-clean-target: maybe-maintainer-clean-target-libgomp
688
@@ -2866,6 +2896,7 @@
691
maybe-check-libgnatvsn \
692
+ maybe-check-libgnatprj \
693
maybe-check-gnattools \
694
maybe-check-lto-plugin
696
@@ -2894,6 +2925,7 @@
697
maybe-check-target-rda \
698
maybe-check-target-libada \
699
maybe-check-target-libgnatvsn \
700
+ maybe-check-target-libgnatprj \
701
maybe-check-target-libgomp
704
@@ -3011,6 +3043,7 @@
705
maybe-install-utils \
706
maybe-install-libada \
707
maybe-install-libgnatvsn \
708
+ maybe-install-libgnatprj \
709
maybe-install-gnattools \
710
maybe-install-lto-plugin
712
@@ -3094,6 +3127,7 @@
713
maybe-install-utils \
714
maybe-install-libada \
715
maybe-install-libgnatvsn \
716
+ maybe-install-libgnatprj \
717
maybe-install-gnattools \
718
maybe-install-lto-plugin
720
@@ -3122,6 +3156,7 @@
721
maybe-install-target-rda \
722
maybe-install-target-libada \
723
maybe-install-target-libgnatvsn \
724
+ maybe-install-target-libgnatprj \
725
maybe-install-target-libgomp
728
@@ -3232,6 +3267,7 @@
729
maybe-install-strip-utils \
730
maybe-install-strip-libada \
731
maybe-install-strip-libgnatvsn \
732
+ maybe-install-strip-libgnatprj \
733
maybe-install-strip-gnattools \
734
maybe-install-strip-lto-plugin
736
@@ -3260,6 +3296,7 @@
737
maybe-install-strip-target-rda \
738
maybe-install-strip-target-libada \
739
maybe-install-strip-target-libgnatvsn \
740
+ maybe-install-strip-target-libgnatprj \
741
maybe-install-strip-target-libgomp
744
@@ -45502,6 +45539,343 @@
748
+.PHONY: configure-libgnatprj maybe-configure-libgnatprj
749
+maybe-configure-libgnatprj:
751
+configure-libgnatprj: stage_current
752
+@endif gcc-bootstrap
754
+maybe-configure-libgnatprj: configure-libgnatprj
755
+configure-libgnatprj:
756
+ @: $(MAKE); $(unstage)
757
+ @r=`${PWD_COMMAND}`; export r; \
758
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
759
+ test ! -f $(HOST_SUBDIR)/libgnatprj/Makefile || exit 0; \
760
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgnatprj ; \
762
+ echo Configuring in $(HOST_SUBDIR)/libgnatprj; \
763
+ cd "$(HOST_SUBDIR)/libgnatprj" || exit 1; \
764
+ case $(srcdir) in \
765
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
766
+ *) topdir=`echo $(HOST_SUBDIR)/libgnatprj/ | \
767
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
769
+ srcdiroption="--srcdir=$${topdir}/libgnatprj"; \
770
+ libsrcdir="$$s/libgnatprj"; \
771
+ $(SHELL) $${libsrcdir}/configure \
772
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
773
+ --target=${target_alias} $${srcdiroption} \
781
+.PHONY: all-libgnatprj maybe-all-libgnatprj
782
+maybe-all-libgnatprj:
784
+all-libgnatprj: stage_current
785
+@endif gcc-bootstrap
787
+TARGET-libgnatprj=all
788
+maybe-all-libgnatprj: all-libgnatprj
789
+all-libgnatprj: configure-libgnatprj
790
+ @: $(MAKE); $(unstage)
791
+ @r=`${PWD_COMMAND}`; export r; \
792
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
794
+ (cd $(HOST_SUBDIR)/libgnatprj && \
795
+ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
796
+ $(TARGET-libgnatprj))
802
+.PHONY: check-libgnatprj maybe-check-libgnatprj
803
+maybe-check-libgnatprj:
805
+maybe-check-libgnatprj: check-libgnatprj
811
+.PHONY: install-libgnatprj maybe-install-libgnatprj
812
+maybe-install-libgnatprj:
814
+maybe-install-libgnatprj: install-libgnatprj
816
+install-libgnatprj: installdirs
817
+ @: $(MAKE); $(unstage)
818
+ @r=`${PWD_COMMAND}`; export r; \
819
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
821
+ (cd $(HOST_SUBDIR)/libgnatprj && \
822
+ $(MAKE) $(FLAGS_TO_PASS) install)
826
+.PHONY: install-strip-libgnatprj maybe-install-strip-libgnatprj
827
+maybe-install-strip-libgnatprj:
829
+maybe-install-strip-libgnatprj: install-strip-libgnatprj
831
+install-strip-libgnatprj: installdirs
832
+ @: $(MAKE); $(unstage)
833
+ @r=`${PWD_COMMAND}`; export r; \
834
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
836
+ (cd $(HOST_SUBDIR)/libgnatprj && \
837
+ $(MAKE) $(FLAGS_TO_PASS) install-strip)
841
+# Other targets (info, dvi, pdf, etc.)
843
+.PHONY: maybe-info-libgnatprj info-libgnatprj
844
+maybe-info-libgnatprj:
846
+maybe-info-libgnatprj: info-libgnatprj
848
+# libgnatprj doesn't support info.
853
+.PHONY: maybe-dvi-libgnatprj dvi-libgnatprj
854
+maybe-dvi-libgnatprj:
856
+maybe-dvi-libgnatprj: dvi-libgnatprj
858
+# libgnatprj doesn't support dvi.
863
+.PHONY: maybe-pdf-libgnatprj pdf-libgnatprj
864
+maybe-pdf-libgnatprj:
866
+maybe-pdf-libgnatprj: pdf-libgnatprj
869
+ configure-libgnatprj
870
+ @: $(MAKE); $(unstage)
871
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
872
+ r=`${PWD_COMMAND}`; export r; \
873
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
875
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
876
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
878
+ echo "Doing pdf in libgnatprj" ; \
879
+ (cd $(HOST_SUBDIR)/libgnatprj && \
880
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
881
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
882
+ "RANLIB=$${RANLIB}" \
883
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
889
+.PHONY: maybe-html-libgnatprj html-libgnatprj
890
+maybe-html-libgnatprj:
892
+maybe-html-libgnatprj: html-libgnatprj
894
+# libgnatprj doesn't support html.
899
+.PHONY: maybe-TAGS-libgnatprj TAGS-libgnatprj
900
+maybe-TAGS-libgnatprj:
902
+maybe-TAGS-libgnatprj: TAGS-libgnatprj
904
+# libgnatprj doesn't support TAGS.
909
+.PHONY: maybe-install-info-libgnatprj install-info-libgnatprj
910
+maybe-install-info-libgnatprj:
912
+maybe-install-info-libgnatprj: install-info-libgnatprj
914
+# libgnatprj doesn't support install-info.
915
+install-info-libgnatprj:
919
+.PHONY: maybe-install-pdf-libgnatprj install-pdf-libgnatprj
920
+maybe-install-pdf-libgnatprj:
922
+maybe-install-pdf-libgnatprj: install-pdf-libgnatprj
924
+install-pdf-libgnatprj: \
925
+ configure-libgnatprj \
927
+ @: $(MAKE); $(unstage)
928
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
929
+ r=`${PWD_COMMAND}`; export r; \
930
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
932
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
933
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
935
+ echo "Doing install-pdf in libgnatprj" ; \
936
+ (cd $(HOST_SUBDIR)/libgnatprj && \
937
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
938
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
939
+ "RANLIB=$${RANLIB}" \
940
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
946
+.PHONY: maybe-install-html-libgnatprj install-html-libgnatprj
947
+maybe-install-html-libgnatprj:
949
+maybe-install-html-libgnatprj: install-html-libgnatprj
951
+install-html-libgnatprj: \
952
+ configure-libgnatprj \
954
+ @: $(MAKE); $(unstage)
955
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
956
+ r=`${PWD_COMMAND}`; export r; \
957
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
959
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
960
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
962
+ echo "Doing install-html in libgnatprj" ; \
963
+ (cd $(HOST_SUBDIR)/libgnatprj && \
964
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
965
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
966
+ "RANLIB=$${RANLIB}" \
967
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
973
+.PHONY: maybe-installcheck-libgnatprj installcheck-libgnatprj
974
+maybe-installcheck-libgnatprj:
976
+maybe-installcheck-libgnatprj: installcheck-libgnatprj
978
+# libgnatprj doesn't support installcheck.
979
+installcheck-libgnatprj:
983
+.PHONY: maybe-mostlyclean-libgnatprj mostlyclean-libgnatprj
984
+maybe-mostlyclean-libgnatprj:
986
+maybe-mostlyclean-libgnatprj: mostlyclean-libgnatprj
988
+mostlyclean-libgnatprj:
989
+ @: $(MAKE); $(unstage)
990
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
991
+ r=`${PWD_COMMAND}`; export r; \
992
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
994
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
995
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
997
+ echo "Doing mostlyclean in libgnatprj" ; \
998
+ (cd $(HOST_SUBDIR)/libgnatprj && \
999
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1000
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1001
+ "RANLIB=$${RANLIB}" \
1002
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1008
+.PHONY: maybe-clean-libgnatprj clean-libgnatprj
1009
+maybe-clean-libgnatprj:
1011
+maybe-clean-libgnatprj: clean-libgnatprj
1014
+ @: $(MAKE); $(unstage)
1015
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
1016
+ r=`${PWD_COMMAND}`; export r; \
1017
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1019
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1020
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1022
+ echo "Doing clean in libgnatprj" ; \
1023
+ (cd $(HOST_SUBDIR)/libgnatprj && \
1024
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1025
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1026
+ "RANLIB=$${RANLIB}" \
1027
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1033
+.PHONY: maybe-distclean-libgnatprj distclean-libgnatprj
1034
+maybe-distclean-libgnatprj:
1036
+maybe-distclean-libgnatprj: distclean-libgnatprj
1038
+distclean-libgnatprj:
1039
+ @: $(MAKE); $(unstage)
1040
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
1041
+ r=`${PWD_COMMAND}`; export r; \
1042
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1044
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1045
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1047
+ echo "Doing distclean in libgnatprj" ; \
1048
+ (cd $(HOST_SUBDIR)/libgnatprj && \
1049
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1050
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1051
+ "RANLIB=$${RANLIB}" \
1052
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1058
+.PHONY: maybe-maintainer-clean-libgnatprj maintainer-clean-libgnatprj
1059
+maybe-maintainer-clean-libgnatprj:
1061
+maybe-maintainer-clean-libgnatprj: maintainer-clean-libgnatprj
1063
+maintainer-clean-libgnatprj:
1064
+ @: $(MAKE); $(unstage)
1065
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
1066
+ r=`${PWD_COMMAND}`; export r; \
1067
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1069
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1070
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1072
+ echo "Doing maintainer-clean in libgnatprj" ; \
1073
+ (cd $(HOST_SUBDIR)/libgnatprj && \
1074
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1075
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1076
+ "RANLIB=$${RANLIB}" \
1077
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1078
+ maintainer-clean) \
1085
.PHONY: configure-gnattools maybe-configure-gnattools
1086
maybe-configure-gnattools:
1088
@@ -57992,6 +58366,361 @@
1092
+.PHONY: configure-target-libgnatprj maybe-configure-target-libgnatprj
1093
+maybe-configure-target-libgnatprj:
1095
+configure-target-libgnatprj: stage_current
1096
+@endif gcc-bootstrap
1097
+@if target-libgnatprj
1098
+maybe-configure-target-libgnatprj: configure-target-libgnatprj
1099
+configure-target-libgnatprj:
1100
+ @: $(MAKE); $(unstage)
1101
+ @r=`${PWD_COMMAND}`; export r; \
1102
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1103
+ echo "Checking multilib configuration for libgnatprj..."; \
1104
+ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgnatprj ; \
1105
+ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgnatprj/multilib.tmp 2> /dev/null ; \
1106
+ if test -r $(TARGET_SUBDIR)/libgnatprj/multilib.out; then \
1107
+ if cmp -s $(TARGET_SUBDIR)/libgnatprj/multilib.tmp $(TARGET_SUBDIR)/libgnatprj/multilib.out; then \
1108
+ rm -f $(TARGET_SUBDIR)/libgnatprj/multilib.tmp; \
1110
+ rm -f $(TARGET_SUBDIR)/libgnatprj/Makefile; \
1111
+ mv $(TARGET_SUBDIR)/libgnatprj/multilib.tmp $(TARGET_SUBDIR)/libgnatprj/multilib.out; \
1114
+ mv $(TARGET_SUBDIR)/libgnatprj/multilib.tmp $(TARGET_SUBDIR)/libgnatprj/multilib.out; \
1116
+ test ! -f $(TARGET_SUBDIR)/libgnatprj/Makefile || exit 0; \
1117
+ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgnatprj ; \
1118
+ $(NORMAL_TARGET_EXPORTS) \
1119
+ echo Configuring in $(TARGET_SUBDIR)/libgnatprj; \
1120
+ cd "$(TARGET_SUBDIR)/libgnatprj" || exit 1; \
1121
+ case $(srcdir) in \
1122
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
1123
+ *) topdir=`echo $(TARGET_SUBDIR)/libgnatprj/ | \
1124
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
1126
+ srcdiroption="--srcdir=$${topdir}/libgnatprj"; \
1127
+ libsrcdir="$$s/libgnatprj"; \
1128
+ rm -f no-such-file || : ; \
1129
+ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1130
+ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
1131
+ --target=${target_alias} $${srcdiroption} \
1133
+@endif target-libgnatprj
1139
+.PHONY: all-target-libgnatprj maybe-all-target-libgnatprj
1140
+maybe-all-target-libgnatprj:
1142
+all-target-libgnatprj: stage_current
1143
+@endif gcc-bootstrap
1144
+@if target-libgnatprj
1145
+TARGET-target-libgnatprj=all
1146
+maybe-all-target-libgnatprj: all-target-libgnatprj
1147
+all-target-libgnatprj: configure-target-libgnatprj
1148
+ @: $(MAKE); $(unstage)
1149
+ @r=`${PWD_COMMAND}`; export r; \
1150
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1151
+ $(NORMAL_TARGET_EXPORTS) \
1152
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1153
+ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
1154
+ $(TARGET-target-libgnatprj))
1155
+@endif target-libgnatprj
1161
+.PHONY: check-target-libgnatprj maybe-check-target-libgnatprj
1162
+maybe-check-target-libgnatprj:
1163
+@if target-libgnatprj
1164
+maybe-check-target-libgnatprj: check-target-libgnatprj
1166
+# Dummy target for uncheckable module.
1167
+check-target-libgnatprj:
1169
+@endif target-libgnatprj
1171
+.PHONY: install-target-libgnatprj maybe-install-target-libgnatprj
1172
+maybe-install-target-libgnatprj:
1173
+@if target-libgnatprj
1174
+maybe-install-target-libgnatprj: install-target-libgnatprj
1176
+install-target-libgnatprj: installdirs
1177
+ @: $(MAKE); $(unstage)
1178
+ @r=`${PWD_COMMAND}`; export r; \
1179
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1180
+ $(NORMAL_TARGET_EXPORTS) \
1181
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1182
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
1184
+@endif target-libgnatprj
1186
+.PHONY: install-strip-target-libgnatprj maybe-install-strip-target-libgnatprj
1187
+maybe-install-strip-target-libgnatprj:
1188
+@if target-libgnatprj
1189
+maybe-install-strip-target-libgnatprj: install-strip-target-libgnatprj
1191
+install-strip-target-libgnatprj: installdirs
1192
+ @: $(MAKE); $(unstage)
1193
+ @r=`${PWD_COMMAND}`; export r; \
1194
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1195
+ $(NORMAL_TARGET_EXPORTS) \
1196
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1197
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
1199
+@endif target-libgnatprj
1201
+# Other targets (info, dvi, pdf, etc.)
1203
+.PHONY: maybe-info-target-libgnatprj info-target-libgnatprj
1204
+maybe-info-target-libgnatprj:
1205
+@if target-libgnatprj
1206
+maybe-info-target-libgnatprj: info-target-libgnatprj
1208
+# libgnatprj doesn't support info.
1209
+info-target-libgnatprj:
1211
+@endif target-libgnatprj
1213
+.PHONY: maybe-dvi-target-libgnatprj dvi-target-libgnatprj
1214
+maybe-dvi-target-libgnatprj:
1215
+@if target-libgnatprj
1216
+maybe-dvi-target-libgnatprj: dvi-target-libgnatprj
1218
+# libgnatprj doesn't support dvi.
1219
+dvi-target-libgnatprj:
1221
+@endif target-libgnatprj
1223
+.PHONY: maybe-pdf-target-libgnatprj pdf-target-libgnatprj
1224
+maybe-pdf-target-libgnatprj:
1225
+@if target-libgnatprj
1226
+maybe-pdf-target-libgnatprj: pdf-target-libgnatprj
1228
+pdf-target-libgnatprj: \
1229
+ configure-target-libgnatprj
1230
+ @: $(MAKE); $(unstage)
1231
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1232
+ r=`${PWD_COMMAND}`; export r; \
1233
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1234
+ $(NORMAL_TARGET_EXPORTS) \
1235
+ echo "Doing pdf in $(TARGET_SUBDIR)/libgnatprj" ; \
1236
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1237
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1239
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1240
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1241
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1242
+ "RANLIB=$${RANLIB}" \
1243
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1247
+@endif target-libgnatprj
1249
+.PHONY: maybe-html-target-libgnatprj html-target-libgnatprj
1250
+maybe-html-target-libgnatprj:
1251
+@if target-libgnatprj
1252
+maybe-html-target-libgnatprj: html-target-libgnatprj
1254
+# libgnatprj doesn't support html.
1255
+html-target-libgnatprj:
1257
+@endif target-libgnatprj
1259
+.PHONY: maybe-TAGS-target-libgnatprj TAGS-target-libgnatprj
1260
+maybe-TAGS-target-libgnatprj:
1261
+@if target-libgnatprj
1262
+maybe-TAGS-target-libgnatprj: TAGS-target-libgnatprj
1264
+# libgnatprj doesn't support TAGS.
1265
+TAGS-target-libgnatprj:
1267
+@endif target-libgnatprj
1269
+.PHONY: maybe-install-info-target-libgnatprj install-info-target-libgnatprj
1270
+maybe-install-info-target-libgnatprj:
1271
+@if target-libgnatprj
1272
+maybe-install-info-target-libgnatprj: install-info-target-libgnatprj
1274
+# libgnatprj doesn't support install-info.
1275
+install-info-target-libgnatprj:
1277
+@endif target-libgnatprj
1279
+.PHONY: maybe-install-pdf-target-libgnatprj install-pdf-target-libgnatprj
1280
+maybe-install-pdf-target-libgnatprj:
1281
+@if target-libgnatprj
1282
+maybe-install-pdf-target-libgnatprj: install-pdf-target-libgnatprj
1284
+install-pdf-target-libgnatprj: \
1285
+ configure-target-libgnatprj \
1286
+ pdf-target-libgnatprj
1287
+ @: $(MAKE); $(unstage)
1288
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1289
+ r=`${PWD_COMMAND}`; export r; \
1290
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1291
+ $(NORMAL_TARGET_EXPORTS) \
1292
+ echo "Doing install-pdf in $(TARGET_SUBDIR)/libgnatprj" ; \
1293
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1294
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1296
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1297
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1298
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1299
+ "RANLIB=$${RANLIB}" \
1300
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1304
+@endif target-libgnatprj
1306
+.PHONY: maybe-install-html-target-libgnatprj install-html-target-libgnatprj
1307
+maybe-install-html-target-libgnatprj:
1308
+@if target-libgnatprj
1309
+maybe-install-html-target-libgnatprj: install-html-target-libgnatprj
1311
+install-html-target-libgnatprj: \
1312
+ configure-target-libgnatprj \
1313
+ html-target-libgnatprj
1314
+ @: $(MAKE); $(unstage)
1315
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1316
+ r=`${PWD_COMMAND}`; export r; \
1317
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1318
+ $(NORMAL_TARGET_EXPORTS) \
1319
+ echo "Doing install-html in $(TARGET_SUBDIR)/libgnatprj" ; \
1320
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1321
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1323
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1324
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1325
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1326
+ "RANLIB=$${RANLIB}" \
1327
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1331
+@endif target-libgnatprj
1333
+.PHONY: maybe-installcheck-target-libgnatprj installcheck-target-libgnatprj
1334
+maybe-installcheck-target-libgnatprj:
1335
+@if target-libgnatprj
1336
+maybe-installcheck-target-libgnatprj: installcheck-target-libgnatprj
1338
+# libgnatprj doesn't support installcheck.
1339
+installcheck-target-libgnatprj:
1341
+@endif target-libgnatprj
1343
+.PHONY: maybe-mostlyclean-target-libgnatprj mostlyclean-target-libgnatprj
1344
+maybe-mostlyclean-target-libgnatprj:
1345
+@if target-libgnatprj
1346
+maybe-mostlyclean-target-libgnatprj: mostlyclean-target-libgnatprj
1348
+mostlyclean-target-libgnatprj:
1349
+ @: $(MAKE); $(unstage)
1350
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1351
+ r=`${PWD_COMMAND}`; export r; \
1352
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1353
+ $(NORMAL_TARGET_EXPORTS) \
1354
+ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgnatprj" ; \
1355
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1356
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1358
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1359
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1360
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1361
+ "RANLIB=$${RANLIB}" \
1362
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1366
+@endif target-libgnatprj
1368
+.PHONY: maybe-clean-target-libgnatprj clean-target-libgnatprj
1369
+maybe-clean-target-libgnatprj:
1370
+@if target-libgnatprj
1371
+maybe-clean-target-libgnatprj: clean-target-libgnatprj
1373
+clean-target-libgnatprj:
1374
+ @: $(MAKE); $(unstage)
1375
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1376
+ r=`${PWD_COMMAND}`; export r; \
1377
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1378
+ $(NORMAL_TARGET_EXPORTS) \
1379
+ echo "Doing clean in $(TARGET_SUBDIR)/libgnatprj" ; \
1380
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1381
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1383
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1384
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1385
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1386
+ "RANLIB=$${RANLIB}" \
1387
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1391
+@endif target-libgnatprj
1393
+.PHONY: maybe-distclean-target-libgnatprj distclean-target-libgnatprj
1394
+maybe-distclean-target-libgnatprj:
1395
+@if target-libgnatprj
1396
+maybe-distclean-target-libgnatprj: distclean-target-libgnatprj
1398
+distclean-target-libgnatprj:
1399
+ @: $(MAKE); $(unstage)
1400
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1401
+ r=`${PWD_COMMAND}`; export r; \
1402
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1403
+ $(NORMAL_TARGET_EXPORTS) \
1404
+ echo "Doing distclean in $(TARGET_SUBDIR)/libgnatprj" ; \
1405
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1406
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1408
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1409
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1410
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1411
+ "RANLIB=$${RANLIB}" \
1412
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1416
+@endif target-libgnatprj
1418
+.PHONY: maybe-maintainer-clean-target-libgnatprj maintainer-clean-target-libgnatprj
1419
+maybe-maintainer-clean-target-libgnatprj:
1420
+@if target-libgnatprj
1421
+maybe-maintainer-clean-target-libgnatprj: maintainer-clean-target-libgnatprj
1423
+maintainer-clean-target-libgnatprj:
1424
+ @: $(MAKE); $(unstage)
1425
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1426
+ r=`${PWD_COMMAND}`; export r; \
1427
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1428
+ $(NORMAL_TARGET_EXPORTS) \
1429
+ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgnatprj" ; \
1430
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1431
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1433
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1434
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1435
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1436
+ "RANLIB=$${RANLIB}" \
1437
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1438
+ maintainer-clean) \
1441
+@endif target-libgnatprj
1447
.PHONY: configure-target-libgomp maybe-configure-target-libgomp
1448
maybe-configure-target-libgomp:
1450
@@ -61056,6 +61785,7 @@
1451
configure-target-rda: stage_last
1452
configure-target-libada: stage_last
1453
configure-target-libgnatvsn: stage_last
1454
+configure-target-libgnatprj: stage_last
1455
configure-stage1-target-libgomp: maybe-all-stage1-gcc
1456
configure-stage2-target-libgomp: maybe-all-stage2-gcc
1457
configure-stage3-target-libgomp: maybe-all-stage3-gcc
1458
@@ -61088,6 +61818,7 @@
1459
configure-target-rda: maybe-all-gcc
1460
configure-target-libada: maybe-all-gcc
1461
configure-target-libgnatvsn: maybe-all-gcc
1462
+configure-target-libgnatprj: maybe-all-gcc
1463
configure-target-libgomp: maybe-all-gcc
1464
@endif gcc-no-bootstrap
1466
@@ -61389,7 +62120,10 @@
1467
all-fixincludes: maybe-all-libiberty
1468
all-gnattools: maybe-all-libada
1469
all-gnattools: maybe-all-libgnatvsn
1470
+all-gnattools: maybe-all-libgnatprj
1471
all-libgnatvsn: maybe-all-libada
1472
+all-libgnatprj: maybe-all-libada
1473
+all-libgnatprj: maybe-all-libgnatvsn
1474
all-lto-plugin: maybe-all-libiberty
1476
all-stage1-lto-plugin: maybe-all-stage1-libiberty
1477
@@ -61935,6 +62669,7 @@
1478
configure-target-rda: maybe-all-target-libgcc
1479
configure-target-libada: maybe-all-target-libgcc
1480
configure-target-libgnatvsn: maybe-all-target-libgcc
1481
+configure-target-libgnatprj: maybe-all-target-libgcc
1482
configure-target-libgomp: maybe-all-target-libgcc
1483
@endif gcc-no-bootstrap
1485
@@ -61983,6 +62718,8 @@
1487
configure-target-libgnatvsn: maybe-all-target-newlib maybe-all-target-libgloss
1489
+configure-target-libgnatprj: maybe-all-target-newlib maybe-all-target-libgloss
1491
configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
1494
Index: b/src/configure.ac
1495
===================================================================
1496
--- a/src/configure.ac
1497
+++ b/src/configure.ac
1500
# these libraries are used by various programs built for the host environment
1502
-host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv libada libgnatvsn"
1503
+host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv libada libgnatvsn libgnatprj"
1505
# these tools are built for the host environment
1506
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1511
+ target-libgnatprj \
1514
# these tools are built using the target libraries, and are intended to
1517
# Similarly, some are only suitable for cross toolchains.
1518
# Remove these if host=target.
1519
-cross_only="target-libgloss target-newlib target-opcodes target-libada target-libgnatvsn"
1520
+cross_only="target-libgloss target-newlib target-opcodes target-libada target-libgnatvsn target-libgnatprj"
1522
case $is_cross_compiler in
1523
no) skipdirs="${skipdirs} ${cross_only}" ;;
1525
ENABLE_LIBADA=$enableval,
1527
if test "${ENABLE_LIBADA}" != "yes" ; then
1528
- noconfigdirs="$noconfigdirs libgnatvsn gnattools"
1529
+ noconfigdirs="$noconfigdirs libgnatvsn libgnatprj gnattools"
1532
AC_ARG_ENABLE(libssp,
1533
Index: b/src/libgnatprj/configure.ac
1534
===================================================================
1536
+++ b/src/libgnatprj/configure.ac
1538
+# Configure script for libada.
1539
+# Copyright 2003, 2004 Free Software Foundation, Inc.
1541
+# This file is free software; you can redistribute it and/or modify it
1542
+# under the terms of the GNU General Public License as published by
1543
+# the Free Software Foundation; either version 2 of the License, or
1544
+# (at your option) any later version.
1546
+# This program is distributed in the hope that it will be useful, but
1547
+# WITHOUT ANY WARRANTY; without even the implied warranty of
1548
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1549
+# General Public License for more details.
1551
+# You should have received a copy of the GNU General Public License
1552
+# along with this program; if not, write to the Free Software
1553
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1558
+AC_CONFIG_SRCDIR([Makefile.in])
1560
+# Start of actual configure tests
1566
+AC_CANONICAL_TARGET
1568
+sinclude(../config/acx.m4)
1569
+ACX_NONCANONICAL_TARGET
1571
+# Need to pass this down for now :-P
1574
+# Determine x_ada_cflags
1576
+ hppa*) x_ada_cflags=-mdisable-indexing ;;
1577
+ *) x_ada_cflags= ;;
1579
+AC_SUBST([x_ada_cflags])
1581
+# Determine what to build for 'gnattools'
1582
+if test $build = $target ; then
1583
+ # Note that build=target is almost certainly the wrong test; FIXME
1584
+ default_gnattools_target="gnattools-native"
1586
+ default_gnattools_target="gnattools-cross"
1588
+AC_SUBST([default_gnattools_target])
1590
+# Target-specific stuff (defaults)
1591
+TOOLS_TARGET_PAIRS=
1592
+AC_SUBST(TOOLS_TARGET_PAIRS)
1594
+# Per-target case statement
1595
+# ---/----------------------
1596
+case "${target}" in
1597
+ alpha*-dec-vx*) # Unlike all other Vxworks
1600
+ | powerpc*-wrs-vxworks \
1601
+ | sparc*-wrs-vx* \
1602
+ | *86-wrs-vxworks \
1603
+ | xscale*-wrs-vx* \
1604
+ | xscale*-wrs-coff \
1606
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb"
1608
+ sparc-sun-solaris*)
1609
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb"
1612
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb"
1616
+ | powerpc*-*-linux* \
1617
+ | *ia64-*-linux* \
1618
+ | alpha*-*-linux* \
1619
+ | sparc*-*-linux* \
1620
+ | hppa*-*-linux* \
1621
+ | mips*-*-linux* \
1622
+ | *x86_64-*-linux* \
1623
+ | *86-*-kfreebsd*-gnu \
1625
+ | *x86_64-*-kfreebsd*-gnu )
1626
+ TOOLS_TARGET_PAIRS="\
1627
+ mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
1628
+ indepsw.adb<indepsw-gnu.adb"
1631
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb"
1634
+ TOOLS_TARGET_PAIRS="\
1635
+ mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
1636
+ indepsw.adb<indepsw-gnu.adb"
1639
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-irix.adb"
1641
+ hppa*-hp-hpux10*) # Unlike hpux11
1644
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-hpux.adb"
1647
+ TOOLS_TARGET_PAIRS="\
1648
+ mlib-tgt-specific.adb<mlib-tgt-specific-aix.adb \
1649
+ indepsw.adb<indepsw-aix.adb"
1652
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-tru64.adb"
1654
+ alpha*-dec-vms* | alpha*-dec-openvms* | alpha*-dec-vms* \
1655
+ | alpha*-hp-vms* | alpha*-hp-openvms* | alpha*-hp-vms*)
1656
+ TOOLS_TARGET_PAIRS="\
1657
+ mlib-tgt-specific.adb<mlib-tgt-specific-vms-alpha.adb \
1658
+ symbols.adb<symbols-vms.adb \
1659
+ symbols-processing.adb<symbols-processing-vms-alpha.adb"
1661
+ ia64*-dec-vms* | ia64*-dec-openvms* | ia64*-dec-vms* \
1662
+ | ia64*-hp-vms* | ia64*-hp-openvms* | ia64*-hp-vms*)
1663
+ TOOLS_TARGET_PAIRS="\
1664
+ mlib-tgt-specific.adb<mlib-tgt-vms-ia64.adb \
1665
+ symbols.adb<symbols-vms.adb \
1666
+ symbols-processing.adb<symbols-processing-vms-ia64.adb"
1668
+ *-*-cygwin32* | *-*-mingw32* | *-*-pe)
1669
+ TOOLS_TARGET_PAIRS="\
1670
+ mlib-tgt-specific.adb<mlib-tgt-specific-mingw.adb \
1671
+ indepsw.adb<indepsw-mingw.adb"
1673
+ powerpc-*-darwin*)
1674
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-darwin.adb"
1677
+ TOOLS_TARGET_PAIRS="\
1678
+ mlib-tgt-specific.adb<mlib-tgt-specific-lynxos.adb \
1679
+ indepsw.adb<indepsw-gnu.adb"
1683
+# Output: create a Makefile.
1684
+AC_CONFIG_FILES([Makefile])