* configure.in (LIMITS_INC_SRCDIR): New variable.
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blob882cba78fca387502079b318610551da7d5f8066
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
13 # Makefile for the src subdirectory of the GNU C++ Standard library.
16 SHELL = @SHELL@
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 prefix = @prefix@
21 exec_prefix = @exec_prefix@
23 bindir = @bindir@
24 sbindir = @sbindir@
25 libexecdir = @libexecdir@
26 datadir = @datadir@
27 sysconfdir = @sysconfdir@
28 sharedstatedir = @sharedstatedir@
29 localstatedir = @localstatedir@
30 libdir = @libdir@
31 infodir = @infodir@
32 mandir = @mandir@
33 includedir = @includedir@
34 oldincludedir = /usr/include
36 DESTDIR =
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
42 top_builddir = ..
44 ACLOCAL = @ACLOCAL@
45 AUTOCONF = @AUTOCONF@
46 AUTOMAKE = @AUTOMAKE@
47 AUTOHEADER = @AUTOHEADER@
49 INSTALL = @INSTALL@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
51 INSTALL_DATA = @INSTALL_DATA@
52 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 transform = @program_transform_name@
55 NORMAL_INSTALL = :
56 PRE_INSTALL = :
57 POST_INSTALL = :
58 NORMAL_UNINSTALL = :
59 PRE_UNINSTALL = :
60 POST_UNINSTALL = :
61 build_alias = @build_alias@
62 build_triplet = @build@
63 host_alias = @host_alias@
64 host_triplet = @host@
65 target_alias = @target_alias@
66 target_triplet = @target@
67 AR = @AR@
68 AS = @AS@
69 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
70 BASIC_FILE_H = @BASIC_FILE_H@
71 CC = @CC@
72 CCODECVT_C = @CCODECVT_C@
73 CLOCALE_H = @CLOCALE_H@
74 CPP = @CPP@
75 CSHADOW_FLAGS = @CSHADOW_FLAGS@
76 CSTDIO_H = @CSTDIO_H@
77 CXXCPP = @CXXCPP@
78 C_INCLUDE_DIR = @C_INCLUDE_DIR@
79 DEBUG_FLAGS = @DEBUG_FLAGS@
80 DLLTOOL = @DLLTOOL@
81 EXEEXT = @EXEEXT@
82 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
83 GCJ = @GCJ@
84 GCJFLAGS = @GCJFLAGS@
85 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
86 LIBMATHOBJS = @LIBMATHOBJS@
87 LIBSTRINGOBJS = @LIBSTRINGOBJS@
88 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
89 LIBTOOL = @LIBTOOL@
90 LIMITS_INC_SRCDIR = @LIMITS_INC_SRCDIR@
91 LN_S = @LN_S@
92 MAINT = @MAINT@
93 MAKEINFO = @MAKEINFO@
94 OBJDUMP = @OBJDUMP@
95 OBJEXT = @OBJEXT@
96 OPT_LDFLAGS = @OPT_LDFLAGS@
97 OS_INC_SRCDIR = @OS_INC_SRCDIR@
98 PACKAGE = @PACKAGE@
99 RANLIB = @RANLIB@
100 SECTION_FLAGS = @SECTION_FLAGS@
101 SECTION_LDFLAGS = @SECTION_LDFLAGS@
102 STRIP = @STRIP@
103 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
104 VERSION = @VERSION@
105 WARN_FLAGS = @WARN_FLAGS@
106 WERROR = @WERROR@
107 enable_shared = @enable_shared@
108 enable_static = @enable_static@
109 glibcpp_CXX = @glibcpp_CXX@
110 glibcpp_basedir = @glibcpp_basedir@
111 glibcpp_builddir = @glibcpp_builddir@
112 glibcpp_prefixdir = @glibcpp_prefixdir@
113 glibcpp_srcdir = @glibcpp_srcdir@
114 glibcpp_thread_h = @glibcpp_thread_h@
115 glibcpp_toolexecdir = @glibcpp_toolexecdir@
116 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
117 gxx_include_dir = @gxx_include_dir@
118 ifGNUmake = @ifGNUmake@
119 libio_la = @libio_la@
120 toplevel_srcdir = @toplevel_srcdir@
122 AUTOMAKE_OPTIONS = 1.3 gnits
123 MAINT_CHARSET = latin1
125 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
127 # Cross compiler and multilib support.
128 CXX = @glibcpp_CXX@
129 toolexecdir = @glibcpp_toolexecdir@
130 toolexeclibdir = @glibcpp_toolexeclibdir@
131 toolexeclib_LTLIBRARIES = libstdc++.la
133 # Compile flags that should be constant throughout the build, both for
134 # SUBDIRS and for libstdc++-v3 in general.
135 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
137 # These bits are all figured out from configure. Look in acinclude.m4
138 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
139 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
140 CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
143 # Warning flags to use.
144 WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
147 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
148 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
149 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
150 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
151 LIBIO_INCLUDES = @LIBIO_INCLUDES@
152 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
154 INCLUDES = -nostdinc++ $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) $(TOPLEVEL_INCLUDES)
157 sources = basic_file.cc bitset.cc c++locale.cc cmath.cc codecvt.cc complex_io.cc functexcept.cc globals.cc ios.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc stdexcept.cc stl-inst.cc string-inst.cc strstream.cc valarray-inst.cc wstring-inst.cc
160 VPATH = $(top_srcdir):$(top_srcdir)/src
162 libstdc___la_SOURCES = $(sources)
164 libstdc___la_LIBADD = ../libmath/libmath.la @libio_la@ ../libsupc++/libsupc++convenience.la
167 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
169 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
171 # Use special rules for the deprecated source files so that they find
172 # deprecated include files.
173 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
175 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
176 # modified in a per-library or per-sub-library way. Need to manually
177 # set this option because CONFIG_CXXFLAGS has to be after
178 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
179 # as the occasion call for it. (ie, --enable-debug)
181 # The no-implicit-templates flag will generate unresolved references to
182 # the concept-checking symbols. So we must disable the checks while
183 # actually building the library.
184 AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
187 # libstdc++ libtool notes
189 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
190 # last. (That way, things like -O2 passed down from the toplevel can
191 # be overridden by --enable-debug.)
193 # 2) In general, libtool expects an argument such as `--tag=CXX' when
194 # using the C++ compiler, because that will enable the settings
195 # detected when C++ support was being configured. However, when no
196 # such flag is given in the command line, libtool attempts to figure
197 # it out by matching the compiler name in each configuration section
198 # against a prefix of the command line. The problem is that, if the
199 # compiler name and its initial flags stored in the libtool
200 # configuration file don't match those in the command line, libtool
201 # can't decide which configuration to use, and it gives up. The
202 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
203 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
204 # attempt to infer which configuration to use
205 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
208 # 3) We'd have a problem when building the shared libstdc++ object if
209 # the rules automake generates would be used. We cannot allow g++ to
210 # be used since this would add -lstdc++ to the link line which of
211 # course is problematic at this point. So, we get the top-level
212 # directory to configure libstdc++-v3 to use gcc as the C++
213 # compilation driver.
214 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
216 CONFIG_HEADER = ../config.h
217 CONFIG_CLEAN_FILES =
218 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
221 DEFS = @DEFS@ -I. -I$(srcdir) -I..
222 CPPFLAGS = @CPPFLAGS@
223 LDFLAGS = @LDFLAGS@
224 LIBS = @LIBS@
225 libstdc___la_OBJECTS = basic_file.lo bitset.lo c++locale.lo cmath.lo \
226 codecvt.lo complex_io.lo functexcept.lo globals.lo ios.lo limits.lo \
227 locale.lo locale-inst.lo localename.lo misc-inst.lo stdexcept.lo \
228 stl-inst.lo string-inst.lo strstream.lo valarray-inst.lo \
229 wstring-inst.lo
230 CXXFLAGS = @CXXFLAGS@
231 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
232 CXXLD = $(CXX)
233 DIST_COMMON = Makefile.am Makefile.in
236 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
238 TAR = gtar
239 GZIP_ENV = --best
240 SOURCES = $(libstdc___la_SOURCES)
241 OBJECTS = $(libstdc___la_OBJECTS)
243 all: all-redirect
244 .SUFFIXES:
245 .SUFFIXES: .S .c .cc .lo .o .obj .s
246 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
247 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
249 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
250 cd $(top_builddir) \
251 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
254 mostlyclean-toolexeclibLTLIBRARIES:
256 clean-toolexeclibLTLIBRARIES:
257 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
259 distclean-toolexeclibLTLIBRARIES:
261 maintainer-clean-toolexeclibLTLIBRARIES:
263 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
264 @$(NORMAL_INSTALL)
265 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
266 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
267 if test -f $$p; then \
268 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
269 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
270 else :; fi; \
271 done
273 uninstall-toolexeclibLTLIBRARIES:
274 @$(NORMAL_UNINSTALL)
275 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
276 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
277 done
279 .c.o:
280 $(COMPILE) -c $<
282 # FIXME: We should only use cygpath when building on Windows,
283 # and only if it is available.
284 .c.obj:
285 $(COMPILE) -c `cygpath -w $<`
287 .s.o:
288 $(COMPILE) -c $<
290 .S.o:
291 $(COMPILE) -c $<
293 mostlyclean-compile:
294 -rm -f *.o core *.core
295 -rm -f *.$(OBJEXT)
297 clean-compile:
299 distclean-compile:
300 -rm -f *.tab.c
302 maintainer-clean-compile:
304 .c.lo:
305 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
307 .s.lo:
308 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
310 .S.lo:
311 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
313 mostlyclean-libtool:
314 -rm -f *.lo
316 clean-libtool:
317 -rm -rf .libs _libs
319 distclean-libtool:
321 maintainer-clean-libtool:
323 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
324 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
325 .cc.o:
326 $(CXXCOMPILE) -c $<
327 .cc.obj:
328 $(CXXCOMPILE) -c `cygpath -w $<`
329 .cc.lo:
330 $(LTCXXCOMPILE) -c $<
332 tags: TAGS
334 ID: $(HEADERS) $(SOURCES) $(LISP)
335 list='$(SOURCES) $(HEADERS)'; \
336 unique=`for i in $$list; do echo $$i; done | \
337 awk ' { files[$$0] = 1; } \
338 END { for (i in files) print i; }'`; \
339 here=`pwd` && cd $(srcdir) \
340 && mkid -f$$here/ID $$unique $(LISP)
342 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
343 tags=; \
344 here=`pwd`; \
345 list='$(SOURCES) $(HEADERS)'; \
346 unique=`for i in $$list; do echo $$i; done | \
347 awk ' { files[$$0] = 1; } \
348 END { for (i in files) print i; }'`; \
349 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
350 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
352 mostlyclean-tags:
354 clean-tags:
356 distclean-tags:
357 -rm -f TAGS ID
359 maintainer-clean-tags:
361 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
363 subdir = src
365 distdir: $(DISTFILES)
366 @for file in $(DISTFILES); do \
367 if test -f $$file; then d=.; else d=$(srcdir); fi; \
368 if test -d $$d/$$file; then \
369 cp -pr $$d/$$file $(distdir)/$$file; \
370 else \
371 test -f $(distdir)/$$file \
372 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
373 || cp -p $$d/$$file $(distdir)/$$file || :; \
374 fi; \
375 done
376 info-am:
377 info: info-am
378 dvi-am:
379 dvi: dvi-am
380 check-am:
381 check: check-am
382 installcheck-am:
383 installcheck: installcheck-am
384 install-info-am:
385 install-info: install-info-am
386 install-exec-am: install-toolexeclibLTLIBRARIES
387 install-exec: install-exec-am
389 install-data-am:
390 install-data: install-data-am
392 install-am: all-am
393 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
394 install: install-am
395 uninstall-am: uninstall-toolexeclibLTLIBRARIES
396 uninstall: uninstall-am
397 all-am: Makefile $(LTLIBRARIES)
398 all-redirect: all-am
399 install-strip:
400 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
401 installdirs:
402 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
405 mostlyclean-generic:
407 clean-generic:
409 distclean-generic:
410 -rm -f Makefile $(CONFIG_CLEAN_FILES)
411 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
413 maintainer-clean-generic:
414 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
415 mostlyclean-libtool mostlyclean-tags \
416 mostlyclean-generic
418 mostlyclean: mostlyclean-am
420 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
421 clean-tags clean-generic mostlyclean-am
423 clean: clean-am
425 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
426 distclean-libtool distclean-tags distclean-generic \
427 clean-am
428 -rm -f libtool
430 distclean: distclean-am
432 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
433 maintainer-clean-compile maintainer-clean-libtool \
434 maintainer-clean-tags maintainer-clean-generic \
435 distclean-am
436 @echo "This command is intended for maintainers to use;"
437 @echo "it deletes files that may require special tools to rebuild."
439 maintainer-clean: maintainer-clean-am
441 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
442 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
443 maintainer-clean-toolexeclibLTLIBRARIES \
444 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
445 mostlyclean-compile distclean-compile clean-compile \
446 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
447 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
448 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
449 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
450 install-info install-exec-am install-exec install-data-am install-data \
451 install-am install uninstall-am uninstall all-redirect all-am all \
452 installdirs mostlyclean-generic distclean-generic clean-generic \
453 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
455 strstream.lo: strstream.cc
456 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
457 strstream.o: strstream.cc
458 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
460 # Tell versions [3.59,3.63) of GNU make to not export all variables.
461 # Otherwise a system limit (for SysV at least) may be exceeded.
462 .NOEXPORT: