OSDN Git Service

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