Only allow allow rotations by a constant amount.
[official-gcc.git] / libstdc++-v3 / Makefile.am
blob5032ed19437f2cb4c19aef1ef7ca6097070aaae7
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.
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.
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.
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.
24 AUTOMAKE_OPTIONS = 1.3 cygnus
25 MAINT_CHARSET = latin1
27 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
28 # Needed so that g++ can find the correct include subdir automatically.
29 INTERFACE = v3
30 gxx_include_dir=$(includedir)/g++
32 SUBDIRS = math libio src
34 # Use $(blddir) instead of $(top_builddir) for arguments to "mkcheck"
35 # because then the paths will be full pathnames, not relative
36 # pathnames. (-Wl,--rpath seems to like this better.)
37 check:  $(top_builddir)/mkcheck
38         chmod +x  $(top_builddir)/mkcheck
39         $(top_builddir)/mkcheck 0 `pwd` $(top_srcdir)
41 check-install: $(top_builddir)/mkcheck
42         chmod +x  $(top_builddir)/mkcheck
43         $(top_builddir)/mkcheck 1 `pwd` $(top_srcdir) $(prefix)
45 #all-local:  stamp-rebuild
47 # This has already been sanity-checked by configure to a certain extent
48 #stamp-rebuild:  $(top_builddir)/config.status
49 #       if test "$(GCC_OBJDIR)" != "no"; then \
50 #       (cd "$(GCC_OBJDIR)/gcc" && \
51 #        if test -f libgcc2.ready ; then \
52 #          rm -f libgcc2.ready libgcc.a libgcc2.a ; \
53 #          $(MAKE) libgcc2.a TARGET_LIBGCC2_CFLAGS='@NAMESPACES@' ; \
54 #          $(MAKE) libgcc.a ; \
55 #        else \
56 #          echo '** There does not appear to be a previously-built' ; \
57 #          echo '** library here.  Please see' ; \
58 #          echo '** <http://sourceware.cygnus.com/libstdc++/install.html>' ; \
59 #          echo '** In particular, the "Building and Installing' ; \
60 #          echo '** the library (without GCC sources)" section.' ; \
61 #          exit 1 ; \
62 #        fi \
63 #       ) \
64 #       fi
65 #       touch stamp-rebuild
67 # Multilib support.
68 MAKEOVERRIDES=
70 # Multilib variables.
71 MULTISRCTOP =
72 MULTIBUILDTOP =
73 MULTIDIRS =
74 MULTISUBDIR =
75 MULTIDO = true
76 MULTICLEAN = true
78 # Multilib Makefile bits.
79 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
80         maintainer-clean-multi
82 all-am: all-multi
83 install-am: install-multi
84 mostlyclean-am: mostlyclean-multi
85 clean-am: clean-multi
86 distclean-am: distclean-multi
87 maintainer-clean-am: maintainer-clean-multi
89 all-multi:
90         $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
91 install-multi:
92         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
93 mostlyclean-multi:
94         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
95 clean-multi:
96         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
97 distclean-multi:
98         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
99 maintainer-clean-multi:
100         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
102 # All the machinations with string instantiations messes up the
103 # automake-generated TAGS rule. Make a simple one here.
104 TAGS: tags-recursive $(LISP)
106 # Work around what appears to be a GNU make bug handling MAKEFLAGS
107 # values defined in terms of make variables, as is the case for CC and
108 # friends when we are called from the top level Makefile.
109 AM_MAKEFLAGS = \
110         "AR_FLAGS=$(AR_FLAGS)" \
111         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
112         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
113         "CFLAGS=$(CFLAGS)" \
114         "CXXFLAGS=$(CXXFLAGS)" \
115         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
116         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
117         "INSTALL=$(INSTALL)" \
118         "INSTALL_DATA=$(INSTALL_DATA)" \
119         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
120         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
121         "LDFLAGS=$(LDFLAGS)" \
122         "LIBCFLAGS=$(LIBCFLAGS)" \
123         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
124         "MAKE=$(MAKE)" \
125         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
126         "PICFLAG=$(PICFLAG)" \
127         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
128         "SHELL=$(SHELL)" \
129         "EXPECT=$(EXPECT)" \
130         "RUNTEST=$(RUNTEST)" \
131         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
132         "exec_prefix=$(exec_prefix)" \
133         "infodir=$(infodir)" \
134         "libdir=$(libdir)" \
135         "includedir=$(includedir)" \
136         "prefix=$(prefix)" \
137         "tooldir=$(tooldir)" \
138         "AR=$(AR)" \
139         "AS=$(AS)" \
140         "CC=$(CC)" \
141         "CXX=$(CXX)" \
142         "LD=$(LD)" \
143         "LIBCFLAGS=$(LIBCFLAGS)" \
144         "PICFLAG=$(PICFLAG)" \
145         "RANLIB=$(RANLIB)" \
146         "NM=$(NM)" \
147         "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
148         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
149         "DESTDIR=$(DESTDIR)" \
150         "WERROR=$(WERROR)"