1 .SUFFIXES
: .texi .o .c .h .p .ip
18 # main GDB source directory
21 TEXIDIR
=${srcdir}/..
/texinfo
/fsf
23 DOCFILES
= 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 \
27 syms.texi targets.texi init.texi ctor.texi
30 PROTOS
= archive.p archures.p bfd.p \
31 coffcode.p core.p format.p \
32 libbfd.p opncls.p reloc.p \
33 section.p syms.p targets.p \
34 format.p coffcode.p core.p machines.p init.p
36 IPROTOS
= cache.ip libbfd.ip reloc.ip init.ip archures.ip ctor.ip
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:
41 SRCDOC
= 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 \
45 syms.c targets.c init.c
47 SRCPROT
= archive.c archures.c bfd.c \
48 coffcode.h core.c format.c \
49 libbfd.c opncls.c reloc.c \
50 section.c syms.c targets.c init.c
52 SRCIPROT
= cache.c libbfd.c reloc.c cpu-h8300.c cpu-i960.c archures.c init.c ctor.c
55 docs
: protos bfd.
info bfd.
dvi bfd.ps
57 protos
: $(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
62 # Following three rules only for the benefit of Sun Make; see comment above
63 $(DOCFILES
) : $(SRCDOC
)
64 $(PROTOS
) : $(SRCPROT
)
65 $(IPROTOS
) : $(SRCIPROT
)
68 rm -f
$(PROTOS
) *.p
*.ip
*.h bfd.??
$(DOCFILES
) bfd.
dvi bfd.ps
*~
* *# bfd.???
70 bfd.
info: $(DOCFILES
) bfd.texinfo
73 bfd.
dvi: $(DOCFILES
) bfd.texinfo
74 TEXINPUTS
=${TEXIDIR}:.
:$$TEXINPUTS tex bfd.texinfo
76 TEXINPUTS
=${TEXIDIR}:.
:$$TEXINPUTS tex bfd.texinfo
81 quickdoc
: $(DOCFILES
) bfd.texinfo
82 TEXINPUTS
=${TEXIDIR}:.
:$$TEXINPUTS tex bfd.texinfo