Makefile dependency fix

Jeffrey A Law law@cygnus.com
Tue Jan 19 05:33:00 GMT 1999


cccp.o and cpplib.o use variables that are inserted into the generaetd
Makefile by the configure process.  If the Makefile changes, cccp.o and
cpplib.o need to be rebuilt to ensure consistency.




        * Makefile.in (cccp.o, cpplib.o): Depend on Makefile.

Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/Makefile.in,v
retrieving revision 1.213
diff -c -3 -p -r1.213 Makefile.in
*** Makefile.in	1999/01/18 08:39:46	1.213
--- Makefile.in	1999/01/19 13:30:11
*************** $(srcdir)/cexp.c: $(srcdir)/cexp.y
*** 1884,1890 ****
  # We use $(libsubdir)/$(unlibsubdir) to match the
  # -iprefix argument which gcc will pass if GCC_EXEC_PREFIX is used.
  cccp.o: cccp.c $(CONFIG_H) pcp.h version.c config.status system.h \
!            mbchar.h prefix.h
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	  -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
  	  -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \
--- 1884,1890 ----
  # We use $(libsubdir)/$(unlibsubdir) to match the
  # -iprefix argument which gcc will pass if GCC_EXEC_PREFIX is used.
  cccp.o: cccp.c $(CONFIG_H) pcp.h version.c config.status system.h \
!            mbchar.h prefix.h Makefile.in
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	  -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
  	  -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \
*************** cppmain$(exeext): cppmain.o libcpp.a $(L
*** 1913,1919 ****
  cppmain.o: cppmain.c $(CONFIG_H) cpplib.h machmode.h system.h
  
  cpplib.o: cpplib.c $(CONFIG_H) cpplib.h machmode.h cpphash.h config.status \
! 	system.h prefix.h
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	  -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
  	  -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \
--- 1913,1919 ----
  cppmain.o: cppmain.c $(CONFIG_H) cpplib.h machmode.h system.h
  
  cpplib.o: cpplib.c $(CONFIG_H) cpplib.h machmode.h cpphash.h config.status \
! 	system.h prefix.h Makefile.in
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
  	  -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
  	  -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \



More information about the Gcc-patches mailing list