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]

timevar makefile fix


Having timevar.h depend on timevar.def doesn't do what
you think, Alex.


r~


        * Makefile.in (TIMEVAR_H): New.
        (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
        (timevar.h): Remove rule.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.428
diff -c -p -d -r1.428 Makefile.in
*** Makefile.in	2000/04/28 06:18:14	1.428
--- Makefile.in	2000/04/30 10:29:28
*************** INTEGRATE_H = integrate.h varray.h
*** 764,769 ****
--- 764,770 ----
  LOOP_H = loop.h varray.h basic-block.h
  GCC_H = gcc.h version.h
  GGC_H = ggc.h varray.h
+ TIMEVAR_H = timevar.h timevar.def
  #
  # Language makefile fragments.
  
*************** ggc-common.o: ggc-common.c $(CONFIG_H) $
*** 1470,1479 ****
  	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 timevar.h
  
  ggc-page.o: ggc-page.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h toplev.h \
! 	$(GGC_H) varray.h timevar.h
  
  ggc-none.o: ggc-none.c $(CONFIG_H) $(RTL_H) $(GGC_H)
  
--- 1471,1480 ----
  	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 $(TIMEVAR_H)
  
  ggc-page.o: ggc-page.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h toplev.h \
! 	$(GGC_H) varray.h $(TIMEVAR_H)
  
  ggc-none.o: ggc-none.c $(CONFIG_H) $(RTL_H) $(GGC_H)
  
*************** toplev.o : toplev.c $(CONFIG_H) system.h
*** 1505,1511 ****
     flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \
     insn-codes.h insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \
     dwarf2out.h sdbout.h dbxout.h $(EXPR_H) $(BASIC_BLOCK_H) graph.h loop.h \
!    except.h regs.h timevar.h $(lang_options_files)
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
  	  -DTARGET_NAME=\"$(target_alias)\" \
  	  -c `echo $(srcdir)/toplev.c | sed 's,^\./,,'`
--- 1506,1512 ----
     flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \
     insn-codes.h insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \
     dwarf2out.h sdbout.h dbxout.h $(EXPR_H) $(BASIC_BLOCK_H) graph.h loop.h \
!    except.h regs.h $(TIMEVAR_H) $(lang_options_files)
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
  	  -DTARGET_NAME=\"$(target_alias)\" \
  	  -c `echo $(srcdir)/toplev.c | sed 's,^\./,,'`
*************** lists.o: lists.c $(CONFIG_H) system.h to
*** 1658,1670 ****
  bb-reorder.o : bb-reorder.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
     insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h \
     $(RECOG_H) insn-flags.h function.h except.h $(EXPR_H)
! timevar.o : timevar.c $(CONFIG_H) system.h timevar.h timevar.def flags.h
! timevar.h : timevar.def
! 
  regrename.o : regrename.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
     insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h \
     $(RECOG_H) function.h resource.h
- 
  $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) $(GGC_H) \
     $(RTL_H) $(REGS_H) hard-reg-set.h real.h insn-config.h conditions.h \
     insn-flags.h output.h insn-attr.h insn-codes.h system.h toplev.h function.h
--- 1659,1668 ----
  bb-reorder.o : bb-reorder.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
     insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h \
     $(RECOG_H) insn-flags.h function.h except.h $(EXPR_H)
! timevar.o : timevar.c $(CONFIG_H) system.h $(TIMEVAR_H) flags.h
  regrename.o : regrename.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
     insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h \
     $(RECOG_H) function.h resource.h
  $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) $(GGC_H) \
     $(RTL_H) $(REGS_H) hard-reg-set.h real.h insn-config.h conditions.h \
     insn-flags.h output.h insn-attr.h insn-codes.h system.h toplev.h function.h

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