OSDN Git Service

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