OSDN Git Service

2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / Makefile.in
1 # Makefile.in generated by automake 1.9.3 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 SOURCES = $(libv3test_a_SOURCES)
18
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
25 top_builddir = ..
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 INSTALL = @INSTALL@
28 install_sh_DATA = $(install_sh) -c -m 644
29 install_sh_PROGRAM = $(install_sh) -c
30 install_sh_SCRIPT = $(install_sh) -c
31 INSTALL_HEADER = $(INSTALL_DATA)
32 transform = $(program_transform_name)
33 NORMAL_INSTALL = :
34 PRE_INSTALL = :
35 POST_INSTALL = :
36 NORMAL_UNINSTALL = :
37 PRE_UNINSTALL = :
38 POST_UNINSTALL = :
39 build_triplet = @build@
40 host_triplet = @host@
41 target_triplet = @target@
42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43         $(top_srcdir)/fragment.am
44 subdir = testsuite
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/../config/no-executables.m4 \
47         $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
48         $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
49         $(top_srcdir)/configure.ac
50 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51         $(ACLOCAL_M4)
52 CONFIG_HEADER = $(top_builddir)/config.h
53 CONFIG_CLEAN_FILES =
54 LIBRARIES = $(noinst_LIBRARIES)
55 ARFLAGS = cru
56 libv3test_a_AR = $(AR) $(ARFLAGS)
57 libv3test_a_LIBADD =
58 am_libv3test_a_OBJECTS = testsuite_abi.$(OBJEXT) \
59         testsuite_allocator.$(OBJEXT) testsuite_hooks.$(OBJEXT)
60 libv3test_a_OBJECTS = $(am_libv3test_a_OBJECTS)
61 DEFAULT_INCLUDES = 
62 depcomp =
63 am__depfiles_maybe =
64 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
65         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
66 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
67         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
68         $(AM_CXXFLAGS) $(CXXFLAGS)
69 CXXLD = $(CXX)
70 SOURCES = $(libv3test_a_SOURCES)
71 DIST_SOURCES = $(libv3test_a_SOURCES)
72 ETAGS = etags
73 CTAGS = ctags
74 DEJATOOL = $(PACKAGE)
75 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
76 EXPECT = expect
77 RUNTEST = runtest
78 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
79 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
80 ACLOCAL = @ACLOCAL@
81 ALLOCATOR_H = @ALLOCATOR_H@
82 ALLOCATOR_NAME = @ALLOCATOR_NAME@
83 AMTAR = @AMTAR@
84 AR = @AR@
85 AS = @AS@
86 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
87 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
88 AUTOCONF = @AUTOCONF@
89 AUTOHEADER = @AUTOHEADER@
90 AUTOMAKE = @AUTOMAKE@
91 AWK = @AWK@
92 BASIC_FILE_CC = @BASIC_FILE_CC@
93 BASIC_FILE_H = @BASIC_FILE_H@
94 CC = @CC@
95 CCODECVT_CC = @CCODECVT_CC@
96 CCOLLATE_CC = @CCOLLATE_CC@
97 CCTYPE_CC = @CCTYPE_CC@
98 CFLAGS = @CFLAGS@
99 CLOCALE_CC = @CLOCALE_CC@
100 CLOCALE_H = @CLOCALE_H@
101 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
102 CMESSAGES_CC = @CMESSAGES_CC@
103 CMESSAGES_H = @CMESSAGES_H@
104 CMONEY_CC = @CMONEY_CC@
105 CNUMERIC_CC = @CNUMERIC_CC@
106 CPP = @CPP@
107 CPPFLAGS = @CPPFLAGS@
108 CSTDIO_H = @CSTDIO_H@
109 CTIME_CC = @CTIME_CC@
110 CTIME_H = @CTIME_H@
111 CXX = $(shell ${SHELL} ${testsuite_flags_script} --build-cxx)
112 CXXCPP = @CXXCPP@
113 CXXFLAGS = @CXXFLAGS@
114 CYGPATH_W = @CYGPATH_W@
115 C_INCLUDE_DIR = @C_INCLUDE_DIR@
116 DEBUG_FLAGS = @DEBUG_FLAGS@
117 DEFS = @DEFS@
118 ECHO_C = @ECHO_C@
119 ECHO_N = @ECHO_N@
120 ECHO_T = @ECHO_T@
121 EGREP = @EGREP@
122 EXEEXT = @EXEEXT@
123 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
124 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
125 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
126 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
127 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
128 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
129 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
130 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
131 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
132 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
133 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
134 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
135 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
136 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
137 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
138 GLIBCXX_INCLUDES = $(shell ${SHELL} ${testsuite_flags_script} \
139   --build-includes)
140
141 GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@
142 GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@
143 GLIBCXX_TEST_THREAD_FALSE = @GLIBCXX_TEST_THREAD_FALSE@
144 GLIBCXX_TEST_THREAD_TRUE = @GLIBCXX_TEST_THREAD_TRUE@
145 GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@
146 GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@
147 INSTALL_DATA = @INSTALL_DATA@
148 INSTALL_PROGRAM = @INSTALL_PROGRAM@
149 INSTALL_SCRIPT = @INSTALL_SCRIPT@
150 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
151 LIBICONV = @LIBICONV@
152 LIBMATHOBJS = @LIBMATHOBJS@
153 LIBOBJS = @LIBOBJS@
154 LIBS = @LIBS@
155 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
156 LIBTOOL = @LIBTOOL@
157 LN_S = @LN_S@
158 LTLIBOBJS = @LTLIBOBJS@
159 MAINT = @MAINT@
160 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
161 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
162 MAKEINFO = @MAKEINFO@
163 OBJEXT = @OBJEXT@
164 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
165 OPT_LDFLAGS = @OPT_LDFLAGS@
166 OS_INC_SRCDIR = @OS_INC_SRCDIR@
167 PACKAGE = @PACKAGE@
168 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
169 PACKAGE_NAME = @PACKAGE_NAME@
170 PACKAGE_STRING = @PACKAGE_STRING@
171 PACKAGE_TARNAME = @PACKAGE_TARNAME@
172 PACKAGE_VERSION = @PACKAGE_VERSION@
173 PATH_SEPARATOR = @PATH_SEPARATOR@
174 RANLIB = @RANLIB@
175 SECTION_FLAGS = @SECTION_FLAGS@
176 SECTION_LDFLAGS = @SECTION_LDFLAGS@
177 SET_MAKE = @SET_MAKE@
178 SHELL = @SHELL@
179 STRIP = @STRIP@
180 SYMVER_MAP = @SYMVER_MAP@
181 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
182 USE_NLS = @USE_NLS@
183 VERSION = @VERSION@
184 WARN_FLAGS = @WARN_FLAGS@
185 WERROR = @WERROR@
186 ac_ct_AR = @ac_ct_AR@
187 ac_ct_AS = @ac_ct_AS@
188 ac_ct_CC = @ac_ct_CC@
189 ac_ct_CXX = @ac_ct_CXX@
190 ac_ct_RANLIB = @ac_ct_RANLIB@
191 ac_ct_STRIP = @ac_ct_STRIP@
192 am__leading_dot = @am__leading_dot@
193 am__tar = @am__tar@
194 am__untar = @am__untar@
195 baseline_dir = @baseline_dir@
196 bindir = @bindir@
197 build = @build@
198 build_alias = @build_alias@
199 build_cpu = @build_cpu@
200 build_os = @build_os@
201 build_vendor = @build_vendor@
202 check_msgfmt = @check_msgfmt@
203 datadir = @datadir@
204 enable_shared = @enable_shared@
205 enable_static = @enable_static@
206 exec_prefix = @exec_prefix@
207 glibcxx_MOFILES = @glibcxx_MOFILES@
208 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
209 glibcxx_POFILES = @glibcxx_POFILES@
210 glibcxx_builddir = @glibcxx_builddir@
211 glibcxx_localedir = @glibcxx_localedir@
212 glibcxx_prefixdir = @glibcxx_prefixdir@
213 glibcxx_srcdir = @glibcxx_srcdir@
214 glibcxx_thread_h = @glibcxx_thread_h@
215 glibcxx_toolexecdir = @glibcxx_toolexecdir@
216 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
217 gxx_include_dir = @gxx_include_dir@
218 host = @host@
219 host_alias = @host_alias@
220 host_cpu = @host_cpu@
221 host_os = @host_os@
222 host_vendor = @host_vendor@
223 includedir = @includedir@
224 infodir = @infodir@
225 install_sh = @install_sh@
226 libdir = @libdir@
227 libexecdir = @libexecdir@
228 libtool_VERSION = @libtool_VERSION@
229 localstatedir = @localstatedir@
230 mandir = @mandir@
231 mkdir_p = @mkdir_p@
232 multi_basedir = @multi_basedir@
233 oldincludedir = @oldincludedir@
234 port_specific_symbol_files = @port_specific_symbol_files@
235 prefix = @prefix@
236 program_transform_name = @program_transform_name@
237 sbindir = @sbindir@
238 sharedstatedir = @sharedstatedir@
239 sysconfdir = @sysconfdir@
240 target = @target@
241 target_alias = @target_alias@
242 target_cpu = @target_cpu@
243 target_os = @target_os@
244 target_vendor = @target_vendor@
245 toplevel_srcdir = @toplevel_srcdir@
246 AUTOMAKE_OPTIONS = dejagnu nostdinc
247
248 # May be used by various substitution variables.
249 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
250 MAINT_CHARSET = latin1
251 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
252 PWD_COMMAND = $${PWDCMD-pwd}
253 STAMP = echo timestamp >
254 toolexecdir = $(glibcxx_toolexecdir)
255 toolexeclibdir = $(glibcxx_toolexeclibdir)
256
257 # These bits are all figured out from configure.  Look in acinclude.m4
258 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
259 CONFIG_CXXFLAGS = \
260         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
261
262 WARN_CXXFLAGS = \
263         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
264
265
266 # -I/-D flags to pass when compiling.
267 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
268 AM_MAKEFLAGS = -j1
269 AM_RUNTESTFLAGS = 
270 testsuite_flags_script = ${glibcxx_builddir}/scripts/testsuite_flags
271 AM_CXXFLAGS = $(shell ${SHELL} ${testsuite_flags_script} --cxxflags)
272 GLIBGCC_DIR = `$(CC) -print-libgcc-file-name | sed 's,/[^/]*$$,,'`
273 GLIBCXX_DIR = ${glibcxx_builddir}/src/.libs
274 CXXLINK = \
275         $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
276         -R $(GLIBGCC_DIR) -R $(GLIBCXX_DIR) \
277         $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -lv3test -L. -o $@
278
279 noinst_LIBRARIES = libv3test.a
280 libv3test_a_SOURCES = \
281         testsuite_abi.cc \
282         testsuite_allocator.cc \
283         testsuite_hooks.cc 
284
285
286 # Generated lists of files to run.  All of these names are valid make
287 # targets, if you wish to generate a list manually.
288 lists_of_files = \
289    testsuite_files \
290    testsuite_files_interactive \
291    testsuite_files_performance
292
293 baseline_file = ${baseline_dir}/baseline_symbols.txt
294 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
295
296 # These two special 'check-script' rules use the bash script
297 # 'check_survey' to do testing. This script is not as portable as the
298 # dejagnu test harness, and is thus off by default. It does produce
299 # interesting output however, including various performance analysis
300 # items like compile time, execution time, and binary size.
301 survey_script = ${glibcxx_builddir}/scripts/check_survey
302
303 # Runs the testsuite/performance tests.
304 # Some of these tests create large (~75MB) files, allocate huge
305 # ammounts of memory, or otherwise tie up machine resources. Thus,
306 # running this is off by default.
307 performance_script = ${glibcxx_srcdir}/scripts/check_performance
308
309 # Runs the testsuite, but in compile only mode, and times it.
310 # See script.
311 compile_script = ${glibcxx_srcdir}/scripts/check_compile
312
313 # By adding these files here, automake will remove them for 'make clean'
314 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
315              testsuite_* site.exp abi_check baseline_symbols *TEST*
316
317 all: all-am
318
319 .SUFFIXES:
320 .SUFFIXES: .cc .lo .o .obj
321 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
322         @for dep in $?; do \
323           case '$(am__configure_deps)' in \
324             *$$dep*) \
325               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
326                 && exit 0; \
327               exit 1;; \
328           esac; \
329         done; \
330         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile'; \
331         cd $(top_srcdir) && \
332           $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile
333 .PRECIOUS: Makefile
334 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
335         @case '$?' in \
336           *config.status*) \
337             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
338           *) \
339             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
340             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
341         esac;
342
343 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
344         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
345
346 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
347         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
348 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
349         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
350
351 clean-noinstLIBRARIES:
352         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
353 libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES) 
354         -rm -f libv3test.a
355         $(libv3test_a_AR) libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
356         $(RANLIB) libv3test.a
357
358 mostlyclean-compile:
359         -rm -f *.$(OBJEXT)
360
361 distclean-compile:
362         -rm -f *.tab.c
363
364 .cc.o:
365         $(CXXCOMPILE) -c -o $@ $<
366
367 .cc.obj:
368         $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
369
370 .cc.lo:
371         $(LTCXXCOMPILE) -c -o $@ $<
372
373 mostlyclean-libtool:
374         -rm -f *.lo
375
376 clean-libtool:
377         -rm -rf .libs _libs
378
379 distclean-libtool:
380         -rm -f libtool
381 uninstall-info-am:
382
383 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
384         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
385         unique=`for i in $$list; do \
386             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
387           done | \
388           $(AWK) '    { files[$$0] = 1; } \
389                END { for (i in files) print i; }'`; \
390         mkid -fID $$unique
391 tags: TAGS
392
393 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
394                 $(TAGS_FILES) $(LISP)
395         tags=; \
396         here=`pwd`; \
397         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
398         unique=`for i in $$list; do \
399             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
400           done | \
401           $(AWK) '    { files[$$0] = 1; } \
402                END { for (i in files) print i; }'`; \
403         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
404           test -n "$$unique" || unique=$$empty_fix; \
405           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
406             $$tags $$unique; \
407         fi
408 ctags: CTAGS
409 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
410                 $(TAGS_FILES) $(LISP)
411         tags=; \
412         here=`pwd`; \
413         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
414         unique=`for i in $$list; do \
415             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
416           done | \
417           $(AWK) '    { files[$$0] = 1; } \
418                END { for (i in files) print i; }'`; \
419         test -z "$(CTAGS_ARGS)$$tags$$unique" \
420           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
421              $$tags $$unique
422
423 GTAGS:
424         here=`$(am__cd) $(top_builddir) && pwd` \
425           && cd $(top_srcdir) \
426           && gtags -i $(GTAGS_ARGS) $$here
427
428 distclean-tags:
429         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
430
431 check-DEJAGNU: site.exp
432         srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
433         EXPECT=$(EXPECT); export EXPECT; \
434         runtest=$(RUNTEST); \
435         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
436           l='$(DEJATOOL)'; for tool in $$l; do \
437             $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
438           done; \
439         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
440         fi
441
442 distclean-DEJAGNU:
443         -rm -f site.exp site.bak
444         -l='$(DEJATOOL)'; for tool in $$l; do \
445           rm -f $$tool.sum $$tool.log; \
446         done
447
448 distdir: $(DISTFILES)
449         $(mkdir_p) $(distdir)/..
450         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
451         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
452         list='$(DISTFILES)'; for file in $$list; do \
453           case $$file in \
454             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
455             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
456           esac; \
457           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
458           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
459           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
460             dir="/$$dir"; \
461             $(mkdir_p) "$(distdir)$$dir"; \
462           else \
463             dir=''; \
464           fi; \
465           if test -d $$d/$$file; then \
466             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
467               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
468             fi; \
469             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
470           else \
471             test -f $(distdir)/$$file \
472             || cp -p $$d/$$file $(distdir)/$$file \
473             || exit 1; \
474           fi; \
475         done
476 check-am: all-am
477         $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
478 check: check-am
479 all-am: Makefile $(LIBRARIES) all-local
480 installdirs:
481 install: install-am
482 install-exec: install-exec-am
483 install-data: install-data-am
484 uninstall: uninstall-am
485
486 install-am: all-am
487         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
488
489 installcheck: installcheck-am
490 install-strip:
491         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
492           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
493           `test -z '$(STRIP)' || \
494             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
495 mostlyclean-generic:
496
497 clean-generic:
498         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
499
500 distclean-generic:
501         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
502
503 maintainer-clean-generic:
504         @echo "This command is intended for maintainers to use"
505         @echo "it deletes files that may require special tools to rebuild."
506 clean: clean-am
507
508 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
509         mostlyclean-am
510
511 distclean: distclean-am
512         -rm -f Makefile
513 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
514         distclean-generic distclean-libtool distclean-tags
515
516 dvi: dvi-am
517
518 dvi-am:
519
520 html: html-am
521
522 info: info-am
523
524 info-am:
525
526 install-data-am:
527
528 install-exec-am:
529
530 install-info: install-info-am
531
532 install-man:
533
534 installcheck-am:
535
536 maintainer-clean: maintainer-clean-am
537         -rm -f Makefile
538 maintainer-clean-am: distclean-am maintainer-clean-generic
539
540 mostlyclean: mostlyclean-am
541
542 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
543         mostlyclean-libtool
544
545 pdf: pdf-am
546
547 pdf-am:
548
549 ps: ps-am
550
551 ps-am:
552
553 uninstall-am: uninstall-info-am
554
555 .PHONY: CTAGS GTAGS all all-am all-local check check-DEJAGNU check-am \
556         clean clean-generic clean-libtool clean-noinstLIBRARIES ctags \
557         distclean distclean-DEJAGNU distclean-compile \
558         distclean-generic distclean-libtool distclean-tags distdir dvi \
559         dvi-am html html-am info info-am install install-am \
560         install-data install-data-am install-exec install-exec-am \
561         install-info install-info-am install-man install-strip \
562         installcheck installcheck-am installdirs maintainer-clean \
563         maintainer-clean-generic mostlyclean mostlyclean-compile \
564         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
565         tags uninstall uninstall-am uninstall-info-am
566
567
568 all-local: stamp_wchar stamp_thread
569
570 # Enable wchar_t tests if capable.
571 @GLIBCXX_TEST_WCHAR_T_TRUE@stamp_wchar:
572 @GLIBCXX_TEST_WCHAR_T_TRUE@     touch testsuite_wchar_t
573 @GLIBCXX_TEST_WCHAR_T_FALSE@stamp_wchar:
574
575 # Enable thread tests if capable.
576 @GLIBCXX_TEST_THREAD_TRUE@stamp_thread:
577 @GLIBCXX_TEST_THREAD_TRUE@      touch testsuite_thread
578 @GLIBCXX_TEST_THREAD_FALSE@stamp_thread:
579
580 # We need more things in site.exp, but automake completely controls the
581 # creation of that file; there's no way to append to it without messing up
582 # the dependancy chains.  So we overrule automake.  This rule is exactly
583 # what it would have generated, plus our own additions.
584 site.exp: Makefile
585         @echo 'Making a new site.exp file...'
586         @echo '## these variables are automatically generated by make ##' >site.tmp
587         @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
588         @echo '# edit the last section' >>site.tmp
589         @echo 'set srcdir $(srcdir)' >>site.tmp
590         @echo "set objdir `pwd`" >>site.tmp
591         @echo 'set build_alias "$(build_alias)"' >>site.tmp
592         @echo 'set build_triplet $(build_triplet)' >>site.tmp
593         @echo 'set host_alias "$(host_alias)"' >>site.tmp
594         @echo 'set host_triplet $(host_triplet)' >>site.tmp
595         @echo 'set target_alias "$(target_alias)"' >>site.tmp
596         @echo 'set target_triplet $(target_triplet)' >>site.tmp
597         @echo 'set target_triplet $(target_triplet)' >>site.tmp
598         @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
599         @echo 'set baseline_file "$(baseline_file)"' >> site.tmp
600         @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
601         @test ! -f site.exp || \
602           sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
603         @-rm -f site.bak
604         @test ! -f site.exp || mv site.exp site.bak
605         @mv site.tmp site.exp
606
607 baseline_symbols:
608         -@(output=${baseline_file}; \
609           if test ! -f $${output}; then \
610             echo "Baseline file doesn't exist."; \
611             echo "Try 'make new-abi-baseline' to create it."; \
612             exit 1; \
613           fi; true)
614
615 new-abi-baseline:
616         -@$(mkinstalldirs) ${baseline_dir}
617         -@(output=${baseline_file}; \
618           if test -f $${output}; then \
619             output=$${output}.new; \
620             t=`echo $${output} | sed 's=.*config/abi/=='`; \
621             echo "Baseline file already exists, writing to $${t} instead."; \
622           fi; \
623           ${extract_symvers} ../src/.libs/libstdc++.so $${output})
624
625 # Use 'new-abi-baseline' to create an initial symbol file.  Then run
626 # 'check-abi' to test for changes against that file.
627 @GLIBCXX_TEST_ABI_TRUE@check-abi: baseline_symbols site.exp
628 @GLIBCXX_TEST_ABI_TRUE@ -@runtest --tool libstdc++ abi.exp
629 @GLIBCXX_TEST_ABI_FALSE@check-abi:
630 check-script: ${survey_script}
631         -@(chmod + ${survey_script}; \
632           ${survey_script} 0)
633
634 check-script-install: ${survey_script}
635         -@(chmod + ${survey_script}; \
636           ${survey_script} 0)
637 check-performance: testsuite_files_performance ${performance_script}
638         -@(chmod + ${performance_script}; \
639           ${performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
640 check-compile: testsuite_files ${compile_script}
641         -@(chmod + ${compile_script}; \
642           ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
643
644 # This rule generates all of the testsuite_files* lists at once.
645 ${lists_of_files}:
646         ${glibcxx_srcdir}/scripts/create_testsuite_files \
647           ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
648
649 .PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
650 check-script check-script-install check-performance
651 # Tell versions [3.59,3.63) of GNU make to not export all variables.
652 # Otherwise a system limit (for SysV at least) may be exceeded.
653 .NOEXPORT: