OSDN Git Service

2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
[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 Free Software Foundation, Inc.
4 ##
5 ## This file is part of the libstdc++ version 3 distribution.
6 ## Process this file with automake to produce Makefile.in.
7
8 ## This file is part of the GNU ISO C++ Library.  This library is free
9 ## software; you can redistribute it and/or modify it under the
10 ## terms of the GNU General Public License as published by the
11 ## Free Software Foundation; either version 2, or (at your option)
12 ## any later version.
13
14 ## This library is distributed in the hope that it will be useful,
15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ## GNU General Public License for more details.
18
19 ## You should have received a copy of the GNU General Public License along
20 ## with this library; see the file COPYING.  If not, write to the Free
21 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
22 ## USA.
23
24 AUTOMAKE_OPTIONS = 1.3 cygnus
25 MAINT_CHARSET = latin1
26
27 SUBDIRS = libio libmath libsupc++ src
28
29
30 # Use $(blddir) instead of $(top_builddir) for arguments to "mkcheck"
31 # because then the paths will be full pathnames, not relative
32 # pathnames. (-Wl,--rpath seems to like this better.)
33 check:  $(top_builddir)/mkcheck
34         chmod +x  $(top_builddir)/mkcheck
35         $(top_builddir)/mkcheck 0 `pwd` $(top_srcdir)
36
37 check-install: $(top_builddir)/mkcheck
38         chmod +x  $(top_builddir)/mkcheck
39         $(top_builddir)/mkcheck 1 `pwd` $(top_srcdir) $(prefix)
40
41 # Multilib support.
42 MAKEOVERRIDES=
43
44 # Multilib variables.
45 MULTISRCTOP =
46 MULTIBUILDTOP =
47 MULTIDIRS =
48 MULTISUBDIR =
49 MULTIDO = true
50 MULTICLEAN = true
51
52 # Multilib Makefile bits.
53 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
54         maintainer-clean-multi
55
56 all-am: all-multi
57 install-am: install-multi
58 mostlyclean-am: mostlyclean-multi
59 clean-am: clean-multi
60 distclean-am: distclean-multi
61 maintainer-clean-am: maintainer-clean-multi
62
63 all-multi:
64         $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
65 install-multi:
66         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
67 mostlyclean-multi:
68         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
69 clean-multi:
70         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
71 distclean-multi:
72         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
73 maintainer-clean-multi:
74         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
75
76 # All the machinations with string instantiations messes up the
77 # automake-generated TAGS rule. Make a simple one here.
78 TAGS: tags-recursive $(LISP)
79
80 # Work around what appears to be a GNU make bug handling MAKEFLAGS
81 # values defined in terms of make variables, as is the case for CC and
82 # friends when we are called from the top level Makefile.
83 AM_MAKEFLAGS = \
84         "AR_FLAGS=$(AR_FLAGS)" \
85         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
86         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
87         "CFLAGS=$(CFLAGS)" \
88         "CXXFLAGS=$(CXXFLAGS)" \
89         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
90         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
91         "INSTALL=$(INSTALL)" \
92         "INSTALL_DATA=$(INSTALL_DATA)" \
93         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
94         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
95         "LDFLAGS=$(LDFLAGS)" \
96         "LIBCFLAGS=$(LIBCFLAGS)" \
97         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
98         "MAKE=$(MAKE)" \
99         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
100         "PICFLAG=$(PICFLAG)" \
101         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
102         "SHELL=$(SHELL)" \
103         "EXPECT=$(EXPECT)" \
104         "RUNTEST=$(RUNTEST)" \
105         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
106         "exec_prefix=$(exec_prefix)" \
107         "infodir=$(infodir)" \
108         "libdir=$(libdir)" \
109         "includedir=$(includedir)" \
110         "prefix=$(prefix)" \
111         "tooldir=$(tooldir)" \
112         "AR=$(AR)" \
113         "AS=$(AS)" \
114         "CC=$(CC)" \
115         "CXX=$(CXX)" \
116         "LD=$(LD)" \
117         "LIBCFLAGS=$(LIBCFLAGS)" \
118         "PICFLAG=$(PICFLAG)" \
119         "RANLIB=$(RANLIB)" \
120         "NM=$(NM)" \
121         "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
122         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
123         "DESTDIR=$(DESTDIR)" \
124         "WERROR=$(WERROR)"