aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-09-12 21:04:21 +0000
committerRoland Pesch <pesch@cygnus>1991-09-12 21:04:21 +0000
commitff2e185071a6ab97d0e043c33370adec7fd5b836 (patch)
tree5bd65e93ad28f3f22c15961e10077e880e38d9b5 /bfd
parenta5a8b9b14ec6374aa22f73d55f7c2200ea0d30f6 (diff)
downloadgdb-ff2e185071a6ab97d0e043c33370adec7fd5b836.zip
gdb-ff2e185071a6ab97d0e043c33370adec7fd5b836.tar.gz
gdb-ff2e185071a6ab97d0e043c33370adec7fd5b836.tar.bz2
Per J Gilmore's advice, include redundant dependencies to get around
Sun-make VPATH bug.
Diffstat (limited to 'bfd')
-rwxr-xr-xbfd/doc/Makefile40
1 files changed, 30 insertions, 10 deletions
diff --git a/bfd/doc/Makefile b/bfd/doc/Makefile
index 7527617..81fda15 100755
--- a/bfd/doc/Makefile
+++ b/bfd/doc/Makefile
@@ -16,19 +16,36 @@ VPATH=..
scanph -i $< $@
-DOCFILES = 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 cache.texi
+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
-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
+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
IPROTOS = cache.ip libbfd.ip reloc.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
+
+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
+
+SRCIPROT = cache.c libbfd.c reloc.c
+
+
docs: protos bfd.info bfd.dvi bfd.ps
protos: $(PROTOS) $(IPROTOS)
@@ -36,7 +53,10 @@ protos: $(PROTOS) $(IPROTOS)
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.???