aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-02-25 01:08:38 +0000
committerK. Richard Pixley <rich@cygnus>1992-02-25 01:08:38 +0000
commitb74fd080fb7e6b88a40ce9641029071b7fa3c3d9 (patch)
treec0e7e51f0615d2f7a1885a2864105c4ac818d895 /Makefile.in
parent40f70813235ee40fc0099c1643d2c05220003d2c (diff)
downloadgdb-b74fd080fb7e6b88a40ce9641029071b7fa3c3d9.zip
gdb-b74fd080fb7e6b88a40ce9641029071b7fa3c3d9.tar.gz
gdb-b74fd080fb7e6b88a40ce9641029071b7fa3c3d9.tar.bz2
mkdir $(infodir) on install-info.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in26
1 files changed, 11 insertions, 15 deletions
diff --git a/Makefile.in b/Makefile.in
index 20ab883..ba29168 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -73,12 +73,12 @@ INSTALL_TARGET = install.all
all: $(ALL)
-info: cfg-paper.info
+info: cfg-paper.info configure.info
rootme=`pwd` ; export rootme ; $(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)" "MAKEINFO=$(MAKEINFO)"
clean-info:
$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)"
- rm -f cfg-paper.info
+ rm -f cfg-paper.info* configure.info*
cfg-paper.info: cfg-paper.texi
rootme=`pwd` ; export rootme ; $(MAKEINFO) -o cfg-paper.info $(srcdir)/cfg-paper.texi
@@ -87,6 +87,7 @@ configure.info: configure.texi
rootme=`pwd` ; export rootme ; $(MAKEINFO) -o configure.info $(srcdir)/configure.texi
install-info: install-info-dirs force
+ [ -d $(infodir) ] || mkdir $(infodir)
$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)"
$(INSTALL_DATA) cfg-paper.info $(infodir)/cfg-paper.info
$(INSTALL_DATA) configure.info $(infodir)/configure.info
@@ -431,7 +432,8 @@ just-bison: just-libiberty force
rootme=`pwd` ; export rootme ; \
(cd $(unsubdir)/bison$(subdir); \
$(MAKE) \
- "against=$(against)" \
+ "prefix=$(prefix)" \
+ "datadir=$(datadir)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \
"CC=$(CC)" \
@@ -450,7 +452,8 @@ clean-bison: force
rootme=`pwd` ; export rootme ; \
(cd $(unsubdir)/bison$(subdir); \
$(MAKE) \
- "against=$(against)" \
+ "prefix=$(prefix)" \
+ "datadir=$(datadir)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \
"CC=$(CC)" \
@@ -469,7 +472,8 @@ install-bison: force
rootme=`pwd` ; export rootme ; \
(cd $(unsubdir)/bison$(subdir); \
$(MAKE) \
- "against=$(against)" \
+ "prefix=$(prefix)" \
+ "datadir=$(datadir)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \
"CC=$(CC)" \
@@ -1621,24 +1625,18 @@ install-fileutils: force
### libg++
.PHONY: all-libg++ just-libg++
all-libg++: just-gas just-ld just-gcc just-make just-libg++
-# NOTE! We have added GXX= and XTRAFLAGS to the $(MAKE) line!!!
-# and CC == GXX
-# Do not clone this one.
-just-libg++: just-make force
+just-libg++: just-gcc force
if [ -d $(unsubdir)/libg++ ] ; then \
rootme=`pwd` ; export rootme ; \
(cd $(unsubdir)/libg++$(subdir); \
$(MAKE) \
- GXX=`cd $(unsubdir)/..$(subdir); pwd`"/gcc/gcc -B"`cd $(unsubdir)/..$(subdir);pwd`"/gcc/" \
- MAKE=`cd $(unsubdir)/..$(subdir); pwd`/make/make \
- "XTRAFLAGS=-I"`cd $(unsubdir)/..$(subdir); pwd`/gcc/include\
"prefix=$(prefix)" \
"datadir=$(datadir)" \
"mandir=$(mandir)" \
"against=$(against)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \
- CC=`cd $(unsubdir)/..$(subdir); pwd`"/gcc/gcc -B"`cd $(unsubdir)/..$(subdir);pwd`"/gcc/" \
+ "CC=$(CC)" \
"RANLIB=$(RANLIB)" \
"LOADLIBES=$(LOADLIBES)" \
"LDFLAGS=$(LDFLAGS)" \
@@ -1654,7 +1652,6 @@ clean-libg++: force
rootme=`pwd` ; export rootme ; \
(cd $(unsubdir)/libg++$(subdir); \
$(MAKE) \
- MAKE=`cd $(unsubdir)/..$(subdir); pwd`/make/make \
"prefix=$(prefix)" \
"datadir=$(datadir)" \
"mandir=$(mandir)" \
@@ -1677,7 +1674,6 @@ install-libg++: force
rootme=`pwd` ; export rootme ; \
(cd $(unsubdir)/libg++$(subdir); \
$(MAKE) \
- MAKE=`cd $(unsubdir)/..$(subdir); pwd`/make/make \
"prefix=$(prefix)" \
"datadir=$(datadir)" \
"mandir=$(mandir)" \