- sed <$(BFD_H) >bfd.h.new -e '1,/THE FOLLOWING/!d'
- cat doc/opncls.proto doc/archures.proto \
- doc/libbfd.proto doc/section.proto doc/syms.proto doc/bfd.proto doc/archive.proto \
- doc/reloc.proto doc/targets.proto doc/format.proto >>bfd.h.new
- echo >> bfd.h.new
- echo "#endif" >> bfd.h.new
- echo >> bfd.h.new
- mv bfd.h.new $(BFD_H)
-
- # and libbfd.h
- sed < libbfd.h >libbfd.h.new -e '1,/THE FOLLOWING/!d'
- cat doc/libbfd.protointernal doc/cache.protointernal doc/reloc.protointernal >> libbfd.h.new
- echo >> libbfd.h.new
- mv libbfd.h.new libbfd.h
-
- # and libcoff.h
- sed < $(srcdir)/libcoff.h >libcoff.h.new -e '1,/THE FOLLOWING/!d'
- cat doc/coffcode.proto >>libcoff.h.new
- mv libcoff.h.new $(srcdir)/libcoff.h
-
-
-texinfo:
- makeinfo +no-validate bfd.texinfo
-
-texdoc:
- tex bfd.texinfo
- texindex bfd.??
- tex bfd.texinfo
-
-quickdoc: $(DSRC) docs
- tex bfd.texinfo
-
-
+ cp $(docdir)/bfd.h $(BFD_H)
+ cp $(docdir)/libbfd.h $(srcdir)/libbfd.h
+ cp $(docdir)/libcoff.h $(srcdir)/libcoff.h
+ rm -f $(docdir)/bfd-in.h
+ rm -f $(docdir)/libbfd-in.h
+ rm -f $(docdir)/libcoff-in.h
+
+bfd.info:
+ ( cd $(docdir); $(MAKE) bfd.info)
+
+bfd.dvi:
+ (cd $(docdir); $(MAKE) bfd.dvi)
+
+bfd.ps:
+ (cd $(docdir); $(MAKE) bfd.ps)
+
+# What appears below is generated by a hacked mkdep using gcc -MM.
+
+# DO NOT DELETE THIS LINE -- mkdep uses it.
+# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
+
+libbfd.o : libbfd.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
+opncls.o : opncls.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
+bfd.o : bfd.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
+archive.o : archive.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/ar.h $(INCDIR)/ranlib.h
+targets.o : targets.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
+cache.o : cache.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
+archures.o : archures.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h
+i386coff.o : i386coff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/i386coff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
+aout64.o : aout64.c
+aout32.o : aout32.c aoutx.h $(INCDIR)/bfd.h $(INCDIR)/ansidecl.h \
+ $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout64.h \
+ $(INCDIR)/stab.gnu.h $(INCDIR)/stab.def $(INCDIR)/ar.h
+sunos.o : sunos.c aoutf1.h $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
+ libaout.h libbfd.h $(INCDIR)/aout64.h $(INCDIR)/stab.gnu.h \
+ $(INCDIR)/stab.def $(INCDIR)/ar.h
+demo64.o : demo64.c
+icoff.o : icoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/intel-coff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
+srec.o : srec.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
+oasys.o : oasys.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/oasys.h liboasys.h
+ieee.o : ieee.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/ieee.h libieee.h
+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)/bfd.h \
+ $(INCDIR)/obstack.h libbfd.h
+section.o : section.c $(INCDIR)/bfd.h \
+ $(INCDIR)/obstack.h libbfd.h
+core.o : core.c $(INCDIR)/bfd.h \
+ $(INCDIR)/obstack.h libbfd.h
+syms.o : syms.c $(INCDIR)/bfd.h \
+ $(INCDIR)/obstack.h libbfd.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
+ecoff.o : ecoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/ecoff.h $(INCDIR)/internalcoff.h libcoff.h trad-core.h \
+ coffcode.h
+trad-core.o : trad-core.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
+ libbfd.h libaout.h
+newsos3.o : newsos3.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/aout64.h $(INCDIR)/stab.gnu.h $(INCDIR)/stab.def \
+ $(INCDIR)/ar.h libaout.h
+i386aout.o : i386aout.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/aout64.h $(INCDIR)/stab.gnu.h $(INCDIR)/stab.def \
+ $(INCDIR)/ar.h libaout.h
+bout.o : bout.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
+ $(INCDIR)/bout.h $(INCDIR)/stab.gnu.h $(INCDIR)/stab.def libaout.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY