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 \
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-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.
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:
# 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.
# 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=