diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-22 18:49:53 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-22 18:49:53 -0400 |
commit | eed0e340be7599f9da26ebda87eb9f8fdc63bd8e (patch) | |
tree | a0e1c1bc0e7802a023d3893dfeaab39cd0ab03a7 | |
parent | 0174edeef0c360570c5240c7186163efd546b6f3 (diff) | |
download | gcc-eed0e340be7599f9da26ebda87eb9f8fdc63bd8e.zip gcc-eed0e340be7599f9da26ebda87eb9f8fdc63bd8e.tar.gz gcc-eed0e340be7599f9da26ebda87eb9f8fdc63bd8e.tar.bz2 |
(STAGESTUFF): Add stamp-crt.
(crtbegin.o, crtend.o): Now depend on stamp-crt.
(stamp-crt): New rule, to actually build crt{begin,end}.o.
From-SVN: r10028
-rw-r--r-- | gcc/Makefile.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 791859e..f953ccc 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -514,7 +514,7 @@ STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \ insn-attr.h insn-attrtab.c insn-opinit.c \ stamp-flags stamp-config stamp-codes \ stamp-output stamp-recog stamp-emit stamp-extract stamp-peep \ - stamp-attr stamp-attrtab stamp-opinit stamp-proto \ + stamp-attr stamp-attrtab stamp-opinit stamp-proto stamp-crt \ genemit$(exeext) genoutput$(exeext) genrecog$(exeext) genextract$(exeext) \ genflags$(exeext) gencodes$(exeext) genconfig$(exeext) genpeep$(exeext) \ genattrtab$(exeext) genattr$(exeext) genopinit$(exeext) \ @@ -1000,17 +1000,19 @@ sublibobjc.a: cc1obj stmp-int-hdrs libgcc2.ready # Compile two additional files that are linked with every program # linked using GCC on system V, for the sake of C++ constructors. -crtbegin.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h +crtbegin.o: stamp-crt ; @true +crtend.o: stamp-crt; @true + +stamp-crt: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \ -DCRT_BEGIN -finhibit-size-directive -fno-inline-functions \ -g0 -c $(srcdir)/crtstuff.c - mv crtstuff$(objext) $@ - -crtend.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h + mv crtstuff$(objext) crtbegin$(objext) $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \ -DCRT_END -finhibit-size-directive -fno-inline-functions \ -g0 -c $(srcdir)/crtstuff.c - mv crtstuff$(objext) $@ + mv crtstuff$(objext) crtend$(objext) + touch stamp-crt # Compiling object files from source files. |