aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-01-06 02:57:58 +0000
committerJohn Gilmore <gnu@cygnus>1992-01-06 02:57:58 +0000
commitba8abfce45de2db36fd4c9c5e1238ee6e93d369c (patch)
tree2a12c35fd72bacaafc8525beea98e0e3fa1dc035 /Makefile.in
parentc03956e829e7da824506675ee4cfcfe17680fc41 (diff)
downloadfsf-binutils-gdb-ba8abfce45de2db36fd4c9c5e1238ee6e93d369c.zip
fsf-binutils-gdb-ba8abfce45de2db36fd4c9c5e1238ee6e93d369c.tar.gz
fsf-binutils-gdb-ba8abfce45de2db36fd4c9c5e1238ee6e93d369c.tar.bz2
Add libg++.
Cut gnulib and gnulib1 out of the process. More work needed here to put them back into the process in the gcc directory.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in89
1 files changed, 81 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index bb44d29..84a9b56 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -45,7 +45,7 @@ INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
AR = ar
-AR_FLAGS = qv
+AR_FLAGS = qc
RANLIB = ranlib
BISON = `if [ -d $(unsubdir)/../bison ] ; \
@@ -58,7 +58,7 @@ FRESHMAKEINFO = `if [ -d $(unsubdir)/../texinfo/C ] ; \
else echo echo ; fi`
#\`(cd $(srcdir)/bison ; \\`pwd\\`)\`
-SUBDIRS = libiberty glob readline bfd gdb binutils ld gas gcc gnulib clib
+SUBDIRS = libiberty glob readline bfd gdb binutils ld gas gcc libg++ gnulib clib
OTHERS =
ALL = all.normal
@@ -97,8 +97,10 @@ install-dir.info:
$(INSTALL_DATA) dir.info $(infodir)/dir.info
# clib prms
-all.normal: all-texinfo all-bison all-byacc all-flex all-ld all-gnulib \
- all-gdb all-make all-cvs all-emacs all-ispell all-fileutils
+# all-gnulib
+all.normal: all-texinfo all-bison all-byacc all-flex all-ld \
+ all-gcc all-gas all-binutils \
+ all-libg++ all-gdb all-make all-cvs all-emacs all-ispell all-fileutils
all.cross: all-bison all-ld all-gnulib all-gdb
# $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
@@ -109,8 +111,8 @@ clean: clean-libiberty clean-texinfo clean-bfd clean-binutils \
clean-cvs clean-emacs clean-ispell clean-fileutils
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
-install: $(INSTALL_TARGET)
- $(INSTALL_DATA) configure.man $(man1dir)/configure.1
+install: $(INSTALL_TARGET) $(srcdir)/configure.man
+ $(INSTALL_DATA) $(srcdir)/configure.man $(man1dir)/configure.1
install.all: install-dirs install-libiberty install-texinfo \
install-binutils install-bison install-byacc install-flex \
@@ -466,7 +468,8 @@ install-bison: force
### gcc
.PHONY: all-gcc just-gcc
all-gcc: just-gcc
-just-gcc: just-libiberty just-bison just-gnulib1 force
+#just-gcc: just-libiberty just-bison just-gnulib1 force
+just-gcc: just-libiberty just-bison force
if [ -d $(unsubdir)/gcc ] ; then \
(cd $(unsubdir)/gcc$(subdir); \
$(MAKE) \
@@ -791,6 +794,7 @@ install-gnulib1: force
all-gnulib: just-gnulib
just-gnulib: all-gcc all-gas all-binutils force
+ true
if [ -d $(unsubdir)/gnulib ] ; then \
(cd $(unsubdir)/gnulib$(subdir); \
$(MAKE) \
@@ -1207,7 +1211,7 @@ just-cvs: just-gdbm force
true ; \
fi
-clean-cvs: force
+clean-cvs: clean-gdbm force
if [ -d $(unsubdir)/cvs ] ; then \
(cd $(unsubdir)/cvs$(subdir); \
$(MAKE) \
@@ -1480,6 +1484,75 @@ install-fileutils: force
true ; \
fi
+### libg++
+.PHONY: all-libg++ just-libg++
+all-libg++: just-libg++
+# NOTE! We have added GXX= to the $(MAKE) line!!! Do not clone this one.
+just-libg++: just-gcc force
+ if [ -d $(unsubdir)/libg++ ] ; then \
+ MYGCC="`pwd`/gcc"; \
+ (cd $(unsubdir)/libg++$(subdir); \
+ $(MAKE) \
+ GXX="$(GCCDIR)/gcc -B$(GCCDIR)/" \
+ "prefix=$(prefix)" \
+ "datadir=$(datadir)" \
+ "mandir=$(mandir)" \
+ "against=$(against)" \
+ "AR=$(AR)" \
+ "AR_FLAGS=$(AR_FLAGS)" \
+ "CC=$(CC)" \
+ "RANLIB=$(RANLIB)" \
+ "LOADLIBES=$(LOADLIBES)" \
+ "LDFLAGS=$(LDFLAGS)" \
+ "BISON=$(BISON)" \
+ "MAKEINFO=$(MAKEINFO)" \
+ all) ; \
+ else \
+ true ; \
+ fi
+
+clean-libg++: force
+ if [ -d $(unsubdir)/libg++ ] ; then \
+ (cd $(unsubdir)/libg++$(subdir); \
+ $(MAKE) \
+ "prefix=$(prefix)" \
+ "datadir=$(datadir)" \
+ "mandir=$(mandir)" \
+ "against=$(against)" \
+ "AR=$(AR)" \
+ "AR_FLAGS=$(AR_FLAGS)" \
+ "CC=$(CC)" \
+ "RANLIB=$(RANLIB)" \
+ "LOADLIBES=$(LOADLIBES)" \
+ "LDFLAGS=$(LDFLAGS)" \
+ "BISON=$(BISON)" \
+ "MAKEINFO=$(MAKEINFO)" \
+ clean) ; \
+ else \
+ true ; \
+ fi
+
+install-libg++: force
+ if [ -d $(unsubdir)/libg++ ] ; then \
+ (cd $(unsubdir)/libg++$(subdir); \
+ $(MAKE) \
+ "prefix=$(prefix)" \
+ "datadir=$(datadir)" \
+ "mandir=$(mandir)" \
+ "against=$(against)" \
+ "AR=$(AR)" \
+ "AR_FLAGS=$(AR_FLAGS)" \
+ "CC=$(CC)" \
+ "RANLIB=$(RANLIB)" \
+ "LOADLIBES=$(LOADLIBES)" \
+ "LDFLAGS=$(LDFLAGS)" \
+ "BISON=$(BISON)" \
+ "MAKEINFO=$(MAKEINFO)" \
+ install) ; \
+ else \
+ true ; \
+ fi
+
### other supporting targets
# this is a bad hack.
all.xclib: all.normal