aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-11 12:48:25 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-11 12:48:25 +0000
commit23d44ec95802740e3742f2bab0282c908d8c7dcd (patch)
tree54dc7523661fed74db44c5679baf12b768c25a25
parent1f8fc34f255e853e6e28fc7771b2589745c196c5 (diff)
downloadgdb-23d44ec95802740e3742f2bab0282c908d8c7dcd.zip
gdb-23d44ec95802740e3742f2bab0282c908d8c7dcd.tar.gz
gdb-23d44ec95802740e3742f2bab0282c908d8c7dcd.tar.bz2
Remove refs to ../include/sysdep.h.
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/Makefile.in23
2 files changed, 15 insertions, 11 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a256e5c..3cf219d 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 42ad9a0..71079c0 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