1 # Makefile.in generated by automake 1.7.9 from Makefile.am.
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.
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
18 top_srcdir = @top_srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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)
38 build_triplet = @build@
40 target_triplet = @target@
45 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
47 AUTOHEADER = @AUTOHEADER@
50 BASIC_FILE_CC = @BASIC_FILE_CC@
51 BASIC_FILE_H = @BASIC_FILE_H@
53 CCODECVT_CC = @CCODECVT_CC@
54 CCODECVT_H = @CCODECVT_H@
55 CCOLLATE_CC = @CCOLLATE_CC@
56 CCTYPE_CC = @CCTYPE_CC@
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@
70 CXX = `${testsuite_flags_script} --build-cxx`
73 CYGPATH_W = @CYGPATH_W@
74 C_INCLUDE_DIR = @C_INCLUDE_DIR@
75 DEBUG_FLAGS = @DEBUG_FLAGS@
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@
109 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
112 LTLIBOBJS = @LTLIBOBJS@
114 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
115 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
116 MAKEINFO = @MAKEINFO@
118 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
119 OPT_LDFLAGS = @OPT_LDFLAGS@
120 OS_INC_SRCDIR = @OS_INC_SRCDIR@
122 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
123 PACKAGE_NAME = @PACKAGE_NAME@
124 PACKAGE_STRING = @PACKAGE_STRING@
125 PACKAGE_TARNAME = @PACKAGE_TARNAME@
126 PACKAGE_VERSION = @PACKAGE_VERSION@
127 PATH_SEPARATOR = @PATH_SEPARATOR@
129 SECTION_FLAGS = @SECTION_FLAGS@
130 SECTION_LDFLAGS = @SECTION_LDFLAGS@
131 SET_MAKE = @SET_MAKE@
134 SYMVER_MAP = @SYMVER_MAP@
135 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
138 WARN_FLAGS = @WARN_FLAGS@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_AS = @ac_ct_AS@
142 ac_ct_CC = @ac_ct_CC@
143 ac_ct_CXX = @ac_ct_CXX@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__leading_dot = @am__leading_dot@
147 baseline_dir = @baseline_dir@
150 build_alias = @build_alias@
151 build_cpu = @build_cpu@
152 build_os = @build_os@
153 build_vendor = @build_vendor@
154 check_msgfmt = @check_msgfmt@
156 enable_shared = @enable_shared@
157 enable_static = @enable_static@
158 exec_prefix = @exec_prefix@
159 glibcxx_MOFILES = @glibcxx_MOFILES@
160 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
161 glibcxx_POFILES = @glibcxx_POFILES@
162 glibcxx_builddir = @glibcxx_builddir@
163 glibcxx_localedir = @glibcxx_localedir@
164 glibcxx_prefixdir = @glibcxx_prefixdir@
165 glibcxx_srcdir = @glibcxx_srcdir@
166 glibcxx_thread_h = @glibcxx_thread_h@
167 glibcxx_toolexecdir = @glibcxx_toolexecdir@
168 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
169 gxx_include_dir = @gxx_include_dir@
171 host_alias = @host_alias@
172 host_cpu = @host_cpu@
174 host_vendor = @host_vendor@
175 includedir = @includedir@
177 install_sh = @install_sh@
179 libexecdir = @libexecdir@
180 libtool_VERSION = @libtool_VERSION@
181 localstatedir = @localstatedir@
183 multi_basedir = @multi_basedir@
184 oldincludedir = @oldincludedir@
185 port_specific_symbol_files = @port_specific_symbol_files@
187 program_transform_name = @program_transform_name@
189 sharedstatedir = @sharedstatedir@
190 sysconfdir = @sysconfdir@
192 target_alias = @target_alias@
193 target_cpu = @target_cpu@
194 target_os = @target_os@
195 target_vendor = @target_vendor@
196 toplevel_srcdir = @toplevel_srcdir@
198 AUTOMAKE_OPTIONS = dejagnu
200 MAINT_CHARSET = latin1
202 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
203 PWD_COMMAND = $${PWDCMD-pwd}
204 STAMP = echo timestamp >
206 toolexecdir = $(glibcxx_toolexecdir)
207 toolexeclibdir = $(glibcxx_toolexeclibdir)
209 # These bits are all figured out from configure. Look in acinclude.m4
210 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
212 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
215 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
218 # -I/-D flags to pass when compiling.
219 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
224 testsuite_flags_script = ${glibcxx_builddir}/scripts/testsuite_flags
226 GLIBGCC_DIR = `$(CC) -print-libgcc-file-name | sed 's,/[^/]*$$,,'`
227 GLIBCXX_DIR = ${glibcxx_builddir}/src/.libs
230 $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
231 -R $(GLIBGCC_DIR) -R $(GLIBCXX_DIR) \
232 $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
235 # Generated lists of files to run. All of these names are valid make
236 # targets, if you wish to generate a list manually.
239 testsuite_files_interactive \
240 testsuite_files_performance
243 noinst_LIBRARIES = libv3test.a
244 libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
245 @GLIBCXX_TEST_ABI_FALSE@noinst_PROGRAMS =
247 @GLIBCXX_TEST_ABI_TRUE@noinst_PROGRAMS = abi_check
248 abi_check_SOURCES = abi_check.cc
250 baseline_file = ${baseline_dir}/baseline_symbols.txt
251 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
253 # These two special 'check-script' rules use the bash script
254 # 'check_survey' to do testing. This script is not as portable as the
255 # dejagnu test harness, and is thus off by default. It does produce
256 # interesting output however, including various performance analysis
257 # items like compile time, execution time, and binary size.
258 survey_script = ${glibcxx_builddir}/scripts/check_survey
260 # Runs the testsuite/performance tests.
261 # Some of these tests create large (~75MB) files, allocate huge
262 # ammounts of memory, or otherwise tie up machine resources. Thus,
263 # running this is off by default.
264 performance_script = ${glibcxx_srcdir}/scripts/check_performance
266 # By adding these files here, automake will remove them for 'make clean'
267 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
268 testsuite_* site.exp abi_check baseline_symbols
271 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
272 CONFIG_HEADER = $(top_builddir)/config.h
274 LIBRARIES = $(noinst_LIBRARIES)
276 libv3test_a_AR = $(AR) cru
278 am_libv3test_a_OBJECTS = testsuite_hooks.$(OBJEXT) \
279 testsuite_allocator.$(OBJEXT)
280 libv3test_a_OBJECTS = $(am_libv3test_a_OBJECTS)
281 @GLIBCXX_TEST_ABI_TRUE@noinst_PROGRAMS = abi_check$(EXEEXT)
282 @GLIBCXX_TEST_ABI_FALSE@noinst_PROGRAMS =
283 PROGRAMS = $(noinst_PROGRAMS)
285 am_abi_check_OBJECTS = abi_check.$(OBJEXT)
286 abi_check_OBJECTS = $(am_abi_check_OBJECTS)
287 abi_check_LDADD = $(LDADD)
288 abi_check_DEPENDENCIES =
291 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
294 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
295 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
296 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
297 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
298 $(AM_CXXFLAGS) $(CXXFLAGS)
300 DIST_SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
301 DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/fragment.am \
303 SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
308 .SUFFIXES: .cc .lo .o .obj
309 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/fragment.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
310 cd $(top_srcdir) && \
311 $(AUTOMAKE) --foreign testsuite/Makefile
312 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
313 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
315 clean-noinstLIBRARIES:
316 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
317 libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES)
319 $(libv3test_a_AR) libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
320 $(RANLIB) libv3test.a
322 clean-noinstPROGRAMS:
323 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
324 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
325 echo " rm -f $$p $$f"; \
328 abi_check$(EXEEXT): $(abi_check_OBJECTS) $(abi_check_DEPENDENCIES)
329 @rm -f abi_check$(EXEEXT)
330 $(CXXLINK) $(abi_check_LDFLAGS) $(abi_check_OBJECTS) $(abi_check_LDADD) $(LIBS)
333 -rm -f *.$(OBJEXT) core *.core
339 $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
342 $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
345 $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
365 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
366 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
367 unique=`for i in $$list; do \
368 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
370 $(AWK) ' { files[$$0] = 1; } \
371 END { for (i in files) print i; }'`; \
374 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
375 $(TAGS_FILES) $(LISP)
378 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
379 unique=`for i in $$list; do \
380 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
382 $(AWK) ' { files[$$0] = 1; } \
383 END { for (i in files) print i; }'`; \
384 test -z "$(ETAGS_ARGS)$$tags$$unique" \
385 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
389 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
390 $(TAGS_FILES) $(LISP)
393 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
394 unique=`for i in $$list; do \
395 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
397 $(AWK) ' { files[$$0] = 1; } \
398 END { for (i in files) print i; }'`; \
399 test -z "$(CTAGS_ARGS)$$tags$$unique" \
400 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
404 here=`$(am__cd) $(top_builddir) && pwd` \
405 && cd $(top_srcdir) \
406 && gtags -i $(GTAGS_ARGS) $$here
409 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
411 DEJATOOL = $(PACKAGE)
412 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
416 check-DEJAGNU: site.exp
417 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
418 EXPECT=$(EXPECT); export EXPECT; \
419 runtest=$(RUNTEST); \
420 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
421 l='$(DEJATOOL)'; for tool in $$l; do \
422 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
424 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
427 @echo 'Making a new site.exp file...'
428 @echo '## these variables are automatically generated by make ##' >site.tmp
429 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
430 @echo '# edit the last section' >>site.tmp
431 @echo 'set srcdir $(srcdir)' >>site.tmp
432 @echo "set objdir `pwd`" >>site.tmp
433 @echo 'set build_alias "$(build_alias)"' >>site.tmp
434 @echo 'set build_triplet $(build_triplet)' >>site.tmp
435 @echo 'set host_alias "$(host_alias)"' >>site.tmp
436 @echo 'set host_triplet $(host_triplet)' >>site.tmp
437 @echo 'set target_alias "$(target_alias)"' >>site.tmp
438 @echo 'set target_triplet $(target_triplet)' >>site.tmp
439 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
440 @test ! -f site.exp || \
441 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
443 @test ! -f site.exp || mv site.exp site.bak
444 @mv site.tmp site.exp
447 -rm -f site.exp site.bak
448 -l='$(DEJATOOL)'; for tool in $$l; do \
449 rm -f $$tool.sum $$tool.log; \
451 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
454 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
456 distdir: $(DISTFILES)
457 $(mkinstalldirs) $(distdir)/..
458 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
459 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
460 list='$(DISTFILES)'; for file in $$list; do \
462 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
463 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
465 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
466 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
467 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
469 $(mkinstalldirs) "$(distdir)$$dir"; \
473 if test -d $$d/$$file; then \
474 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
475 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
477 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
479 test -f $(distdir)/$$file \
480 || cp -p $$d/$$file $(distdir)/$$file \
485 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
487 all-am: Makefile $(LIBRARIES) $(PROGRAMS) all-local
491 install-exec: install-exec-am
492 install-data: install-data-am
493 uninstall: uninstall-am
496 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
498 installcheck: installcheck-am
500 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
501 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
502 `test -z '$(STRIP)' || \
503 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
507 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
510 -rm -f $(CONFIG_CLEAN_FILES)
512 maintainer-clean-generic:
513 @echo "This command is intended for maintainers to use"
514 @echo "it deletes files that may require special tools to rebuild."
517 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
518 clean-noinstPROGRAMS mostlyclean-am
520 distclean: distclean-am
522 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
523 distclean-generic distclean-libtool distclean-tags
537 install-info: install-info-am
543 maintainer-clean: maintainer-clean-am
545 maintainer-clean-am: distclean-am maintainer-clean-generic
547 mostlyclean: mostlyclean-am
549 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
560 uninstall-am: uninstall-info-am
562 .PHONY: CTAGS GTAGS all all-am all-local check check-DEJAGNU check-am \
563 check-local clean clean-generic clean-libtool \
564 clean-noinstLIBRARIES clean-noinstPROGRAMS ctags distclean \
565 distclean-DEJAGNU distclean-compile distclean-generic \
566 distclean-libtool distclean-tags distdir dvi dvi-am info \
567 info-am install install-am install-data install-data-am \
568 install-exec install-exec-am install-info install-info-am \
569 install-man install-strip installcheck installcheck-am \
570 installdirs maintainer-clean maintainer-clean-generic \
571 mostlyclean mostlyclean-compile mostlyclean-generic \
572 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
573 uninstall-am uninstall-info-am
576 all-local: stamp_wchar testsuite_files
578 # Enable wchar_t tests if capable.
579 @GLIBCXX_TEST_WCHAR_T_TRUE@stamp_wchar:
580 @GLIBCXX_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
581 @GLIBCXX_TEST_WCHAR_T_FALSE@stamp_wchar:
583 # This is automatically run after the generated check-DEJAGNU rule.
584 check-local: check-abi
586 current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
587 -@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt)
590 -@(output=${baseline_file}; \
591 if test ! -f $${output}; then \
592 echo "Baseline file doesn't exist."; \
593 echo "Try 'make new-abi-baseline' to create it."; \
598 -@$(mkinstalldirs) ${baseline_dir}
599 -@(output=${baseline_file}; \
600 if test -f $${output}; then \
601 output=$${output}.new; \
602 t=`echo $${output} | sed 's=.*config/abi/=='`; \
603 echo "Baseline file already exists, writing to $${t} instead."; \
605 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
607 # Use 'new-abi-baseline' to create an initial symbol file. Then run
608 # 'check-abi' to test for changes against that file.
609 @GLIBCXX_TEST_ABI_TRUE@check-abi: abi_check baseline_symbols current_symbols.txt
610 @GLIBCXX_TEST_ABI_TRUE@ -@./abi_check --check ./current_symbols.txt ${baseline_file} \
611 @GLIBCXX_TEST_ABI_TRUE@ 2>&1 | tee libstdc++-abi.sum
612 @GLIBCXX_TEST_ABI_TRUE@ -@cp libstdc++-abi.sum libstdc++-abi.log
614 @GLIBCXX_TEST_ABI_TRUE@check-abi-verbose: abi_check baseline_symbols current_symbols.txt
615 @GLIBCXX_TEST_ABI_TRUE@ -@./abi_check --check-verbose ./current_symbols.txt ${baseline_file} \
616 @GLIBCXX_TEST_ABI_TRUE@ 2>&1 | tee libstdc++-abi.sum
617 @GLIBCXX_TEST_ABI_TRUE@ -@cp libstdc++-abi.sum libstdc++-abi.log
619 @GLIBCXX_TEST_ABI_FALSE@check-abi:
620 @GLIBCXX_TEST_ABI_FALSE@check-abi-verbose:
621 check-script: ${survey_script}
622 -@(chmod + ${survey_script}; \
625 check-script-install: ${survey_script}
626 -@(chmod + ${survey_script}; \
628 check-performance: testsuite_files_performance ${performance_script}
629 -@(chmod + ${performance_script}; \
630 ${performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
632 # This rule generates all of the testsuite_files* lists at once.
634 ${glibcxx_srcdir}/scripts/create_testsuite_files \
635 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
637 .PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
638 check-script check-script-install check-performance
639 # Tell versions [3.59,3.63) of GNU make to not export all variables.
640 # Otherwise a system limit (for SysV at least) may be exceeded.