build chew into the current directory

This commit is contained in:
K. Richard Pixley
1991-12-11 06:11:31 +00:00
parent c466cfab84
commit 430485bb1d
2 changed files with 66 additions and 58 deletions

View File

@ -1,9 +1,17 @@
Tue Dec 10 22:11:05 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: build chew into the current directory.
Tue Dec 10 08:26:28 1991 Steve Chamberlain (sac at rtl.cygnus.com) Tue Dec 10 08:26:28 1991 Steve Chamberlain (sac at rtl.cygnus.com)
* chew.c: don't core dump when can't open file * chew.c: don't core dump when can't open file
* Makefile.in: get proto.str from the right place when built in * Makefile.in: get proto.str from the right place when built in
odd directories odd directories
Tue Dec 10 04:07:25 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: infodir belongs in datadir.
Sat Dec 7 17:01:23 1991 Steve Chamberlain (sac at rtl.cygnus.com) Sat Dec 7 17:01:23 1991 Steve Chamberlain (sac at rtl.cygnus.com)
* chew.c: Much modified * chew.c: Much modified

View File

@ -34,7 +34,7 @@ man6dir = $(mandir)/man6
man7dir = $(mandir)/man7 man7dir = $(mandir)/man7
man8dir = $(mandir)/man8 man8dir = $(mandir)/man8
man9dir = $(mandir)/man9 man9dir = $(mandir)/man9
infodir = $(prefix)/info infodir = $(datadir)/info
includedir = $(prefix)/include includedir = $(prefix)/include
docdir = $(datadir)/doc docdir = $(datadir)/doc
@ -109,58 +109,58 @@ install-info: info
docs: chew protos bfd.info bfd.dvi bfd.ps docs: chew protos bfd.info bfd.dvi bfd.ps
chew: chew.c chew:chew.c
$(CC) $(CFLAGS) -o chew $(srcdir)/chew.c $(LOADLIBES) $(CC) $(CFLAGS) -o ./chew $(srcdir)/chew.c $(LOADLIBES)
protos: libbfd.h libcoff.h bfd.h protos: libbfd.h libcoff.h bfd.h
aoutx.texi: $(MKDOC) $(srcdir)/../aoutx.h aoutx.texi: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../aoutx.h >aoutx.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.texi
archive.texi: $(MKDOC) $(srcdir)/../archive.c archive.texi: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../archive.c >archive.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.texi
archures.texi: $(srcdir)/../archures.c archures.texi: $(srcdir)/../archures.c $(srcdir)/doc.str
$(MKDOC) -d < $(srcdir)/../archures.c >archures.texi $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.texi
bfd.texi: $(MKDOC) $(srcdir)/../bfd.c bfd.texi: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str
$(MKDOC) -d < $(srcdir)/../bfd.c >bfd.texi $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.texi
cache.texi: $(MKDOC) $(srcdir)/../cache.c cache.texi: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str
$(MKDOC) -d < $(srcdir)/../cache.c >cache.texi $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.texi
coffcode.texi: $(MKDOC) $(srcdir)/../coffcode.h coffcode.texi: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../coffcode.h >coffcode.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.texi
core.texi: $(MKDOC) $(srcdir)/../core.c core.texi: $(MKDOC) $(srcdir)/../core.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../core.c >core.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../core.c >core.texi
format.texi: $(MKDOC) $(srcdir)/../format.c format.texi: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../format.c >format.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.texi
libbfd.texi: $(MKDOC) $(srcdir)/../libbfd.c libbfd.texi: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str
$(MKDOC) -d < $(srcdir)/../libbfd.c >libbfd.texi $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.texi
opncls.texi: $(srcdir)/chew $(srcdir)/../opncls.c opncls.texi: $(srcdir)/chew $(srcdir)/../opncls.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../opncls.c >opncls.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.texi
reloc.texi : $(MKDOC) $(srcdir)/../reloc.c reloc.texi : $(MKDOC) $(srcdir)/../reloc.c
$(MKDOC) -d <$(srcdir)/../reloc.c >reloc.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.texi
section.texi: $(MKDOC) $(srcdir)/../section.c section.texi: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../section.c >section.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.texi
syms.texi : $(MKDOC) $(srcdir)/../syms.c syms.texi : $(MKDOC) $(srcdir)/../syms.c
$(MKDOC) -d <$(srcdir)/../syms.c >syms.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.texi
targets.texi: $(MKDOC) $(srcdir)/../targets.c targets.texi: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../targets.c >targets.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.texi
init.texi: $(MKDOC) $(srcdir)/../init.c init.texi: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../init.c >init.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.texi
ctor.texi: $(MKDOC) $(srcdir)/../ctor.c ctor.texi: $(MKDOC) $(srcdir)/../ctor.c $(srcdir)/doc.str
$(MKDOC) -d <$(srcdir)/../ctor.c >ctor.texi $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../ctor.c >ctor.texi
libbfd.h: $(srcdir)/../libbfd-in.h \ libbfd.h: $(srcdir)/../libbfd-in.h \
@ -176,22 +176,22 @@ libbfd.h: $(srcdir)/../libbfd-in.h \
$(srcdir)/../archures.c \ $(srcdir)/../archures.c \
$(srcdir)/chew $(srcdir)/chew
cat $(srcdir)/../libbfd-in.h >libbfd.h cat $(srcdir)/../libbfd-in.h >libbfd.h
$(MKDOC) -i < $(srcdir)/../init.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../init.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../libbfd.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../libbfd.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../init.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../init.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../libbfd.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../libbfd.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../cache.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../cache.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../ctor.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../ctor.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../reloc.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../reloc.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../cpu-h8300.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../cpu-h8300.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../cpu-i960.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../cpu-i960.c >>libbfd.h
$(MKDOC) -i < $(srcdir)/../archures.c >>libbfd.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../archures.c >>libbfd.h
libcoff.h: $(srcdir)/../libcoff-in.h \ libcoff.h: $(srcdir)/../libcoff-in.h \
$(srcdir)/../coffcode.h \ $(srcdir)/../coffcode.h \
$(srcdir)/chew $(srcdir)/chew
cat $(srcdir)/../libcoff-in.h >libcoff.h cat $(srcdir)/../libcoff-in.h >libcoff.h
$(MKDOC) -i < $(srcdir)/../coffcode.h >>libcoff.h $(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../coffcode.h >>libcoff.h
bfd.h: $(srcdir)/../bfd-in.h \ bfd.h: $(srcdir)/../bfd-in.h \
$(srcdir)/../init.c \ $(srcdir)/../init.c \
@ -207,18 +207,18 @@ bfd.h: $(srcdir)/../bfd-in.h \
$(srcdir)/../format.c \ $(srcdir)/../format.c \
$(srcdir)/chew $(srcdir)/chew
cat $(srcdir)/../bfd-in.h >bfd.h cat $(srcdir)/../bfd-in.h >bfd.h
$(MKDOC) -g<$(srcdir)/../init.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../init.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../opncls.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../opncls.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../libbfd.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../libbfd.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../section.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../section.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../archures.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archures.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../reloc.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../reloc.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../syms.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../syms.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../bfd.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../bfd.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../archive.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archive.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../core.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../core.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../targets.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../targets.c >>bfd.h
$(MKDOC) -g<$(srcdir)/../format.c >>bfd.h $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../format.c >>bfd.h
echo "#endif" >>bfd.h echo "#endif" >>bfd.h
@ -230,8 +230,8 @@ bfd.info: $(DOCFILES) bfd.texinfo
bfd.dvi: $(DOCFILES) bfd.texinfo bfd.dvi: $(DOCFILES) bfd.texinfo
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
texindex bfd.?? # texindex bfd.??
TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo # TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
bfd.ps: bfd.dvi bfd.ps: bfd.dvi
dvips bfd -o dvips bfd -o