old-cross-binutils/bfd/doc/Makefile

83 lines
2 KiB
Makefile
Raw Normal View History

1991-08-22 19:56:14 +00:00
.SUFFIXES: .texi .o .c .h .p .ip
VPATH=..
.c.texi:
1991-10-14 21:23:05 +00:00
./scanit $< $@
1991-08-22 19:56:14 +00:00
.h.texi:
1991-10-14 21:23:05 +00:00
./scanit $< $@
1991-08-22 19:56:14 +00:00
.c.p:
1991-10-14 21:23:05 +00:00
./scanph $< $@
1991-08-22 19:56:14 +00:00
.h.p:
1991-10-14 21:23:05 +00:00
./scanph $< $@
1991-08-22 19:56:14 +00:00
.c.ip:
1991-10-14 21:23:05 +00:00
./scanph -i $< $@
1991-08-22 19:56:14 +00:00
# main GDB source directory
srcdir = ..
TEXIDIR=${srcdir}/../texinfo/fsf
1991-08-22 19:56:14 +00:00
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
1991-08-22 19:56:14 +00:00
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
1991-08-22 19:56:14 +00:00
IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip
1991-08-22 19:56:14 +00:00
# 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
docs: protos bfd.info bfd.dvi bfd.ps
1991-08-22 19:56:14 +00:00
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)
1991-08-22 19:56:14 +00:00
clean:
rm -f $(PROTOS) *.p *.ip *.h bfd.?? $(DOCFILES) bfd.dvi bfd.ps *~* *# bfd.???
bfd.info: $(DOCFILES) bfd.texinfo
makeinfo bfd.texinfo
1991-08-22 19:56:14 +00:00
bfd.dvi: $(DOCFILES) bfd.texinfo
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
1991-08-22 19:56:14 +00:00
texindex bfd.??
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
1991-08-22 19:56:14 +00:00
bfd.ps: bfd.dvi
dvips bfd -o
quickdoc: $(DOCFILES) bfd.texinfo
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo