2435
.PHONY: maybe-info-target-demangler info-target-demangler
2436
maybe-info-target-demangler:
2438
info-target-demangler: \
2439
configure-target-demangler
2440
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
2441
r=`${PWD_COMMAND}`; export r; \
2442
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2444
echo "Doing info in $(TARGET_SUBDIR)/demangler" ; \
2445
for flag in $(EXTRA_TARGET_FLAGS); do \
2446
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2448
(cd $(TARGET_SUBDIR)/demangler && \
2449
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2450
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2451
"RANLIB=$${RANLIB}" \
2452
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2457
2412
.PHONY: maybe-info-target-gperf info-target-gperf
2458
2413
maybe-info-target-gperf:
2588
.PHONY: maybe-info-target-libada info-target-libada
2589
maybe-info-target-libada:
2591
info-target-libada: \
2592
configure-target-libada
2593
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
2594
r=`${PWD_COMMAND}`; export r; \
2595
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597
echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
2598
for flag in $(EXTRA_TARGET_FLAGS); do \
2599
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2601
(cd $(TARGET_SUBDIR)/libada && \
2602
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2603
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2604
"RANLIB=$${RANLIB}" \
2605
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2635
2612
do-dvi: dvi-host dvi-target
4357
.PHONY: maybe-dvi-target-demangler dvi-target-demangler
4358
maybe-dvi-target-demangler:
4360
dvi-target-demangler: \
4361
configure-target-demangler
4362
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
4363
r=`${PWD_COMMAND}`; export r; \
4364
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4366
echo "Doing dvi in $(TARGET_SUBDIR)/demangler" ; \
4367
for flag in $(EXTRA_TARGET_FLAGS); do \
4368
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4370
(cd $(TARGET_SUBDIR)/demangler && \
4371
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4372
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4373
"RANLIB=$${RANLIB}" \
4374
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4379
4311
.PHONY: maybe-dvi-target-gperf dvi-target-gperf
4380
4312
maybe-dvi-target-gperf:
4487
.PHONY: maybe-dvi-target-libada dvi-target-libada
4488
maybe-dvi-target-libada:
4490
dvi-target-libada: \
4491
configure-target-libada
4492
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
4493
r=`${PWD_COMMAND}`; export r; \
4494
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4496
echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
4497
for flag in $(EXTRA_TARGET_FLAGS); do \
4498
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4500
(cd $(TARGET_SUBDIR)/libada && \
4501
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4502
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4503
"RANLIB=$${RANLIB}" \
4504
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4556
4510
.PHONY: do-TAGS
4557
4511
do-TAGS: TAGS-host TAGS-target
6279
.PHONY: maybe-TAGS-target-demangler TAGS-target-demangler
6280
maybe-TAGS-target-demangler:
6282
TAGS-target-demangler: \
6283
configure-target-demangler
6284
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
6285
r=`${PWD_COMMAND}`; export r; \
6286
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6288
echo "Doing TAGS in $(TARGET_SUBDIR)/demangler" ; \
6289
for flag in $(EXTRA_TARGET_FLAGS); do \
6290
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6292
(cd $(TARGET_SUBDIR)/demangler && \
6293
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6294
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6295
"RANLIB=$${RANLIB}" \
6296
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6301
6210
.PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
6302
6211
maybe-TAGS-target-gperf:
6386
.PHONY: maybe-TAGS-target-libada TAGS-target-libada
6387
maybe-TAGS-target-libada:
6389
TAGS-target-libada: \
6390
configure-target-libada
6391
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
6392
r=`${PWD_COMMAND}`; export r; \
6393
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6395
echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
6396
for flag in $(EXTRA_TARGET_FLAGS); do \
6397
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6399
(cd $(TARGET_SUBDIR)/libada && \
6400
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6401
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6402
"RANLIB=$${RANLIB}" \
6403
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6478
6409
.PHONY: do-install-info
6479
6410
do-install-info: install-info-host install-info-target
6846
.PHONY: maybe-install-info-demangler install-info-demangler
6847
maybe-install-info-demangler:
6849
install-info-demangler: \
6850
configure-demangler \
6852
@[ -f ./demangler/Makefile ] || exit 0; \
6853
r=`${PWD_COMMAND}`; export r; \
6854
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6856
for flag in $(EXTRA_HOST_FLAGS); do \
6857
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859
echo "Doing install-info in demangler" ; \
6861
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6862
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6863
"RANLIB=$${RANLIB}" \
6864
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6869
6776
.PHONY: maybe-install-info-diff install-info-diff
6870
6777
maybe-install-info-diff:
8275
.PHONY: maybe-install-info-target-demangler install-info-target-demangler
8276
maybe-install-info-target-demangler:
8278
install-info-target-demangler: \
8279
configure-target-demangler \
8280
info-target-demangler
8281
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
8282
r=`${PWD_COMMAND}`; export r; \
8283
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8285
echo "Doing install-info in $(TARGET_SUBDIR)/demangler" ; \
8286
for flag in $(EXTRA_TARGET_FLAGS); do \
8287
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8289
(cd $(TARGET_SUBDIR)/demangler && \
8290
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8291
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8292
"RANLIB=$${RANLIB}" \
8293
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8298
8182
.PHONY: maybe-install-info-target-gperf install-info-target-gperf
8299
8183
maybe-install-info-target-gperf:
8366
.PHONY: maybe-install-info-target-libada install-info-target-libada
8367
maybe-install-info-target-libada:
8369
install-info-target-libada: \
8370
configure-target-libada \
8372
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
8373
r=`${PWD_COMMAND}`; export r; \
8374
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8376
echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
8377
for flag in $(EXTRA_TARGET_FLAGS); do \
8378
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8380
(cd $(TARGET_SUBDIR)/libada && \
8381
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8382
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8383
"RANLIB=$${RANLIB}" \
8384
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8483
8390
.PHONY: do-installcheck
8484
8391
do-installcheck: installcheck-host installcheck-target
8839
.PHONY: maybe-installcheck-demangler installcheck-demangler
8840
maybe-installcheck-demangler:
8842
installcheck-demangler: \
8844
@[ -f ./demangler/Makefile ] || exit 0; \
8845
r=`${PWD_COMMAND}`; export r; \
8846
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8848
for flag in $(EXTRA_HOST_FLAGS); do \
8849
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8851
echo "Doing installcheck in demangler" ; \
8853
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8854
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8855
"RANLIB=$${RANLIB}" \
8856
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8861
8745
.PHONY: maybe-installcheck-diff installcheck-diff
8862
8746
maybe-installcheck-diff:
10206
.PHONY: maybe-installcheck-target-demangler installcheck-target-demangler
10207
maybe-installcheck-target-demangler:
10209
installcheck-target-demangler: \
10210
configure-target-demangler
10211
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
10212
r=`${PWD_COMMAND}`; export r; \
10213
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215
echo "Doing installcheck in $(TARGET_SUBDIR)/demangler" ; \
10216
for flag in $(EXTRA_TARGET_FLAGS); do \
10217
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10219
(cd $(TARGET_SUBDIR)/demangler && \
10220
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10221
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10222
"RANLIB=$${RANLIB}" \
10223
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10228
10090
.PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
10229
10091
maybe-installcheck-target-gperf:
10266
.PHONY: maybe-installcheck-target-libada installcheck-target-libada
10267
maybe-installcheck-target-libada:
10269
installcheck-target-libada: \
10270
configure-target-libada
10271
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
10272
r=`${PWD_COMMAND}`; export r; \
10273
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10275
echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
10276
for flag in $(EXTRA_TARGET_FLAGS); do \
10277
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10279
(cd $(TARGET_SUBDIR)/libada && \
10280
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10281
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10282
"RANLIB=$${RANLIB}" \
10283
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10405
10289
.PHONY: do-mostlyclean
10406
10290
do-mostlyclean: mostlyclean-host mostlyclean-target
10749
.PHONY: maybe-mostlyclean-demangler mostlyclean-demangler
10750
maybe-mostlyclean-demangler:
10752
mostlyclean-demangler:
10753
@[ -f ./demangler/Makefile ] || exit 0; \
10754
r=`${PWD_COMMAND}`; export r; \
10755
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10757
for flag in $(EXTRA_HOST_FLAGS); do \
10758
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10760
echo "Doing mostlyclean in demangler" ; \
10762
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10763
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10764
"RANLIB=$${RANLIB}" \
10765
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10770
10632
.PHONY: maybe-mostlyclean-diff mostlyclean-diff
10771
10633
maybe-mostlyclean-diff:
12012
.PHONY: maybe-mostlyclean-target-demangler mostlyclean-target-demangler
12013
maybe-mostlyclean-target-demangler:
12015
mostlyclean-target-demangler:
12016
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
12017
r=`${PWD_COMMAND}`; export r; \
12018
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12020
echo "Doing mostlyclean in $(TARGET_SUBDIR)/demangler" ; \
12021
for flag in $(EXTRA_TARGET_FLAGS); do \
12022
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12024
(cd $(TARGET_SUBDIR)/demangler && \
12025
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12026
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12027
"RANLIB=$${RANLIB}" \
12028
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12033
11874
.PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
12034
11875
maybe-mostlyclean-target-gperf:
12042
.PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
12043
maybe-mostlyclean-target-libada:
12045
mostlyclean-target-libada:
12046
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
12047
r=`${PWD_COMMAND}`; export r; \
12048
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12050
echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
12051
for flag in $(EXTRA_TARGET_FLAGS); do \
12052
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12054
(cd $(TARGET_SUBDIR)/libada && \
12055
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12056
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12057
"RANLIB=$${RANLIB}" \
12058
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12202
12064
.PHONY: do-clean
12203
12065
do-clean: clean-host clean-target
13823
.PHONY: maybe-clean-target-demangler clean-target-demangler
13824
maybe-clean-target-demangler:
13826
clean-target-demangler:
13827
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
13828
r=`${PWD_COMMAND}`; export r; \
13829
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13831
echo "Doing clean in $(TARGET_SUBDIR)/demangler" ; \
13832
for flag in $(EXTRA_TARGET_FLAGS); do \
13833
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13835
(cd $(TARGET_SUBDIR)/demangler && \
13836
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13837
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13838
"RANLIB=$${RANLIB}" \
13839
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13844
13663
.PHONY: maybe-clean-target-gperf clean-target-gperf
13845
13664
maybe-clean-target-gperf:
13831
.PHONY: maybe-clean-target-libada clean-target-libada
13832
maybe-clean-target-libada:
13834
clean-target-libada:
13835
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
13836
r=`${PWD_COMMAND}`; export r; \
13837
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13839
echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
13840
for flag in $(EXTRA_TARGET_FLAGS); do \
13841
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13843
(cd $(TARGET_SUBDIR)/libada && \
13844
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13845
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13846
"RANLIB=$${RANLIB}" \
13847
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14013
13853
.PHONY: do-distclean
14014
13854
do-distclean: distclean-host distclean-target
14357
.PHONY: maybe-distclean-demangler distclean-demangler
14358
maybe-distclean-demangler:
14360
distclean-demangler:
14361
@[ -f ./demangler/Makefile ] || exit 0; \
14362
r=`${PWD_COMMAND}`; export r; \
14363
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365
for flag in $(EXTRA_HOST_FLAGS); do \
14366
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14368
echo "Doing distclean in demangler" ; \
14370
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14371
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14372
"RANLIB=$${RANLIB}" \
14373
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14378
14196
.PHONY: maybe-distclean-diff distclean-diff
14379
14197
maybe-distclean-diff:
15634
.PHONY: maybe-distclean-target-demangler distclean-target-demangler
15635
maybe-distclean-target-demangler:
15637
distclean-target-demangler:
15638
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
15639
r=`${PWD_COMMAND}`; export r; \
15640
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15642
echo "Doing distclean in $(TARGET_SUBDIR)/demangler" ; \
15643
for flag in $(EXTRA_TARGET_FLAGS); do \
15644
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15646
(cd $(TARGET_SUBDIR)/demangler && \
15647
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15648
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15649
"RANLIB=$${RANLIB}" \
15650
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15655
15452
.PHONY: maybe-distclean-target-gperf distclean-target-gperf
15656
15453
maybe-distclean-target-gperf:
15620
.PHONY: maybe-distclean-target-libada distclean-target-libada
15621
maybe-distclean-target-libada:
15623
distclean-target-libada:
15624
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
15625
r=`${PWD_COMMAND}`; export r; \
15626
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15628
echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
15629
for flag in $(EXTRA_TARGET_FLAGS); do \
15630
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15632
(cd $(TARGET_SUBDIR)/libada && \
15633
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15634
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15635
"RANLIB=$${RANLIB}" \
15636
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15824
15642
.PHONY: do-maintainer-clean
15825
15643
do-maintainer-clean: maintainer-clean-host maintainer-clean-target
16168
.PHONY: maybe-maintainer-clean-demangler maintainer-clean-demangler
16169
maybe-maintainer-clean-demangler:
16171
maintainer-clean-demangler:
16172
@[ -f ./demangler/Makefile ] || exit 0; \
16173
r=`${PWD_COMMAND}`; export r; \
16174
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16176
for flag in $(EXTRA_HOST_FLAGS); do \
16177
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16179
echo "Doing maintainer-clean in demangler" ; \
16181
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16182
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16183
"RANLIB=$${RANLIB}" \
16184
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16185
maintainer-clean) \
16189
15985
.PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
16190
15986
maybe-maintainer-clean-diff:
17445
.PHONY: maybe-maintainer-clean-target-demangler maintainer-clean-target-demangler
17446
maybe-maintainer-clean-target-demangler:
17448
maintainer-clean-target-demangler:
17449
@[ -f $(TARGET_SUBDIR)/demangler/Makefile ] || exit 0 ; \
17450
r=`${PWD_COMMAND}`; export r; \
17451
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17453
echo "Doing maintainer-clean in $(TARGET_SUBDIR)/demangler" ; \
17454
for flag in $(EXTRA_TARGET_FLAGS); do \
17455
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17457
(cd $(TARGET_SUBDIR)/demangler && \
17458
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17459
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17460
"RANLIB=$${RANLIB}" \
17461
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17462
maintainer-clean) \
17466
17241
.PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
17467
17242
maybe-maintainer-clean-target-gperf:
17409
.PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
17410
maybe-maintainer-clean-target-libada:
17412
maintainer-clean-target-libada:
17413
@[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
17414
r=`${PWD_COMMAND}`; export r; \
17415
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17417
echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
17418
for flag in $(EXTRA_TARGET_FLAGS); do \
17419
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17421
(cd $(TARGET_SUBDIR)/libada && \
17422
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17423
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17424
"RANLIB=$${RANLIB}" \
17425
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17426
maintainer-clean) \
17636
17432
# Here are the targets which correspond to the do-X targets.
18081
17875
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18082
17876
(cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
18084
.PHONY: configure-build-demangler maybe-configure-build-demangler
18085
maybe-configure-build-demangler:
18086
configure-build-demangler:
18087
@test ! -f $(BUILD_SUBDIR)/demangler/Makefile || exit 0; \
18088
$(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/demangler ; \
18089
r=`${PWD_COMMAND}`; export r; \
18090
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18091
AR="$(AR_FOR_BUILD)"; export AR; \
18092
AS="$(AS_FOR_BUILD)"; export AS; \
18093
CC="$(CC_FOR_BUILD)"; export CC; \
18094
CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
18095
CXX="$(CXX_FOR_BUILD)"; export CXX; \
18096
CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
18097
GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
18098
DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
18099
LD="$(LD_FOR_BUILD)"; export LD; \
18100
LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
18101
NM="$(NM_FOR_BUILD)"; export NM; \
18102
RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
18103
WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
18104
echo Configuring in $(BUILD_SUBDIR)/demangler; \
18105
cd "$(BUILD_SUBDIR)/demangler" || exit 1; \
18106
case $(srcdir) in \
18107
/* | [A-Za-z]:[\\/]*) \
18108
topdir=$(srcdir) ;; \
18110
case "$(BUILD_SUBDIR)" in \
18111
.) topdir="../$(srcdir)" ;; \
18112
*) topdir="../../$(srcdir)" ;; \
18115
if [ "$(srcdir)" = "." ] ; then \
18116
if [ "$(BUILD_SUBDIR)" != "." ] ; then \
18117
if $(SHELL) $$s/symlink-tree $${topdir}/demangler "no-such-file" ; then \
18118
if [ -f Makefile ]; then \
18119
if $(MAKE) distclean; then \
18133
srcdiroption="--srcdir=."; \
18136
srcdiroption="--srcdir=$${topdir}/demangler"; \
18137
libsrcdir="$$s/demangler"; \
18139
rm -f no-such-file || : ; \
18140
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
18141
$(BUILD_CONFIGARGS) $${srcdiroption} \
18142
--with-build-subdir="$(BUILD_SUBDIR)" \
18145
.PHONY: all-build-demangler maybe-all-build-demangler
18146
maybe-all-build-demangler:
18147
all-build-demangler: configure-build-demangler
18148
@r=`${PWD_COMMAND}`; export r; \
18149
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150
(cd $(BUILD_SUBDIR)/demangler && $(MAKE) all)
18153
17879
# --------------------------------------
18154
17880
# Modules which run on the host machine
18886
18634
(cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
18889
.PHONY: configure-demangler maybe-configure-demangler
18890
maybe-configure-demangler:
18891
configure-demangler:
18892
@test ! -f demangler/Makefile || exit 0; \
18893
[ -d demangler ] || mkdir demangler; \
18894
r=`${PWD_COMMAND}`; export r; \
18895
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896
CC="$(CC)"; export CC; \
18897
CFLAGS="$(CFLAGS)"; export CFLAGS; \
18898
CXX="$(CXX)"; export CXX; \
18899
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18900
AR="$(AR)"; export AR; \
18901
AS="$(AS)"; export AS; \
18902
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18903
DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18904
LD="$(LD)"; export LD; \
18905
NM="$(NM)"; export NM; \
18906
RANLIB="$(RANLIB)"; export RANLIB; \
18907
WINDRES="$(WINDRES)"; export WINDRES; \
18908
OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18909
OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18910
echo Configuring in demangler; \
18911
cd demangler || exit 1; \
18912
case $(srcdir) in \
18914
srcdiroption="--srcdir=."; \
18916
/* | [A-Za-z]:[\\/]*) \
18917
srcdiroption="--srcdir=$(srcdir)/demangler"; \
18918
libsrcdir="$$s/demangler";; \
18920
srcdiroption="--srcdir=../$(srcdir)/demangler"; \
18921
libsrcdir="$$s/demangler";; \
18923
$(SHELL) $${libsrcdir}/configure \
18924
$(HOST_CONFIGARGS) $${srcdiroption} \
18927
.PHONY: all-demangler maybe-all-demangler
18928
maybe-all-demangler:
18929
all-demangler: configure-demangler
18930
@r=`${PWD_COMMAND}`; export r; \
18931
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18933
(cd demangler && $(MAKE) $(FLAGS_TO_PASS) all)
18935
.PHONY: check-demangler maybe-check-demangler
18936
maybe-check-demangler:
18939
@r=`${PWD_COMMAND}`; export r; \
18940
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18942
(cd demangler && $(MAKE) $(FLAGS_TO_PASS) check)
18945
.PHONY: install-demangler maybe-install-demangler
18946
maybe-install-demangler:
18951
18637
.PHONY: configure-diff maybe-configure-diff
18952
18638
maybe-configure-diff:
18953
18639
configure-diff:
22465
22258
*) topdir="../../$(srcdir)" ;; \
22468
if [ "$(srcdir)" = "." ] ; then \
22469
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22470
if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
22471
if [ -f Makefile ]; then \
22472
if $(MAKE) distclean; then \
22486
srcdiroption="--srcdir=."; \
22489
22261
srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22490
22262
libsrcdir="$$s/libstdc++-v3"; \
22492
22263
rm -f no-such-file || : ; \
22493
22264
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22494
22265
$(TARGET_CONFIGARGS) $${srcdiroption} \
22566
22338
*) topdir="../../$(srcdir)" ;; \
22569
if [ "$(srcdir)" = "." ] ; then \
22570
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22571
if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
22572
if [ -f Makefile ]; then \
22573
if $(MAKE) distclean; then \
22587
srcdiroption="--srcdir=."; \
22590
22341
srcdiroption="--srcdir=$${topdir}/newlib"; \
22591
22342
libsrcdir="$$s/newlib"; \
22593
22343
rm -f no-such-file || : ; \
22594
22344
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22595
22345
$(TARGET_CONFIGARGS) $${srcdiroption} \
22667
22418
*) topdir="../../$(srcdir)" ;; \
22670
if [ "$(srcdir)" = "." ] ; then \
22671
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22672
if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
22673
if [ -f Makefile ]; then \
22674
if $(MAKE) distclean; then \
22688
srcdiroption="--srcdir=."; \
22691
22421
srcdiroption="--srcdir=$${topdir}/libf2c"; \
22692
22422
libsrcdir="$$s/libf2c"; \
22694
22423
rm -f no-such-file || : ; \
22695
22424
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22696
22425
$(TARGET_CONFIGARGS) $${srcdiroption} \
22768
22498
*) topdir="../../$(srcdir)" ;; \
22771
if [ "$(srcdir)" = "." ] ; then \
22772
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22773
if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
22774
if [ -f Makefile ]; then \
22775
if $(MAKE) distclean; then \
22789
srcdiroption="--srcdir=."; \
22792
22501
srcdiroption="--srcdir=$${topdir}/libobjc"; \
22793
22502
libsrcdir="$$s/libobjc"; \
22795
22503
rm -f no-such-file || : ; \
22796
22504
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22797
22505
$(TARGET_CONFIGARGS) $${srcdiroption} \
22966
22676
*) topdir="../../$(srcdir)" ;; \
22969
if [ "$(srcdir)" = "." ] ; then \
22970
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22971
if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
22972
if [ -f Makefile ]; then \
22973
if $(MAKE) distclean; then \
22987
srcdiroption="--srcdir=."; \
22990
22679
srcdiroption="--srcdir=$${topdir}/winsup"; \
22991
22680
libsrcdir="$$s/winsup"; \
22993
22681
rm -f no-such-file || : ; \
22994
22682
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22995
22683
$(TARGET_CONFIGARGS) $${srcdiroption} \
23067
22756
*) topdir="../../$(srcdir)" ;; \
23070
if [ "$(srcdir)" = "." ] ; then \
23071
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23072
if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
23073
if [ -f Makefile ]; then \
23074
if $(MAKE) distclean; then \
23088
srcdiroption="--srcdir=."; \
23091
22759
srcdiroption="--srcdir=$${topdir}/libgloss"; \
23092
22760
libsrcdir="$$s/libgloss"; \
23094
22761
rm -f no-such-file || : ; \
23095
22762
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23096
22763
$(TARGET_CONFIGARGS) $${srcdiroption} \
23164
22832
*) topdir="../../$(srcdir)" ;; \
23167
if [ "$(srcdir)" = "." ] ; then \
23168
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23169
if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
23170
if [ -f Makefile ]; then \
23171
if $(MAKE) distclean; then \
23185
srcdiroption="--srcdir=."; \
23188
22835
srcdiroption="--srcdir=$${topdir}/libiberty"; \
23189
22836
libsrcdir="$$s/libiberty"; \
23191
22837
rm -f no-such-file || : ; \
23192
22838
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23193
22839
$(TARGET_CONFIGARGS) $${srcdiroption} \
23225
22871
$(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23228
.PHONY: configure-target-demangler maybe-configure-target-demangler
23229
maybe-configure-target-demangler:
23231
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23232
$(TARGET_SUBDIR)/demangler/multilib.out: multilib.out
23233
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/demangler ; \
23234
rm -f $(TARGET_SUBDIR)/demangler/Makefile || : ; \
23235
cp multilib.out $(TARGET_SUBDIR)/demangler/multilib.out
23237
configure-target-demangler: $(TARGET_SUBDIR)/demangler/multilib.out
23238
@test ! -f $(TARGET_SUBDIR)/demangler/Makefile || exit 0; \
23239
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/demangler ; \
23240
r=`${PWD_COMMAND}`; export r; \
23241
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23243
AR="$(AR_FOR_TARGET)"; export AR; \
23244
AS="$(AS_FOR_TARGET)"; export AS; \
23245
CC="$(CC_FOR_TARGET)"; export CC; \
23246
CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23247
CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23248
CXX="$(CXX_FOR_TARGET)"; export CXX; \
23249
CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23250
GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23251
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23252
LD="$(LD_FOR_TARGET)"; export LD; \
23253
LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23254
NM="$(NM_FOR_TARGET)"; export NM; \
23255
RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23256
WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23257
echo Configuring in $(TARGET_SUBDIR)/demangler; \
23258
cd "$(TARGET_SUBDIR)/demangler" || exit 1; \
23259
case $(srcdir) in \
23260
/* | [A-Za-z]:[\\/]*) \
23261
topdir=$(srcdir) ;; \
23263
case "$(TARGET_SUBDIR)" in \
23264
.) topdir="../$(srcdir)" ;; \
23265
*) topdir="../../$(srcdir)" ;; \
23268
if [ "$(srcdir)" = "." ] ; then \
23269
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23270
if $(SHELL) $$s/symlink-tree $${topdir}/demangler "no-such-file" ; then \
23271
if [ -f Makefile ]; then \
23272
if $(MAKE) distclean; then \
23286
srcdiroption="--srcdir=."; \
23289
srcdiroption="--srcdir=$${topdir}/demangler"; \
23290
libsrcdir="$$s/demangler"; \
23292
rm -f no-such-file || : ; \
23293
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23294
$(TARGET_CONFIGARGS) $${srcdiroption} \
23295
--with-target-subdir="$(TARGET_SUBDIR)" \
23298
.PHONY: all-target-demangler maybe-all-target-demangler
23299
maybe-all-target-demangler:
23300
all-target-demangler: configure-target-demangler
23301
@r=`${PWD_COMMAND}`; export r; \
23302
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23304
(cd $(TARGET_SUBDIR)/demangler && \
23305
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23307
.PHONY: check-target-demangler maybe-check-target-demangler
23308
maybe-check-target-demangler:
23310
check-target-demangler:
23311
@r=`${PWD_COMMAND}`; export r; \
23312
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23314
(cd $(TARGET_SUBDIR)/demangler && \
23315
$(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23318
.PHONY: install-target-demangler maybe-install-target-demangler
23319
maybe-install-target-demangler:
23321
# Dummy target for uninstallable.
23322
install-target-demangler:
23325
22874
.PHONY: configure-target-gperf maybe-configure-target-gperf
23326
22875
maybe-configure-target-gperf:
23463
22992
*) topdir="../../$(srcdir)" ;; \
23466
if [ "$(srcdir)" = "." ] ; then \
23467
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23468
if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
23469
if [ -f Makefile ]; then \
23470
if $(MAKE) distclean; then \
23484
srcdiroption="--srcdir=."; \
23487
22995
srcdiroption="--srcdir=$${topdir}/examples"; \
23488
22996
libsrcdir="$$s/examples"; \
23490
22997
rm -f no-such-file || : ; \
23491
22998
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23492
22999
$(TARGET_CONFIGARGS) $${srcdiroption} \
23556
23064
*) topdir="../../$(srcdir)" ;; \
23559
if [ "$(srcdir)" = "." ] ; then \
23560
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23561
if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
23562
if [ -f Makefile ]; then \
23563
if $(MAKE) distclean; then \
23577
srcdiroption="--srcdir=."; \
23580
23067
srcdiroption="--srcdir=$${topdir}/libffi"; \
23581
23068
libsrcdir="$$s/libffi"; \
23583
23069
rm -f no-such-file || : ; \
23584
23070
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23585
23071
$(TARGET_CONFIGARGS) $${srcdiroption} \
23658
23145
*) topdir="../../$(srcdir)" ;; \
23661
if [ "$(srcdir)" = "." ] ; then \
23662
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23663
if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
23664
if [ -f Makefile ]; then \
23665
if $(MAKE) distclean; then \
23679
srcdiroption="--srcdir=."; \
23682
23148
srcdiroption="--srcdir=$${topdir}/libjava"; \
23683
23149
libsrcdir="$$s/libjava"; \
23685
23150
rm -f no-such-file || : ; \
23686
23151
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23687
23152
$(TARGET_CONFIGARGS) $${srcdiroption} \
23860
23327
*) topdir="../../$(srcdir)" ;; \
23863
if [ "$(srcdir)" = "." ] ; then \
23864
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23865
if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
23866
if [ -f Makefile ]; then \
23867
if $(MAKE) distclean; then \
23881
srcdiroption="--srcdir=."; \
23884
23330
srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23885
23331
libsrcdir="$$s/boehm-gc"; \
23887
23332
rm -f no-such-file || : ; \
23888
23333
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23889
23334
$(TARGET_CONFIGARGS) $${srcdiroption} \
23961
23407
*) topdir="../../$(srcdir)" ;; \
23964
if [ "$(srcdir)" = "." ] ; then \
23965
if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23966
if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
23967
if [ -f Makefile ]; then \
23968
if $(MAKE) distclean; then \
23982
srcdiroption="--srcdir=."; \
23985
23410
srcdiroption="--srcdir=$${topdir}/qthreads"; \
23986
23411
libsrcdir="$$s/qthreads"; \
23988
23412
rm -f no-such-file || : ; \
23989
23413
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23990
23414
$(TARGET_CONFIGARGS) $${srcdiroption} \
24123
23526
$(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23529
.PHONY: configure-target-libada maybe-configure-target-libada
23530
maybe-configure-target-libada:
23532
# There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23533
$(TARGET_SUBDIR)/libada/multilib.out: multilib.out
23534
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23535
rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
23536
cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
23538
configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
23539
@test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
23540
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23541
r=`${PWD_COMMAND}`; export r; \
23542
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23544
AR="$(AR_FOR_TARGET)"; export AR; \
23545
AS="$(AS_FOR_TARGET)"; export AS; \
23546
CC="$(CC_FOR_TARGET)"; export CC; \
23547
CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23548
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23549
CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23550
CXX="$(CXX_FOR_TARGET)"; export CXX; \
23551
CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23552
GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23553
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23554
LD="$(LD_FOR_TARGET)"; export LD; \
23555
LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23556
NM="$(NM_FOR_TARGET)"; export NM; \
23557
RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23558
WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23559
echo Configuring in $(TARGET_SUBDIR)/libada; \
23560
cd "$(TARGET_SUBDIR)/libada" || exit 1; \
23561
case $(srcdir) in \
23562
/* | [A-Za-z]:[\\/]*) \
23563
topdir=$(srcdir) ;; \
23565
case "$(TARGET_SUBDIR)" in \
23566
.) topdir="../$(srcdir)" ;; \
23567
*) topdir="../../$(srcdir)" ;; \
23570
srcdiroption="--srcdir=$${topdir}/libada"; \
23571
libsrcdir="$$s/libada"; \
23572
rm -f no-such-file || : ; \
23573
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23574
$(TARGET_CONFIGARGS) $${srcdiroption} \
23575
--with-target-subdir="$(TARGET_SUBDIR)" \
23578
.PHONY: all-target-libada maybe-all-target-libada
23579
maybe-all-target-libada:
23580
all-target-libada: configure-target-libada
23581
@r=`${PWD_COMMAND}`; export r; \
23582
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23584
(cd $(TARGET_SUBDIR)/libada && \
23585
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23587
.PHONY: check-target-libada maybe-check-target-libada
23588
maybe-check-target-libada:
23590
check-target-libada:
23591
@r=`${PWD_COMMAND}`; export r; \
23592
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23594
(cd $(TARGET_SUBDIR)/libada && \
23595
$(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23598
.PHONY: install-target-libada maybe-install-target-libada
23599
maybe-install-target-libada:
23601
install-target-libada: installdirs
23602
@r=`${PWD_COMMAND}`; export r; \
23603
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23605
(cd $(TARGET_SUBDIR)/libada && \
23606
$(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24334
23822
# are specified by depending on a 'maybe-' target. If you're not sure,
24335
23823
# it's safer to use a soft dependency.
24337
# Demangler depends on libiberty.
24338
configure-demangler: maybe-configure-libiberty
24339
all-demangler: maybe-all-libiberty
24341
# The new demangler, which is included in libiberty, is written in C++.
24342
# A working C++ compiler is required. For the target demangler, it may
24343
# depend on libstdc++ if it is built. But libstdc++ also depends on
24344
# libiberty. We work around it by adding a new directory, demangler.
24345
# Demangler will update libiberty with the new demangler if a working
24346
# C++ compiler is available. Otherwise, the old demangler will be
24347
# included in libiberty. For host and build systems, the C++ compiler
24348
# check will be done after libiberty is built. For target system, the
24349
# check will be done after libstdc++, which is built after libiberty.
24350
# For parallel make, we have to make sure noone will use libiberty
24351
# when it is being updated by demangler. We make everyone but libstdc++,
24352
# which uses libiberty, depends on both libiberty and demangler.
24353
ALL_LIBIBERTY=maybe-all-libiberty maybe-all-demangler
24354
ALL_BUILD_LIBIBERTY=maybe-all-build-libiberty maybe-all-build-demangler
24355
ALL_TARGET_LIBIBERTY=maybe-all-target-libiberty maybe-all-target-demangler
24357
23825
# Host modules specific to gcc.
24358
23826
# GCC needs to identify certain tools.
24359
23827
# GCC also needs the information exported by the intl configure script.
24360
23828
configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
24361
all-gcc: $(ALL_LIBIBERTY) maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
23829
all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
24362
23830
# This is a slightly kludgy method of getting dependencies on
24363
23831
# all-build-libiberty correct; it would be better to build it every time.
24364
all-gcc: $(ALL_BUILD_LIBIBERTY)
24365
all-bootstrap: $(ALL_LIBIBERTY) maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
23832
all-gcc: maybe-all-build-libiberty
23833
all-bootstrap: maybe-all-libiberty maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
24367
23835
# Host modules specific to gdb.
24368
23836
# GDB needs to know that the simulator is being built.
24369
23837
configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
24370
23838
GDB_TK = @GDB_TK@
24371
all-gdb: $(ALL_LIBIBERTY) maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
23839
all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
24372
23840
install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
24373
23841
configure-libgui: maybe-configure-tcl maybe-configure-tk
24374
23842
all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
24376
23844
# Host modules specific to binutils.
24377
23845
configure-bfd: configure-libiberty
24378
all-bfd: $(ALL_LIBIBERTY) maybe-all-intl
24379
all-binutils: $(ALL_LIBIBERTY) maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
23846
all-bfd: maybe-all-libiberty maybe-all-intl
23847
all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
24380
23848
# We put install-opcodes before install-binutils because the installed
24381
23849
# binutils might be on PATH, and they might need the shared opcodes
24383
23851
install-binutils: maybe-install-opcodes
24384
23852
# libopcodes depends on libbfd
24385
23853
install-opcodes: maybe-install-bfd
24386
all-gas: $(ALL_LIBIBERTY) maybe-all-opcodes maybe-all-bfd maybe-all-intl
24387
all-gprof: $(ALL_LIBIBERTY) maybe-all-bfd maybe-all-opcodes maybe-all-intl
24388
all-ld: $(ALL_LIBIBERTY) maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
24389
all-opcodes: maybe-all-bfd $(ALL_LIBIBERTY)
23854
all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
23855
all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
23856
all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
23857
all-opcodes: maybe-all-bfd maybe-all-libiberty
24391
23859
# Other host modules in the 'src' repository.
24392
23860
all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
24397
23865
# We put install-tcl before install-itcl because itcl wants to run a
24398
23866
# program on installation which uses the Tcl libraries.
24399
23867
install-itcl: maybe-install-tcl
24400
all-sid: $(ALL_LIBIBERTY) maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
23868
all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
24401
23869
install-sid: maybe-install-tcl maybe-install-tk
24402
all-sim: $(ALL_LIBIBERTY) maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
23870
all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
24403
23871
configure-tk: maybe-configure-tcl
24404
23872
all-tk: maybe-all-tcl
24405
23873
configure-tix: maybe-configure-tcl maybe-configure-tk
24406
23874
all-tix: maybe-all-tcl maybe-all-tk
24407
all-texinfo: $(ALL_LIBIBERTY)
23875
all-texinfo: maybe-all-libiberty
24409
23877
# Other host modules. Warning, these are not well tested.
24410
23878
all-autoconf: maybe-all-m4 maybe-all-texinfo
24411
23879
all-automake: maybe-all-m4 maybe-all-texinfo
24412
23880
all-bison: maybe-all-texinfo
24413
all-diff: $(ALL_LIBIBERTY)
24414
all-fastjar: maybe-all-zlib $(ALL_LIBIBERTY)
24415
all-fileutils: $(ALL_LIBIBERTY)
24416
all-flex: $(ALL_LIBIBERTY) maybe-all-bison maybe-all-byacc
24417
all-gzip: $(ALL_LIBIBERTY)
24418
all-hello: $(ALL_LIBIBERTY)
24419
all-m4: $(ALL_LIBIBERTY) maybe-all-texinfo
24420
all-make: $(ALL_LIBIBERTY) maybe-all-intl
24421
all-patch: $(ALL_LIBIBERTY)
24422
all-prms: $(ALL_LIBIBERTY)
24423
all-recode: $(ALL_LIBIBERTY)
24424
all-sed: $(ALL_LIBIBERTY)
23881
all-diff: maybe-all-libiberty
23882
all-fastjar: maybe-all-zlib maybe-all-libiberty
23883
all-fileutils: maybe-all-libiberty
23884
all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
23885
all-gzip: maybe-all-libiberty
23886
all-hello: maybe-all-libiberty
23887
all-m4: maybe-all-libiberty maybe-all-texinfo
23888
all-make: maybe-all-libiberty maybe-all-intl
23889
all-patch: maybe-all-libiberty
23890
all-prms: maybe-all-libiberty
23891
all-recode: maybe-all-libiberty
23892
all-sed: maybe-all-libiberty
24425
23893
all-send-pr: maybe-all-prms
24426
all-tar: $(ALL_LIBIBERTY)
24427
all-uudecode: $(ALL_LIBIBERTY)
23894
all-tar: maybe-all-libiberty
23895
all-uudecode: maybe-all-libiberty
24429
23897
ALL_GCC = maybe-all-gcc
24430
23898
ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
24433
23901
# Target modules specific to gcc.
24434
23902
configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
24435
23903
configure-target-fastjar: maybe-configure-target-zlib
24436
all-target-fastjar: maybe-all-target-zlib $(ALL_TARGET_LIBIBERTY)
23904
all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
24437
23905
configure-target-libf2c: $(ALL_GCC_C)
24438
all-target-libf2c: $(ALL_TARGET_LIBIBERTY)
23906
all-target-libf2c: maybe-all-target-libiberty
24439
23907
configure-target-libffi: $(ALL_GCC_C)
24440
23908
configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
24441
23909
all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
24442
23910
configure-target-libobjc: $(ALL_GCC_C)
24443
all-target-libobjc: $(ALL_TARGET_LIBIBERTY)
23911
all-target-libobjc: maybe-all-target-libiberty
24444
23912
configure-target-libstdc++-v3: $(ALL_GCC_C)
24445
23913
all-target-libstdc++-v3: maybe-all-target-libiberty
24446
23914
configure-target-zlib: $(ALL_GCC_C)
24447
configure-target-demangler: maybe-all-target-libstdc++-v3
24448
all-target-demangler: configure-target-demangler
24450
23916
# Target modules in the 'src' repository.
24451
23917
configure-target-examples: $(ALL_GCC_C)
24456
23922
configure-target-newlib: $(ALL_GCC)
24457
23923
configure-target-rda: $(ALL_GCC_C)
24458
23924
configure-target-winsup: $(ALL_GCC_C)
24459
all-target-winsup: $(ALL_TARGET_LIBIBERTY) maybe-all-target-libtermcap
23925
all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
24461
23927
# Other target modules. Warning, these are not well tested.
24462
23928
configure-target-gperf: $(ALL_GCC_CXX)
24463
all-target-gperf: $(ALL_TARGET_LIBIBERTY) maybe-all-target-libstdc++-v3
23929
all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
24464
23930
configure-target-qthreads: $(ALL_GCC_C)
24466
23932
# Dependencies of maybe-foo on foo. These are used because, for example,