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
SHARED_ADA_LIBS := -L../gcc/ada/rts -lgnat-$(LIB_VERSION)
41
SHARED_ADA_LIBS += -L../libgnatvsn -lgnatvsn
42
+SHARED_ADA_LIBS += -L../libgnatprj -lgnatprj
43
STATIC_ADA_LIBS := ../gcc/ada/rts/libgnat.a
44
STATIC_GCC_LIBS := ../gcc/libcommon-target.a ../gcc/libcommon.a ../libcpp/libcpp.a \
45
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
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
86
-mlib-tgt-specific.o \
124
$(EXTRA_GNATMAKE_OBJS)
125
@@ -203,12 +142,13 @@
129
-gnatlink-static: $(GNATLINK_OBJS) b_gnatl.o link.o
130
+gnatlink-static: $(GNATLINK_OBJS) b_gnatl.o
132
+ ../libgnatprj/libgnatprj.a \
133
../libgnatvsn/libgnatvsn.a \
134
../gcc/ada/rts/libgnat.a $(STATIC_GCC_LIBS)
136
-gnatlink: $(GNATLINK_OBJS) b_gnatl.o link.o
137
+gnatlink: $(GNATLINK_OBJS) b_gnatl.o
138
$(GCC) -o $@ $^ $(SHARED_ADA_LIBS) $(STATIC_GCC_LIBS)
140
b_gnatl.adb: $(GNATLINK_OBJS)
141
@@ -216,31 +156,24 @@
145
-gnatmake-static: $(GNATMAKE_OBJS) b_gnatm.o link.o
146
+gnatmake-static: $(GNATMAKE_OBJS) b_gnatm.o
147
$(GCC) -o $@ $(ADA_CFLAGS) $^ \
148
+ ../libgnatprj/libgnatprj.a \
149
../libgnatvsn/libgnatvsn.a \
150
$(STATIC_ADA_LIBS) $(STATIC_GCC_LIBS)
152
-gnatmake: $(GNATMAKE_OBJS) b_gnatm.o link.o
153
+gnatmake: $(GNATMAKE_OBJS) b_gnatm.o
154
$(GCC) -o $@ $(ADA_CFLAGS) $^ $(SHARED_ADA_LIBS) $(STATIC_GCC_LIBS)
156
b_gnatm.adb: $(GNATMAKE_OBJS)
157
../gcc/gnatbind -o $@ $(ADA_INCLUDES) gnatmake.ali
161
- if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi
162
- ./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \
164
- --GNATBIND=../gcc/gnatbind
165
- ./gnatlink-static -o $@ $@.ali $(ADA_INCLUDES) $(SHARED_ADA_LIBS) \
166
- --GCC="$(GCC) $(ADA_INCLUDES)" $(STATIC_GCC_LIBS)
171
-gnatbind gnatchop gnatclean gnatcmd gnatfind gnatls gnatname gnatprep gnatxref: \
173
+gnatbind gnatchop gnatclean gnatcmd gnatfind gnatkr gnatls gnatname gnatprep \
175
if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi
176
./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \
178
@@ -249,20 +182,12 @@
179
$(ADA_INCLUDES) $(SHARED_ADA_LIBS) $(STATIC_GCC_LIBS) \
180
--GCC="$(GCC) $(ADA_INCLUDES)"
182
-# Force compiling sdefault.adb, not .ads, to produce sdefault.o
183
-sdefault.o: sdefault.adb
185
-sdefault.adb: stamp-gnattools-sources
188
$(GCC) -c -o $@ $< $(ADA_CFLAGS) $(ADA_INCLUDES)
191
$(GCC) -c -o $@ $< $(ADA_CFLAGS) $(ADA_INCLUDES)
194
- $(GCC) -c -o $@ $< $(CFLAGS) $(INCLUDES)
199
Index: b/src/libgnatprj/Makefile.in
200
===================================================================
202
+++ b/src/libgnatprj/Makefile.in
204
+# Makefile for libgnatprj.
205
+# Copyright (c) 2006 Ludovic Brenta <ludovic@ludovic-brenta.org>
207
+# This file is free software; you can redistribute it and/or modify
208
+# it under the terms of the GNU General Public License as published by
209
+# the Free Software Foundation; either version 2 of the License, or
210
+# (at your option) any later version.
212
+# This program is distributed in the hope that it will be useful,
213
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
214
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
215
+# GNU General Public License for more details.
217
+# You should have received a copy of the GNU General Public License
218
+# along with this program; if not, write to the Free Software
219
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
221
+# Default target; must be first.
226
+CPUS := $(shell getconf _NPROCESSORS_ONLN)
227
+LIB_VERSION := $(strip $(shell grep ' Library_Version :' \
228
+ @srcdir@/../gcc/ada/gnatvsn.ads | \
229
+ sed -e 's/.*"\(.*\)".*/\1/'))
230
+GCC:=../gcc/xgcc -B../gcc/
231
+LIBGNAT_JUST_BUILT := -nostdinc -I../gcc/ada/rts
232
+LIBGNATVSN := -I../libgnatvsn
234
+ADAFLAGS := -g -O2 -gnatn
235
+BASEVER := $(shell cat @srcdir@/../gcc/BASE-VER)
236
+DEVPHASE := $(shell cat @srcdir@/../gcc/DEV-PHASE)
237
+DATESTAMP := $(shell cat @srcdir@/../gcc/DATESTAMP)
238
+TOOLS_TARGET_PAIRS := @TOOLS_TARGET_PAIRS@
241
+ifneq (@build@,@host@)
242
+ CFLAGS += -b @host@
245
+.PHONY: libgnatprj install
246
+libgnatprj: libgnatprj.so.$(LIB_VERSION) libgnatprj.a
248
+# Here we list one file per Ada unit: the body file if the unit has a
249
+# body, the spec file otherwise.
250
+PRJ_SOURCES := ali.adb ali-util.adb butil.adb binderr.adb errout.adb \
251
+erroutc.adb errutil.adb err_vars.ads fname-uf.adb fmap.adb impunit.adb \
252
+lib-util.adb makeutl.adb mlib.adb mlib-fil.adb mlib-tgt.adb \
253
+mlib-tgt-specific.adb mlib-utl.adb osint.adb osint-c.adb prj.adb prj-attr.adb \
254
+prj-attr-pm.adb prj-com.ads prj-conf.adb prj-dect.adb prj-env.adb prj-err.adb \
255
+prj-ext.adb prj-makr.adb prj-nmsc.adb prj-pars.adb prj-part.adb prj-pp.adb \
256
+prj-proc.adb prj-strt.adb prj-tree.adb prj-util.adb restrict.adb rident.ads \
257
+scng.adb sfn_scan.adb sinfo-cn.adb sinput-c.adb sinput-p.adb style.adb \
258
+styleg.adb stylesw.adb switch.adb switch-m.adb targparm.adb tempdir.adb
260
+# Source files generated in build/gcc/ada, not src/gcc/ada.
261
+GENERATED_SOURCES := sdefault.adb
263
+SOURCES := $(PRJ_SOURCES) $(GENERATED_SOURCES)
265
+OBJECTS := $(patsubst %.ads,%.o,$(SOURCES:.adb=.o))
267
+# Add some object files compiled from C sources. prefix.o requires
268
+# some objects from libiberty.
269
+OBJECTS += concat.o link.o prefix.o xexit.o xmalloc.o xstrdup.o
271
+vpath %.c @srcdir@/../gcc/ada
273
+libgnatprj.so.$(LIB_VERSION): $(addprefix obj-shared/,$(OBJECTS))
274
+ : # Make libgnatprj.so
275
+ $(GCC) -o $@ -shared -fPIC -Wl,--soname,$@ $^ \
276
+ -L../gcc/ada/rts -lgnat-$(LIB_VERSION) \
277
+ -L../libgnatvsn -lgnatvsn
278
+ $(LN_S) -f libgnatprj.so.$(LIB_VERSION) libgnatprj.so
279
+ chmod a=r obj-shared/*.ali
280
+# Make the .ali files, but not the .o files, visible to the gnat tools.
281
+ cp -lp obj-shared/*.ali .
283
+$(addprefix obj-shared/,$(OBJECTS)): | stamp-libgnatprj-sources obj-shared
285
+obj-shared/%.o: %.adb
286
+ $(GCC) -c -fPIC $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
288
+obj-shared/%.o: %.ads
289
+ $(GCC) -c -fPIC $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
292
+ $(GCC) -c -fPIC $(CFLAGS) -I@srcdir@/../gcc $< -o $@
294
+obj-shared/prefix.o: @srcdir@/../gcc/prefix.c
295
+ $(GCC) -c -fPIC $(CFLAGS) -DPREFIX=\"@prefix@\" -DBASEVER=\"$(BASEVER)\" \
296
+ -I@srcdir@/../gcc -I@srcdir@/../include -I../gcc -I@srcdir@/../libcpp/include \
299
+obj-shared/%.o: @srcdir@/../libiberty/%.c
300
+ $(GCC) -c -fPIC $(CFLAGS) \
301
+ -I@srcdir@/../libiberty -I@srcdir@/../include $< -o $@
306
+libgnatprj.a: $(addprefix obj-static/,$(OBJECTS))
307
+ : # Make libgnatprj.a
311
+$(addprefix obj-static/,$(OBJECTS)): | stamp-libgnatprj-sources obj-static
313
+obj-static/%.o: %.adb
314
+ $(GCC) -c $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
316
+obj-static/%.o: %.ads
317
+ $(GCC) -c $(ADAFLAGS) $(LIBGNAT_JUST_BUILT) $(LIBGNATVSN) $< -o $@
320
+ $(GCC) -c $(CFLAGS) -I@srcdir@/../gcc $< -o $@
322
+obj-static/prefix.o: @srcdir@/../gcc/prefix.c
323
+ $(GCC) -c $(CFLAGS) -DPREFIX=\"@prefix@\" -DBASEVER=\"$(BASEVER)\" \
324
+ -I@srcdir@/../gcc -I@srcdir@/../include -I../gcc -I@srcdir@/../libcpp/include \
327
+obj-static/%.o: @srcdir@/../libiberty/%.c
328
+ $(GCC) -c -fPIC $(CFLAGS) \
329
+ -I@srcdir@/../libiberty -I@srcdir@/../include $< -o $@
334
+$(SOURCES): stamp-libgnatprj-sources
336
+stamp-libgnatprj-sources:
337
+ for file in $(PRJ_SOURCES); do \
338
+ ads=$$(echo $$file | sed 's/\.adb/.ads/'); \
339
+ if [ -f @srcdir@/../gcc/ada/$$file -a ! -L $$file ] ; then $(LN_S) @srcdir@/../gcc/ada/$$file .; fi; \
340
+ if [ -f @srcdir@/../gcc/ada/$$ads -a ! -L $$ads ] ; then $(LN_S) @srcdir@/../gcc/ada/$$ads .; fi; \
342
+ for file in $(GENERATED_SOURCES); do \
343
+ ads=$$(echo $$file | sed 's/\.adb/.ads/'); \
344
+ if [ -f ../gcc/ada/$$file -a ! -L $$file ] ; then $(LN_S) ../gcc/ada/$$file .; fi; \
345
+ if [ -f ../gcc/ada/$$ads -a ! -L $$ads ] ; then $(LN_S) ../gcc/ada/$$ads .; \
347
+ if [ -f @srcdir@/../gcc/ada/$$ads -a ! -L $$ads ] ; then $(LN_S) @srcdir@/../gcc/ada/$$ads .; fi; \
350
+ $(foreach PAIR,$(TOOLS_TARGET_PAIRS), \
351
+ rm -f $(word 1,$(subst <, ,$(PAIR)));\
352
+ $(LN_S) @srcdir@/../gcc/ada/$(word 2,$(subst <, ,$(PAIR))) \
353
+ $(word 1,$(subst <, ,$(PAIR)));)
356
+# Generate a list of source files (.ads and .adb) to install. Almost
357
+# all of them are in src/gcc/ada, but some are generated during build
358
+# and are in build/gcc/ada.
359
+BODIES := $(filter %.adb,$(PRJ_SOURCES))
360
+SPECS := $(filter %.ads,$(PRJ_SOURCES)) $(patsubst %.adb,%.ads,$(BODIES) $(GENERATED_SOURCES))
361
+SOURCES_TO_INSTALL := \
362
+$(addprefix @srcdir@/../gcc/ada/,$(SPECS) $(BODIES)) \
363
+$(addprefix ../gcc/ada/,$(GENERATED_SOURCES))
368
+ $(INSTALL_DATA) libgnatprj.a $(DESTDIR)$(libdir)
369
+ $(INSTALL_DATA) libgnatprj.so.$(LIB_VERSION) $(DESTDIR)$(libdir)
370
+ cd $(DESTDIR)$(libdir); ln -sf libgnatprj.so.$(LIB_VERSION) libgnatprj.so
371
+ mkdir -p $(DESTDIR)$(prefix)/share/ada/adainclude/gnatprj
372
+ $(INSTALL_DATA) $(SOURCES_TO_INSTALL) \
373
+ $(DESTDIR)$(prefix)/share/ada/adainclude/gnatprj
374
+ mkdir -p $(DESTDIR)$(prefix)/lib/ada/adalib/gnatprj
375
+ $(INSTALL) -m 0444 obj-shared/*.ali \
376
+ $(DESTDIR)$(prefix)/lib/ada/adalib/gnatprj
377
+ chmod a=r $(DESTDIR)$(prefix)/lib/ada/adalib/gnatprj/*.ali
381
+ rm -rf *.ali obj-static obj-shared libgnatprj* *.adb *.ads stamp*
382
Index: b/src/Makefile.def
383
===================================================================
384
--- a/src/Makefile.def
385
+++ b/src/Makefile.def
388
missing= install-info;
389
missing= installcheck; };
390
+host_modules= { module= libgnatprj; no_check=true;
395
+ missing= install-info;
396
+ missing= installcheck; };
397
host_modules= { module= gnattools; no_check=true;
402
missing= install-info;
403
missing= installcheck; };
404
+target_modules = { module= libgnatprj; no_check=true;
409
+ missing= install-info;
410
+ missing= installcheck; };
411
target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
412
target_modules = { module= libitm; lib_path=.libs; };
413
target_modules = { module= libatomic; lib_path=.libs; };
416
dependencies = { module=all-gnattools; on=all-libada; };
417
dependencies = { module=all-gnattools; on=all-libgnatvsn; };
418
+dependencies = { module=all-gnattools; on=all-libgnatprj; };
419
dependencies = { module=all-libgnatvsn; on=all-libada; };
420
+dependencies = { module=all-libgnatprj; on=all-libada; };
421
+dependencies = { module=all-libgnatprj; on=all-libgnatvsn; };
423
dependencies = { module=all-lto-plugin; on=all-libiberty; };
425
Index: b/src/Makefile.in
426
===================================================================
427
--- a/src/Makefile.in
428
+++ b/src/Makefile.in
430
maybe-configure-utils \
431
maybe-configure-libada \
432
maybe-configure-libgnatvsn \
433
+ maybe-configure-libgnatprj \
434
maybe-configure-gnattools \
435
maybe-configure-lto-plugin
436
.PHONY: configure-target
438
maybe-configure-target-rda \
439
maybe-configure-target-libada \
440
maybe-configure-target-libgnatvsn \
441
+ maybe-configure-target-libgnatprj \
442
maybe-configure-target-libgomp \
443
maybe-configure-target-libitm \
444
maybe-configure-target-libatomic
445
@@ -1067,6 +1069,7 @@
446
all-host: maybe-all-utils
447
all-host: maybe-all-libada
448
all-host: maybe-all-libgnatvsn
449
+all-host: maybe-all-libgnatprj
450
all-host: maybe-all-gnattools
451
@if lto-plugin-no-bootstrap
452
all-host: maybe-all-lto-plugin
453
@@ -1101,6 +1104,7 @@
454
all-target: maybe-all-target-rda
455
all-target: maybe-all-target-libada
456
all-target: maybe-all-target-libgnatvsn
457
+all-target: maybe-all-target-libgnatprj
458
@if target-libgomp-no-bootstrap
459
all-target: maybe-all-target-libgomp
460
@endif target-libgomp-no-bootstrap
461
@@ -1167,6 +1171,7 @@
462
info-host: maybe-info-utils
463
info-host: maybe-info-libada
464
info-host: maybe-info-libgnatvsn
465
+info-host: maybe-info-libgnatprj
466
info-host: maybe-info-gnattools
467
info-host: maybe-info-lto-plugin
469
@@ -1193,6 +1198,7 @@
470
info-target: maybe-info-target-rda
471
info-target: maybe-info-target-libada
472
info-target: maybe-info-target-libgnatvsn
473
+info-target: maybe-info-target-libgnatprj
474
info-target: maybe-info-target-libgomp
475
info-target: maybe-info-target-libitm
476
info-target: maybe-info-target-libatomic
477
@@ -1252,6 +1258,7 @@
478
dvi-host: maybe-dvi-utils
479
dvi-host: maybe-dvi-libada
480
dvi-host: maybe-dvi-libgnatvsn
481
+dvi-host: maybe-dvi-libgnatprj
482
dvi-host: maybe-dvi-gnattools
483
dvi-host: maybe-dvi-lto-plugin
485
@@ -1278,6 +1285,7 @@
486
dvi-target: maybe-dvi-target-rda
487
dvi-target: maybe-dvi-target-libada
488
dvi-target: maybe-dvi-target-libgnatvsn
489
+dvi-target: maybe-dvi-target-libgnatprj
490
dvi-target: maybe-dvi-target-libgomp
491
dvi-target: maybe-dvi-target-libitm
492
dvi-target: maybe-dvi-target-libatomic
493
@@ -1337,6 +1345,7 @@
494
pdf-host: maybe-pdf-utils
495
pdf-host: maybe-pdf-libada
496
pdf-host: maybe-pdf-libgnatvsn
497
+pdf-host: maybe-pdf-libgnatprj
498
pdf-host: maybe-pdf-gnattools
499
pdf-host: maybe-pdf-lto-plugin
501
@@ -1363,6 +1372,7 @@
502
pdf-target: maybe-pdf-target-rda
503
pdf-target: maybe-pdf-target-libada
504
pdf-target: maybe-pdf-target-libgnatvsn
505
+pdf-target: maybe-pdf-target-libgnatprj
506
pdf-target: maybe-pdf-target-libgomp
507
pdf-target: maybe-pdf-target-libitm
508
pdf-target: maybe-pdf-target-libatomic
509
@@ -1422,6 +1432,7 @@
510
html-host: maybe-html-utils
511
html-host: maybe-html-libada
512
html-host: maybe-html-libgnatvsn
513
+html-host: maybe-html-libgnatprj
514
html-host: maybe-html-gnattools
515
html-host: maybe-html-lto-plugin
517
@@ -1448,6 +1459,7 @@
518
html-target: maybe-html-target-rda
519
html-target: maybe-html-target-libada
520
html-target: maybe-html-target-libgnatvsn
521
+html-target: maybe-html-target-libgnatprj
522
html-target: maybe-html-target-libgomp
523
html-target: maybe-html-target-libitm
524
html-target: maybe-html-target-libatomic
525
@@ -1507,6 +1519,7 @@
526
TAGS-host: maybe-TAGS-utils
527
TAGS-host: maybe-TAGS-libada
528
TAGS-host: maybe-TAGS-libgnatvsn
529
+TAGS-host: maybe-TAGS-libgnatprj
530
TAGS-host: maybe-TAGS-gnattools
531
TAGS-host: maybe-TAGS-lto-plugin
533
@@ -1533,6 +1546,7 @@
534
TAGS-target: maybe-TAGS-target-rda
535
TAGS-target: maybe-TAGS-target-libada
536
TAGS-target: maybe-TAGS-target-libgnatvsn
537
+TAGS-target: maybe-TAGS-target-libgnatprj
538
TAGS-target: maybe-TAGS-target-libgomp
539
TAGS-target: maybe-TAGS-target-libitm
540
TAGS-target: maybe-TAGS-target-libatomic
541
@@ -1592,6 +1606,7 @@
542
install-info-host: maybe-install-info-utils
543
install-info-host: maybe-install-info-libada
544
install-info-host: maybe-install-info-libgnatvsn
545
+install-info-host: maybe-install-info-libgnatprj
546
install-info-host: maybe-install-info-gnattools
547
install-info-host: maybe-install-info-lto-plugin
549
@@ -1618,6 +1633,7 @@
550
install-info-target: maybe-install-info-target-rda
551
install-info-target: maybe-install-info-target-libada
552
install-info-target: maybe-install-info-target-libgnatvsn
553
+install-info-target: maybe-install-info-target-libgnatprj
554
install-info-target: maybe-install-info-target-libgomp
555
install-info-target: maybe-install-info-target-libitm
556
install-info-target: maybe-install-info-target-libatomic
557
@@ -1677,6 +1693,7 @@
558
install-pdf-host: maybe-install-pdf-utils
559
install-pdf-host: maybe-install-pdf-libada
560
install-pdf-host: maybe-install-pdf-libgnatvsn
561
+install-pdf-host: maybe-install-pdf-libgnatprj
562
install-pdf-host: maybe-install-pdf-gnattools
563
install-pdf-host: maybe-install-pdf-lto-plugin
565
@@ -1703,6 +1720,7 @@
566
install-pdf-target: maybe-install-pdf-target-rda
567
install-pdf-target: maybe-install-pdf-target-libada
568
install-pdf-target: maybe-install-pdf-target-libgnatvsn
569
+install-pdf-target: maybe-install-pdf-target-libgnatprj
570
install-pdf-target: maybe-install-pdf-target-libgomp
571
install-pdf-target: maybe-install-pdf-target-libitm
572
install-pdf-target: maybe-install-pdf-target-libatomic
573
@@ -1762,6 +1780,7 @@
574
install-html-host: maybe-install-html-utils
575
install-html-host: maybe-install-html-libada
576
install-html-host: maybe-install-html-libgnatvsn
577
+install-html-host: maybe-install-html-libgnatprj
578
install-html-host: maybe-install-html-gnattools
579
install-html-host: maybe-install-html-lto-plugin
581
@@ -1788,6 +1807,7 @@
582
install-html-target: maybe-install-html-target-rda
583
install-html-target: maybe-install-html-target-libada
584
install-html-target: maybe-install-html-target-libgnatvsn
585
+install-html-target: maybe-install-html-target-libgnatprj
586
install-html-target: maybe-install-html-target-libgomp
587
install-html-target: maybe-install-html-target-libitm
588
install-html-target: maybe-install-html-target-libatomic
589
@@ -1847,6 +1867,7 @@
590
installcheck-host: maybe-installcheck-utils
591
installcheck-host: maybe-installcheck-libada
592
installcheck-host: maybe-installcheck-libgnatvsn
593
+installcheck-host: maybe-installcheck-libgnatprj
594
installcheck-host: maybe-installcheck-gnattools
595
installcheck-host: maybe-installcheck-lto-plugin
597
@@ -1873,6 +1894,7 @@
598
installcheck-target: maybe-installcheck-target-rda
599
installcheck-target: maybe-installcheck-target-libada
600
installcheck-target: maybe-installcheck-target-libgnatvsn
601
+installcheck-target: maybe-installcheck-target-libgnatprj
602
installcheck-target: maybe-installcheck-target-libgomp
603
installcheck-target: maybe-installcheck-target-libitm
604
installcheck-target: maybe-installcheck-target-libatomic
605
@@ -1932,6 +1954,7 @@
606
mostlyclean-host: maybe-mostlyclean-utils
607
mostlyclean-host: maybe-mostlyclean-libada
608
mostlyclean-host: maybe-mostlyclean-libgnatvsn
609
+mostlyclean-host: maybe-mostlyclean-libgnatprj
610
mostlyclean-host: maybe-mostlyclean-gnattools
611
mostlyclean-host: maybe-mostlyclean-lto-plugin
613
@@ -1958,6 +1981,7 @@
614
mostlyclean-target: maybe-mostlyclean-target-rda
615
mostlyclean-target: maybe-mostlyclean-target-libada
616
mostlyclean-target: maybe-mostlyclean-target-libgnatvsn
617
+mostlyclean-target: maybe-mostlyclean-target-libgnatprj
618
mostlyclean-target: maybe-mostlyclean-target-libgomp
619
mostlyclean-target: maybe-mostlyclean-target-libitm
620
mostlyclean-target: maybe-mostlyclean-target-libatomic
621
@@ -2017,6 +2041,7 @@
622
clean-host: maybe-clean-utils
623
clean-host: maybe-clean-libada
624
clean-host: maybe-clean-libgnatvsn
625
+clean-host: maybe-clean-libgnatprj
626
clean-host: maybe-clean-gnattools
627
clean-host: maybe-clean-lto-plugin
629
@@ -2043,6 +2068,7 @@
630
clean-target: maybe-clean-target-rda
631
clean-target: maybe-clean-target-libada
632
clean-target: maybe-clean-target-libgnatvsn
633
+clean-target: maybe-clean-target-libgnatprj
634
clean-target: maybe-clean-target-libgomp
635
clean-target: maybe-clean-target-libitm
636
clean-target: maybe-clean-target-libatomic
637
@@ -2102,6 +2128,7 @@
638
distclean-host: maybe-distclean-utils
639
distclean-host: maybe-distclean-libada
640
distclean-host: maybe-distclean-libgnatvsn
641
+distclean-host: maybe-distclean-libgnatprj
642
distclean-host: maybe-distclean-gnattools
643
distclean-host: maybe-distclean-lto-plugin
645
@@ -2128,6 +2155,7 @@
646
distclean-target: maybe-distclean-target-rda
647
distclean-target: maybe-distclean-target-libada
648
distclean-target: maybe-distclean-target-libgnatvsn
649
+distclean-target: maybe-distclean-target-libgnatprj
650
distclean-target: maybe-distclean-target-libgomp
651
distclean-target: maybe-distclean-target-libitm
652
distclean-target: maybe-distclean-target-libatomic
653
@@ -2187,6 +2215,7 @@
654
maintainer-clean-host: maybe-maintainer-clean-utils
655
maintainer-clean-host: maybe-maintainer-clean-libada
656
maintainer-clean-host: maybe-maintainer-clean-libgnatvsn
657
+maintainer-clean-host: maybe-maintainer-clean-libgnatprj
658
maintainer-clean-host: maybe-maintainer-clean-gnattools
659
maintainer-clean-host: maybe-maintainer-clean-lto-plugin
661
@@ -2213,6 +2242,7 @@
662
maintainer-clean-target: maybe-maintainer-clean-target-rda
663
maintainer-clean-target: maybe-maintainer-clean-target-libada
664
maintainer-clean-target: maybe-maintainer-clean-target-libgnatvsn
665
+maintainer-clean-target: maybe-maintainer-clean-target-libgnatprj
666
maintainer-clean-target: maybe-maintainer-clean-target-libgomp
667
maintainer-clean-target: maybe-maintainer-clean-target-libitm
668
maintainer-clean-target: maybe-maintainer-clean-target-libatomic
669
@@ -2327,6 +2357,7 @@
672
maybe-check-libgnatvsn \
673
+ maybe-check-libgnatprj \
674
maybe-check-gnattools \
675
maybe-check-lto-plugin
677
@@ -2353,6 +2384,7 @@
678
maybe-check-target-rda \
679
maybe-check-target-libada \
680
maybe-check-target-libgnatvsn \
681
+ maybe-check-target-libgnatprj \
682
maybe-check-target-libgomp \
683
maybe-check-target-libitm \
684
maybe-check-target-libatomic
685
@@ -2438,6 +2470,7 @@
686
maybe-install-utils \
687
maybe-install-libada \
688
maybe-install-libgnatvsn \
689
+ maybe-install-libgnatprj \
690
maybe-install-gnattools \
691
maybe-install-lto-plugin
693
@@ -2487,6 +2520,7 @@
694
maybe-install-utils \
695
maybe-install-libada \
696
maybe-install-libgnatvsn \
697
+ maybe-install-libgnatprj \
698
maybe-install-gnattools \
699
maybe-install-lto-plugin
701
@@ -2513,6 +2547,7 @@
702
maybe-install-target-rda \
703
maybe-install-target-libada \
704
maybe-install-target-libgnatvsn \
705
+ maybe-install-target-libgnatprj \
706
maybe-install-target-libgomp \
707
maybe-install-target-libitm \
708
maybe-install-target-libatomic
709
@@ -2592,6 +2627,7 @@
710
maybe-install-strip-utils \
711
maybe-install-strip-libada \
712
maybe-install-strip-libgnatvsn \
713
+ maybe-install-strip-libgnatprj \
714
maybe-install-strip-gnattools \
715
maybe-install-strip-lto-plugin
717
@@ -2618,6 +2654,7 @@
718
maybe-install-strip-target-rda \
719
maybe-install-strip-target-libada \
720
maybe-install-strip-target-libgnatvsn \
721
+ maybe-install-strip-target-libgnatprj \
722
maybe-install-strip-target-libgomp \
723
maybe-install-strip-target-libitm \
724
maybe-install-strip-target-libatomic
725
@@ -30140,6 +30177,343 @@
729
+.PHONY: configure-libgnatprj maybe-configure-libgnatprj
730
+maybe-configure-libgnatprj:
732
+configure-libgnatprj: stage_current
733
+@endif gcc-bootstrap
735
+maybe-configure-libgnatprj: configure-libgnatprj
736
+configure-libgnatprj:
737
+ @: $(MAKE); $(unstage)
738
+ @r=`${PWD_COMMAND}`; export r; \
739
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
740
+ test ! -f $(HOST_SUBDIR)/libgnatprj/Makefile || exit 0; \
741
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgnatprj ; \
743
+ echo Configuring in $(HOST_SUBDIR)/libgnatprj; \
744
+ cd "$(HOST_SUBDIR)/libgnatprj" || exit 1; \
745
+ case $(srcdir) in \
746
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
747
+ *) topdir=`echo $(HOST_SUBDIR)/libgnatprj/ | \
748
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
750
+ srcdiroption="--srcdir=$${topdir}/libgnatprj"; \
751
+ libsrcdir="$$s/libgnatprj"; \
752
+ $(SHELL) $${libsrcdir}/configure \
753
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
754
+ --target=${target_alias} $${srcdiroption} \
762
+.PHONY: all-libgnatprj maybe-all-libgnatprj
763
+maybe-all-libgnatprj:
765
+all-libgnatprj: stage_current
766
+@endif gcc-bootstrap
768
+TARGET-libgnatprj=all
769
+maybe-all-libgnatprj: all-libgnatprj
770
+all-libgnatprj: configure-libgnatprj
771
+ @: $(MAKE); $(unstage)
772
+ @r=`${PWD_COMMAND}`; export r; \
773
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
775
+ (cd $(HOST_SUBDIR)/libgnatprj && \
776
+ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
777
+ $(TARGET-libgnatprj))
783
+.PHONY: check-libgnatprj maybe-check-libgnatprj
784
+maybe-check-libgnatprj:
786
+maybe-check-libgnatprj: check-libgnatprj
792
+.PHONY: install-libgnatprj maybe-install-libgnatprj
793
+maybe-install-libgnatprj:
795
+maybe-install-libgnatprj: install-libgnatprj
797
+install-libgnatprj: installdirs
798
+ @: $(MAKE); $(unstage)
799
+ @r=`${PWD_COMMAND}`; export r; \
800
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
802
+ (cd $(HOST_SUBDIR)/libgnatprj && \
803
+ $(MAKE) $(FLAGS_TO_PASS) install)
807
+.PHONY: install-strip-libgnatprj maybe-install-strip-libgnatprj
808
+maybe-install-strip-libgnatprj:
810
+maybe-install-strip-libgnatprj: install-strip-libgnatprj
812
+install-strip-libgnatprj: installdirs
813
+ @: $(MAKE); $(unstage)
814
+ @r=`${PWD_COMMAND}`; export r; \
815
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
817
+ (cd $(HOST_SUBDIR)/libgnatprj && \
818
+ $(MAKE) $(FLAGS_TO_PASS) install-strip)
822
+# Other targets (info, dvi, pdf, etc.)
824
+.PHONY: maybe-info-libgnatprj info-libgnatprj
825
+maybe-info-libgnatprj:
827
+maybe-info-libgnatprj: info-libgnatprj
829
+# libgnatprj doesn't support info.
834
+.PHONY: maybe-dvi-libgnatprj dvi-libgnatprj
835
+maybe-dvi-libgnatprj:
837
+maybe-dvi-libgnatprj: dvi-libgnatprj
839
+# libgnatprj doesn't support dvi.
844
+.PHONY: maybe-pdf-libgnatprj pdf-libgnatprj
845
+maybe-pdf-libgnatprj:
847
+maybe-pdf-libgnatprj: pdf-libgnatprj
850
+ configure-libgnatprj
851
+ @: $(MAKE); $(unstage)
852
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
853
+ r=`${PWD_COMMAND}`; export r; \
854
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
856
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
857
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
859
+ echo "Doing pdf in libgnatprj" ; \
860
+ (cd $(HOST_SUBDIR)/libgnatprj && \
861
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
862
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
863
+ "RANLIB=$${RANLIB}" \
864
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
870
+.PHONY: maybe-html-libgnatprj html-libgnatprj
871
+maybe-html-libgnatprj:
873
+maybe-html-libgnatprj: html-libgnatprj
875
+# libgnatprj doesn't support html.
880
+.PHONY: maybe-TAGS-libgnatprj TAGS-libgnatprj
881
+maybe-TAGS-libgnatprj:
883
+maybe-TAGS-libgnatprj: TAGS-libgnatprj
885
+# libgnatprj doesn't support TAGS.
890
+.PHONY: maybe-install-info-libgnatprj install-info-libgnatprj
891
+maybe-install-info-libgnatprj:
893
+maybe-install-info-libgnatprj: install-info-libgnatprj
895
+# libgnatprj doesn't support install-info.
896
+install-info-libgnatprj:
900
+.PHONY: maybe-install-pdf-libgnatprj install-pdf-libgnatprj
901
+maybe-install-pdf-libgnatprj:
903
+maybe-install-pdf-libgnatprj: install-pdf-libgnatprj
905
+install-pdf-libgnatprj: \
906
+ configure-libgnatprj \
908
+ @: $(MAKE); $(unstage)
909
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
910
+ r=`${PWD_COMMAND}`; export r; \
911
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
913
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
914
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
916
+ echo "Doing install-pdf in libgnatprj" ; \
917
+ (cd $(HOST_SUBDIR)/libgnatprj && \
918
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
919
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
920
+ "RANLIB=$${RANLIB}" \
921
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
927
+.PHONY: maybe-install-html-libgnatprj install-html-libgnatprj
928
+maybe-install-html-libgnatprj:
930
+maybe-install-html-libgnatprj: install-html-libgnatprj
932
+install-html-libgnatprj: \
933
+ configure-libgnatprj \
935
+ @: $(MAKE); $(unstage)
936
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
937
+ r=`${PWD_COMMAND}`; export r; \
938
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
940
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
941
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
943
+ echo "Doing install-html in libgnatprj" ; \
944
+ (cd $(HOST_SUBDIR)/libgnatprj && \
945
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
946
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
947
+ "RANLIB=$${RANLIB}" \
948
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
954
+.PHONY: maybe-installcheck-libgnatprj installcheck-libgnatprj
955
+maybe-installcheck-libgnatprj:
957
+maybe-installcheck-libgnatprj: installcheck-libgnatprj
959
+# libgnatprj doesn't support installcheck.
960
+installcheck-libgnatprj:
964
+.PHONY: maybe-mostlyclean-libgnatprj mostlyclean-libgnatprj
965
+maybe-mostlyclean-libgnatprj:
967
+maybe-mostlyclean-libgnatprj: mostlyclean-libgnatprj
969
+mostlyclean-libgnatprj:
970
+ @: $(MAKE); $(unstage)
971
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
972
+ r=`${PWD_COMMAND}`; export r; \
973
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
975
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
976
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
978
+ echo "Doing mostlyclean in libgnatprj" ; \
979
+ (cd $(HOST_SUBDIR)/libgnatprj && \
980
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
981
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
982
+ "RANLIB=$${RANLIB}" \
983
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
989
+.PHONY: maybe-clean-libgnatprj clean-libgnatprj
990
+maybe-clean-libgnatprj:
992
+maybe-clean-libgnatprj: clean-libgnatprj
995
+ @: $(MAKE); $(unstage)
996
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
997
+ r=`${PWD_COMMAND}`; export r; \
998
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1000
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1001
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1003
+ echo "Doing clean in libgnatprj" ; \
1004
+ (cd $(HOST_SUBDIR)/libgnatprj && \
1005
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1006
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1007
+ "RANLIB=$${RANLIB}" \
1008
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1014
+.PHONY: maybe-distclean-libgnatprj distclean-libgnatprj
1015
+maybe-distclean-libgnatprj:
1017
+maybe-distclean-libgnatprj: distclean-libgnatprj
1019
+distclean-libgnatprj:
1020
+ @: $(MAKE); $(unstage)
1021
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
1022
+ r=`${PWD_COMMAND}`; export r; \
1023
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1025
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1026
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1028
+ echo "Doing distclean in libgnatprj" ; \
1029
+ (cd $(HOST_SUBDIR)/libgnatprj && \
1030
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1031
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1032
+ "RANLIB=$${RANLIB}" \
1033
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1039
+.PHONY: maybe-maintainer-clean-libgnatprj maintainer-clean-libgnatprj
1040
+maybe-maintainer-clean-libgnatprj:
1042
+maybe-maintainer-clean-libgnatprj: maintainer-clean-libgnatprj
1044
+maintainer-clean-libgnatprj:
1045
+ @: $(MAKE); $(unstage)
1046
+ @[ -f ./libgnatprj/Makefile ] || exit 0; \
1047
+ r=`${PWD_COMMAND}`; export r; \
1048
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1050
+ for flag in $(EXTRA_HOST_FLAGS) ; do \
1051
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1053
+ echo "Doing maintainer-clean in libgnatprj" ; \
1054
+ (cd $(HOST_SUBDIR)/libgnatprj && \
1055
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1056
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1057
+ "RANLIB=$${RANLIB}" \
1058
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1059
+ maintainer-clean) \
1066
.PHONY: configure-gnattools maybe-configure-gnattools
1067
maybe-configure-gnattools:
1069
@@ -42211,6 +42585,361 @@
1073
+.PHONY: configure-target-libgnatprj maybe-configure-target-libgnatprj
1074
+maybe-configure-target-libgnatprj:
1076
+configure-target-libgnatprj: stage_current
1077
+@endif gcc-bootstrap
1078
+@if target-libgnatprj
1079
+maybe-configure-target-libgnatprj: configure-target-libgnatprj
1080
+configure-target-libgnatprj:
1081
+ @: $(MAKE); $(unstage)
1082
+ @r=`${PWD_COMMAND}`; export r; \
1083
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1084
+ echo "Checking multilib configuration for libgnatprj..."; \
1085
+ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgnatprj ; \
1086
+ $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgnatprj/multilib.tmp 2> /dev/null ; \
1087
+ if test -r $(TARGET_SUBDIR)/libgnatprj/multilib.out; then \
1088
+ if cmp -s $(TARGET_SUBDIR)/libgnatprj/multilib.tmp $(TARGET_SUBDIR)/libgnatprj/multilib.out; then \
1089
+ rm -f $(TARGET_SUBDIR)/libgnatprj/multilib.tmp; \
1091
+ rm -f $(TARGET_SUBDIR)/libgnatprj/Makefile; \
1092
+ mv $(TARGET_SUBDIR)/libgnatprj/multilib.tmp $(TARGET_SUBDIR)/libgnatprj/multilib.out; \
1095
+ mv $(TARGET_SUBDIR)/libgnatprj/multilib.tmp $(TARGET_SUBDIR)/libgnatprj/multilib.out; \
1097
+ test ! -f $(TARGET_SUBDIR)/libgnatprj/Makefile || exit 0; \
1098
+ $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgnatprj ; \
1099
+ $(NORMAL_TARGET_EXPORTS) \
1100
+ echo Configuring in $(TARGET_SUBDIR)/libgnatprj; \
1101
+ cd "$(TARGET_SUBDIR)/libgnatprj" || exit 1; \
1102
+ case $(srcdir) in \
1103
+ /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
1104
+ *) topdir=`echo $(TARGET_SUBDIR)/libgnatprj/ | \
1105
+ sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
1107
+ srcdiroption="--srcdir=$${topdir}/libgnatprj"; \
1108
+ libsrcdir="$$s/libgnatprj"; \
1109
+ rm -f no-such-file || : ; \
1110
+ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1111
+ $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
1112
+ --target=${target_alias} $${srcdiroption} \
1114
+@endif target-libgnatprj
1120
+.PHONY: all-target-libgnatprj maybe-all-target-libgnatprj
1121
+maybe-all-target-libgnatprj:
1123
+all-target-libgnatprj: stage_current
1124
+@endif gcc-bootstrap
1125
+@if target-libgnatprj
1126
+TARGET-target-libgnatprj=all
1127
+maybe-all-target-libgnatprj: all-target-libgnatprj
1128
+all-target-libgnatprj: configure-target-libgnatprj
1129
+ @: $(MAKE); $(unstage)
1130
+ @r=`${PWD_COMMAND}`; export r; \
1131
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1132
+ $(NORMAL_TARGET_EXPORTS) \
1133
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1134
+ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
1135
+ $(TARGET-target-libgnatprj))
1136
+@endif target-libgnatprj
1142
+.PHONY: check-target-libgnatprj maybe-check-target-libgnatprj
1143
+maybe-check-target-libgnatprj:
1144
+@if target-libgnatprj
1145
+maybe-check-target-libgnatprj: check-target-libgnatprj
1147
+# Dummy target for uncheckable module.
1148
+check-target-libgnatprj:
1150
+@endif target-libgnatprj
1152
+.PHONY: install-target-libgnatprj maybe-install-target-libgnatprj
1153
+maybe-install-target-libgnatprj:
1154
+@if target-libgnatprj
1155
+maybe-install-target-libgnatprj: install-target-libgnatprj
1157
+install-target-libgnatprj: installdirs
1158
+ @: $(MAKE); $(unstage)
1159
+ @r=`${PWD_COMMAND}`; export r; \
1160
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1161
+ $(NORMAL_TARGET_EXPORTS) \
1162
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1163
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
1165
+@endif target-libgnatprj
1167
+.PHONY: install-strip-target-libgnatprj maybe-install-strip-target-libgnatprj
1168
+maybe-install-strip-target-libgnatprj:
1169
+@if target-libgnatprj
1170
+maybe-install-strip-target-libgnatprj: install-strip-target-libgnatprj
1172
+install-strip-target-libgnatprj: installdirs
1173
+ @: $(MAKE); $(unstage)
1174
+ @r=`${PWD_COMMAND}`; export r; \
1175
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1176
+ $(NORMAL_TARGET_EXPORTS) \
1177
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1178
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
1180
+@endif target-libgnatprj
1182
+# Other targets (info, dvi, pdf, etc.)
1184
+.PHONY: maybe-info-target-libgnatprj info-target-libgnatprj
1185
+maybe-info-target-libgnatprj:
1186
+@if target-libgnatprj
1187
+maybe-info-target-libgnatprj: info-target-libgnatprj
1189
+# libgnatprj doesn't support info.
1190
+info-target-libgnatprj:
1192
+@endif target-libgnatprj
1194
+.PHONY: maybe-dvi-target-libgnatprj dvi-target-libgnatprj
1195
+maybe-dvi-target-libgnatprj:
1196
+@if target-libgnatprj
1197
+maybe-dvi-target-libgnatprj: dvi-target-libgnatprj
1199
+# libgnatprj doesn't support dvi.
1200
+dvi-target-libgnatprj:
1202
+@endif target-libgnatprj
1204
+.PHONY: maybe-pdf-target-libgnatprj pdf-target-libgnatprj
1205
+maybe-pdf-target-libgnatprj:
1206
+@if target-libgnatprj
1207
+maybe-pdf-target-libgnatprj: pdf-target-libgnatprj
1209
+pdf-target-libgnatprj: \
1210
+ configure-target-libgnatprj
1211
+ @: $(MAKE); $(unstage)
1212
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1213
+ r=`${PWD_COMMAND}`; export r; \
1214
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1215
+ $(NORMAL_TARGET_EXPORTS) \
1216
+ echo "Doing pdf in $(TARGET_SUBDIR)/libgnatprj" ; \
1217
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1218
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1220
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1221
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1222
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1223
+ "RANLIB=$${RANLIB}" \
1224
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1228
+@endif target-libgnatprj
1230
+.PHONY: maybe-html-target-libgnatprj html-target-libgnatprj
1231
+maybe-html-target-libgnatprj:
1232
+@if target-libgnatprj
1233
+maybe-html-target-libgnatprj: html-target-libgnatprj
1235
+# libgnatprj doesn't support html.
1236
+html-target-libgnatprj:
1238
+@endif target-libgnatprj
1240
+.PHONY: maybe-TAGS-target-libgnatprj TAGS-target-libgnatprj
1241
+maybe-TAGS-target-libgnatprj:
1242
+@if target-libgnatprj
1243
+maybe-TAGS-target-libgnatprj: TAGS-target-libgnatprj
1245
+# libgnatprj doesn't support TAGS.
1246
+TAGS-target-libgnatprj:
1248
+@endif target-libgnatprj
1250
+.PHONY: maybe-install-info-target-libgnatprj install-info-target-libgnatprj
1251
+maybe-install-info-target-libgnatprj:
1252
+@if target-libgnatprj
1253
+maybe-install-info-target-libgnatprj: install-info-target-libgnatprj
1255
+# libgnatprj doesn't support install-info.
1256
+install-info-target-libgnatprj:
1258
+@endif target-libgnatprj
1260
+.PHONY: maybe-install-pdf-target-libgnatprj install-pdf-target-libgnatprj
1261
+maybe-install-pdf-target-libgnatprj:
1262
+@if target-libgnatprj
1263
+maybe-install-pdf-target-libgnatprj: install-pdf-target-libgnatprj
1265
+install-pdf-target-libgnatprj: \
1266
+ configure-target-libgnatprj \
1267
+ pdf-target-libgnatprj
1268
+ @: $(MAKE); $(unstage)
1269
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1270
+ r=`${PWD_COMMAND}`; export r; \
1271
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1272
+ $(NORMAL_TARGET_EXPORTS) \
1273
+ echo "Doing install-pdf in $(TARGET_SUBDIR)/libgnatprj" ; \
1274
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1275
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1277
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1278
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1279
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1280
+ "RANLIB=$${RANLIB}" \
1281
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1285
+@endif target-libgnatprj
1287
+.PHONY: maybe-install-html-target-libgnatprj install-html-target-libgnatprj
1288
+maybe-install-html-target-libgnatprj:
1289
+@if target-libgnatprj
1290
+maybe-install-html-target-libgnatprj: install-html-target-libgnatprj
1292
+install-html-target-libgnatprj: \
1293
+ configure-target-libgnatprj \
1294
+ html-target-libgnatprj
1295
+ @: $(MAKE); $(unstage)
1296
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1297
+ r=`${PWD_COMMAND}`; export r; \
1298
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1299
+ $(NORMAL_TARGET_EXPORTS) \
1300
+ echo "Doing install-html in $(TARGET_SUBDIR)/libgnatprj" ; \
1301
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1302
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1304
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1305
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1306
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1307
+ "RANLIB=$${RANLIB}" \
1308
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1312
+@endif target-libgnatprj
1314
+.PHONY: maybe-installcheck-target-libgnatprj installcheck-target-libgnatprj
1315
+maybe-installcheck-target-libgnatprj:
1316
+@if target-libgnatprj
1317
+maybe-installcheck-target-libgnatprj: installcheck-target-libgnatprj
1319
+# libgnatprj doesn't support installcheck.
1320
+installcheck-target-libgnatprj:
1322
+@endif target-libgnatprj
1324
+.PHONY: maybe-mostlyclean-target-libgnatprj mostlyclean-target-libgnatprj
1325
+maybe-mostlyclean-target-libgnatprj:
1326
+@if target-libgnatprj
1327
+maybe-mostlyclean-target-libgnatprj: mostlyclean-target-libgnatprj
1329
+mostlyclean-target-libgnatprj:
1330
+ @: $(MAKE); $(unstage)
1331
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1332
+ r=`${PWD_COMMAND}`; export r; \
1333
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1334
+ $(NORMAL_TARGET_EXPORTS) \
1335
+ echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgnatprj" ; \
1336
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1337
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1339
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1340
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1341
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1342
+ "RANLIB=$${RANLIB}" \
1343
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1347
+@endif target-libgnatprj
1349
+.PHONY: maybe-clean-target-libgnatprj clean-target-libgnatprj
1350
+maybe-clean-target-libgnatprj:
1351
+@if target-libgnatprj
1352
+maybe-clean-target-libgnatprj: clean-target-libgnatprj
1354
+clean-target-libgnatprj:
1355
+ @: $(MAKE); $(unstage)
1356
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1357
+ r=`${PWD_COMMAND}`; export r; \
1358
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1359
+ $(NORMAL_TARGET_EXPORTS) \
1360
+ echo "Doing clean in $(TARGET_SUBDIR)/libgnatprj" ; \
1361
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1362
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1364
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1365
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1366
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1367
+ "RANLIB=$${RANLIB}" \
1368
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1372
+@endif target-libgnatprj
1374
+.PHONY: maybe-distclean-target-libgnatprj distclean-target-libgnatprj
1375
+maybe-distclean-target-libgnatprj:
1376
+@if target-libgnatprj
1377
+maybe-distclean-target-libgnatprj: distclean-target-libgnatprj
1379
+distclean-target-libgnatprj:
1380
+ @: $(MAKE); $(unstage)
1381
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1382
+ r=`${PWD_COMMAND}`; export r; \
1383
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1384
+ $(NORMAL_TARGET_EXPORTS) \
1385
+ echo "Doing distclean in $(TARGET_SUBDIR)/libgnatprj" ; \
1386
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1387
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1389
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
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}" \
1397
+@endif target-libgnatprj
1399
+.PHONY: maybe-maintainer-clean-target-libgnatprj maintainer-clean-target-libgnatprj
1400
+maybe-maintainer-clean-target-libgnatprj:
1401
+@if target-libgnatprj
1402
+maybe-maintainer-clean-target-libgnatprj: maintainer-clean-target-libgnatprj
1404
+maintainer-clean-target-libgnatprj:
1405
+ @: $(MAKE); $(unstage)
1406
+ @[ -f $(TARGET_SUBDIR)/libgnatprj/Makefile ] || exit 0 ; \
1407
+ r=`${PWD_COMMAND}`; export r; \
1408
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1409
+ $(NORMAL_TARGET_EXPORTS) \
1410
+ echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgnatprj" ; \
1411
+ for flag in $(EXTRA_TARGET_FLAGS); do \
1412
+ eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1414
+ (cd $(TARGET_SUBDIR)/libgnatprj && \
1415
+ $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1416
+ "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1417
+ "RANLIB=$${RANLIB}" \
1418
+ "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
1419
+ maintainer-clean) \
1422
+@endif target-libgnatprj
1428
.PHONY: configure-target-libgomp maybe-configure-target-libgomp
1429
maybe-configure-target-libgomp:
1431
@@ -46265,6 +46994,7 @@
1432
configure-target-rda: stage_last
1433
configure-target-libada: stage_last
1434
configure-target-libgnatvsn: stage_last
1435
+configure-target-libgnatprj: stage_last
1436
configure-stage1-target-libgomp: maybe-all-stage1-gcc
1437
configure-stage2-target-libgomp: maybe-all-stage2-gcc
1438
configure-stage3-target-libgomp: maybe-all-stage3-gcc
1439
@@ -46297,6 +47027,7 @@
1440
configure-target-rda: maybe-all-gcc
1441
configure-target-libada: maybe-all-gcc
1442
configure-target-libgnatvsn: maybe-all-gcc
1443
+configure-target-libgnatprj: maybe-all-gcc
1444
configure-target-libgomp: maybe-all-gcc
1445
configure-target-libitm: maybe-all-gcc
1446
configure-target-libatomic: maybe-all-gcc
1447
@@ -46591,7 +47322,10 @@
1448
all-fixincludes: maybe-all-libiberty
1449
all-gnattools: maybe-all-libada
1450
all-gnattools: maybe-all-libgnatvsn
1451
+all-gnattools: maybe-all-libgnatprj
1452
all-libgnatvsn: maybe-all-libada
1453
+all-libgnatprj: maybe-all-libada
1454
+all-libgnatprj: maybe-all-libgnatvsn
1455
all-lto-plugin: maybe-all-libiberty
1457
all-stage1-lto-plugin: maybe-all-stage1-libiberty
1458
@@ -47128,6 +47862,7 @@
1459
configure-target-rda: maybe-all-target-libgcc
1460
configure-target-libada: maybe-all-target-libgcc
1461
configure-target-libgnatvsn: maybe-all-target-libgcc
1462
+configure-target-libgnatprj: maybe-all-target-libgcc
1463
configure-target-libgomp: maybe-all-target-libgcc
1464
configure-target-libitm: maybe-all-target-libgcc
1465
configure-target-libatomic: maybe-all-target-libgcc
1466
@@ -47174,6 +47909,8 @@
1468
configure-target-libgnatvsn: maybe-all-target-newlib maybe-all-target-libgloss
1470
+configure-target-libgnatprj: maybe-all-target-newlib maybe-all-target-libgloss
1472
configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
1474
configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
1475
Index: b/src/configure.ac
1476
===================================================================
1477
--- a/src/configure.ac
1478
+++ b/src/configure.ac
1481
# these libraries are used by various programs built for the host environment
1483
-host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv libada libgnatvsn"
1484
+host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv libada libgnatvsn libgnatprj"
1486
# these tools are built for the host environment
1487
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1492
+ target-libgnatprj \
1495
# these tools are built using the target libraries, and are intended to
1498
# Some are only suitable for cross toolchains.
1499
# Remove these if host=target.
1500
-cross_only="target-libgloss target-newlib target-opcodes target-libada target-libgnatvsn"
1501
+cross_only="target-libgloss target-newlib target-opcodes target-libada target-libgnatvsn target-libgnatprj"
1503
case $is_cross_compiler in
1504
no) skipdirs="${skipdirs} ${cross_only}" ;;
1506
ENABLE_LIBADA=$enableval,
1508
if test "${ENABLE_LIBADA}" != "yes" ; then
1509
- noconfigdirs="$noconfigdirs libgnatvsn gnattools"
1510
+ noconfigdirs="$noconfigdirs libgnatvsn libgnatprj gnattools"
1513
AC_ARG_ENABLE(libssp,
1514
Index: b/src/libgnatprj/configure.ac
1515
===================================================================
1517
+++ b/src/libgnatprj/configure.ac
1519
+# Configure script for libada.
1520
+# Copyright 2003, 2004 Free Software Foundation, Inc.
1522
+# This file is free software; you can redistribute it and/or modify it
1523
+# under the terms of the GNU General Public License as published by
1524
+# the Free Software Foundation; either version 2 of the License, or
1525
+# (at your option) any later version.
1527
+# This program is distributed in the hope that it will be useful, but
1528
+# WITHOUT ANY WARRANTY; without even the implied warranty of
1529
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1530
+# General Public License for more details.
1532
+# You should have received a copy of the GNU General Public License
1533
+# along with this program; if not, write to the Free Software
1534
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1539
+AC_CONFIG_SRCDIR([Makefile.in])
1541
+# Start of actual configure tests
1547
+AC_CANONICAL_TARGET
1549
+sinclude(../config/acx.m4)
1550
+ACX_NONCANONICAL_TARGET
1552
+# Need to pass this down for now :-P
1555
+# Determine x_ada_cflags
1557
+ hppa*) x_ada_cflags=-mdisable-indexing ;;
1558
+ *) x_ada_cflags= ;;
1560
+AC_SUBST([x_ada_cflags])
1562
+# Determine what to build for 'gnattools'
1563
+if test $build = $target ; then
1564
+ # Note that build=target is almost certainly the wrong test; FIXME
1565
+ default_gnattools_target="gnattools-native"
1567
+ default_gnattools_target="gnattools-cross"
1569
+AC_SUBST([default_gnattools_target])
1571
+# Target-specific stuff (defaults)
1572
+TOOLS_TARGET_PAIRS=
1573
+AC_SUBST(TOOLS_TARGET_PAIRS)
1575
+# Per-target case statement
1576
+# ---/----------------------
1577
+case "${target}" in
1578
+ alpha*-dec-vx*) # Unlike all other Vxworks
1581
+ | powerpc*-wrs-vxworks \
1582
+ | sparc*-wrs-vx* \
1583
+ | *86-wrs-vxworks \
1584
+ | xscale*-wrs-vx* \
1585
+ | xscale*-wrs-coff \
1587
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb"
1589
+ sparc-sun-solaris*)
1590
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb"
1593
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb"
1597
+ | powerpc*-*-linux* \
1598
+ | *ia64-*-linux* \
1599
+ | alpha*-*-linux* \
1600
+ | sparc*-*-linux* \
1601
+ | hppa*-*-linux* \
1602
+ | mips*-*-linux* \
1604
+ | *x86_64-*-linux* \
1605
+ | *86-*-kfreebsd*-gnu \
1607
+ | *x86_64-*-kfreebsd*-gnu )
1608
+ TOOLS_TARGET_PAIRS="\
1609
+ mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb"
1612
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb"
1615
+ TOOLS_TARGET_PAIRS="\
1616
+ mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb"
1619
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-irix.adb"
1621
+ hppa*-hp-hpux10*) # Unlike hpux11
1624
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-hpux.adb"
1627
+ TOOLS_TARGET_PAIRS="\
1628
+ mlib-tgt-specific.adb<mlib-tgt-specific-aix.adb"
1631
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-tru64.adb"
1633
+ alpha*-dec-vms* | alpha*-dec-openvms* | alpha*-dec-vms* \
1634
+ | alpha*-hp-vms* | alpha*-hp-openvms* | alpha*-hp-vms*)
1635
+ TOOLS_TARGET_PAIRS="\
1636
+ mlib-tgt-specific.adb<mlib-tgt-specific-vms-alpha.adb \
1637
+ symbols.adb<symbols-vms.adb \
1638
+ symbols-processing.adb<symbols-processing-vms-alpha.adb"
1640
+ ia64*-dec-vms* | ia64*-dec-openvms* | ia64*-dec-vms* \
1641
+ | ia64*-hp-vms* | ia64*-hp-openvms* | ia64*-hp-vms*)
1642
+ TOOLS_TARGET_PAIRS="\
1643
+ mlib-tgt-specific.adb<mlib-tgt-vms-ia64.adb \
1644
+ symbols.adb<symbols-vms.adb \
1645
+ symbols-processing.adb<symbols-processing-vms-ia64.adb"
1647
+ *-*-cygwin32* | *-*-mingw32* | *-*-pe)
1648
+ TOOLS_TARGET_PAIRS="\
1649
+ mlib-tgt-specific.adb<mlib-tgt-specific-mingw.adb"
1651
+ powerpc-*-darwin*)
1652
+ TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-darwin.adb"
1655
+ TOOLS_TARGET_PAIRS="\
1656
+ mlib-tgt-specific.adb<mlib-tgt-specific-lynxos.adb"
1660
+# Output: create a Makefile.
1661
+AC_CONFIG_FILES([Makefile])