mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
add menu item and Makefile.in hook
This commit is contained in:
parent
56f5e00599
commit
126825483c
54
Makefile.in
54
Makefile.in
@ -75,17 +75,18 @@ INSTALL_TARGET = install.all
|
||||
|
||||
all: $(ALL)
|
||||
|
||||
info: configure.info doc.info
|
||||
info: cfg-paper.info
|
||||
$(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)"
|
||||
|
||||
cfg-paper.info: cfg-paper.texi
|
||||
$(MAKEINFO) -o cfg-paper.info $(srcdir)/cfg-paper.texi
|
||||
|
||||
configure.info: configure.texi
|
||||
$(MAKEINFO) -o configure.info $(srcdir)/configure.texi
|
||||
|
||||
doc.info: doc.texi
|
||||
$(MAKEINFO) -o doc.info $(srcdir)/doc.texi
|
||||
|
||||
install-info: install-info-dirs force
|
||||
$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)"
|
||||
$(INSTALL_DATA) cfg-paper.info $(infodir)/cfg-paper.info
|
||||
$(MAKE) dir.info install-dir.info
|
||||
|
||||
install-dir.info:
|
||||
@ -459,7 +460,7 @@ install-bison: force
|
||||
### gcc
|
||||
.PHONY: all-gcc just-gcc
|
||||
all-gcc: just-gcc
|
||||
just-gcc: just-libiberty just-bison force
|
||||
just-gcc: just-libiberty just-bison just-gnulib1 force
|
||||
if [ -d $(unsubdir)/gcc ] ; then \
|
||||
(cd $(unsubdir)/gcc$(subdir); \
|
||||
$(MAKE) \
|
||||
@ -741,8 +742,47 @@ install-ld: force
|
||||
true ; \
|
||||
fi
|
||||
|
||||
### gnulib
|
||||
.PHONY: all-gnulib just-gnulib
|
||||
### gnulib (and gnulib1)
|
||||
.PHONY: all-gnulib just-gnulib1 just-gnulib
|
||||
just-gnulib1: all-gas all-binutils force
|
||||
if [ -d $(unsubdir)/gnulib ] ; then \
|
||||
(cd $(unsubdir)/gnulib$(subdir); \
|
||||
$(MAKE) \
|
||||
"against=$(against)" \
|
||||
"AR=$(AR)" \
|
||||
"AR_FLAGS=$(AR_FLAGS)" \
|
||||
"CC=$(CC)" \
|
||||
"RANLIB=$(RANLIB)" \
|
||||
"LOADLIBES=$(LOADLIBES)" \
|
||||
"LDFLAGS=$(LDFLAGS)" \
|
||||
"BISON=$(BISON)" \
|
||||
"MAKEINFO=$(MAKEINFO)" \
|
||||
gnulib1.a) ; \
|
||||
else \
|
||||
true ; \
|
||||
fi
|
||||
|
||||
clean-gnulib1: force
|
||||
if [ -d $(unsubdir)/gnulib ] ; then \
|
||||
(cd $(unsubdir)/gnulib$(subdir); \
|
||||
$(MAKE) \
|
||||
"against=$(against)" \
|
||||
"AR=$(AR)" \
|
||||
"AR_FLAGS=$(AR_FLAGS)" \
|
||||
"CC=$(CC)" \
|
||||
"RANLIB=$(RANLIB)" \
|
||||
"LOADLIBES=$(LOADLIBES)" \
|
||||
"LDFLAGS=$(LDFLAGS)" \
|
||||
"BISON=$(BISON)" \
|
||||
"MAKEINFO=$(MAKEINFO)" \
|
||||
clean-gnulib1) ; \
|
||||
else \
|
||||
true ; \
|
||||
fi
|
||||
|
||||
install-gnulib1: force
|
||||
echo gnulib1 is a component, not an installable target
|
||||
|
||||
all-gnulib: just-gnulib
|
||||
just-gnulib: all-gcc all-gas all-binutils force
|
||||
if [ -d $(unsubdir)/gnulib ] ; then \
|
||||
|
@ -22,6 +22,14 @@ Tools. It also discusses common usage..
|
||||
Copyright @copyright{} 1991 Cygnus Support
|
||||
@end ifinfo
|
||||
|
||||
@ifinfo
|
||||
@format
|
||||
START-INFO-DIR-ENTRY
|
||||
* configuration: (cfg-paper.info). Some theory on configuring source.
|
||||
END-INFO-DIR-ENTRY
|
||||
@end format
|
||||
@end ifinfo
|
||||
|
||||
@node top, Some Basic Terms, (dir), (dir)
|
||||
|
||||
@ifinfo
|
||||
|
Loading…
Reference in New Issue
Block a user