Now include ctor.c in the right places.
[deliverable/binutils-gdb.git] / bfd / doc / Makefile
CommitLineData
80d29884
SC
1.SUFFIXES: .texi .o .c .h .p .ip
2VPATH=..
3.c.texi:
a7a7b848 4 ./scanit $< $@
80d29884
SC
5
6.h.texi:
a7a7b848 7 ./scanit $< $@
80d29884
SC
8
9.c.p:
a7a7b848 10 ./scanph $< $@
80d29884
SC
11
12.h.p:
a7a7b848 13 ./scanph $< $@
80d29884
SC
14
15.c.ip:
a7a7b848 16 ./scanph -i $< $@
80d29884 17
9393e96e
RP
18# main GDB source directory
19srcdir = ..
20
21TEXIDIR=${srcdir}/../texinfo/fsf
80d29884 22
ff2e1850
RP
23DOCFILES = aoutx.texi archive.texi archures.texi \
24 bfd.texi cache.texi coffcode.texi \
25 core.texi format.texi libbfd.texi \
26 opncls.texi reloc.texi section.texi \
7a25e728 27 syms.texi targets.texi init.texi ctor.texi
11fdd520 28
80d29884 29
ff2e1850
RP
30PROTOS = archive.p archures.p bfd.p \
31 coffcode.p core.p format.p \
32 libbfd.p opncls.p reloc.p \
11fdd520 33 section.p syms.p targets.p \
278bf2c0 34 format.p coffcode.p core.p machines.p init.p
80d29884 35
7a25e728 36IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip ctor.ip
80d29884 37
ff2e1850
RP
38# SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction
39# between VPATH and suffix rules. If you use GNU Make, perhaps other Makes,
40# you don't need these three:
41SRCDOC = aoutx.h archive.c archures.c \
42 bfd.c cache.c coffcode.h \
43 core.c format.c libbfd.c \
44 opncls.c reloc.c section.c \
11fdd520 45 syms.c targets.c init.c
ff2e1850
RP
46
47SRCPROT = archive.c archures.c bfd.c \
48 coffcode.h core.c format.c \
49 libbfd.c opncls.c reloc.c \
11fdd520 50 section.c syms.c targets.c init.c
ff2e1850 51
7a25e728 52SRCIPROT = cache.c libbfd.c reloc.c cpu-h8300.c cpu-i960.c archures.c init.c ctor.c
ff2e1850
RP
53
54
aa69ff84 55docs: protos bfd.info bfd.dvi bfd.ps
80d29884
SC
56
57protos: $(PROTOS) $(IPROTOS)
58 sed -f intobfd bfd-in.h > bfd.h
59 sed -f tolibbfd libbfd-in.h > libbfd.h
60 sed -f tolibcoff libcoff-in.h > libcoff.h
61
ff2e1850
RP
62# Following three rules only for the benefit of Sun Make; see comment above
63$(DOCFILES) : $(SRCDOC)
64$(PROTOS) : $(SRCPROT)
65$(IPROTOS) : $(SRCIPROT)
80d29884
SC
66
67clean:
68 rm -f $(PROTOS) *.p *.ip *.h bfd.?? $(DOCFILES) bfd.dvi bfd.ps *~* *# bfd.???
69
70bfd.info: $(DOCFILES) bfd.texinfo
a6fe7eeb 71 makeinfo bfd.texinfo
80d29884
SC
72
73bfd.dvi: $(DOCFILES) bfd.texinfo
9393e96e 74 TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
80d29884 75 texindex bfd.??
9393e96e 76 TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
80d29884
SC
77
78bfd.ps: bfd.dvi
79 dvips bfd -o
80
9393e96e
RP
81quickdoc: $(DOCFILES) bfd.texinfo
82 TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
This page took 0.049438 seconds and 4 git commands to generate.