OSDN Git Service

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