OSDN Git Service

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