Fix logs for last delta. Sorry for the screw-up.
[official-gcc.git] / libstdc++-v3 / Makefile.am
blobd17fcca5b40d5b5a9a0bc431b349d5214a29cfab
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.
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.
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.
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.
25 include $(top_srcdir)/fragment.am
27 if GLIBCXX_HOSTED
28   hosted_source = libmath src po testsuite
29 endif
30 ## Keep this list sync'd with acinclude.m4:GLIBCXX_CONFIGURE.
31 SUBDIRS = include libsupc++ $(hosted_source)
33 # These rules are messy, but are hella worth it.
34 doxygen:
35         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
36           builddir=`${PWD_COMMAND}`; \
37           ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
38                     --mode=user $${srcdir} $${builddir})
40 doxygen-maint:
41         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
42           builddir=`${PWD_COMMAND}`; \
43           ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
44                     --mode=maint $${srcdir} $${builddir})
46 doxygen-man:
47         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
48           builddir=`${PWD_COMMAND}`; \
49           ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
50                     --mode=man $${srcdir} $${builddir})
52 .PHONY: doxygen doxygen-maint doxygen-man
54 # Handy forwarding targets.
55 check-%:
56         cd testsuite && $(MAKE) $@
58 # Multilib support.
59 MAKEOVERRIDES=
61 # All the machinations with string instantiations messes up the
62 # automake-generated TAGS rule. Make a simple one here.
63 TAGS: tags-recursive $(LISP)
65 # Work around what appears to be a GNU make bug handling MAKEFLAGS
66 # values defined in terms of make variables, as is the case for CC and
67 # friends when we are called from the top level Makefile.
68 AM_MAKEFLAGS = \
69         "AR_FLAGS=$(AR_FLAGS)" \
70         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
71         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
72         "CFLAGS=$(CFLAGS)" \
73         "CXXFLAGS=$(CXXFLAGS)" \
74         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
75         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
76         "INSTALL=$(INSTALL)" \
77         "INSTALL_DATA=$(INSTALL_DATA)" \
78         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
79         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
80         "LDFLAGS=$(LDFLAGS)" \
81         "LIBCFLAGS=$(LIBCFLAGS)" \
82         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
83         "MAKE=$(MAKE)" \
84         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
85         "PICFLAG=$(PICFLAG)" \
86         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
87         "SHELL=$(SHELL)" \
88         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
89         "exec_prefix=$(exec_prefix)" \
90         "infodir=$(infodir)" \
91         "libdir=$(libdir)" \
92         "includedir=$(includedir)" \
93         "prefix=$(prefix)" \
94         "tooldir=$(tooldir)" \
95         "gxx_include_dir=$(gxx_include_dir)" \
96         "AR=$(AR)" \
97         "AS=$(AS)" \
98         "LD=$(LD)" \
99         "LIBCFLAGS=$(LIBCFLAGS)" \
100         "PICFLAG=$(PICFLAG)" \
101         "RANLIB=$(RANLIB)" \
102         "NM=$(NM)" \
103         "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
104         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
105         "DESTDIR=$(DESTDIR)" \
106         "WERROR=$(WERROR)"
108 # Subdir rules rely on $(FLAGS_TO_PASS)
109 FLAGS_TO_PASS = $(AM_MAKEFLAGS)