]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/Makefile.am
Remove docs for removed option.
[thirdparty/gcc.git] / libstdc++-v3 / Makefile.am
CommitLineData
b2dad0e3
BK
1## Makefile for the toplevel directory of the GNU C++ Standard library.
2##
0252d604 3## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
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
22## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
23## USA.
24
0df3f383 25include $(top_srcdir)/fragment.am
b2dad0e3 26
92eabea2 27if GLIBCXX_HOSTED
4c24b21a 28 hosted_source = libmath 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
ffe94f83 33# These rules are messy, but are hella worth it.
e03f70b3 34doxygen:
8c90b13a
L
35 -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
36 builddir=`${PWD_COMMAND}`; \
ff66d28f 37 ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
e752a25d 38 --host_alias=${host_alias} \
ffe94f83 39 --mode=user $${srcdir} $${builddir})
e03f70b3
PE
40
41doxygen-maint:
8c90b13a
L
42 -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
43 builddir=`${PWD_COMMAND}`; \
ff66d28f 44 ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
e752a25d 45 --host_alias=${host_alias} \
ffe94f83 46 --mode=maint $${srcdir} $${builddir})
e03f70b3 47
ffe94f83 48doxygen-man:
8c90b13a
L
49 -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
50 builddir=`${PWD_COMMAND}`; \
ff66d28f 51 ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
e752a25d 52 --host_alias=${host_alias} \
ffe94f83
PE
53 --mode=man $${srcdir} $${builddir})
54
55.PHONY: doxygen doxygen-maint doxygen-man
e03f70b3 56
2d52e9e3
PE
57# Handy forwarding targets.
58check-%:
59 cd testsuite && $(MAKE) $@
60
b2dad0e3
BK
61# Multilib support.
62MAKEOVERRIDES=
63
d94611f1 64# All the machinations with string instantiations messes up the
bf93f43b 65# automake-generated TAGS rule. Make a simple one here.
d94611f1
BK
66TAGS: tags-recursive $(LISP)
67
b2dad0e3
BK
68# Work around what appears to be a GNU make bug handling MAKEFLAGS
69# values defined in terms of make variables, as is the case for CC and
70# friends when we are called from the top level Makefile.
71AM_MAKEFLAGS = \
72 "AR_FLAGS=$(AR_FLAGS)" \
73 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
74 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
75 "CFLAGS=$(CFLAGS)" \
76 "CXXFLAGS=$(CXXFLAGS)" \
77 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
78 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
79 "INSTALL=$(INSTALL)" \
80 "INSTALL_DATA=$(INSTALL_DATA)" \
81 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
82 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
83 "LDFLAGS=$(LDFLAGS)" \
84 "LIBCFLAGS=$(LIBCFLAGS)" \
85 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
86 "MAKE=$(MAKE)" \
87 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
88 "PICFLAG=$(PICFLAG)" \
89 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
90 "SHELL=$(SHELL)" \
c6192d88 91 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
b2dad0e3
BK
92 "exec_prefix=$(exec_prefix)" \
93 "infodir=$(infodir)" \
94 "libdir=$(libdir)" \
95 "includedir=$(includedir)" \
96 "prefix=$(prefix)" \
97 "tooldir=$(tooldir)" \
3bf74da2 98 "gxx_include_dir=$(gxx_include_dir)" \
b2dad0e3
BK
99 "AR=$(AR)" \
100 "AS=$(AS)" \
b2dad0e3 101 "LD=$(LD)" \
b2dad0e3
BK
102 "RANLIB=$(RANLIB)" \
103 "NM=$(NM)" \
104 "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
105 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
f5e79dda 106 "DESTDIR=$(DESTDIR)" \
ca618b60 107 "WERROR=$(WERROR)"
8ddfd7e5
DJ
108
109# Subdir rules rely on $(FLAGS_TO_PASS)
110FLAGS_TO_PASS = $(AM_MAKEFLAGS)