Patch to correct makefile dependencies

Richard Henderson rth@cygnus.com
Sun Oct 31 23:33:00 GMT 1999


On Wed, Oct 13, 1999 at 01:36:56PM -0500, Brad Lucier wrote:
> Can somebody write a changelog entry and install this so make -j will
> work again? ggc-common.c and ggc-page.c can't compile until genrtl.h is
> available.

I've committed this more correct fix.


r~


        * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
        (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.322
diff -c -p -d -r1.322 Makefile.in
*** Makefile.in	1999/10/13 17:09:17	1.322
--- Makefile.in	1999/10/13 20:09:53
*************** dumpvers: dumpvers.c
*** 1427,1444 ****
  
  version.o: version.c
  
! ggc-common.o: ggc-common.c $(CONFIG_H) $(RTL_BASE_H) $(TREE_H) \
  	flags.h ggc.h varray.h hash.h
  
! ggc-simple.o: ggc-simple.c $(CONFIG_H) $(RTL_BASE_H) $(TREE_H) flags.h \
  	ggc.h varray.h hash.h
  
! ggc-page.o: ggc-page.c $(CONFIG_H) $(RTL_BASE_H) $(TREE_H) flags.h \
  	ggc.h varray.h hash.h
  
! ggc-none.o: ggc-none.c $(CONFIG_H) $(RTL_BASE_H) ggc.h
  
! ggc-callbacks.o: ggc-callbacks.c $(CONFIG_H) $(RTL_BASE_H) $(TREE_H) ggc.h
  
  obstack.o: $(srcdir)/../libiberty/obstack.c $(CONFIG_H)
  	rm -f obstack.c
--- 1427,1444 ----
  
  version.o: version.c
  
! ggc-common.o: ggc-common.c $(CONFIG_H) $(RTL_H) $(TREE_H) \
  	flags.h ggc.h varray.h hash.h
  
! ggc-simple.o: ggc-simple.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
  	ggc.h varray.h hash.h
  
! ggc-page.o: ggc-page.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \
  	ggc.h varray.h hash.h
  
! ggc-none.o: ggc-none.c $(CONFIG_H) $(RTL_H) ggc.h
  
! ggc-callbacks.o: ggc-callbacks.c $(CONFIG_H) $(RTL_H) $(TREE_H) ggc.h
  
  obstack.o: $(srcdir)/../libiberty/obstack.c $(CONFIG_H)
  	rm -f obstack.c



More information about the Gcc-patches mailing list