1 # Makefile.in generated by automake 1.9.3 from Makefile.am.
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.
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
17 SOURCES = $(libv3test_a_SOURCES)
20 top_srcdir = @top_srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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)
39 build_triplet = @build@
41 target_triplet = @target@
42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43 $(top_srcdir)/fragment.am
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
47 $(top_srcdir)/linkage.m4 \
48 $(top_srcdir)/../config/no-executables.m4 \
49 $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
50 $(top_srcdir)/configure.ac
51 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
53 CONFIG_HEADER = $(top_builddir)/config.h
55 LIBRARIES = $(noinst_LIBRARIES)
57 libv3test_a_AR = $(AR) $(ARFLAGS)
59 am_libv3test_a_OBJECTS = testsuite_abi.$(OBJEXT) \
60 testsuite_allocator.$(OBJEXT) testsuite_hooks.$(OBJEXT)
61 libv3test_a_OBJECTS = $(am_libv3test_a_OBJECTS)
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)
71 SOURCES = $(libv3test_a_SOURCES)
72 DIST_SOURCES = $(libv3test_a_SOURCES)
76 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
79 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
80 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
82 ALLOCATOR_H = @ALLOCATOR_H@
83 ALLOCATOR_NAME = @ALLOCATOR_NAME@
87 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
88 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
90 AUTOHEADER = @AUTOHEADER@
93 BASIC_FILE_CC = @BASIC_FILE_CC@
94 BASIC_FILE_H = @BASIC_FILE_H@
96 CCODECVT_CC = @CCODECVT_CC@
97 CCOLLATE_CC = @CCOLLATE_CC@
98 CCTYPE_CC = @CCTYPE_CC@
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@
108 CPPFLAGS = @CPPFLAGS@
109 CSTDIO_H = @CSTDIO_H@
110 CTIME_CC = @CTIME_CC@
112 CXX = $(shell ${SHELL} ${testsuite_flags_script} --build-cxx)
114 CXXFLAGS = @CXXFLAGS@
115 CYGPATH_W = @CYGPATH_W@
116 C_INCLUDE_DIR = @C_INCLUDE_DIR@
117 DEBUG_FLAGS = @DEBUG_FLAGS@
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} \
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@
156 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
159 LTLIBOBJS = @LTLIBOBJS@
161 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
162 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
163 MAKEINFO = @MAKEINFO@
165 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
166 OPT_LDFLAGS = @OPT_LDFLAGS@
167 OS_INC_SRCDIR = @OS_INC_SRCDIR@
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@
176 SECTION_FLAGS = @SECTION_FLAGS@
177 SECTION_LDFLAGS = @SECTION_LDFLAGS@
178 SET_MAKE = @SET_MAKE@
181 SYMVER_MAP = @SYMVER_MAP@
182 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
185 WARN_FLAGS = @WARN_FLAGS@
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@
195 am__untar = @am__untar@
196 baseline_dir = @baseline_dir@
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@
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@
220 host_alias = @host_alias@
221 host_cpu = @host_cpu@
223 host_vendor = @host_vendor@
224 includedir = @includedir@
226 install_sh = @install_sh@
228 libexecdir = @libexecdir@
229 libtool_VERSION = @libtool_VERSION@
230 localstatedir = @localstatedir@
233 multi_basedir = @multi_basedir@
234 oldincludedir = @oldincludedir@
235 port_specific_symbol_files = @port_specific_symbol_files@
237 program_transform_name = @program_transform_name@
239 sharedstatedir = @sharedstatedir@
240 sysconfdir = @sysconfdir@
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
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)
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.
261 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
264 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
267 # -I/-D flags to pass when compiling.
268 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
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
276 $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
277 -R $(GLIBGCC_DIR) -R $(GLIBCXX_DIR) \
278 $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -lv3test -L. -o $@
280 noinst_LIBRARIES = libv3test.a
281 libv3test_a_SOURCES = \
283 testsuite_allocator.cc \
287 # Generated lists of files to run. All of these names are valid make
288 # targets, if you wish to generate a list manually.
291 testsuite_files_interactive \
292 testsuite_files_performance
294 baseline_file = ${baseline_dir}/baseline_symbols.txt
295 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
297 # These two special 'check-script' rules use the bash script
298 # 'check_survey' to do testing. This script is not as portable as the
299 # dejagnu test harness, and is thus off by default. It does produce
300 # interesting output however, including various performance analysis
301 # items like compile time, execution time, and binary size.
302 survey_script = ${glibcxx_builddir}/scripts/check_survey
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
310 # Runs the testsuite, but in compile only mode, and times it.
312 compile_script = ${glibcxx_srcdir}/scripts/check_compile
314 # By adding these files here, automake will remove them for 'make clean'
315 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
316 testsuite_* site.exp abi_check baseline_symbols *TEST*
321 .SUFFIXES: .cc .lo .o .obj
322 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
324 case '$(am__configure_deps)' in \
326 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
331 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
332 cd $(top_srcdir) && \
333 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
335 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
338 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
340 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
341 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
344 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
345 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
347 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
348 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
349 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
350 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
352 clean-noinstLIBRARIES:
353 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
354 libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES)
356 $(libv3test_a_AR) libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
357 $(RANLIB) libv3test.a
366 $(CXXCOMPILE) -c -o $@ $<
369 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
372 $(LTCXXCOMPILE) -c -o $@ $<
384 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
385 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
386 unique=`for i in $$list; do \
387 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
389 $(AWK) ' { files[$$0] = 1; } \
390 END { for (i in files) print i; }'`; \
394 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
395 $(TAGS_FILES) $(LISP)
398 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
399 unique=`for i in $$list; do \
400 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
402 $(AWK) ' { files[$$0] = 1; } \
403 END { for (i in files) print i; }'`; \
404 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
405 test -n "$$unique" || unique=$$empty_fix; \
406 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
410 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
411 $(TAGS_FILES) $(LISP)
414 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
415 unique=`for i in $$list; do \
416 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418 $(AWK) ' { files[$$0] = 1; } \
419 END { for (i in files) print i; }'`; \
420 test -z "$(CTAGS_ARGS)$$tags$$unique" \
421 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
425 here=`$(am__cd) $(top_builddir) && pwd` \
426 && cd $(top_srcdir) \
427 && gtags -i $(GTAGS_ARGS) $$here
430 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
432 check-DEJAGNU: site.exp
433 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
434 EXPECT=$(EXPECT); export EXPECT; \
435 runtest=$(RUNTEST); \
436 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
437 l='$(DEJATOOL)'; for tool in $$l; do \
438 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
440 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
444 -rm -f site.exp site.bak
445 -l='$(DEJATOOL)'; for tool in $$l; do \
446 rm -f $$tool.sum $$tool.log; \
449 distdir: $(DISTFILES)
450 $(mkdir_p) $(distdir)/..
451 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
452 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
453 list='$(DISTFILES)'; for file in $$list; do \
455 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
456 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
458 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
459 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
460 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
462 $(mkdir_p) "$(distdir)$$dir"; \
466 if test -d $$d/$$file; then \
467 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
468 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
470 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
472 test -f $(distdir)/$$file \
473 || cp -p $$d/$$file $(distdir)/$$file \
478 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
480 all-am: Makefile $(LIBRARIES) all-local
483 install-exec: install-exec-am
484 install-data: install-data-am
485 uninstall: uninstall-am
488 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
490 installcheck: installcheck-am
492 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
493 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
494 `test -z '$(STRIP)' || \
495 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
499 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
502 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
504 maintainer-clean-generic:
505 @echo "This command is intended for maintainers to use"
506 @echo "it deletes files that may require special tools to rebuild."
509 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
512 distclean: distclean-am
514 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
515 distclean-generic distclean-libtool distclean-tags
531 install-info: install-info-am
537 maintainer-clean: maintainer-clean-am
539 maintainer-clean-am: distclean-am maintainer-clean-generic
541 mostlyclean: mostlyclean-am
543 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
554 uninstall-am: uninstall-info-am
556 .PHONY: CTAGS GTAGS all all-am all-local check check-DEJAGNU check-am \
557 clean clean-generic clean-libtool clean-noinstLIBRARIES ctags \
558 distclean distclean-DEJAGNU distclean-compile \
559 distclean-generic distclean-libtool distclean-tags distdir dvi \
560 dvi-am html html-am info info-am install install-am \
561 install-data install-data-am install-exec install-exec-am \
562 install-info install-info-am install-man install-strip \
563 installcheck installcheck-am installdirs maintainer-clean \
564 maintainer-clean-generic mostlyclean mostlyclean-compile \
565 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
566 tags uninstall uninstall-am uninstall-info-am
569 all-local: stamp_wchar stamp_thread
571 # Enable wchar_t tests if capable.
572 @GLIBCXX_TEST_WCHAR_T_TRUE@stamp_wchar:
573 @GLIBCXX_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
574 @GLIBCXX_TEST_WCHAR_T_FALSE@stamp_wchar:
576 # Enable thread tests if capable.
577 @GLIBCXX_TEST_THREAD_TRUE@stamp_thread:
578 @GLIBCXX_TEST_THREAD_TRUE@ touch testsuite_thread
579 @GLIBCXX_TEST_THREAD_FALSE@stamp_thread:
581 # We need more things in site.exp, but automake completely controls the
582 # creation of that file; there's no way to append to it without messing up
583 # the dependancy chains. So we overrule automake. This rule is exactly
584 # what it would have generated, plus our own additions.
586 @echo 'Making a new site.exp file...'
587 @echo '## these variables are automatically generated by make ##' >site.tmp
588 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
589 @echo '# edit the last section' >>site.tmp
590 @echo 'set srcdir $(srcdir)' >>site.tmp
591 @echo "set objdir `pwd`" >>site.tmp
592 @echo 'set build_alias "$(build_alias)"' >>site.tmp
593 @echo 'set build_triplet $(build_triplet)' >>site.tmp
594 @echo 'set host_alias "$(host_alias)"' >>site.tmp
595 @echo 'set host_triplet $(host_triplet)' >>site.tmp
596 @echo 'set target_alias "$(target_alias)"' >>site.tmp
597 @echo 'set target_triplet $(target_triplet)' >>site.tmp
598 @echo 'set target_triplet $(target_triplet)' >>site.tmp
599 @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
600 @echo 'set baseline_file "$(baseline_file)"' >> site.tmp
601 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
602 @test ! -f site.exp || \
603 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
605 @test ! -f site.exp || mv site.exp site.bak
606 @mv site.tmp site.exp
609 -@(output=${baseline_file}; \
610 if test ! -f $${output}; then \
611 echo "Baseline file doesn't exist."; \
612 echo "Try 'make new-abi-baseline' to create it."; \
617 -@$(mkinstalldirs) ${baseline_dir}
618 -@(output=${baseline_file}; \
619 if test -f $${output}; then \
620 output=$${output}.new; \
621 t=`echo $${output} | sed 's=.*config/abi/=='`; \
622 echo "Baseline file already exists, writing to $${t} instead."; \
624 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
626 # Use 'new-abi-baseline' to create an initial symbol file. Then run
627 # 'check-abi' to test for changes against that file.
628 @GLIBCXX_TEST_ABI_TRUE@check-abi: baseline_symbols site.exp
629 @GLIBCXX_TEST_ABI_TRUE@ -@runtest --tool libstdc++ abi.exp
630 @GLIBCXX_TEST_ABI_FALSE@check-abi:
631 check-script: ${survey_script}
632 -@(chmod + ${survey_script}; \
635 check-script-install: ${survey_script}
636 -@(chmod + ${survey_script}; \
638 check-performance: testsuite_files_performance ${performance_script}
639 -@(chmod + ${performance_script}; \
640 ${performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
641 check-compile: testsuite_files ${compile_script}
642 -@(chmod + ${compile_script}; \
643 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
645 # This rule generates all of the testsuite_files* lists at once.
647 ${glibcxx_srcdir}/scripts/create_testsuite_files \
648 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
650 .PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
651 check-script check-script-install check-performance
652 # Tell versions [3.59,3.63) of GNU make to not export all variables.
653 # Otherwise a system limit (for SysV at least) may be exceeded.