OSDN Git Service

2005-04-08 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_character.$(OBJEXT) \
60         testsuite_hooks.$(OBJEXT)
61 libv3test_a_OBJECTS = $(am_libv3test_a_OBJECTS)
62 DEFAULT_INCLUDES = 
63 depcomp =
64 am__depfiles_maybe =
65 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
66         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
67 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
68         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
69         $(AM_CXXFLAGS) $(CXXFLAGS)
70 CXXLD = $(CXX)
71 SOURCES = $(libv3test_a_SOURCES)
72 DIST_SOURCES = $(libv3test_a_SOURCES)
73 ETAGS = etags
74 CTAGS = ctags
75 DEJATOOL = $(PACKAGE)
76 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
77 EXPECT = expect
78 RUNTEST = runtest
79 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
80 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
81 ACLOCAL = @ACLOCAL@
82 ALLOCATOR_H = @ALLOCATOR_H@
83 ALLOCATOR_NAME = @ALLOCATOR_NAME@
84 AMTAR = @AMTAR@
85 AR = @AR@
86 AS = @AS@
87 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
88 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
89 AUTOCONF = @AUTOCONF@
90 AUTOHEADER = @AUTOHEADER@
91 AUTOMAKE = @AUTOMAKE@
92 AWK = @AWK@
93 BASIC_FILE_CC = @BASIC_FILE_CC@
94 BASIC_FILE_H = @BASIC_FILE_H@
95 CC = @CC@
96 CCODECVT_CC = @CCODECVT_CC@
97 CCOLLATE_CC = @CCOLLATE_CC@
98 CCTYPE_CC = @CCTYPE_CC@
99 CFLAGS = @CFLAGS@
100 CLOCALE_CC = @CLOCALE_CC@
101 CLOCALE_H = @CLOCALE_H@
102 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
103 CMESSAGES_CC = @CMESSAGES_CC@
104 CMESSAGES_H = @CMESSAGES_H@
105 CMONEY_CC = @CMONEY_CC@
106 CNUMERIC_CC = @CNUMERIC_CC@
107 CPP = @CPP@
108 CPPFLAGS = @CPPFLAGS@
109 CSTDIO_H = @CSTDIO_H@
110 CTIME_CC = @CTIME_CC@
111 CTIME_H = @CTIME_H@
112 CXX = $(shell ${SHELL} ${testsuite_flags_script} --build-cxx)
113 CXXCPP = @CXXCPP@
114 CXXFLAGS = @CXXFLAGS@
115 CYGPATH_W = @CYGPATH_W@
116 C_INCLUDE_DIR = @C_INCLUDE_DIR@
117 DEBUG_FLAGS = @DEBUG_FLAGS@
118 DEFS = @DEFS@
119 ECHO_C = @ECHO_C@
120 ECHO_N = @ECHO_N@
121 ECHO_T = @ECHO_T@
122 EGREP = @EGREP@
123 EXEEXT = @EXEEXT@
124 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
125 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
126 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
127 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
128 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
129 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
130 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
131 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
132 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
133 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
134 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
135 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
136 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
137 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
138 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
139 GLIBCXX_INCLUDES = $(shell ${SHELL} ${testsuite_flags_script} \
140   --build-includes)
141
142 GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@
143 GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@
144 GLIBCXX_TEST_THREAD_FALSE = @GLIBCXX_TEST_THREAD_FALSE@
145 GLIBCXX_TEST_THREAD_TRUE = @GLIBCXX_TEST_THREAD_TRUE@
146 GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@
147 GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@
148 INSTALL_DATA = @INSTALL_DATA@
149 INSTALL_PROGRAM = @INSTALL_PROGRAM@
150 INSTALL_SCRIPT = @INSTALL_SCRIPT@
151 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
152 LIBICONV = @LIBICONV@
153 LIBMATHOBJS = @LIBMATHOBJS@
154 LIBOBJS = @LIBOBJS@
155 LIBS = @LIBS@
156 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
157 LIBTOOL = @LIBTOOL@
158 LN_S = @LN_S@
159 LTLIBOBJS = @LTLIBOBJS@
160 MAINT = @MAINT@
161 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
162 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
163 MAKEINFO = @MAKEINFO@
164 OBJEXT = @OBJEXT@
165 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
166 OPT_LDFLAGS = @OPT_LDFLAGS@
167 OS_INC_SRCDIR = @OS_INC_SRCDIR@
168 PACKAGE = @PACKAGE@
169 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
170 PACKAGE_NAME = @PACKAGE_NAME@
171 PACKAGE_STRING = @PACKAGE_STRING@
172 PACKAGE_TARNAME = @PACKAGE_TARNAME@
173 PACKAGE_VERSION = @PACKAGE_VERSION@
174 PATH_SEPARATOR = @PATH_SEPARATOR@
175 RANLIB = @RANLIB@
176 SECTION_FLAGS = @SECTION_FLAGS@
177 SECTION_LDFLAGS = @SECTION_LDFLAGS@
178 SET_MAKE = @SET_MAKE@
179 SHELL = @SHELL@
180 STRIP = @STRIP@
181 SYMVER_MAP = @SYMVER_MAP@
182 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
183 USE_NLS = @USE_NLS@
184 VERSION = @VERSION@
185 WARN_FLAGS = @WARN_FLAGS@
186 WERROR = @WERROR@
187 ac_ct_AR = @ac_ct_AR@
188 ac_ct_AS = @ac_ct_AS@
189 ac_ct_CC = @ac_ct_CC@
190 ac_ct_CXX = @ac_ct_CXX@
191 ac_ct_RANLIB = @ac_ct_RANLIB@
192 ac_ct_STRIP = @ac_ct_STRIP@
193 am__leading_dot = @am__leading_dot@
194 am__tar = @am__tar@
195 am__untar = @am__untar@
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 nostdinc
248
249 # May be used by various substitution variables.
250 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
251 MAINT_CHARSET = latin1
252 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
253 PWD_COMMAND = $${PWDCMD-pwd}
254 STAMP = echo timestamp >
255 toolexecdir = $(glibcxx_toolexecdir)
256 toolexeclibdir = $(glibcxx_toolexeclibdir)
257
258 # These bits are all figured out from configure.  Look in acinclude.m4
259 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
260 CONFIG_CXXFLAGS = \
261         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
262
263 WARN_CXXFLAGS = \
264         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
265
266
267 # -I/-D flags to pass when compiling.
268 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
269 AM_MAKEFLAGS = -j1
270 AM_RUNTESTFLAGS = 
271 testsuite_flags_script = ${glibcxx_builddir}/scripts/testsuite_flags
272 AM_CXXFLAGS = $(shell ${SHELL} ${testsuite_flags_script} --cxxflags)
273 GLIBGCC_DIR = `$(CC) -print-libgcc-file-name | sed 's,/[^/]*$$,,'`
274 GLIBCXX_DIR = ${glibcxx_builddir}/src/.libs
275 CXXLINK = \
276         $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
277         -R $(GLIBGCC_DIR) -R $(GLIBCXX_DIR) \
278         $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -lv3test -L. -o $@
279
280 noinst_LIBRARIES = libv3test.a
281 libv3test_a_SOURCES = \
282         testsuite_abi.cc \
283         testsuite_allocator.cc \
284         testsuite_character.cc \
285         testsuite_hooks.cc 
286
287
288 # Generated lists of files to run.  All of these names are valid make
289 # targets, if you wish to generate a list manually.
290 lists_of_files = \
291    testsuite_files \
292    testsuite_files_interactive \
293    testsuite_files_performance
294
295 baseline_file = ${baseline_dir}/baseline_symbols.txt
296 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
297
298 # Runs the testsuite, but in compile only mode.
299 # Can be used to test sources with non-GNU FE's at various warning
300 # levels and for checking compile time across releases.
301 # See script.
302 compile_script = ${glibcxx_srcdir}/scripts/check_compile
303
304 # Runs the testsuite/performance tests.
305 # Some of these tests create large (~75MB) files, allocate huge
306 # ammounts of memory, or otherwise tie up machine resources. Thus,
307 # running this is off by default.
308 performance_script = ${glibcxx_srcdir}/scripts/check_performance
309
310 # By adding these files here, automake will remove them for 'make clean'
311 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
312              testsuite_* site.exp abi_check baseline_symbols *TEST*
313
314 all: all-am
315
316 .SUFFIXES:
317 .SUFFIXES: .cc .lo .o .obj
318 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
319         @for dep in $?; do \
320           case '$(am__configure_deps)' in \
321             *$$dep*) \
322               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
323                 && exit 0; \
324               exit 1;; \
325           esac; \
326         done; \
327         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile'; \
328         cd $(top_srcdir) && \
329           $(AUTOMAKE) --foreign  --ignore-deps testsuite/Makefile
330 .PRECIOUS: Makefile
331 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
332         @case '$?' in \
333           *config.status*) \
334             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
335           *) \
336             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
337             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
338         esac;
339
340 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
341         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
342
343 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
344         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
345 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
346         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
347
348 clean-noinstLIBRARIES:
349         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
350 libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES) 
351         -rm -f libv3test.a
352         $(libv3test_a_AR) libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
353         $(RANLIB) libv3test.a
354
355 mostlyclean-compile:
356         -rm -f *.$(OBJEXT)
357
358 distclean-compile:
359         -rm -f *.tab.c
360
361 .cc.o:
362         $(CXXCOMPILE) -c -o $@ $<
363
364 .cc.obj:
365         $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
366
367 .cc.lo:
368         $(LTCXXCOMPILE) -c -o $@ $<
369
370 mostlyclean-libtool:
371         -rm -f *.lo
372
373 clean-libtool:
374         -rm -rf .libs _libs
375
376 distclean-libtool:
377         -rm -f libtool
378 uninstall-info-am:
379
380 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
381         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
382         unique=`for i in $$list; do \
383             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
384           done | \
385           $(AWK) '    { files[$$0] = 1; } \
386                END { for (i in files) print i; }'`; \
387         mkid -fID $$unique
388 tags: TAGS
389
390 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
391                 $(TAGS_FILES) $(LISP)
392         tags=; \
393         here=`pwd`; \
394         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
395         unique=`for i in $$list; do \
396             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
397           done | \
398           $(AWK) '    { files[$$0] = 1; } \
399                END { for (i in files) print i; }'`; \
400         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
401           test -n "$$unique" || unique=$$empty_fix; \
402           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
403             $$tags $$unique; \
404         fi
405 ctags: CTAGS
406 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
407                 $(TAGS_FILES) $(LISP)
408         tags=; \
409         here=`pwd`; \
410         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
411         unique=`for i in $$list; do \
412             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
413           done | \
414           $(AWK) '    { files[$$0] = 1; } \
415                END { for (i in files) print i; }'`; \
416         test -z "$(CTAGS_ARGS)$$tags$$unique" \
417           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
418              $$tags $$unique
419
420 GTAGS:
421         here=`$(am__cd) $(top_builddir) && pwd` \
422           && cd $(top_srcdir) \
423           && gtags -i $(GTAGS_ARGS) $$here
424
425 distclean-tags:
426         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
427
428 check-DEJAGNU: site.exp
429         srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
430         EXPECT=$(EXPECT); export EXPECT; \
431         runtest=$(RUNTEST); \
432         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
433           l='$(DEJATOOL)'; for tool in $$l; do \
434             $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
435           done; \
436         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
437         fi
438
439 distclean-DEJAGNU:
440         -rm -f site.exp site.bak
441         -l='$(DEJATOOL)'; for tool in $$l; do \
442           rm -f $$tool.sum $$tool.log; \
443         done
444
445 distdir: $(DISTFILES)
446         $(mkdir_p) $(distdir)/..
447         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
448         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
449         list='$(DISTFILES)'; for file in $$list; do \
450           case $$file in \
451             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
452             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
453           esac; \
454           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
455           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
456           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
457             dir="/$$dir"; \
458             $(mkdir_p) "$(distdir)$$dir"; \
459           else \
460             dir=''; \
461           fi; \
462           if test -d $$d/$$file; then \
463             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
464               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
465             fi; \
466             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
467           else \
468             test -f $(distdir)/$$file \
469             || cp -p $$d/$$file $(distdir)/$$file \
470             || exit 1; \
471           fi; \
472         done
473 check-am: all-am
474         $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
475 check: check-am
476 all-am: Makefile $(LIBRARIES) all-local
477 installdirs:
478 install: install-am
479 install-exec: install-exec-am
480 install-data: install-data-am
481 uninstall: uninstall-am
482
483 install-am: all-am
484         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
485
486 installcheck: installcheck-am
487 install-strip:
488         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
489           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
490           `test -z '$(STRIP)' || \
491             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
492 mostlyclean-generic:
493
494 clean-generic:
495         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
496
497 distclean-generic:
498         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
499
500 maintainer-clean-generic:
501         @echo "This command is intended for maintainers to use"
502         @echo "it deletes files that may require special tools to rebuild."
503 clean: clean-am
504
505 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
506         mostlyclean-am
507
508 distclean: distclean-am
509         -rm -f Makefile
510 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
511         distclean-generic distclean-libtool distclean-tags
512
513 dvi: dvi-am
514
515 dvi-am:
516
517 html: html-am
518
519 info: info-am
520
521 info-am:
522
523 install-data-am:
524
525 install-exec-am:
526
527 install-info: install-info-am
528
529 install-man:
530
531 installcheck-am:
532
533 maintainer-clean: maintainer-clean-am
534         -rm -f Makefile
535 maintainer-clean-am: distclean-am maintainer-clean-generic
536
537 mostlyclean: mostlyclean-am
538
539 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
540         mostlyclean-libtool
541
542 pdf: pdf-am
543
544 pdf-am:
545
546 ps: ps-am
547
548 ps-am:
549
550 uninstall-am: uninstall-info-am
551
552 .PHONY: CTAGS GTAGS all all-am all-local check check-DEJAGNU check-am \
553         clean clean-generic clean-libtool clean-noinstLIBRARIES ctags \
554         distclean distclean-DEJAGNU distclean-compile \
555         distclean-generic distclean-libtool distclean-tags distdir dvi \
556         dvi-am html html-am info info-am install install-am \
557         install-data install-data-am install-exec install-exec-am \
558         install-info install-info-am install-man install-strip \
559         installcheck installcheck-am installdirs maintainer-clean \
560         maintainer-clean-generic mostlyclean mostlyclean-compile \
561         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
562         tags uninstall uninstall-am uninstall-info-am
563
564
565 all-local: stamp_wchar stamp_thread
566
567 # Enable wchar_t tests if capable.
568 @GLIBCXX_TEST_WCHAR_T_TRUE@stamp_wchar:
569 @GLIBCXX_TEST_WCHAR_T_TRUE@     touch testsuite_wchar_t
570 @GLIBCXX_TEST_WCHAR_T_FALSE@stamp_wchar:
571
572 # Enable thread tests if capable.
573 @GLIBCXX_TEST_THREAD_TRUE@stamp_thread:
574 @GLIBCXX_TEST_THREAD_TRUE@      touch testsuite_thread
575 @GLIBCXX_TEST_THREAD_FALSE@stamp_thread:
576
577 # This rule generates all of the testsuite_files* lists at once.
578 ${lists_of_files}:
579         ${glibcxx_srcdir}/scripts/create_testsuite_files \
580           ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
581
582 # We need more things in site.exp, but automake completely controls the
583 # creation of that file; there's no way to append to it without messing up
584 # the dependancy chains.  So we overrule automake.  This rule is exactly
585 # what it would have generated, plus our own additions.
586 site.exp: Makefile
587         @echo 'Making a new site.exp file...'
588         @echo '## these variables are automatically generated by make ##' >site.tmp
589         @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
590         @echo '# edit the last section' >>site.tmp
591         @echo 'set srcdir $(srcdir)' >>site.tmp
592         @echo "set objdir `pwd`" >>site.tmp
593         @echo 'set build_alias "$(build_alias)"' >>site.tmp
594         @echo 'set build_triplet $(build_triplet)' >>site.tmp
595         @echo 'set host_alias "$(host_alias)"' >>site.tmp
596         @echo 'set host_triplet $(host_triplet)' >>site.tmp
597         @echo 'set target_alias "$(target_alias)"' >>site.tmp
598         @echo 'set target_triplet $(target_triplet)' >>site.tmp
599         @echo 'set target_triplet $(target_triplet)' >>site.tmp
600         @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
601         @echo 'set baseline_file "$(baseline_file)"' >> site.tmp
602         @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
603         @test ! -f site.exp || \
604           sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
605         @-rm -f site.bak
606         @test ! -f site.exp || mv site.exp site.bak
607         @mv site.tmp site.exp
608
609 baseline_symbols:
610         -@(output=${baseline_file}; \
611           if test ! -f $${output}; then \
612             echo "Baseline file doesn't exist."; \
613             echo "Try 'make new-abi-baseline' to create it."; \
614             exit 1; \
615           fi; true)
616
617 new-abi-baseline:
618         -@$(mkinstalldirs) ${baseline_dir}
619         -@(output=${baseline_file}; \
620           if test -f $${output}; then \
621             output=$${output}.new; \
622             t=`echo $${output} | sed 's=.*config/abi/=='`; \
623             echo "Baseline file already exists, writing to $${t} instead."; \
624           fi; \
625           ${extract_symvers} ../src/.libs/libstdc++.so $${output})
626
627 # Use 'new-abi-baseline' to create an initial symbol file.  Then run
628 # 'check-abi' to test for changes against that file.
629 @GLIBCXX_TEST_ABI_TRUE@check-abi: baseline_symbols site.exp
630 @GLIBCXX_TEST_ABI_TRUE@ -@runtest --tool libstdc++ abi.exp
631 @GLIBCXX_TEST_ABI_FALSE@check-abi:
632 check-compile: testsuite_files ${compile_script}
633         -@(chmod + ${compile_script}; \
634           ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
635 check-performance: testsuite_files_performance ${performance_script}
636         -@(chmod + ${performance_script}; \
637           ${performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
638
639 .PHONY: baseline_symbols new-abi-baseline \
640         check-abi check-compile check-performance
641 # Tell versions [3.59,3.63) of GNU make to not export all variables.
642 # Otherwise a system limit (for SysV at least) may be exceeded.
643 .NOEXPORT: