aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1998-03-24 17:27:46 +0000
committerNick Clifton <nickc@gcc.gnu.org>1998-03-24 17:27:46 +0000
commit2ea9a96537933e38f392ab9255b5b5f2879675a3 (patch)
treef2c8cf3bc1faea4317796e8cb51242c095091aa6
parent9db4940cd66f74b2016e64894733d63b40388f2f (diff)
downloadgcc-2ea9a96537933e38f392ab9255b5b5f2879675a3.zip
gcc-2ea9a96537933e38f392ab9255b5b5f2879675a3.tar.gz
gcc-2ea9a96537933e38f392ab9255b5b5f2879675a3.tar.bz2
Support a .exe extension to gcov.
From-SVN: r18806
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/Makefile.in6
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4cd64e7..8b72e52 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
+ * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
+
* collect2.c (find_a_file): Add debugging.
(find_a_file): Test for win32 style absolute paths if
DIR_SERPARATOR is defined.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ab0a84e..02126d9 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -39,7 +39,7 @@ SUBDIRS =@subdirs@
# Selection of languages to be made.
# This is overridden by configure.
-LANGUAGES = c proto gcov @all_languages@
+LANGUAGES = c proto gcov$(exeext) @all_languages@
# Selection of languages to be made during stage1 build.
# This is overridden by configure.
@@ -1868,7 +1868,9 @@ test-protoize-simple: ./protoize ./unprotoize $(GCC_PASSES)
gcov.o: gcov.c gcov-io.h
-gcov: gcov.o $(LIBDEPS)
+# Only one of 'gcov' or 'gcov.exe' is actually built, depending
+# upon whether $(exeext) is empty or not.
+gcov$(exeext): gcov.o $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) gcov.o $(LIBS) -o $@
#
# Build the include directory. The stamp files are stmp-* rather than