]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/Makefile.am
function.c (assign_parm_remove_parallels): Check mode of entry_parm.
[thirdparty/gcc.git] / libstdc++-v3 / Makefile.am
CommitLineData
b2dad0e3
BK
1## Makefile for the toplevel directory of the GNU C++ Standard library.
2##
4312e020 3## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2008
ffe94f83 4## Free Software Foundation, Inc.
b2dad0e3
BK
5##
6## This file is part of the libstdc++ version 3 distribution.
7## Process this file with automake to produce Makefile.in.
8
9## This file is part of the GNU ISO C++ Library. This library is free
10## software; you can redistribute it and/or modify it under the
11## terms of the GNU General Public License as published by the
12## Free Software Foundation; either version 2, or (at your option)
13## any later version.
14
15## This library is distributed in the hope that it will be useful,
16## but WITHOUT ANY WARRANTY; without even the implied warranty of
17## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18## GNU General Public License for more details.
19
20## You should have received a copy of the GNU General Public License along
21## with this library; see the file COPYING. If not, write to the Free
83f51799 22## Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
b2dad0e3
BK
23## USA.
24
0df3f383 25include $(top_srcdir)/fragment.am
b2dad0e3 26
92eabea2 27if GLIBCXX_HOSTED
4312e020 28 hosted_source = libmath doc src po testsuite
92eabea2 29endif
82ba99d5 30## Keep this list sync'd with acinclude.m4:GLIBCXX_CONFIGURE.
4c24b21a 31SUBDIRS = include libsupc++ $(hosted_source)
c7053b70 32
c41f82b2
KC
33ACLOCAL_AMFLAGS = -I . -I .. -I ../config
34
2d52e9e3
PE
35# Handy forwarding targets.
36check-%:
37 cd testsuite && $(MAKE) $@
38
4312e020
BK
39doc-%:
40 cd doc && $(MAKE) $@
41
b2dad0e3
BK
42# Multilib support.
43MAKEOVERRIDES=
44
d94611f1 45# All the machinations with string instantiations messes up the
bf93f43b 46# automake-generated TAGS rule. Make a simple one here.
d94611f1
BK
47TAGS: tags-recursive $(LISP)
48
b2dad0e3
BK
49# Work around what appears to be a GNU make bug handling MAKEFLAGS
50# values defined in terms of make variables, as is the case for CC and
51# friends when we are called from the top level Makefile.
52AM_MAKEFLAGS = \
53 "AR_FLAGS=$(AR_FLAGS)" \
54 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
55 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
56 "CFLAGS=$(CFLAGS)" \
57 "CXXFLAGS=$(CXXFLAGS)" \
58 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
59 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
60 "INSTALL=$(INSTALL)" \
61 "INSTALL_DATA=$(INSTALL_DATA)" \
62 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
63 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
64 "LDFLAGS=$(LDFLAGS)" \
65 "LIBCFLAGS=$(LIBCFLAGS)" \
66 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
67 "MAKE=$(MAKE)" \
68 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
69 "PICFLAG=$(PICFLAG)" \
70 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
71 "SHELL=$(SHELL)" \
c6192d88 72 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
b2dad0e3
BK
73 "exec_prefix=$(exec_prefix)" \
74 "infodir=$(infodir)" \
75 "libdir=$(libdir)" \
76 "includedir=$(includedir)" \
77 "prefix=$(prefix)" \
78 "tooldir=$(tooldir)" \
3bf74da2 79 "gxx_include_dir=$(gxx_include_dir)" \
b2dad0e3
BK
80 "AR=$(AR)" \
81 "AS=$(AS)" \
b2dad0e3 82 "LD=$(LD)" \
b2dad0e3
BK
83 "RANLIB=$(RANLIB)" \
84 "NM=$(NM)" \
85 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
86 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
f5e79dda 87 "DESTDIR=$(DESTDIR)" \
ca618b60 88 "WERROR=$(WERROR)"
8ddfd7e5
DJ
89
90# Subdir rules rely on $(FLAGS_TO_PASS)
91FLAGS_TO_PASS = $(AM_MAKEFLAGS)
c4e82de9
JM
92
93.PHONY: install-html install-pdf
94install-html:
95install-pdf: