CXX = gcc
# Use -O2 to stress test the compiler.
-CXXFLAGS = -g -O2 -fexternal-templates
+CXXFLAGS = -g -O2 -fno-implicit-templates
RANLIB = ranlib
NM = nm
all-chillrt \
$(end-sanitize-chill) \
all-libio \
+ all-libstdc++ \
all-librx \
all-libg++ \
all-newlib \
+ all-libgloss \
all-xiberty
# This is a list of the check targets for all of the modules which are
check-chillrt \
$(end-sanitize-chill) \
check-libio \
+ check-libstdc++ \
check-libg++ \
check-newlib \
check-xiberty
install-chillrt \
$(end-sanitize-chill) \
install-libio \
+ install-libstdc++ \
install-libg++ \
install-newlib \
+ install-libgloss \
install-xiberty
# This is a shell case of all modules which are compiled using
# $(TARGET_FLAGS_TO_PASS), used in the do-X rule.
-TARGET_LIBS = libio | librx | libg++ | newlib | xiberty
+TARGET_LIBS = libio | libstdc++ | librx | libg++ | newlib | xiberty
# start-sanitize-chill
-TARGET_LIBS = chillrt | libio | librx | libg++ | newlib | xiberty
+TARGET_LIBS = chillrt | libio | libstdc++ | librx | libg++ | newlib | xiberty
# end-sanitize-chill
# The first rule in the file had better be this one. Don't put any above it.
# This is a list of inter-dependencies among modules.
all-autoconf: all-m4
all-bfd:
-all-binutils: all-libiberty all-opcodes all-bfd all-flex
+all-binutils: all-libiberty all-opcodes all-bfd all-flex all-byacc
all-byacc:
# start-sanitize-chill
all-chillrt: all-binutils all-gas all-gcc all-newlib
all-libio all-librx
all-libio: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib
all-libiberty:
+all-libstdc++: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib \
+ all-libio
all-m4: all-libiberty
all-make: all-libiberty
all-mmalloc:
# distribution (perhaps it would be better to include it anyway).
DEVO_SUPPORT= README Makefile.in configure configure.in \
config.guess config.sub config move-if-change \
- COPYING COPYING.LIB install.sh
+ COPYING COPYING.LIB install.sh \
+ configure.bat makeall.bat
# Files in devo/etc used in any net release.
# ChangeLog omitted because it may refer to files which are not in this
# distribution (perhaps it would be better to include it anyway).
ETC_SUPPORT= Makefile.in cfg-paper.texi configure.in configure.man \
configure.texi standards.texi make-stds.texi
+ETC_SUPPORT_PFX=configure.info standards.info cfg-paper.info
# When you use `make setup-dirs' or `make taz' you should always redefine
# this macro.
SUPPORT_FILES = list-of-support-files-for-tool-in-question
# Directories that might want `make diststuff' run.
-DISTSTUFFDIRS= ld gprof gdb libg++ binutils gnats
+DISTSTUFFDIRS= ld gprof gdb libg++ binutils gnats gas
# Files where "byacc" (Cygnus version) should be changed to "bison -y" (FSF).
DISTBISONFILES= binutils/Makefile.in gas/Makefile.in gdb/Makefile.in
# Directories where "info" should be built.
-DISTDOCDIRS= ld gprof binutils gas bfd libg++ libio gdb gnats send-pr
+DISTDOCDIRS= ld gprof binutils gas bfd libg++ libio gdb gnats send-pr etc
.PHONY: taz
$(MAKE) distclean
#
mkdir proto-toplev/etc
- (cd proto-toplev/etc; for i in $(ETC_SUPPORT); do \
+ (cd proto-toplev/etc; \
+ for i in $(ETC_SUPPORT); do \
ln -s ../../etc/$$i . ; \
- done)
+ done ; \
+ for i in $(ETC_SUPPORT_PFX); do \
+ ln -s ../../etc/$$i* . ; \
+ done)
#
# Take out texinfo and glob from configurable dirs
rm proto-toplev/configure.in
# The FSF "binutils" release includes gprof and ld.
.PHONY: binutils.tar.gz
-BINUTILS_SUPPORT_DIRS= bfd include libiberty opcodes ld gprof
+BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof
binutils.tar.gz: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils
$(MAKE) -f Makefile.in taz TOOL=binutils \
SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS)"
$(MAKE) -f Makefile.in taz TOOL=gdb \
SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
+.PHONY: newlib.tar.gz
+NEWLIB_SUPPORT_DIRS=
+newlib.tar.gz: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib
+ $(MAKE) -f Makefile.in taz TOOL=newlib \
+ SUPPORT_FILES="$(NEWLIB_SUPPORT_DIRS)" \
+ DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" \
+ DISTDOCDIRS="$(DISTDOCDIRS) newlib"
+
.NOEXPORT:
MAKEOVERRIDES=