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