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.
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 \
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
$(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