From 40c0f22d98db72a9777ee9341d25003250abc91a Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Wed, 13 Nov 1991 20:00:07 +0000 Subject: [PATCH] Initial revision --- bfd/doc/Makefile.in | 83 ++++++++++++++++++++++++++++++++++++++++++++ bfd/doc/configure.in | 11 ++++++ 2 files changed, 94 insertions(+) create mode 100644 bfd/doc/Makefile.in create mode 100644 bfd/doc/configure.in diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in new file mode 100644 index 00000000000..0a4baad1a39 --- /dev/null +++ b/bfd/doc/Makefile.in @@ -0,0 +1,83 @@ +.SUFFIXES: .texi .o .c .h .p .ip +VPATH=.. +.c.texi: + ./scanit $< $@ + +.h.texi: + ./scanit $< $@ + +.c.p: + ./scanph $< $@ + +.h.p: + ./scanph $< $@ + +.c.ip: + ./scanph -i $< $@ + +# main GDB source directory +srcdir = .. + +TEXIDIR=${srcdir}/../texinfo/fsf + +DOCFILES = aoutx.texi archive.texi archures.texi \ + bfd.texi cache.texi coffcode.texi \ + core.texi format.texi libbfd.texi \ + opncls.texi reloc.texi section.texi \ + syms.texi targets.texi init.texi ctor.texi + + +PROTOS = archive.p archures.p bfd.p \ + coffcode.p core.p format.p \ + libbfd.p opncls.p reloc.p \ + section.p syms.p targets.p \ + format.p coffcode.p core.p machines.p init.p + +IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip ctor.ip + +# SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction +# between VPATH and suffix rules. If you use GNU Make, perhaps other Makes, +# you don't need these three: +SRCDOC = aoutx.h archive.c archures.c \ + bfd.c cache.c coffcode.h \ + core.c format.c libbfd.c \ + opncls.c reloc.c section.c \ + syms.c targets.c init.c + +SRCPROT = archive.c archures.c bfd.c \ + coffcode.h core.c format.c \ + libbfd.c opncls.c reloc.c \ + section.c syms.c targets.c init.c + +SRCIPROT = cache.c libbfd.c reloc.c cpu-h8300.c cpu-i960.c archures.c init.c ctor.c + +all: bfd.info + +docs: protos bfd.info bfd.dvi bfd.ps + +protos: $(PROTOS) $(IPROTOS) + sed -f intobfd bfd-in.h > bfd.h + sed -f tolibbfd libbfd-in.h > libbfd.h + sed -f tolibcoff libcoff-in.h > libcoff.h + +# Following three rules only for the benefit of Sun Make; see comment above +$(DOCFILES) : $(SRCDOC) +$(PROTOS) : $(SRCPROT) +$(IPROTOS) : $(SRCIPROT) + +clean: + rm -f $(PROTOS) *.p *.ip *.h bfd.?? $(DOCFILES) bfd.dvi bfd.ps *~* *# bfd.??? + +bfd.info: $(DOCFILES) bfd.texinfo + makeinfo bfd.texinfo + +bfd.dvi: $(DOCFILES) bfd.texinfo + TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo + texindex bfd.?? + TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo + +bfd.ps: bfd.dvi + dvips bfd -o + +quickdoc: $(DOCFILES) bfd.texinfo + TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo diff --git a/bfd/doc/configure.in b/bfd/doc/configure.in new file mode 100644 index 00000000000..c23601b2721 --- /dev/null +++ b/bfd/doc/configure.in @@ -0,0 +1,11 @@ +# This file is a shell script that supplies the information necessary +# to tailor a template configure script into the configure script +# appropriate for this directory. For more information, check any +# existing configure script. + +srctrigger=bfd.texinfo +srcname="BFD doc" + +# per-host: + +# per-target: -- 2.30.2