mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-12 01:24:12 +08:00
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.
This commit is contained in:
89
Makefile.in
89
Makefile.in
@ -45,7 +45,7 @@ INSTALL_PROGRAM = $(INSTALL)
|
|||||||
INSTALL_DATA = $(INSTALL)
|
INSTALL_DATA = $(INSTALL)
|
||||||
|
|
||||||
AR = ar
|
AR = ar
|
||||||
AR_FLAGS = qv
|
AR_FLAGS = qc
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
BISON = `if [ -d $(unsubdir)/../bison ] ; \
|
BISON = `if [ -d $(unsubdir)/../bison ] ; \
|
||||||
@ -58,7 +58,7 @@ FRESHMAKEINFO = `if [ -d $(unsubdir)/../texinfo/C ] ; \
|
|||||||
else echo echo ; fi`
|
else echo echo ; fi`
|
||||||
|
|
||||||
#\`(cd $(srcdir)/bison ; \\`pwd\\`)\`
|
#\`(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 =
|
OTHERS =
|
||||||
|
|
||||||
ALL = all.normal
|
ALL = all.normal
|
||||||
@ -97,8 +97,10 @@ install-dir.info:
|
|||||||
$(INSTALL_DATA) dir.info $(infodir)/dir.info
|
$(INSTALL_DATA) dir.info $(infodir)/dir.info
|
||||||
|
|
||||||
# clib prms
|
# clib prms
|
||||||
all.normal: all-texinfo all-bison all-byacc all-flex all-ld all-gnulib \
|
# all-gnulib
|
||||||
all-gdb all-make all-cvs all-emacs all-ispell all-fileutils
|
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
|
all.cross: all-bison all-ld all-gnulib all-gdb
|
||||||
# $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
|
# $(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
|
clean-cvs clean-emacs clean-ispell clean-fileutils
|
||||||
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
|
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
|
||||||
|
|
||||||
install: $(INSTALL_TARGET)
|
install: $(INSTALL_TARGET) $(srcdir)/configure.man
|
||||||
$(INSTALL_DATA) configure.man $(man1dir)/configure.1
|
$(INSTALL_DATA) $(srcdir)/configure.man $(man1dir)/configure.1
|
||||||
|
|
||||||
install.all: install-dirs install-libiberty install-texinfo \
|
install.all: install-dirs install-libiberty install-texinfo \
|
||||||
install-binutils install-bison install-byacc install-flex \
|
install-binutils install-bison install-byacc install-flex \
|
||||||
@ -466,7 +468,8 @@ install-bison: force
|
|||||||
### gcc
|
### gcc
|
||||||
.PHONY: all-gcc just-gcc
|
.PHONY: all-gcc just-gcc
|
||||||
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 \
|
if [ -d $(unsubdir)/gcc ] ; then \
|
||||||
(cd $(unsubdir)/gcc$(subdir); \
|
(cd $(unsubdir)/gcc$(subdir); \
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
@ -791,6 +794,7 @@ install-gnulib1: force
|
|||||||
|
|
||||||
all-gnulib: just-gnulib
|
all-gnulib: just-gnulib
|
||||||
just-gnulib: all-gcc all-gas all-binutils force
|
just-gnulib: all-gcc all-gas all-binutils force
|
||||||
|
true
|
||||||
if [ -d $(unsubdir)/gnulib ] ; then \
|
if [ -d $(unsubdir)/gnulib ] ; then \
|
||||||
(cd $(unsubdir)/gnulib$(subdir); \
|
(cd $(unsubdir)/gnulib$(subdir); \
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
@ -1207,7 +1211,7 @@ just-cvs: just-gdbm force
|
|||||||
true ; \
|
true ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clean-cvs: force
|
clean-cvs: clean-gdbm force
|
||||||
if [ -d $(unsubdir)/cvs ] ; then \
|
if [ -d $(unsubdir)/cvs ] ; then \
|
||||||
(cd $(unsubdir)/cvs$(subdir); \
|
(cd $(unsubdir)/cvs$(subdir); \
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
@ -1480,6 +1484,75 @@ install-fileutils: force
|
|||||||
true ; \
|
true ; \
|
||||||
fi
|
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
|
### other supporting targets
|
||||||
# this is a bad hack.
|
# this is a bad hack.
|
||||||
all.xclib: all.normal
|
all.xclib: all.normal
|
||||||
|
Reference in New Issue
Block a user