1# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
3# Copyright (C) 1994, 1995-8, 1999, 2001 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.
7
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.
12
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18prefix = @prefix@
19exec_prefix = @exec_prefix@
20
21bindir = @bindir@
22sbindir = @sbindir@
23libexecdir = @libexecdir@
24datadir = @datadir@
25sysconfdir = @sysconfdir@
26sharedstatedir = @sharedstatedir@
27localstatedir = @localstatedir@
28libdir = @libdir@
29infodir = @infodir@
30mandir = @mandir@
31includedir = @includedir@
32oldincludedir = /usr/include
33
34DESTDIR =
35
36pkgdatadir = $(datadir)/@PACKAGE@
37pkglibdir = $(libdir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@
39
40top_builddir = ..
41
42ACLOCAL = @ACLOCAL@
43AUTOCONF = @AUTOCONF@
44AUTOMAKE = @AUTOMAKE@
45AUTOHEADER = @AUTOHEADER@
46
47INSTALL = @INSTALL@
48INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49INSTALL_DATA = @INSTALL_DATA@
50INSTALL_SCRIPT = @INSTALL_SCRIPT@
51transform = @program_transform_name@
52
53NORMAL_INSTALL = :
54PRE_INSTALL = :
55POST_INSTALL = :
56NORMAL_UNINSTALL = :
57PRE_UNINSTALL = :
58POST_UNINSTALL = :
59build_alias = @build_alias@
60build_triplet = @build@
61host_alias = @host_alias@
62host_triplet = @host@
63target_alias = @target_alias@
64target_triplet = @target@
65AR = @AR@
66AS = @AS@
67ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
68AWK = @AWK@
69BASIC_FILE_H = @BASIC_FILE_H@
70BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
71CATALOGS = @CATALOGS@
72CATOBJEXT = @CATOBJEXT@
73CC = @CC@
74CCODECVT_C = @CCODECVT_C@
75CCODECVT_H = @CCODECVT_H@
76CLOCALE_H = @CLOCALE_H@
77CMESSAGES_H = @CMESSAGES_H@
78CPP = @CPP@
79CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
80CSHADOW_FLAGS = @CSHADOW_FLAGS@
81CSTDIO_H = @CSTDIO_H@
82CXXCPP = @CXXCPP@
83C_INCLUDE_DIR = @C_INCLUDE_DIR@
84DATADIRNAME = @DATADIRNAME@
85DEBUG_FLAGS = @DEBUG_FLAGS@
86DLLTOOL = @DLLTOOL@
87EXEEXT = @EXEEXT@
88EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
89GCJ = @GCJ@
90GCJFLAGS = @GCJFLAGS@
91GENCAT = @GENCAT@
92GLIBC21 = @GLIBC21@
93GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
94GMOFILES = @GMOFILES@
95GMSGFMT = @GMSGFMT@
96INSTOBJEXT = @INSTOBJEXT@
97INTLBISON = @INTLBISON@
98INTLLIBS = @INTLLIBS@
99INTLOBJS = @INTLOBJS@
100INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
101LIBICONV = @LIBICONV@
102LIBMATHOBJS = @LIBMATHOBJS@
103LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
104LIBTOOL = @LIBTOOL@
105LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
106LN_S = @LN_S@
107MAINT = @MAINT@
108MAKEINFO = @MAKEINFO@
109MKINSTALLDIRS = @MKINSTALLDIRS@
110MSGFMT = @MSGFMT@
111OBJDUMP = @OBJDUMP@
112OBJEXT = @OBJEXT@
113OPT_LDFLAGS = @OPT_LDFLAGS@
114OS_INC_SRCDIR = @OS_INC_SRCDIR@
115PACKAGE = @PACKAGE@
116POFILES = @POFILES@
117POSUB = @POSUB@
118RANLIB = @RANLIB@
119SECTION_FLAGS = @SECTION_FLAGS@
120SECTION_LDFLAGS = @SECTION_LDFLAGS@
121STRIP = @STRIP@
122USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
123USE_NLS = @USE_NLS@
124VERSION = @VERSION@
125WARN_FLAGS = @WARN_FLAGS@
126WERROR = @WERROR@
127check_msgfmt = @check_msgfmt@
128enable_shared = @enable_shared@
129enable_static = @enable_static@
130glibcpp_CXX = @glibcpp_CXX@
131glibcpp_MOFILES = @glibcpp_MOFILES@
132glibcpp_POFILES = @glibcpp_POFILES@
133glibcpp_basedir = @glibcpp_basedir@
134glibcpp_builddir = @glibcpp_builddir@
135glibcpp_localedir = @glibcpp_localedir@
136glibcpp_prefixdir = @glibcpp_prefixdir@
137glibcpp_srcdir = @glibcpp_srcdir@
138glibcpp_thread_h = @glibcpp_thread_h@
139glibcpp_toolexecdir = @glibcpp_toolexecdir@
140glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
141gxx_include_dir = @gxx_include_dir@
142ifGNUmake = @ifGNUmake@
143libio_la = @libio_la@
144libtool_VERSION = @libtool_VERSION@
145release_VERSION = @release_VERSION@
146toplevel_srcdir = @toplevel_srcdir@
147
148AUTOMAKE_OPTIONS = 1.3 gnits
149MAINT_CHARSET = latin1
150
151mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
152
153# Cross compiler and multilib support.
154CXX = @glibcpp_CXX@
155toolexecdir = @glibcpp_toolexecdir@
156toolexeclibdir = @glibcpp_toolexeclibdir@
157toolexeclib_LTLIBRARIES = libstdc++.la
158
159# Compile flags that should be constant throughout the build, both for
160# SUBDIRS and for libstdc++-v3 in general.
161OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
162
163# These bits are all figured out from configure. Look in acinclude.m4
164# or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
165# NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
166CONFIG_CXXFLAGS = \
167	@EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
168
169
170# Warning flags to use.
171WARN_CXXFLAGS = \
172	@WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
173
174
175# Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
176GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
177LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
178LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
179LIBIO_INCLUDES = @LIBIO_INCLUDES@
180TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
181
182INCLUDES = \
183	-nostdinc++ \
184	$(GLIBCPP_INCLUDES) \
185	$(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
186	$(TOPLEVEL_INCLUDES)
187
188
189sources = \
190	globals.cc limits.cc \
191	basic_file.cc complex_io.cc ios.cc strstream.cc \
192	cmath.cc bitset.cc \
193	functexcept.cc stdexcept.cc vterminate.cc \
194	c++locale.cc locale.cc localename.cc codecvt.cc \
195	collate.cc ctype.cc messages.cc monetary.cc numeric.cc time.cc \
196	concept-inst.cc locale-inst.cc misc-inst.cc stl-inst.cc \
197	string-inst.cc wstring-inst.cc valarray-inst.cc  ext-inst.cc
198
199
200VPATH = $(top_srcdir)/src:$(top_srcdir)
201
202libstdc___la_SOURCES = $(sources)
203
204libstdc___la_LIBADD = \
205	../libmath/libmath.la @libio_la@ \
206	../libsupc++/libsupc++convenience.la
207
208@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@-Wl,--version-script=linker.map
209@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
210
211libstdc___la_LDFLAGS = \
212	-version-info @libtool_VERSION@ ${version_arg} \
213	-lm @LIBUNWIND_FLAG@
214
215
216libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) linker.map
217
218# Use special rules for the deprecated source files so that they find
219# deprecated include files.
220GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
221
222# AM_CXXFLAGS needs to be in each subdirectory so that it can be
223# modified in a per-library or per-sub-library way.  Need to manually
224# set this option because CONFIG_CXXFLAGS has to be after
225# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
226# as the occasion call for it. (ie, --enable-debug)
227AM_CXXFLAGS = \
228	-fno-implicit-templates \
229	$(LIBSUPCXX_CXXFLAGS) \
230	$(WARN_CXXFLAGS) \
231	$(OPTIMIZE_CXXFLAGS) \
232	$(CONFIG_CXXFLAGS)
233
234
235# libstdc++ libtool notes
236
237# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
238# last. (That way, things like -O2 passed down from the toplevel can
239# be overridden by --enable-debug.)
240
241# 2) In general, libtool expects an argument such as `--tag=CXX' when
242# using the C++ compiler, because that will enable the settings
243# detected when C++ support was being configured.  However, when no
244# such flag is given in the command line, libtool attempts to figure
245# it out by matching the compiler name in each configuration section
246# against a prefix of the command line.  The problem is that, if the
247# compiler name and its initial flags stored in the libtool
248# configuration file don't match those in the command line, libtool
249# can't decide which configuration to use, and it gives up.  The
250# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
251# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
252# attempt to infer which configuration to use
253LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
254	       $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
255
256
257# 3) We'd have a problem when building the shared libstdc++ object if
258# the rules automake generates would be used.  We cannot allow g++ to
259# be used since this would add -lstdc++ to the link line which of
260# course is problematic at this point.  So, we get the top-level
261# directory to configure libstdc++-v3 to use gcc as the C++
262# compilation driver.
263CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
264	  @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
265
266CONFIG_HEADER = ../config.h
267CONFIG_CLEAN_FILES =
268LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
269
270
271DEFS = @DEFS@ -I. -I$(srcdir) -I..
272CPPFLAGS = @CPPFLAGS@
273LDFLAGS = @LDFLAGS@
274LIBS = @LIBS@
275libstdc___la_OBJECTS =  globals.lo limits.lo basic_file.lo complex_io.lo \
276ios.lo strstream.lo cmath.lo bitset.lo functexcept.lo stdexcept.lo \
277vterminate.lo c++locale.lo locale.lo localename.lo codecvt.lo \
278collate.lo ctype.lo messages.lo monetary.lo numeric.lo time.lo \
279concept-inst.lo locale-inst.lo misc-inst.lo stl-inst.lo string-inst.lo \
280wstring-inst.lo valarray-inst.lo ext-inst.lo
281CXXFLAGS = @CXXFLAGS@
282CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
283CXXLD = $(CXX)
284DIST_COMMON =  Makefile.am Makefile.in
285
286
287DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
288
289TAR = gtar
290GZIP_ENV = --best
291SOURCES = $(libstdc___la_SOURCES)
292OBJECTS = $(libstdc___la_OBJECTS)
293
294all: all-redirect
295.SUFFIXES:
296.SUFFIXES: .S .c .cc .lo .o .obj .s
297$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
298	cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
299
300Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
301	cd $(top_builddir) \
302	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
303
304
305mostlyclean-toolexeclibLTLIBRARIES:
306
307clean-toolexeclibLTLIBRARIES:
308	-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
309
310distclean-toolexeclibLTLIBRARIES:
311
312maintainer-clean-toolexeclibLTLIBRARIES:
313
314install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
315	@$(NORMAL_INSTALL)
316	$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
317	@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
318	  if test -f $$p; then \
319	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
320	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
321	  else :; fi; \
322	done
323
324uninstall-toolexeclibLTLIBRARIES:
325	@$(NORMAL_UNINSTALL)
326	list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
327	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
328	done
329
330.c.o:
331	$(COMPILE) -c $<
332
333# FIXME: We should only use cygpath when building on Windows,
334# and only if it is available.
335.c.obj:
336	$(COMPILE) -c `cygpath -w $<`
337
338.s.o:
339	$(COMPILE) -c $<
340
341.S.o:
342	$(COMPILE) -c $<
343
344mostlyclean-compile:
345	-rm -f *.o core *.core
346	-rm -f *.$(OBJEXT)
347
348clean-compile:
349
350distclean-compile:
351	-rm -f *.tab.c
352
353maintainer-clean-compile:
354
355.c.lo:
356	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
357
358.s.lo:
359	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
360
361.S.lo:
362	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
363
364mostlyclean-libtool:
365	-rm -f *.lo
366
367clean-libtool:
368	-rm -rf .libs _libs
369
370distclean-libtool:
371
372maintainer-clean-libtool:
373
374libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
375	$(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
376.cc.o:
377	$(CXXCOMPILE) -c $<
378.cc.obj:
379	$(CXXCOMPILE) -c `cygpath -w $<`
380.cc.lo:
381	$(LTCXXCOMPILE) -c $<
382
383tags: TAGS
384
385ID: $(HEADERS) $(SOURCES) $(LISP)
386	list='$(SOURCES) $(HEADERS)'; \
387	unique=`for i in $$list; do echo $$i; done | \
388	  awk '    { files[$$0] = 1; } \
389	       END { for (i in files) print i; }'`; \
390	here=`pwd` && cd $(srcdir) \
391	  && mkid -f$$here/ID $$unique $(LISP)
392
393TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
394	tags=; \
395	here=`pwd`; \
396	list='$(SOURCES) $(HEADERS)'; \
397	unique=`for i in $$list; do echo $$i; done | \
398	  awk '    { files[$$0] = 1; } \
399	       END { for (i in files) print i; }'`; \
400	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
401	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
402
403mostlyclean-tags:
404
405clean-tags:
406
407distclean-tags:
408	-rm -f TAGS ID
409
410maintainer-clean-tags:
411
412distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
413
414subdir = src
415
416distdir: $(DISTFILES)
417	@for file in $(DISTFILES); do \
418	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
419	  if test -d $$d/$$file; then \
420	    cp -pr $$d/$$file $(distdir)/$$file; \
421	  else \
422	    test -f $(distdir)/$$file \
423	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
424	    || cp -p $$d/$$file $(distdir)/$$file || :; \
425	  fi; \
426	done
427info-am:
428info: info-am
429dvi-am:
430dvi: dvi-am
431check-am:
432check: check-am
433installcheck-am:
434installcheck: installcheck-am
435install-info-am:
436install-info: install-info-am
437install-exec-am: install-toolexeclibLTLIBRARIES
438install-exec: install-exec-am
439
440install-data-am:
441install-data: install-data-am
442
443install-am: all-am
444	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
445install: install-am
446uninstall-am: uninstall-toolexeclibLTLIBRARIES
447uninstall: uninstall-am
448all-am: Makefile $(LTLIBRARIES)
449all-redirect: all-am
450install-strip:
451	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
452installdirs:
453	$(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
454
455
456mostlyclean-generic:
457
458clean-generic:
459
460distclean-generic:
461	-rm -f Makefile $(CONFIG_CLEAN_FILES)
462	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
463
464maintainer-clean-generic:
465mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
466		mostlyclean-libtool mostlyclean-tags \
467		mostlyclean-generic
468
469mostlyclean: mostlyclean-am
470
471clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
472		clean-tags clean-generic mostlyclean-am
473
474clean: clean-am
475
476distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
477		distclean-libtool distclean-tags distclean-generic \
478		clean-am
479	-rm -f libtool
480
481distclean: distclean-am
482
483maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
484		maintainer-clean-compile maintainer-clean-libtool \
485		maintainer-clean-tags maintainer-clean-generic \
486		distclean-am
487	@echo "This command is intended for maintainers to use;"
488	@echo "it deletes files that may require special tools to rebuild."
489
490maintainer-clean: maintainer-clean-am
491
492.PHONY: mostlyclean-toolexeclibLTLIBRARIES \
493distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
494maintainer-clean-toolexeclibLTLIBRARIES \
495uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
496mostlyclean-compile distclean-compile clean-compile \
497maintainer-clean-compile mostlyclean-libtool distclean-libtool \
498clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
499distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
500dvi-am dvi check check-am installcheck-am installcheck install-info-am \
501install-info install-exec-am install-exec install-data-am install-data \
502install-am install uninstall-am uninstall all-redirect all-am all \
503installdirs mostlyclean-generic distclean-generic clean-generic \
504maintainer-clean-generic clean mostlyclean distclean maintainer-clean
505
506strstream.lo: strstream.cc
507	$(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
508strstream.o: strstream.cc
509	$(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
510
511# Use special rules for the concept-checking instantiations so that all
512# the generated template functions are also instantiated.  Force the checks
513# to be on so that the instantiations are actually seen.
514concept-inst.lo: concept-inst.cc
515	$(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
516concept-inst.o: concept-inst.cc
517	$(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
518
519# Tell versions [3.59,3.63) of GNU make to not export all variables.
520# Otherwise a system limit (for SysV at least) may be exceeded.
521.NOEXPORT:
522