This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add yet another missing $(build_exeext)
- To: gcc-patches at gcc dot gnu dot org
- Subject: Add yet another missing $(build_exeext)
- From: "Laurynas Biveinis" <lauras at softhome dot net>
- Date: Thu, 15 Mar 2001 18:49:14 +0200
This patch adds $(build_exeext) to fix-header.
OK for head/branch?
Laurynas
2001-03-15 Laurynas Biveinis <lauras@softhome.net>
* Makefile.in: Use fix-header$(build_exeext) instead
of fix-header.
Index: gcc/gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.602.2.2
diff -u -p -r1.602.2.2 Makefile.in
--- Makefile.in 2001/03/01 16:55:39 1.602.2.2
+++ Makefile.in 2001/03/15 16:46:03
@@ -2162,8 +2162,8 @@ xsys-protos.h: $(GCC_PASSES) $(srcdir)/s
# This is nominally a 'build' program, but it's run only when host==build,
# so we can (indeed, must) use $(LIBDEPS) and $(LIBS).
-fix-header: fix-header.o scan-decls.o scan.o xsys-protos.h $(LIBDEPS) \
- libcpp.a
+fix-header$(build_exeext): fix-header.o scan-decls.o scan.o xsys-protos.h \
+ $(LIBDEPS) libcpp.a
$(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ fix-header.o \
scan-decls.o scan.o libcpp.a $(LIBS)
@@ -2178,7 +2178,7 @@ scan-decls.o: scan-decls.c scan.h cpplib
# The idea is to make sure fix-header gets built,
# but not rerun fixproto after each stage
# just because fix-header's mtime has changed.
-fixhdr.ready: fix-header
+fixhdr.ready: fix-header$(build_exeext)
-if [ -f fixhdr.ready ] ; then \
true; \
else \
@@ -2301,7 +2301,7 @@ mostlyclean: $(INTL_MOSTLYCLEAN) lang.mo
-rm -f specs float.h-* enquire SYSCALLS.c.X SYSCALLS.c
-rm -f collect collect2 mips-tfile mips-tdump alloca.s
# Delete files generated for fixproto
- -rm -rf fix-header xsys-protos.h deduced.h tmp-deduced.h \
+ -rm -rf fix-header$(build_exeext) xsys-protos.h deduced.h tmp-deduced.h \
gen-protos$(build_exeext) fixproto.list fixtmp.* fixhdr.ready
# Delete files generated for fixincl
-rm -rf fixincl fixinc.sh specs.ready