OSDN Git Service

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