]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/testsuite/Makefile.in
pt.c: Convert to ISO C.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / Makefile.in
CommitLineData
0c45b8e0 1# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
62f079c5 2
93b85586 3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
62f079c5
BK
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = ..
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AR = @AR@
67AS = @AS@
4a9d5109 68ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
ab3bc736 69AWK = @AWK@
6aa43d99 70BASIC_FILE_CC = @BASIC_FILE_CC@
4a9d5109 71BASIC_FILE_H = @BASIC_FILE_H@
62f079c5 72CC = @CC@
6aa43d99 73CCODECVT_CC = @CCODECVT_CC@
33590f13 74CCODECVT_H = @CCODECVT_H@
6aa43d99
BK
75CCOLLATE_CC = @CCOLLATE_CC@
76CCTYPE_CC = @CCTYPE_CC@
77CLOCALE_CC = @CLOCALE_CC@
4a9d5109 78CLOCALE_H = @CLOCALE_H@
6aa43d99
BK
79CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
80CMESSAGES_CC = @CMESSAGES_CC@
33590f13 81CMESSAGES_H = @CMESSAGES_H@
6aa43d99
BK
82CMONEY_CC = @CMONEY_CC@
83CNUMERIC_CC = @CNUMERIC_CC@
62f079c5 84CPP = @CPP@
4a9d5109 85CSTDIO_H = @CSTDIO_H@
6aa43d99 86CTIME_CC = @CTIME_CC@
1c26d8fd 87CTIME_H = @CTIME_H@
62f079c5 88CXXCPP = @CXXCPP@
62f079c5
BK
89C_INCLUDE_DIR = @C_INCLUDE_DIR@
90DEBUG_FLAGS = @DEBUG_FLAGS@
91DLLTOOL = @DLLTOOL@
92EXEEXT = @EXEEXT@
93EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
94GCJ = @GCJ@
95GCJFLAGS = @GCJFLAGS@
4a9d5109 96GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
62f079c5
BK
97LIBMATHOBJS = @LIBMATHOBJS@
98LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
f8e4b51d 99LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
62f079c5 100LIBTOOL = @LIBTOOL@
263c6fa8 101LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
62f079c5
BK
102LN_S = @LN_S@
103MAINT = @MAINT@
104MAKEINFO = @MAKEINFO@
105OBJDUMP = @OBJDUMP@
106OBJEXT = @OBJEXT@
107OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
108OPT_LDFLAGS = @OPT_LDFLAGS@
4a9d5109 109OS_INC_SRCDIR = @OS_INC_SRCDIR@
62f079c5
BK
110PACKAGE = @PACKAGE@
111RANLIB = @RANLIB@
112SECTION_FLAGS = @SECTION_FLAGS@
113SECTION_LDFLAGS = @SECTION_LDFLAGS@
114STRIP = @STRIP@
6aa43d99 115SYMVER_MAP = @SYMVER_MAP@
33590f13 116USE_NLS = @USE_NLS@
62f079c5
BK
117VERSION = @VERSION@
118WARN_FLAGS = @WARN_FLAGS@
119WERROR = @WERROR@
501e321e 120check_msgfmt = @check_msgfmt@
62f079c5
BK
121enable_shared = @enable_shared@
122enable_static = @enable_static@
46840bcd 123glibcpp_CXX = @glibcpp_CXX@
33590f13 124glibcpp_MOFILES = @glibcpp_MOFILES@
58ac1d7f 125glibcpp_PCHFLAGS = @glibcpp_PCHFLAGS@
4e10943d 126glibcpp_POFILES = @glibcpp_POFILES@
62f079c5 127glibcpp_basedir = @glibcpp_basedir@
33590f13 128glibcpp_localedir = @glibcpp_localedir@
c6192d88 129glibcpp_prefixdir = @glibcpp_prefixdir@
4a9d5109 130glibcpp_thread_h = @glibcpp_thread_h@
62f079c5
BK
131glibcpp_toolexecdir = @glibcpp_toolexecdir@
132glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
133gxx_include_dir = @gxx_include_dir@
134ifGNUmake = @ifGNUmake@
4e10943d 135libtool_VERSION = @libtool_VERSION@
62f079c5 136toplevel_srcdir = @toplevel_srcdir@
62f079c5 137
8b5fd469 138AUTOMAKE_OPTIONS = cygnus dejagnu
62f079c5 139
a1af4623
AJ
140mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
141
c6192d88 142DEJATOOL = libstdc++-v3
62f079c5 143
58ac1d7f
BK
144EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then \
145 echo @glibcpp_builddir@/../../expect/expect ; \
146 else echo expect ; fi`
62f079c5 147
c6192d88 148
58ac1d7f
BK
149RUNTEST = `if [ -f @glibcpp_srcdir@/../dejagnu/runtest ] ; then \
150 echo @glibcpp_srcdir@/../dejagnu/runtest ; \
151 else echo runtest; fi`
c6192d88
BK
152
153
2c839a4e 154AM_RUNTESTFLAGS =
c6192d88 155RUNTESTFLAGS =
8ea08b7d 156
0676e930
BK
157glibcpp_srcdir = @glibcpp_srcdir@
158glibcpp_builddir = @glibcpp_builddir@
159testsuite_flags_script = ${glibcpp_builddir}/scripts/testsuite_flags
160CXX = `${testsuite_flags_script} --build-cxx`
161
58ac1d7f
BK
162CXXLINK = \
163 LD_RUN_PATH=$${LD_RUN_PATH:+$$LD_RUN_PATH:}${glibcpp_builddir}/src/.libs\
164 $(LIBTOOL) --tag=CXX --mode=link $(CXX) \
165 $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
747d0967
BK
166
167
0676e930
BK
168GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
169LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
170TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
58ac1d7f
BK
171INCLUDES = \
172 -nostdinc++ \
173 @GLIBCPP_INCLUDES@ @LIBSUPCXX_INCLUDES@ @TOPLEVEL_INCLUDES@
49bc23b7 174
8ea08b7d
PE
175
176noinst_LIBRARIES = libv3test.a
162c7cd9 177libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
c4c064e7
BK
178@GLIBCPP_TEST_ABI_TRUE@noinst_PROGRAMS = @GLIBCPP_TEST_ABI_TRUE@abi_check
179@GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
747d0967 180abi_check_SOURCES = abi_check.cc
6b543e86 181
a1af4623
AJ
182baseline_dir = @baseline_dir@
183baseline_file = ${baseline_dir}/baseline_symbols.txt
0676e930
BK
184extract_symvers = @glibcpp_srcdir@/scripts/extract_symvers
185
186# These two special 'check-script' rules use the bash script 'check'
187# to do testing. This script is not as portable as the dejagnu test
188# harness, and is thus off by default. It does produce interesting
189# output however, including various performance analysis items like
190# compile time, execution time, and binary size.
191check_survey = ${glibcpp_builddir}/scripts/check_survey
192
193# Runs the testsuite/performance tests.
194# Some of these tests create large (~75MB) files, allocate huge
195# ammounts of memory, or otherwise tie up machine resources. Thus,
196# running this is off by default.
197check_performance = ${glibcpp_srcdir}/scripts/check_performance
c4c064e7 198
6b543e86 199# By adding these files here, automake will remove them for 'make clean'
58ac1d7f 200CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
0676e930 201 testsuite_* site.exp abi_check baseline_symbols
6b543e86 202
58b08ac3 203CONFIG_HEADER = ../config.h
62f079c5 204CONFIG_CLEAN_FILES =
8ea08b7d
PE
205LIBRARIES = $(noinst_LIBRARIES)
206
207
208DEFS = @DEFS@ -I. -I$(srcdir) -I..
209CPPFLAGS = @CPPFLAGS@
210LDFLAGS = @LDFLAGS@
211LIBS = @LIBS@
212libv3test_a_LIBADD =
162c7cd9
SW
213libv3test_a_OBJECTS = testsuite_hooks.$(OBJEXT) \
214testsuite_allocator.$(OBJEXT)
c4c064e7 215@GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
747d0967
BK
216PROGRAMS = $(noinst_PROGRAMS)
217
218abi_check_OBJECTS = abi_check.$(OBJEXT)
219abi_check_LDADD = $(LDADD)
220abi_check_DEPENDENCIES =
221abi_check_LDFLAGS =
8ea08b7d
PE
222CXXFLAGS = @CXXFLAGS@
223CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
224LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
225CXXLD = $(CXX)
58ac1d7f 226DIST_COMMON = Makefile.am Makefile.in
62f079c5
BK
227
228
229DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
230
58ac1d7f 231TAR = gtar
62f079c5 232GZIP_ENV = --best
747d0967
BK
233SOURCES = $(libv3test_a_SOURCES) $(abi_check_SOURCES)
234OBJECTS = $(libv3test_a_OBJECTS) $(abi_check_OBJECTS)
8ea08b7d 235
62f079c5
BK
236all: all-redirect
237.SUFFIXES:
8ea08b7d 238.SUFFIXES: .S .c .cc .lo .o .obj .s
62f079c5 239$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
8b5fd469 240 cd $(top_srcdir) && $(AUTOMAKE) --cygnus testsuite/Makefile
62f079c5 241
8b5fd469 242Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
62f079c5
BK
243 cd $(top_builddir) \
244 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
245
8ea08b7d
PE
246
247mostlyclean-noinstLIBRARIES:
248
249clean-noinstLIBRARIES:
250 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
251
252distclean-noinstLIBRARIES:
253
254maintainer-clean-noinstLIBRARIES:
255
8b5fd469
LR
256.c.o:
257 $(COMPILE) -c $<
258
8ea08b7d
PE
259# FIXME: We should only use cygpath when building on Windows,
260# and only if it is available.
261.c.obj:
262 $(COMPILE) -c `cygpath -w $<`
263
264.s.o:
265 $(COMPILE) -c $<
266
267.S.o:
268 $(COMPILE) -c $<
269
270mostlyclean-compile:
271 -rm -f *.o core *.core
272 -rm -f *.$(OBJEXT)
273
274clean-compile:
275
276distclean-compile:
277 -rm -f *.tab.c
278
279maintainer-clean-compile:
280
8b5fd469
LR
281.c.lo:
282 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
283
8ea08b7d
PE
284.s.lo:
285 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
286
287.S.lo:
288 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
289
290mostlyclean-libtool:
291 -rm -f *.lo
292
293clean-libtool:
294 -rm -rf .libs _libs
295
296distclean-libtool:
297
298maintainer-clean-libtool:
299
300libv3test.a: $(libv3test_a_OBJECTS) $(libv3test_a_DEPENDENCIES)
301 -rm -f libv3test.a
302 $(AR) cru libv3test.a $(libv3test_a_OBJECTS) $(libv3test_a_LIBADD)
303 $(RANLIB) libv3test.a
747d0967
BK
304
305mostlyclean-noinstPROGRAMS:
306
307clean-noinstPROGRAMS:
308 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
309
310distclean-noinstPROGRAMS:
311
312maintainer-clean-noinstPROGRAMS:
313
314abi_check$(EXEEXT): $(abi_check_OBJECTS) $(abi_check_DEPENDENCIES)
315 @rm -f abi_check$(EXEEXT)
316 $(CXXLINK) $(abi_check_LDFLAGS) $(abi_check_OBJECTS) $(abi_check_LDADD) $(LIBS)
8ea08b7d
PE
317.cc.o:
318 $(CXXCOMPILE) -c $<
319.cc.obj:
320 $(CXXCOMPILE) -c `cygpath -w $<`
321.cc.lo:
322 $(LTCXXCOMPILE) -c $<
323
62f079c5 324tags: TAGS
62f079c5 325
8ea08b7d
PE
326ID: $(HEADERS) $(SOURCES) $(LISP)
327 list='$(SOURCES) $(HEADERS)'; \
328 unique=`for i in $$list; do echo $$i; done | \
329 awk ' { files[$$0] = 1; } \
330 END { for (i in files) print i; }'`; \
331 here=`pwd` && cd $(srcdir) \
332 && mkid -f$$here/ID $$unique $(LISP)
333
334TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
335 tags=; \
336 here=`pwd`; \
337 list='$(SOURCES) $(HEADERS)'; \
338 unique=`for i in $$list; do echo $$i; done | \
339 awk ' { files[$$0] = 1; } \
340 END { for (i in files) print i; }'`; \
341 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
58ac1d7f 342 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
8ea08b7d
PE
343
344mostlyclean-tags:
345
346clean-tags:
347
348distclean-tags:
349 -rm -f TAGS ID
350
351maintainer-clean-tags:
62f079c5
BK
352
353distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
354
355subdir = testsuite
356
357distdir: $(DISTFILES)
358 @for file in $(DISTFILES); do \
8b5fd469 359 if test -f $$file; then d=.; else d=$(srcdir); fi; \
62f079c5
BK
360 if test -d $$d/$$file; then \
361 cp -pr $$d/$$file $(distdir)/$$file; \
362 else \
363 test -f $(distdir)/$$file \
364 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
365 || cp -p $$d/$$file $(distdir)/$$file || :; \
366 fi; \
367 done
368
62f079c5
BK
369RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
370
371check-DEJAGNU: site.exp
372 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
373 EXPECT=$(EXPECT); export EXPECT; \
8b5fd469
LR
374 if [ -f $(top_builddir)/../expect/expect ]; then \
375 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
376 export TCL_LIBRARY; \
377 fi; \
62f079c5
BK
378 runtest=$(RUNTEST); \
379 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
380 $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
381 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
382 fi
383site.exp: Makefile
384 @echo 'Making a new site.exp file...'
385 @test ! -f site.bak || rm -f site.bak
386 @echo '## these variables are automatically generated by make ##' > $@-t
387 @echo '# Do not edit here. If you wish to override these values' >> $@-t
388 @echo '# edit the last section' >> $@-t
389 @echo 'set tool $(DEJATOOL)' >> $@-t
390 @echo 'set srcdir $(srcdir)' >> $@-t
391 @echo 'set objdir' `pwd` >> $@-t
392 @echo 'set host_alias $(host_alias)' >> $@-t
393 @echo 'set host_triplet $(host_triplet)' >> $@-t
394 @echo 'set target_alias $(target_alias)' >> $@-t
395 @echo 'set target_triplet $(target_triplet)' >> $@-t
396 @echo 'set build_alias $(build_alias)' >> $@-t
397 @echo 'set build_triplet $(build_triplet)' >> $@-t
398 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
58ac1d7f 399 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
62f079c5
BK
400 @test ! -f site.exp || mv site.exp site.bak
401 @mv $@-t site.exp
402info-am:
403info: info-am
404dvi-am:
405dvi: dvi-am
8b5fd469 406check-am:
c4c064e7 407 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
62f079c5
BK
408check: check-am
409installcheck-am:
410installcheck: installcheck-am
8b5fd469
LR
411install-info-am:
412install-info: install-info-am
62f079c5
BK
413install-exec-am:
414install-exec: install-exec-am
415
416install-data-am:
417install-data: install-data-am
418
419install-am: all-am
420 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
421install: install-am
422uninstall-am:
423uninstall: uninstall-am
6b543e86 424all-am: Makefile $(LIBRARIES) $(PROGRAMS) all-local
62f079c5
BK
425all-redirect: all-am
426install-strip:
427 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
428installdirs:
429
430
431mostlyclean-generic:
432
433clean-generic:
6b543e86 434 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
62f079c5
BK
435
436distclean-generic:
437 -rm -f Makefile $(CONFIG_CLEAN_FILES)
438 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
439
440maintainer-clean-generic:
8ea08b7d 441mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
747d0967
BK
442 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
443 mostlyclean-tags mostlyclean-generic
62f079c5
BK
444
445mostlyclean: mostlyclean-am
446
747d0967
BK
447clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \
448 clean-noinstPROGRAMS clean-tags clean-generic \
449 mostlyclean-am
62f079c5
BK
450
451clean: clean-am
452
8ea08b7d 453distclean-am: distclean-noinstLIBRARIES distclean-compile \
747d0967
BK
454 distclean-libtool distclean-noinstPROGRAMS \
455 distclean-tags distclean-generic clean-am
62f079c5
BK
456 -rm -f libtool
457
458distclean: distclean-am
459
8ea08b7d
PE
460maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
461 maintainer-clean-compile maintainer-clean-libtool \
747d0967
BK
462 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
463 maintainer-clean-generic distclean-am
62f079c5
BK
464 @echo "This command is intended for maintainers to use;"
465 @echo "it deletes files that may require special tools to rebuild."
466
467maintainer-clean: maintainer-clean-am
468
8ea08b7d
PE
469.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
470clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
471mostlyclean-compile distclean-compile clean-compile \
472maintainer-clean-compile mostlyclean-libtool distclean-libtool \
747d0967
BK
473clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
474distclean-noinstPROGRAMS clean-noinstPROGRAMS \
475maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
476clean-tags maintainer-clean-tags distdir check-DEJAGNU info-am info \
c4c064e7
BK
477dvi-am dvi check-local check check-am installcheck-am installcheck \
478install-info-am install-info install-exec-am install-exec \
479install-data-am install-data install-am install uninstall-am uninstall \
480all-local all-redirect all-am all installdirs mostlyclean-generic \
481distclean-generic clean-generic maintainer-clean-generic clean \
482mostlyclean distclean maintainer-clean
483
62f079c5 484
c4c064e7 485all-local: stamp_wchar
62f079c5 486
6b543e86 487# Enable wchar_t tests if capable.
c4c064e7
BK
488@GLIBCPP_TEST_WCHAR_T_TRUE@stamp_wchar:
489@GLIBCPP_TEST_WCHAR_T_TRUE@ touch testsuite_wchar_t
490@GLIBCPP_TEST_WCHAR_T_FALSE@stamp_wchar:
491
492# Override this so local rules are possible.
493check-am:
494 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU; \
495 $(MAKE) $(AM_MAKEFLAGS) check-local
496
497check-local: check-abi
498
499current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
500 -@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt)
501
502baseline_symbols:
503 -@(output=${baseline_file}; \
504 if test ! -f $${output}; then \
505 echo "Baseline file doesn't exist."; \
506 echo "Try 'make new-abi-baseline' to create it."; \
507 exit 1; \
508 fi; \
509 touch baseline_symbols)
510
511new-abi-baseline:
a1af4623 512 -@$(mkinstalldirs) ${baseline_dir}
c4c064e7
BK
513 -@(output=${baseline_file}; \
514 if test -f $${output}; then \
515 output=$${output}.new; \
516 t=`echo $${output} | sed 's=.*config/abi/=='`; \
517 echo "Baseline file already exists, writing to $${t} instead."; \
518 fi; \
519 ${extract_symvers} ../src/.libs/libstdc++.so $${output})
520
521# Use 'new-abi-baseline' to create an initial symbol file. Then run
522# 'check-abi' to test for changes against that file.
523@GLIBCPP_TEST_ABI_TRUE@check-abi: abi_check baseline_symbols current_symbols.txt
524@GLIBCPP_TEST_ABI_TRUE@ -@(./abi_check --check ./current_symbols.txt ${baseline_file})
6b543e86 525
c4c064e7
BK
526@GLIBCPP_TEST_ABI_TRUE@check-abi-verbose: abi_check baseline_symbols current_symbols.txt
527@GLIBCPP_TEST_ABI_TRUE@ -@(./abi_check --check-verbose ./current_symbols.txt ${baseline_file})
528@GLIBCPP_TEST_ABI_FALSE@check-abi:
529@GLIBCPP_TEST_ABI_FALSE@check-abi-verbose:
0676e930
BK
530check-script: ${check_survey}
531 -@(chmod + ${check_survey}; \
532 ${check_survey} 0)
533
534check-script-install: ${check_survey}
535 -@(chmod + ${check_survey}; \
536 ${check_survey} 0)
537check-performance: ${check_performance}
538 -@(chmod + ${check_performance}; \
539 ${check_performance} ${glibcpp_srcdir} ${glibcpp_builddir})
6b543e86 540
62f079c5
BK
541# Tell versions [3.59,3.63) of GNU make to not export all variables.
542# Otherwise a system limit (for SysV at least) may be exceeded.
543.NOEXPORT: