diff options
author | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-10-07 01:05:37 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-10-07 01:05:37 +0000 |
commit | c7053b704d02c332f5653a0925e24a732d72ff62 (patch) | |
tree | 9bc53d39a3cb5bc320ba6a76f5ae778323a9f66e /libstdc++-v3/Makefile.am | |
parent | 5ce249543c5af0aae8336252ebcc509527aded98 (diff) | |
download | gcc-c7053b704d02c332f5653a0925e24a732d72ff62.zip gcc-c7053b704d02c332f5653a0925e24a732d72ff62.tar.gz gcc-c7053b704d02c332f5653a0925e24a732d72ff62.tar.bz2 |
Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here, and move to...
2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.
Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.
From-SVN: r36767
Diffstat (limited to 'libstdc++-v3/Makefile.am')
-rw-r--r-- | libstdc++-v3/Makefile.am | 54 |
1 files changed, 26 insertions, 28 deletions
diff --git a/libstdc++-v3/Makefile.am b/libstdc++-v3/Makefile.am index bad1b08..783c179 100644 --- a/libstdc++-v3/Makefile.am +++ b/libstdc++-v3/Makefile.am @@ -29,7 +29,28 @@ MAINT_CHARSET = latin1 INTERFACE = v3 gxx_include_dir=$(includedir)/g++ -SUBDIRS = math libio libsupc++ src +SUBDIRS = libio libmath libsupc++ src + + +# Compile flags that should be constant throughout the build, both for +# SUBDIRS and for libstdc++-v3 in general. +# Optimization flags that are probably a good idea for thrill-seekers. Just +# uncomment the lines below and make, everything else is ready to go... +# OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc +OPTIMIZE_CXXFLAGS = + +# Warning flags to use. +WARN_CXXFLAGS = \ + -Wall -Wno-format -W -Wwrite-strings -Winline \ + $(WERROR) @WFMT_FLAGS@ + +# These bits are all figured out from configure. Look in acinclude.m4 +# or configure.in to see how they are set. +# NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden. +CONFIG_CXXFLAGS = \ + @CPU_FLAGS@ @EXTRA_CXX_FLAGS@ \ + @SECTION_FLAGS@ @CSHADOWFLAGS@ @DEBUG_FLAGS@ + # Use $(blddir) instead of $(top_builddir) for arguments to "mkcheck" # because then the paths will be full pathnames, not relative @@ -42,28 +63,6 @@ check-install: $(top_builddir)/mkcheck chmod +x $(top_builddir)/mkcheck $(top_builddir)/mkcheck 1 `pwd` $(top_srcdir) $(prefix) -#all-local: stamp-rebuild - -# This has already been sanity-checked by configure to a certain extent -#stamp-rebuild: $(top_builddir)/config.status -# if test "$(GCC_OBJDIR)" != "no"; then \ -# (cd "$(GCC_OBJDIR)/gcc" && \ -# if test -f libgcc2.ready ; then \ -# rm -f libgcc2.ready libgcc.a libgcc2.a ; \ -# $(MAKE) libgcc2.a TARGET_LIBGCC2_CFLAGS='@NAMESPACES@' ; \ -# $(MAKE) libgcc.a ; \ -# else \ -# echo '** There does not appear to be a previously-built' ; \ -# echo '** library here. Please see' ; \ -# echo '** <http://sourceware.cygnus.com/libstdc++/install.html>' ; \ -# echo '** In particular, the "Building and Installing' ; \ -# echo '** the library (without GCC sources)" section.' ; \ -# exit 1 ; \ -# fi \ -# ) \ -# fi -# touch stamp-rebuild - # Multilib support. MAKEOVERRIDES= @@ -147,11 +146,10 @@ AM_MAKEFLAGS = \ "NM_FOR_BUILD=$(NM_FOR_BUILD)" \ "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ "DESTDIR=$(DESTDIR)" \ - "WERROR=$(WERROR)" - - - - + "WERROR=$(WERROR)" \ + "OPTIMIZE_CXXFLAGS=$(OPTIMIZE_CXXFLAGS)" \ + "WARN_CXXFLAGS=$(WARN_CXXFLAGS)" \ + "CONFIG_CXXFLAGS=$(CONFIG_CXXFLAGS)" |