mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
* Makefile.in (CC, CFLAGS): Substitute from configure script.
This commit is contained in:
@ -1,3 +1,21 @@
|
|||||||
|
Mon Jun 16 15:33:15 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (CC, CFLAGS): Substitute from configure script.
|
||||||
|
|
||||||
|
Tue Apr 15 12:37:41 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (install-info): Use mkinstalldirs to build
|
||||||
|
$(infodir).
|
||||||
|
|
||||||
|
Tue Apr 8 12:49:46 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (install-info): Permit info files to be in srcdir.
|
||||||
|
(stamp-*): Add a stamp-X target for each X.texi target.
|
||||||
|
(*.texi): Just depend upon stamp-X.
|
||||||
|
(clean): Remove stamp-*.
|
||||||
|
(distclean): Depend upon mostlyclean. Remove stamp-*. Don't
|
||||||
|
remove $(DOCFILES).
|
||||||
|
|
||||||
Mon Apr 7 15:23:26 1997 Ian Lance Taylor <ian@cygnus.com>
|
Mon Apr 7 15:23:26 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* Makefile.in (distclean): Don't remove *.info files.
|
* Makefile.in (distclean): Don't remove *.info files.
|
||||||
|
@ -49,7 +49,8 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||||||
|
|
||||||
MAKEINFO = makeinfo
|
MAKEINFO = makeinfo
|
||||||
TEXI2DVI = texi2dvi
|
TEXI2DVI = texi2dvi
|
||||||
CFLAGS = -g
|
CC = @CC@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
|
||||||
CC_FOR_BUILD = $(CC)
|
CC_FOR_BUILD = $(CC)
|
||||||
|
|
||||||
@ -109,8 +110,14 @@ info: bfd.info
|
|||||||
dvi: bfd.dvi
|
dvi: bfd.dvi
|
||||||
|
|
||||||
install-info: info
|
install-info: info
|
||||||
for i in *.info* ; do \
|
$(SHELL) $(srcdir)/../../mkinstalldirs $(infodir)
|
||||||
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
|
if [ -r bfd.info ]; then \
|
||||||
|
dir=.; \
|
||||||
|
else \
|
||||||
|
dir=$(srcdir); \
|
||||||
|
fi; \
|
||||||
|
for i in `cd $$dir; echo *.info*`; do \
|
||||||
|
$(INSTALL_DATA) $$dir/$$i $(infodir)/$$i; \
|
||||||
done
|
done
|
||||||
|
|
||||||
docs: $(MKDOC) protos bfd.info bfd.dvi bfd.ps
|
docs: $(MKDOC) protos bfd.info bfd.dvi bfd.ps
|
||||||
@ -127,62 +134,126 @@ protos: libbfd.h libcoff.h bfd.h
|
|||||||
# We can't replace these rules with an implicit rule, because
|
# We can't replace these rules with an implicit rule, because
|
||||||
# makes without VPATH support couldn't find the .h files in `..'.
|
# makes without VPATH support couldn't find the .h files in `..'.
|
||||||
|
|
||||||
aoutx.texi: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str
|
# We use stamp-XXX targets so that we can distribute the info files,
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.texi
|
# and permit people to rebuild them, without requiring the makeinfo
|
||||||
|
# program. If somebody tries to rebuild info, but none of the .texi
|
||||||
|
# files have changed, then this Makefile will build chew, and will
|
||||||
|
# build all of the stamp files, but will not actually have to rebuild
|
||||||
|
# bfd.info.
|
||||||
|
|
||||||
archive.texi: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str
|
stamp-aoutx: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp
|
||||||
|
$(srcdir)/../../move-if-change aoutx.tmp aoutx.texi
|
||||||
|
touch stamp-aoutx
|
||||||
|
aoutx.texi: stamp-aoutx
|
||||||
|
|
||||||
archures.texi: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str
|
stamp-archive: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp
|
||||||
|
$(srcdir)/../../move-if-change archive.tmp archive.texi
|
||||||
|
touch stamp-archive
|
||||||
|
archive.texi: stamp-archive
|
||||||
|
|
||||||
bfd.texi: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str
|
stamp-archures: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.texi
|
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp
|
||||||
|
$(srcdir)/../../move-if-change archures.tmp archures.texi
|
||||||
|
touch stamp-archures
|
||||||
|
archures.texi: stamp-archures
|
||||||
|
|
||||||
cache.texi: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str
|
stamp-bfd: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.texi
|
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp
|
||||||
|
$(srcdir)/../../move-if-change bfd.tmp bfd.texi
|
||||||
|
touch stamp-bfd
|
||||||
|
bfd.texi: stamp-bfd
|
||||||
|
|
||||||
coffcode.texi: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str
|
stamp-cache: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.texi
|
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp
|
||||||
|
$(srcdir)/../../move-if-change cache.tmp cache.texi
|
||||||
|
touch stamp-cache
|
||||||
|
cache.texi: stamp-cache
|
||||||
|
|
||||||
core.texi: $(MKDOC) $(srcdir)/../corefile.c $(srcdir)/doc.str
|
stamp-coffcode: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp
|
||||||
|
$(srcdir)/../../move-if-change coffcode.tmp coffcode.texi
|
||||||
|
touch stamp-coffcode
|
||||||
|
coffcode.texi: stamp-coffcode
|
||||||
|
|
||||||
elf.texi: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str
|
stamp-core: $(MKDOC) $(srcdir)/../corefile.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp
|
||||||
|
$(srcdir)/../../move-if-change core.tmp core.texi
|
||||||
|
touch stamp-core
|
||||||
|
core.texi: stamp-core
|
||||||
|
|
||||||
elfcode.texi: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str
|
stamp-elf: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp
|
||||||
|
$(srcdir)/../../move-if-change elf.tmp elf.texi
|
||||||
|
touch stamp-elf
|
||||||
|
elf.texi: stamp-elf
|
||||||
|
|
||||||
format.texi: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str
|
stamp-elfcode: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp
|
||||||
|
$(srcdir)/../../move-if-change elfcode.tmp elfcode.texi
|
||||||
|
touch stamp-elfcode
|
||||||
|
elfcode.texi: stamp-elfcode
|
||||||
|
|
||||||
libbfd.texi: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str
|
stamp-format: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp
|
||||||
|
$(srcdir)/../../move-if-change format.tmp format.texi
|
||||||
|
touch stamp-format
|
||||||
|
format.texi: stamp-format
|
||||||
|
|
||||||
opncls.texi: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str
|
stamp-libbfd: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.texi
|
$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp
|
||||||
|
$(srcdir)/../../move-if-change libbfd.tmp libbfd.texi
|
||||||
|
touch stamp-libbfd
|
||||||
|
libbfd.texi: stamp-libbfd
|
||||||
|
|
||||||
reloc.texi : $(MKDOC) $(srcdir)/../reloc.c
|
stamp-opncls: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.tmp
|
||||||
|
$(srcdir)/../../move-if-change opncls.tmp opncls.texi
|
||||||
|
touch stamp-opncls
|
||||||
|
opncls.texi: stamp-opncls
|
||||||
|
|
||||||
section.texi: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str
|
stamp-reloc: $(MKDOC) $(srcdir)/../reloc.c
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp
|
||||||
|
$(srcdir)/../../move-if-change reloc.tmp reloc.texi
|
||||||
|
touch stamp-reloc
|
||||||
|
reloc.texi: stamp-reloc
|
||||||
|
|
||||||
syms.texi : $(MKDOC) $(srcdir)/../syms.c
|
stamp-section: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp
|
||||||
|
$(srcdir)/../../move-if-change section.tmp section.texi
|
||||||
|
touch stamp-section
|
||||||
|
section.texi: stamp-section
|
||||||
|
|
||||||
targets.texi: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str
|
stamp-syms: $(MKDOC) $(srcdir)/../syms.c
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp
|
||||||
|
$(srcdir)/../../move-if-change syms.tmp syms.texi
|
||||||
|
touch stamp-syms
|
||||||
|
syms.texi: stamp-syms
|
||||||
|
|
||||||
init.texi: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str
|
stamp-targets: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp
|
||||||
|
$(srcdir)/../../move-if-change targets.tmp targets.texi
|
||||||
|
touch stamp-targets
|
||||||
|
targets.texi: stamp-targets
|
||||||
|
|
||||||
hash.texi: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str
|
stamp-init: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp
|
||||||
|
$(srcdir)/../../move-if-change init.tmp init.texi
|
||||||
|
touch stamp-init
|
||||||
|
init.texi: stamp-init
|
||||||
|
|
||||||
linker.texi: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str
|
stamp-hash: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str
|
||||||
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.texi
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp
|
||||||
|
$(srcdir)/../../move-if-change hash.tmp hash.texi
|
||||||
|
touch stamp-hash
|
||||||
|
hash.texi: stamp-hash
|
||||||
|
|
||||||
|
stamp-linker: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str
|
||||||
|
$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp
|
||||||
|
$(srcdir)/../../move-if-change linker.tmp linker.texi
|
||||||
|
touch stamp-linker
|
||||||
|
linker.texi: stamp-linker
|
||||||
|
|
||||||
libbfd.h: $(srcdir)/../libbfd-in.h \
|
libbfd.h: $(srcdir)/../libbfd-in.h \
|
||||||
$(srcdir)/../init.c \
|
$(srcdir)/../init.c \
|
||||||
@ -253,12 +324,12 @@ mostlyclean:
|
|||||||
rm -rf *.log *.ps *~* *.dvi *# $(MKDOC) *.o
|
rm -rf *.log *.ps *~* *.dvi *# $(MKDOC) *.o
|
||||||
|
|
||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
rm -rf $(STAGESTUFF)
|
rm -rf $(STAGESTUFF) stamp-*
|
||||||
rm -f *.p *.ip bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log
|
rm -f *.p *.ip bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log
|
||||||
|
|
||||||
distclean:
|
distclean: mostlyclean
|
||||||
rm -f $(DOCFILES)
|
|
||||||
rm -f *.p *.ip bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log
|
rm -f *.p *.ip bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log
|
||||||
|
rm -f stamp-*
|
||||||
rm -f Makefile config.status
|
rm -f Makefile config.status
|
||||||
|
|
||||||
maintainer-clean realclean: clean
|
maintainer-clean realclean: clean
|
||||||
|
Reference in New Issue
Block a user