aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in148
1 files changed, 79 insertions, 69 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 1f91491..8167818 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -23,6 +23,7 @@
srcdir = .
destdir = /usr/local
libdir = $(destdir)/lib
+docdir = $(srcdir)/doc
RANLIB = ranlib
AR = ar
@@ -30,6 +31,8 @@ AR_FLAGS = clq
INCDIR = $(srcdir)/../include
CSEARCH = -I$(INCDIR)
DEP = mkdep
+
+
#### host and target dependent Makefile fragments come in here.
###
@@ -193,74 +196,81 @@ dep: $(CFILES)
mkdep $(CFLAGS) $?
-# Stuff to make the documentation for bfd.
-#
-# make docs
-# rebuilds the documentation. Has to be done when the source is
-# modified until I work out how to do this properly
-#
-# make docs headers
-# rebuilds the header files from the source
-#
-# make docs texdoc
-# rebuilds the bfd.dvi manual
-#
-# make docs texinfo
-# rebuilds the bfdinfo manual
-
-
-.SUFFIXES: .texi .o .c .h .p .ip
-
-.c.texi:
- scanit $<
-
-.h.texi:
- scanit $<
-
-.c.p:
- scanph $<
-
-.h.p:
- scanph $<
-
-.c.ip:
- scanph -i $<
-
-
-DSRC=$(CFILES)
-
-docs: syms.texi bfd.texi cache.texi format.texi section.texi \
- archive.texi core.texi libbfd.texi archures.texi reloc.texi \
- opncls.texi targets.texi aoutx.texi coffcode.texi
-
-
-PROTOS = opncls.p archures.p libbfd.p section.p syms.p bfd.p \
- archive.p reloc.p targets.p format.p coffcode.p core.p
-
-IPROTOS = libbfd.ip cache.ip
-headers : $(PROTOS) $(IPROTOS)
+headers:
+ cp $(srcdir)/bfd-in.h $(docdir)
+ cp $(srcdir)/libbfd-in.h $(docdir)
+ cp $(srcdir)/libcoff-in.h $(docdir)
+ (cd $(docdir); make protos)
# Rebuild prototypes in bfd.h
- mv $(BFD_H) $(BFD_H).old
- sed -f $(srcdir)/intobfd $(srcdir)/bfd-in.h > $(BFD_H)
- # and libbfd.h
- mv $(srcdir)/libbfd.h libbfd.h.old
- sed -f $(srcdir)/tolibbfd $(srcdir)/libbfd-in.h >$(srcdir)/libbfd.h
- # and libcoff.h
- mv $(srcdir)/libcoff.h libcoff.h.old
- sed -f $(srcdir)/tolibcoff $(srcdir)/libcoff-in.h >$(srcdir)/libcoff.h
-
-
-texinfo:
- makeinfo +no-validate bfd.texinfo
-
-texdoc:
- tex bfd.texinfo
- texindex bfd.??
- tex bfd.texinfo
-
-psdoc:
- dvips -f bfd.dvi >bfd.texi.ps
-
-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
+
+bfd.info:
+ ( cd doc; make bfd.info)
+
+bfd.dvi:
+ (cd doc; make bfd.dvi)
+
+bfd.ps:
+ (cd doc; 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 ../include/bfd.h ../include/obstack.h libbfd.h
+opncls.o : opncls.c ../include/bfd.h ../include/obstack.h libbfd.h
+bfd.o : bfd.c ../include/bfd.h ../include/obstack.h libbfd.h
+archive.o : archive.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/ar.h ../include/ranlib.h
+targets.o : targets.c ../include/bfd.h ../include/obstack.h libbfd.h
+cache.o : cache.c ../include/bfd.h ../include/obstack.h libbfd.h
+archures.o : archures.c ../include/bfd.h ../include/obstack.h
+i386coff.o : i386coff.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/i386coff.h ../include/internalcoff.h libcoff.h coffcode.h
+aout64.o : aout64.c
+aout32.o : aout32.c aoutx.h ../include/bfd.h ../include/ansidecl.h \
+ ../include/obstack.h libaout.h libbfd.h ../include/aout64.h \
+ ../include/stab.gnu.h ../include/stab.def ../include/ar.h
+sunos.o : sunos.c aoutf1.h ../include/bfd.h ../include/obstack.h \
+ libaout.h libbfd.h ../include/aout64.h ../include/stab.gnu.h \
+ ../include/stab.def ../include/ar.h
+demo64.o : demo64.c
+icoff.o : icoff.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/intel-coff.h ../include/internalcoff.h libcoff.h coffcode.h
+srec.o : srec.c ../include/bfd.h ../include/obstack.h libbfd.h
+oasys.o : oasys.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/oasys.h liboasys.h
+ieee.o : ieee.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/ieee.h libieee.h
+m68kcoff.o : m68kcoff.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/m68kcoff.h ../include/internalcoff.h libcoff.h coffcode.h
+amdcoff.o : amdcoff.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/amdcoff.h ../include/internalcoff.h libcoff.h coffcode.h
+format.o : format.c ../include/sysdep.h ../include/bfd.h \
+ ../include/obstack.h libbfd.h
+section.o : section.c ../include/sysdep.h ../include/bfd.h \
+ ../include/obstack.h libbfd.h
+core.o : core.c ../include/sysdep.h ../include/bfd.h \
+ ../include/obstack.h libbfd.h
+syms.o : syms.c ../include/sysdep.h ../include/bfd.h \
+ ../include/obstack.h libbfd.h
+reloc.o : reloc.c ../include/sysdep.h ../include/bfd.h \
+ ../include/obstack.h libbfd.h
+m88k-bcs.o : m88k-bcs.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/m88k-bcs.h ../include/internalcoff.h libcoff.h coffcode.h
+ecoff.o : ecoff.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/ecoff.h ../include/internalcoff.h libcoff.h trad-core.h \
+ coffcode.h
+trad-core.o : trad-core.c ../include/bfd.h ../include/obstack.h \
+ libbfd.h libaout.h
+newsos3.o : newsos3.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/aout64.h ../include/stab.gnu.h ../include/stab.def \
+ ../include/ar.h libaout.h
+bout.o : bout.c ../include/bfd.h ../include/obstack.h libbfd.h \
+ ../include/bout.h ../include/stab.gnu.h ../include/stab.def libaout.h
+
+# IF YOU PUT ANYTHING HERE IT WILL GO AWAY