summaryrefslogtreecommitdiff
path: root/libstdc++-v3/fragment.am
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2003-08-17 20:23:12 +0000
committerPhil Edwards <pme@gcc.gnu.org>2003-08-17 20:23:12 +0000
commit0df3f383efc37b6b0d231f38b713d3aa7beef609 (patch)
treebc40445978d8406152440975e0c56f5763886180 /libstdc++-v3/fragment.am
parentdd61aa98caa43a54970c2a4eecf9c4e3f325d14e (diff)
downloadgcc-0df3f383efc37b6b0d231f38b713d3aa7beef609.tar.gz
acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES and LIBSUPCXX_INCLUDES.
2003-08-17 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to things from the top level. * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order. Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH (currently unused). Strip the fake-VPATH shell fragment from automake-generated rules, if present. * linkage.m4: Add comment. * fragment.am: New file, containing factored-out common settings. (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents. * Makefile.am: Include fragment.am. Remove common variables. * include/Makefile.am: Likewise. * libmath/Makefile.am: Likewise. * libsupc++/Makefile.am: Likewise. * po/Makefile.am: Likewise. Print rules during check. * src/Makefile.am: Likewise. * testsuite/Makefile.am: Likewise. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r70522
Diffstat (limited to 'libstdc++-v3/fragment.am')
-rw-r--r--libstdc++-v3/fragment.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/libstdc++-v3/fragment.am b/libstdc++-v3/fragment.am
new file mode 100644
index 00000000000..de98817d742
--- /dev/null
+++ b/libstdc++-v3/fragment.am
@@ -0,0 +1,25 @@
+
+## This is used in all Makefile.am's except for libmath's. Set defaults here.
+
+MAINT_CHARSET = latin1
+
+mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
+PWD_COMMAND = $${PWDCMD-pwd}
+
+toolexecdir = $(glibcxx_toolexecdir)
+toolexeclibdir = $(glibcxx_toolexeclibdir)
+
+# These bits are all figured out from configure. Look in acinclude.m4
+# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
+CONFIG_CXXFLAGS = \
+ $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
+WARN_CXXFLAGS = \
+ $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
+
+# -I/-D flags to pass when compiling.
+AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
+
+
+
+
+## vim:ft=automake