*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Thu, 21 May 1992 17:39:30 +0000 (17:39 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 21 May 1992 17:39:30 +0000 (17:39 +0000)
From-SVN: r1037

gcc/Makefile.in

index b38693ee5731985b1e93c2e212c2e97fe8d56b69..f742ebfe8e8a4a9339a56441f70b56bdfeb1516b 100644 (file)
@@ -360,7 +360,7 @@ STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
  insn-attr.h insn-attrtab.c \
  stamp-flags stamp-config stamp-codes \
  stamp-output stamp-recog stamp-emit stamp-extract stamp-peep \
- stamp-attr stamp-attrtab \
+ stamp-attr stamp-attrtab stamp-proto \
  genemit genoutput genrecog genextract genflags gencodes genconfig genpeep \
  genattrtab genattr \
  $(GCC_PASSES) $(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross cccp \
@@ -412,7 +412,7 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/version.c \
 
 all.internal: start.encap rest.encap
 # This is what to compile if making a cross-compiler.
-all.cross: native gcc-cross
+all.cross: native gcc-cross cross-test
 # This is what must be made before installing GCC and converting libraries.
 start.encap: native gcc $(LIBGCC1_TARGET)
 # Use this to make a GCC that will be used only to recompile GCC.
@@ -441,6 +441,13 @@ config.status:
          true; \
        fi
 
+# Verify that it works to compile and link cross-test.
+# If it does, then there are sufficient replacements for libgcc1.a.
+cross-test: cross-test.o native gcc-cross
+       $(GCC_FOR_TARGET) $(GCC_CFLAGS) cross-test.o -o $@
+cross-test.o: cross-test.c native gcc-cross
+       $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) -c $(srcdir)/cross-test.c
+
 compilations: ${OBJS}
 
 gcc: gcc.o version.o $(LIBDEPS)
@@ -1221,7 +1228,7 @@ clean: mostlyclean
 # Using unprotoize.c is not quite right in the first place, 
 # but what better way is there?
        -rm -f libgcc.a libgcc1.a libgcc2.a libgcc2.ready unprotoize.c
-       -rm *.dvi
+       -rm -f *.dvi
 
 # Delete all files that users would normally create
 # while building and installing GCC.