OSDN Git Service

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