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