From 23d44ec95802740e3742f2bab0282c908d8c7dcd Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 11 Oct 1991 12:48:25 +0000 Subject: [PATCH] Remove refs to ../include/sysdep.h. --- bfd/ChangeLog | 3 ++- bfd/Makefile.in | 23 +++++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a256e5c41fa..3cf219d6ddd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -7,7 +7,8 @@ Fri Oct 11 03:01:52 1991 John Gilmore (gnu at cygnus.com) Change some config names to match other dirs. * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. - * Makefile.in: Use -I. to get sysdep.h. + * Makefile.in: Use -I. to get sysdep.h. Remove refs to + ../include/sysdep.h. * cpu-i960.c: Strncmp needed a length arg. * ecoff.c: Don't ever call trad_unix_core_file_p from here. * i386aout.c: Remove dead N_TXTOFF override. diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 42ad9a0fe2f..71079c09c92 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -54,7 +54,6 @@ BFD_BACKENDS = oasys.o ieee.o srec.o \ OPTIONAL_BACKENDS = trad-core.o BFD_H=$(INCDIR)/bfd.h -SYSDEP_H=$(INCDIR)/sysdep.h # C source files that correspond to .o's. CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c archures.c \ @@ -117,10 +116,14 @@ clean: clobber realclean: clean rm -f libbfd.a TAGS -$(BFD_LIBS): libbfd.h $(BFD_H) -$(BFD_MACHINES): libbfd.h $(BFD_H) -$(BFD_BACKENDS): libbfd.h $(BFD_H) -$(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) +# Mark everything as depending on config.status, since the timestamp on +# sysdep.h might actually move backwards if we reconfig and relink it +# to a different hosts/h-xxx.h file. This will force a recompile anyway. +RECONFIG = config.status +$(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) +$(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) +$(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) +$(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) saber: #suppress 65 on bfd_map_over_sections @@ -259,15 +262,15 @@ m68kcoff.o : m68kcoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ $(INCDIR)/m68kcoff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h amdcoff.o : amdcoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ $(INCDIR)/amdcoff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h -format.o : format.c $(INCDIR)/sysdep.h $(INCDIR)/bfd.h \ +format.o : format.c $(INCDIR)/bfd.h \ $(INCDIR)/obstack.h libbfd.h -section.o : section.c $(INCDIR)/sysdep.h $(INCDIR)/bfd.h \ +section.o : section.c $(INCDIR)/bfd.h \ $(INCDIR)/obstack.h libbfd.h -core.o : core.c $(INCDIR)/sysdep.h $(INCDIR)/bfd.h \ +core.o : core.c $(INCDIR)/bfd.h \ $(INCDIR)/obstack.h libbfd.h -syms.o : syms.c $(INCDIR)/sysdep.h $(INCDIR)/bfd.h \ +syms.o : syms.c $(INCDIR)/bfd.h \ $(INCDIR)/obstack.h libbfd.h -reloc.o : reloc.c $(INCDIR)/sysdep.h $(INCDIR)/bfd.h \ +reloc.o : reloc.c $(INCDIR)/bfd.h \ $(INCDIR)/obstack.h libbfd.h m88k-bcs.o : m88k-bcs.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ $(INCDIR)/m88k-bcs.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h -- 2.30.2