xref: /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/fragment.am (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1
2## This is used in all Makefile.am's.  Set defaults here.
3
4# May be used by various substitution variables.
5gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
6
7MAINT_CHARSET = latin1
8
9mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
10PWD_COMMAND = $${PWDCMD-pwd}
11STAMP = echo timestamp >
12
13toolexecdir = $(glibcxx_toolexecdir)
14toolexeclibdir = $(glibcxx_toolexeclibdir)
15
16if ENABLE_WERROR
17WERROR_FLAG=$(WERROR)
18else
19WERROR_FLAG=
20endif
21
22# These bits are all figured out from configure.  Look in acinclude.m4
23# or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
24CONFIG_CXXFLAGS = \
25	$(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@
26
27WARN_CXXFLAGS = \
28	$(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
29
30# -I/-D flags to pass when compiling.
31AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
32
33