OSDN Git Service

* config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / Makefile.am
1 ## Makefile for the toplevel directory of the GNU C++ Standard library.
2 ##
3 ## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 ## Free Software Foundation, Inc.
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
25 AUTOMAKE_OPTIONS = 1.3 cygnus
26 MAINT_CHARSET = latin1
27
28 SUBDIRS = include libmath libsupc++ src po testsuite 
29
30 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
31
32 PWD = $${PWDCMD-pwd}
33
34 # These rules are messy, but are hella worth it.
35 doxygen:
36         -(srcdir=`cd ${top_srcdir}; ${PWD}`; \
37           builddir=`${PWD}`; \
38           /bin/sh ${srcdir}/docs/doxygen/run_doxygen \
39                     --mode=user $${srcdir} $${builddir})
40
41 doxygen-maint:
42         -(srcdir=`cd ${top_srcdir}; ${PWD}`; \
43           builddir=`${PWD}`; \
44           /bin/sh ${srcdir}/docs/doxygen/run_doxygen \
45                     --mode=maint $${srcdir} $${builddir})
46
47 doxygen-man:
48         -(srcdir=`cd ${top_srcdir}; ${PWD}`; \
49           builddir=`${PWD}`; \
50           /bin/sh ${srcdir}/docs/doxygen/run_doxygen \
51                     --mode=man $${srcdir} $${builddir})
52
53 .PHONY: doxygen doxygen-maint doxygen-man
54
55 # Multilib support.
56 MAKEOVERRIDES=
57
58 # Multilib support variables.
59 MULTISRCTOP =
60 MULTIBUILDTOP =
61 MULTIDIRS =
62 MULTISUBDIR =
63 MULTIDO = true
64 MULTICLEAN = true
65
66 # Multilib support.
67 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
68         maintainer-clean-multi
69
70 all-recursive: all-multi
71 install-recursive: install-multi
72 mostlyclean-recursive: mostlyclean-multi
73 clean-recursive: clean-multi
74 distclean-recursive: distclean-multi
75 maintainer-clean-recursive: maintainer-clean-multi
76
77 all-multi:
78         : $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
79 install-multi:
80         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
81 mostlyclean-multi:
82         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
83 clean-multi:
84         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
85 distclean-multi:
86         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
87 maintainer-clean-multi:
88         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
89
90 # All the machinations with string instantiations messes up the
91 # automake-generated TAGS rule. Make a simple one here.
92 TAGS: tags-recursive $(LISP)
93
94 # Work around what appears to be a GNU make bug handling MAKEFLAGS
95 # values defined in terms of make variables, as is the case for CC and
96 # friends when we are called from the top level Makefile.
97 AM_MAKEFLAGS = \
98         "AR_FLAGS=$(AR_FLAGS)" \
99         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
100         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
101         "CFLAGS=$(CFLAGS)" \
102         "CXXFLAGS=$(CXXFLAGS)" \
103         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
104         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
105         "INSTALL=$(INSTALL)" \
106         "INSTALL_DATA=$(INSTALL_DATA)" \
107         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
108         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
109         "LDFLAGS=$(LDFLAGS)" \
110         "LIBCFLAGS=$(LIBCFLAGS)" \
111         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
112         "MAKE=$(MAKE)" \
113         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
114         "PICFLAG=$(PICFLAG)" \
115         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
116         "SHELL=$(SHELL)" \
117         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
118         "exec_prefix=$(exec_prefix)" \
119         "infodir=$(infodir)" \
120         "libdir=$(libdir)" \
121         "includedir=$(includedir)" \
122         "prefix=$(prefix)" \
123         "tooldir=$(tooldir)" \
124         "gxx_include_dir=$(gxx_include_dir)" \
125         "AR=$(AR)" \
126         "AS=$(AS)" \
127         "LD=$(LD)" \
128         "LIBCFLAGS=$(LIBCFLAGS)" \
129         "PICFLAG=$(PICFLAG)" \
130         "RANLIB=$(RANLIB)" \
131         "NM=$(NM)" \
132         "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
133         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
134         "DESTDIR=$(DESTDIR)" \
135         "WERROR=$(WERROR)" 
136
137 # Subdir rules rely on $(FLAGS_TO_PASS)
138 FLAGS_TO_PASS = $(AM_MAKEFLAGS)