This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Minor cleanup for gcc/Makefile.in


  In message <199910171704.TAA06153@ignucius.axis.se>you write:
  > Hi.
  > 
  > Here's a limited cleanup of some dependencies in
  > gcc/Makefile.in:  I looked at gen*.c and fixed dependencies for
  > gen*.o and insn-*.o.  I *hope* I did not lose too much in the
  > little maze of dependencies that are documented as not wanted
  > (like obstack.h and CONFIG_H stuff for gen*.o).
  >  Dependencies on recog.h were changed on Fri Dec  5 06:23:22
  > 1997 (FSFChangeLog.11) to instead be on RECOG_H without
  > exceptions, so I straightened those up.  I do not know the
  > reason behind that change, or if there are now exceptions.
  > 
  > It seems likely that there are other, more serious dependencies
  > that need similar fixes.
  > 
  > It looks like too many manual interventions are needed today,
  > but it would surely be nice if the dependencies could be
  > machine-generated and/or checked to stay in shape.  For people
  > hacking md files and core GCC parts (not tm.h, then you're lost
  > dependency-wise anyway) and not following the advice in
  > Makefile.in to "rm *.o", keeping the dependencies in shape could
  > save some surprises.  Unfortunately this cleanup does not seem
  > to fix any of that, but hey, it's the daily improvement.
  > 
  > Admittedly this matters little compared to real bugs; those that
  > do not have "rm *.o" as a workaround...
  > 
  > gcc/ChangeLog:
  > Sun Oct 17 17:59:11 1999  Hans-Peter Nilsson  <hp@axis.com>
  > 
  > 	* Makefile.in (gencheck.o): Depend on gencheck.h.
  > 	(insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
  > 	(insn-peep.o): Depend on except.h and function.h.
  > 	(insn-attrtab.o): Depend on RECOG_H.
  > 	(insn-output.o): Depend on toplev.h and flags.h.
  > 	(gengenrtl.o): Depend on real.h.
  > 	(gen-protos.o): Depend on cpplib.h and cpphash.h.
  > 	Unify all dependencies to be on RECOG_H rather than recog.h.
Thanks.  Installed.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]