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)/../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) \
52 CONFIG_HEADER = $(top_builddir)/config.h
54 LIBRARIES = $(noinst_LIBRARIES)
56 libv3test_a_AR = $(AR) $(ARFLAGS)
58 am_libv3test_a_OBJECTS = testsuite_abi.$(OBJEXT) \
59 testsuite_allocator.$(OBJEXT) testsuite_hooks.$(OBJEXT)
60 libv3test_a_OBJECTS = $(am_libv3test_a_OBJECTS)
64 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
65 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
66 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
67 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
68 $(AM_CXXFLAGS) $(CXXFLAGS)
70 SOURCES = $(libv3test_a_SOURCES)
71 DIST_SOURCES = $(libv3test_a_SOURCES)
75 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
78 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
79 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
81 ALLOCATOR_H = @ALLOCATOR_H@
82 ALLOCATOR_NAME = @ALLOCATOR_NAME@
86 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
87 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
89 AUTOHEADER = @AUTOHEADER@
92 BASIC_FILE_CC = @BASIC_FILE_CC@
93 BASIC_FILE_H = @BASIC_FILE_H@
95 CCODECVT_CC = @CCODECVT_CC@
96 CCOLLATE_CC = @CCOLLATE_CC@
97 CCTYPE_CC = @CCTYPE_CC@
99 CLOCALE_CC = @CLOCALE_CC@
100 CLOCALE_H = @CLOCALE_H@
101 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
102 CMESSAGES_CC = @CMESSAGES_CC@
103 CMESSAGES_H = @CMESSAGES_H@
104 CMONEY_CC = @CMONEY_CC@
105 CNUMERIC_CC = @CNUMERIC_CC@
107 CPPFLAGS = @CPPFLAGS@
108 CSTDIO_H = @CSTDIO_H@
109 CTIME_CC = @CTIME_CC@
111 CXX = $(shell ${SHELL} ${testsuite_flags_script} --build-cxx)
113 CXXFLAGS = @CXXFLAGS@
114 CYGPATH_W = @CYGPATH_W@
115 C_INCLUDE_DIR = @C_INCLUDE_DIR@
116 DEBUG_FLAGS = @DEBUG_FLAGS@
123 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
124 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
125 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
126 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
127 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
128 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
129 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
130 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
131 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
132 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
133 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
134 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
135 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
136 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
137 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
138 GLIBCXX_INCLUDES = $(shell ${SHELL} ${testsuite_flags_script} \
141 GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@
142 GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@
143 GLIBCXX_TEST_THREAD_FALSE = @GLIBCXX_TEST_THREAD_FALSE@
144 GLIBCXX_TEST_THREAD_TRUE = @GLIBCXX_TEST_THREAD_TRUE@
145 GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@
146 GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@
147 INSTALL_DATA = @INSTALL_DATA@
148 INSTALL_PROGRAM = @INSTALL_PROGRAM@
149 INSTALL_SCRIPT = @INSTALL_SCRIPT@
150 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
151 LIBICONV = @LIBICONV@
152 LIBMATHOBJS = @LIBMATHOBJS@
155 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
158 LTLIBOBJS = @LTLIBOBJS@
160 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
161 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
162 MAKEINFO = @MAKEINFO@
164 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
165 OPT_LDFLAGS = @OPT_LDFLAGS@
166 OS_INC_SRCDIR = @OS_INC_SRCDIR@
168 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
169 PACKAGE_NAME = @PACKAGE_NAME@
170 PACKAGE_STRING = @PACKAGE_STRING@
171 PACKAGE_TARNAME = @PACKAGE_TARNAME@
172 PACKAGE_VERSION = @PACKAGE_VERSION@
173 PATH_SEPARATOR = @PATH_SEPARATOR@
175 SECTION_FLAGS = @SECTION_FLAGS@
176 SECTION_LDFLAGS = @SECTION_LDFLAGS@
177 SET_MAKE = @SET_MAKE@
180 SYMVER_MAP = @SYMVER_MAP@
181 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
184 WARN_FLAGS = @WARN_FLAGS@
186 ac_ct_AR = @ac_ct_AR@
187 ac_ct_AS = @ac_ct_AS@
188 ac_ct_CC = @ac_ct_CC@
189 ac_ct_CXX = @ac_ct_CXX@
190 ac_ct_RANLIB = @ac_ct_RANLIB@
191 ac_ct_STRIP = @ac_ct_STRIP@
192 am__leading_dot = @am__leading_dot@
194 am__untar = @am__untar@
195 baseline_dir = @baseline_dir@
198 build_alias = @build_alias@
199 build_cpu = @build_cpu@
200 build_os = @build_os@
201 build_vendor = @build_vendor@
202 check_msgfmt = @check_msgfmt@
204 enable_shared = @enable_shared@
205 enable_static = @enable_static@
206 exec_prefix = @exec_prefix@
207 glibcxx_MOFILES = @glibcxx_MOFILES@
208 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
209 glibcxx_POFILES = @glibcxx_POFILES@
210 glibcxx_builddir = @glibcxx_builddir@
211 glibcxx_localedir = @glibcxx_localedir@
212 glibcxx_prefixdir = @glibcxx_prefixdir@
213 glibcxx_srcdir = @glibcxx_srcdir@
214 glibcxx_thread_h = @glibcxx_thread_h@
215 glibcxx_toolexecdir = @glibcxx_toolexecdir@
216 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
217 gxx_include_dir = @gxx_include_dir@
219 host_alias = @host_alias@
220 host_cpu = @host_cpu@
222 host_vendor = @host_vendor@
223 includedir = @includedir@
225 install_sh = @install_sh@
227 libexecdir = @libexecdir@
228 libtool_VERSION = @libtool_VERSION@
229 localstatedir = @localstatedir@
232 multi_basedir = @multi_basedir@
233 oldincludedir = @oldincludedir@
234 port_specific_symbol_files = @port_specific_symbol_files@
236 program_transform_name = @program_transform_name@
238 sharedstatedir = @sharedstatedir@
239 sysconfdir = @sysconfdir@
241 target_alias = @target_alias@
242 target_cpu = @target_cpu@
243 target_os = @target_os@
244 target_vendor = @target_vendor@
245 toplevel_srcdir = @toplevel_srcdir@
246 AUTOMAKE_OPTIONS = dejagnu nostdinc
248 # May be used by various substitution variables.
249 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
250 MAINT_CHARSET = latin1
251 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
252 PWD_COMMAND = $${PWDCMD-pwd}
253 STAMP = echo timestamp >
254 toolexecdir = $(glibcxx_toolexecdir)
255 toolexeclibdir = $(glibcxx_toolexeclibdir)
257 # These bits are all figured out from configure. Look in acinclude.m4
258 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
260 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
263 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
266 # -I/-D flags to pass when compiling.
267 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
270 testsuite_flags_script = ${glibcxx_builddir}/scripts/testsuite_flags
271 AM_CXXFLAGS = $(shell ${SHELL} ${testsuite_flags_script} --cxxflags)
272 GLIBGCC_DIR = `$(CC) -print-libgcc-file-name | sed 's,/[^/]*$$,,'`
273 GLIBCXX_DIR = ${glibcxx_builddir}/src/.libs
275 $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
276 -R $(GLIBGCC_DIR) -R $(GLIBCXX_DIR) \
277 $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -lv3test -L. -o $@
279 noinst_LIBRARIES = libv3test.a
280 libv3test_a_SOURCES = \
282 testsuite_allocator.cc \
286 # Generated lists of files to run. All of these names are valid make
287 # targets, if you wish to generate a list manually.
290 testsuite_files_interactive \
291 testsuite_files_performance
293 baseline_file = ${baseline_dir}/baseline_symbols.txt
294 extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
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
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
309 # Runs the testsuite, but in compile only mode, and times it.
311 compile_script = ${glibcxx_srcdir}/scripts/check_compile
313 # By adding these files here, automake will remove them for 'make clean'
314 CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
315 testsuite_* site.exp abi_check baseline_symbols *TEST*
320 .SUFFIXES: .cc .lo .o .obj
321 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
323 case '$(am__configure_deps)' in \
325 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
330 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
331 cd $(top_srcdir) && \
332 $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
334 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
337 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
339 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
340 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
343 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
344 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
346 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
347 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
348 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
349 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
351 clean-noinstLIBRARIES:
352 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
353 libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES)
355 $(libv3test_a_AR) libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
356 $(RANLIB) libv3test.a
365 $(CXXCOMPILE) -c -o $@ $<
368 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
371 $(LTCXXCOMPILE) -c -o $@ $<
383 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
384 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
385 unique=`for i in $$list; do \
386 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
388 $(AWK) ' { files[$$0] = 1; } \
389 END { for (i in files) print i; }'`; \
393 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
394 $(TAGS_FILES) $(LISP)
397 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
398 unique=`for i in $$list; do \
399 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
401 $(AWK) ' { files[$$0] = 1; } \
402 END { for (i in files) print i; }'`; \
403 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
404 test -n "$$unique" || unique=$$empty_fix; \
405 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
409 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
410 $(TAGS_FILES) $(LISP)
413 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
414 unique=`for i in $$list; do \
415 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
417 $(AWK) ' { files[$$0] = 1; } \
418 END { for (i in files) print i; }'`; \
419 test -z "$(CTAGS_ARGS)$$tags$$unique" \
420 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
424 here=`$(am__cd) $(top_builddir) && pwd` \
425 && cd $(top_srcdir) \
426 && gtags -i $(GTAGS_ARGS) $$here
429 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
431 check-DEJAGNU: site.exp
432 srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
433 EXPECT=$(EXPECT); export EXPECT; \
434 runtest=$(RUNTEST); \
435 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
436 l='$(DEJATOOL)'; for tool in $$l; do \
437 $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
439 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
443 -rm -f site.exp site.bak
444 -l='$(DEJATOOL)'; for tool in $$l; do \
445 rm -f $$tool.sum $$tool.log; \
448 distdir: $(DISTFILES)
449 $(mkdir_p) $(distdir)/..
450 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
451 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
452 list='$(DISTFILES)'; for file in $$list; do \
454 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
455 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
457 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
458 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
459 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
461 $(mkdir_p) "$(distdir)$$dir"; \
465 if test -d $$d/$$file; then \
466 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
467 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
469 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
471 test -f $(distdir)/$$file \
472 || cp -p $$d/$$file $(distdir)/$$file \
477 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
479 all-am: Makefile $(LIBRARIES) all-local
482 install-exec: install-exec-am
483 install-data: install-data-am
484 uninstall: uninstall-am
487 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
489 installcheck: installcheck-am
491 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
492 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
493 `test -z '$(STRIP)' || \
494 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
498 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
501 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
503 maintainer-clean-generic:
504 @echo "This command is intended for maintainers to use"
505 @echo "it deletes files that may require special tools to rebuild."
508 clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
511 distclean: distclean-am
513 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
514 distclean-generic distclean-libtool distclean-tags
530 install-info: install-info-am
536 maintainer-clean: maintainer-clean-am
538 maintainer-clean-am: distclean-am maintainer-clean-generic
540 mostlyclean: mostlyclean-am
542 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
553 uninstall-am: uninstall-info-am
555 .PHONY: CTAGS GTAGS all all-am all-local check check-DEJAGNU check-am \
556 clean clean-generic clean-libtool clean-noinstLIBRARIES ctags \
557 distclean distclean-DEJAGNU distclean-compile \
558 distclean-generic distclean-libtool distclean-tags distdir dvi \
559 dvi-am html html-am info info-am install install-am \
560 install-data install-data-am install-exec install-exec-am \
561 install-info install-info-am install-man install-strip \
562 installcheck installcheck-am installdirs maintainer-clean \
563 maintainer-clean-generic mostlyclean mostlyclean-compile \
564 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
565 tags uninstall uninstall-am uninstall-info-am
568 all-local: stamp_wchar stamp_thread
570 # Enable wchar_t tests if capable.
571 @GLIBCXX_TEST_WCHAR_T_TRUE@stamp_wchar:
572 @GLIBCXX_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
573 @GLIBCXX_TEST_WCHAR_T_FALSE@stamp_wchar:
575 # Enable thread tests if capable.
576 @GLIBCXX_TEST_THREAD_TRUE@stamp_thread:
577 @GLIBCXX_TEST_THREAD_TRUE@ touch testsuite_thread
578 @GLIBCXX_TEST_THREAD_FALSE@stamp_thread:
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.
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 'set baseline_file "$(baseline_file)"' >> site.tmp
600 @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
601 @test ! -f site.exp || \
602 sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
604 @test ! -f site.exp || mv site.exp site.bak
605 @mv site.tmp site.exp
608 -@(output=${baseline_file}; \
609 if test ! -f $${output}; then \
610 echo "Baseline file doesn't exist."; \
611 echo "Try 'make new-abi-baseline' to create it."; \
616 -@$(mkinstalldirs) ${baseline_dir}
617 -@(output=${baseline_file}; \
618 if test -f $${output}; then \
619 output=$${output}.new; \
620 t=`echo $${output} | sed 's=.*config/abi/=='`; \
621 echo "Baseline file already exists, writing to $${t} instead."; \
623 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
625 # Use 'new-abi-baseline' to create an initial symbol file. Then run
626 # 'check-abi' to test for changes against that file.
627 @GLIBCXX_TEST_ABI_TRUE@check-abi: baseline_symbols site.exp
628 @GLIBCXX_TEST_ABI_TRUE@ -@runtest --tool libstdc++ abi.exp
629 @GLIBCXX_TEST_ABI_FALSE@check-abi:
630 check-script: ${survey_script}
631 -@(chmod + ${survey_script}; \
634 check-script-install: ${survey_script}
635 -@(chmod + ${survey_script}; \
637 check-performance: testsuite_files_performance ${performance_script}
638 -@(chmod + ${performance_script}; \
639 ${performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
640 check-compile: testsuite_files ${compile_script}
641 -@(chmod + ${compile_script}; \
642 ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
644 # This rule generates all of the testsuite_files* lists at once.
646 ${glibcxx_srcdir}/scripts/create_testsuite_files \
647 ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
649 .PHONY: baseline_symbols new-abi-baseline check-abi check-abi-verbose \
650 check-script check-script-install check-performance
651 # Tell versions [3.59,3.63) of GNU make to not export all variables.
652 # Otherwise a system limit (for SysV at least) may be exceeded.