From 9d093ac0f47f92bd4eb54e6cdd5a99d6af19d374 Mon Sep 17 00:00:00 2001
From: David Billinghurst <David.Billinghurst@riotinto.com>
Date: Sun, 23 Jul 2000 16:02:00 -0600
Subject: [PATCH] Make-lang.in: Put $(build_exeext) suffix on programs which
 run on the build machine.

        * Make-lang.in: Put $(build_exeext) suffix on programs which run
        on the build machine.

From-SVN: r35216
---
 gcc/f/ChangeLog    |  5 +++++
 gcc/f/Make-lang.in | 10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 8ba3239a6ce4..2f14b3e7ed5f 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jul 23 15:47:30 2000  Billinghurst, David <David.Billinghurst@riotinto.com>
+
+	* Make-lang.in: Put $(build_exeext) suffix on programs which run
+	on the build machine.
+
 2000-07-22  Toon Moene  <toon@moene.indiv.nluug.nl>
 
 	* com.c (ffecom_expr_intrinsic_): case FFEINTRIN_impFGETC_subr,
diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in
index f87842bb1998..dc65e7bc3382 100644
--- a/gcc/f/Make-lang.in
+++ b/gcc/f/Make-lang.in
@@ -268,7 +268,7 @@ $(srcdir)/f/intdoc.texi: f/intdoc.c f/intdoc.in f/ansify.c f/intrin.def f/intrin
 	  $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) -I./f \
 	   `echo $(srcdir)/f/intdoc.c | sed 's,^\./,,'` -o f/intdoc; \
 	  f/intdoc > $(srcdir)/f/intdoc.texi; \
-	  rm f/intdoc f/ansify f/intdoc.h0; \
+	  rm f/intdoc$(build_exeext) f/ansify$(build_exeext) f/intdoc.h0; \
 	else true; fi
 
 $(srcdir)/f/BUGS: f/bugs0.texi f/bugs.texi f/root.texi
@@ -396,8 +396,8 @@ f77.uninstall: installdirs
 
 f77.mostlyclean:
 	-rm -f f/*$(objext)
-	-rm -f f/fini f/stamp-str f/str-*.h f/str-*.j
-	-rm -f f/intdoc f/ansify f/intdoc.h0
+	-rm -f f/fini$(build_exeext) f/stamp-str f/str-*.h f/str-*.j
+	-rm -f f/intdoc$(build_exeext) f/ansify$(build_exeext) f/intdoc.h0
 	-rm -f g77.aux g77.cps g77.ky g77.toc g77.vr g77.fn g77.kys \
 	       g77.pg g77.tp g77.vrs g77.cp g77.fns g77.log g77.pgs g77.tps 
 f77.clean:
@@ -411,8 +411,8 @@ f77.maintainer-clean:
 # Stage hooks:
 # The main makefile has already created stage?/f.
 
-G77STAGESTUFF = f/*$(objext) f/fini f/stamp-str f/str-*.h f/str-*.j \
-  lang-f77 g77spec.o g77version.o
+G77STAGESTUFF = f/*$(objext) f/fini$(build_exeext) f/stamp-str \
+  f/str-*.h f/str-*.j lang-f77 g77spec.o g77version.o
 
 f77.stage1: stage1-start
 	-if [ -f lang-f77 ]; then \
-- 
GitLab