aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/doc/Makefile.in')
-rw-r--r--bfd/doc/Makefile.in20
1 files changed, 11 insertions, 9 deletions
diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in
index f489aee..a2bc308 100644
--- a/bfd/doc/Makefile.in
+++ b/bfd/doc/Makefile.in
@@ -55,6 +55,8 @@ TEXI2DVI = texi2dvi
RANLIB = ranlib
CFLAGS = -g
+CC_FOR_BUILD = $(CC)
+
#### Host, target, and site specific Makefile fragments come in here.
###
@@ -114,17 +116,17 @@ info: bfd.info
dvi: bfd.dvi
install-info: info
- -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
- if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
- -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
for i in *.info* ; do \
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
done
docs: $(MKDOC) protos bfd.info bfd.dvi bfd.ps
-$(MKDOC): chew.c
- $(CC) $(CFLAGS) -o $(MKDOC) $(H_CFLAGS) -I.. -I$(srcdir)/.. -I$(srcdir)/../../include $(srcdir)/chew.c $(LOADLIBES)
+$(MKDOC): chew.o
+ $(CC_FOR_BUILD) $(CFLAGS) -o $(MKDOC) $(H_CFLAGS) chew.o $(LOADLIBES)
+
+chew.o: chew.c
+ $(CC_FOR_BUILD) $(CFLAGS) -c $(H_CFLAGS) -I.. -I$(srcdir)/.. -I$(srcdir)/../../include $(srcdir)/chew.c
protos: libbfd.h libcoff.h bfd.h
@@ -187,7 +189,7 @@ libbfd.h: $(srcdir)/../libbfd-in.h \
$(srcdir)/../cpu-h8300.c \
$(srcdir)/../cpu-i960.c \
$(srcdir)/../archures.c \
- $(srcdir)/../elf32.c \
+ $(srcdir)/../elfcode.h \
$(MKDOC)
cat $(srcdir)/../libbfd-in.h >libbfd.h
$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../init.c >>libbfd.h
@@ -199,7 +201,7 @@ libbfd.h: $(srcdir)/../libbfd-in.h \
$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../cpu-h8300.c >>libbfd.h
$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../cpu-i960.c >>libbfd.h
$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../archures.c >>libbfd.h
- $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../elf32.c >>libbfd.h
+ $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../elfcode.h >>libbfd.h
libcoff.h: $(srcdir)/../libcoff-in.h \
$(srcdir)/../coffcode.h \
@@ -242,7 +244,7 @@ bfd.h: $(srcdir)/../bfd-in.h \
clean-info: clean
mostlyclean:
- rm -rf *.log *.ps *~* *.dvi *# $(MKDOC)
+ rm -rf *.log *.ps *~* *.dvi *# $(MKDOC) *.o
clean: mostlyclean
rm -rf $(STAGESTUFF)
@@ -258,7 +260,7 @@ bfd.info: $(DOCFILES) bfd.texinfo
$(MAKEINFO) -o bfd.info $(srcdir)/bfd.texinfo
bfd.dvi: $(DOCFILES) bfd.texinfo
- $(TEXI2DVI) $(srcdir)/bfd.texino
+ $(TEXI2DVI) $(srcdir)/bfd.texinfo
bfd.ps: bfd.dvi
dvips bfd -o