OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libstdc++-v3/] [testsuite/] [Makefile.in] - Blame information for rev 846

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 424 jeremybenn
# Makefile.in generated by automake 1.11.1 from Makefile.am.
2
# @configure_input@
3
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6
# Inc.
7
# This Makefile.in is free software; the Free Software Foundation
8
# gives unlimited permission to copy and/or distribute it,
9
# with or without modifications, as long as this notice is preserved.
10
 
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
# PARTICULAR PURPOSE.
15
 
16
@SET_MAKE@
17
VPATH = @srcdir@
18
pkgdatadir = $(datadir)/@PACKAGE@
19
pkgincludedir = $(includedir)/@PACKAGE@
20
pkglibdir = $(libdir)/@PACKAGE@
21
pkglibexecdir = $(libexecdir)/@PACKAGE@
22
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23
install_sh_DATA = $(install_sh) -c -m 644
24
install_sh_PROGRAM = $(install_sh) -c
25
install_sh_SCRIPT = $(install_sh) -c
26
INSTALL_HEADER = $(INSTALL_DATA)
27
transform = $(program_transform_name)
28
NORMAL_INSTALL = :
29
PRE_INSTALL = :
30
POST_INSTALL = :
31
NORMAL_UNINSTALL = :
32
PRE_UNINSTALL = :
33
POST_UNINSTALL = :
34
build_triplet = @build@
35
host_triplet = @host@
36
target_triplet = @target@
37
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
38
        $(top_srcdir)/fragment.am
39
subdir = testsuite
40
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
42
        $(top_srcdir)/../config/futex.m4 \
43
        $(top_srcdir)/../config/iconv.m4 \
44
        $(top_srcdir)/../config/lead-dot.m4 \
45
        $(top_srcdir)/../config/lib-ld.m4 \
46
        $(top_srcdir)/../config/lib-link.m4 \
47
        $(top_srcdir)/../config/lib-prefix.m4 \
48
        $(top_srcdir)/../config/multi.m4 \
49
        $(top_srcdir)/../config/no-executables.m4 \
50
        $(top_srcdir)/../config/override.m4 \
51
        $(top_srcdir)/../config/stdint.m4 \
52
        $(top_srcdir)/../config/unwind_ipinfo.m4 \
53
        $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
54
        $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
55
        $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
56
        $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
57
        $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
58
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59
        $(ACLOCAL_M4)
60
CONFIG_HEADER = $(top_builddir)/config.h
61
CONFIG_CLEAN_FILES =
62
CONFIG_CLEAN_VPATH_FILES =
63
depcomp =
64
am__depfiles_maybe =
65
SOURCES =
66
DIST_SOURCES =
67
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
68
ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
69
ACLOCAL = @ACLOCAL@
70
ALLOCATOR_H = @ALLOCATOR_H@
71
ALLOCATOR_NAME = @ALLOCATOR_NAME@
72
AMTAR = @AMTAR@
73
AR = @AR@
74
AS = @AS@
75
ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
76
ATOMIC_FLAGS = @ATOMIC_FLAGS@
77
ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
78
AUTOCONF = @AUTOCONF@
79
AUTOHEADER = @AUTOHEADER@
80
AUTOMAKE = @AUTOMAKE@
81
AWK = @AWK@
82
BASIC_FILE_CC = @BASIC_FILE_CC@
83
BASIC_FILE_H = @BASIC_FILE_H@
84
CC = @CC@
85
CCODECVT_CC = @CCODECVT_CC@
86
CCOLLATE_CC = @CCOLLATE_CC@
87
CCTYPE_CC = @CCTYPE_CC@
88
CFLAGS = @CFLAGS@
89
CLOCALE_CC = @CLOCALE_CC@
90
CLOCALE_H = @CLOCALE_H@
91
CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
92
CMESSAGES_CC = @CMESSAGES_CC@
93
CMESSAGES_H = @CMESSAGES_H@
94
CMONEY_CC = @CMONEY_CC@
95
CNUMERIC_CC = @CNUMERIC_CC@
96
CPP = @CPP@
97
CPPFLAGS = @CPPFLAGS@
98
CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
99
CSTDIO_H = @CSTDIO_H@
100
CTIME_CC = @CTIME_CC@
101
CTIME_H = @CTIME_H@
102
CXX = @CXX@
103
CXXCPP = @CXXCPP@
104
CXXFLAGS = @CXXFLAGS@
105
CYGPATH_W = @CYGPATH_W@
106
C_INCLUDE_DIR = @C_INCLUDE_DIR@
107
DEBUG_FLAGS = @DEBUG_FLAGS@
108
DEFS = @DEFS@
109
DSYMUTIL = @DSYMUTIL@
110
DUMPBIN = @DUMPBIN@
111
ECHO_C = @ECHO_C@
112
ECHO_N = @ECHO_N@
113
ECHO_T = @ECHO_T@
114
EGREP = @EGREP@
115
ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
116
EXEEXT = @EXEEXT@
117
EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
118
FGREP = @FGREP@
119
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
120
GLIBCXX_LIBS = @GLIBCXX_LIBS@
121
GREP = @GREP@
122
INSTALL = @INSTALL@
123
INSTALL_DATA = @INSTALL_DATA@
124
INSTALL_PROGRAM = @INSTALL_PROGRAM@
125
INSTALL_SCRIPT = @INSTALL_SCRIPT@
126
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
127
LD = @LD@
128
LDFLAGS = @LDFLAGS@
129
LIBICONV = @LIBICONV@
130
LIBOBJS = @LIBOBJS@
131
LIBS = @LIBS@
132
LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
133
LIBTOOL = @LIBTOOL@
134
LIPO = @LIPO@
135
LN_S = @LN_S@
136
LTLIBICONV = @LTLIBICONV@
137
LTLIBOBJS = @LTLIBOBJS@
138
MAINT = @MAINT@
139
MAKEINFO = @MAKEINFO@
140
MKDIR_P = @MKDIR_P@
141
NM = @NM@
142
NMEDIT = @NMEDIT@
143
OBJDUMP = @OBJDUMP@
144
OBJEXT = @OBJEXT@
145
OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
146
OPT_LDFLAGS = @OPT_LDFLAGS@
147
OS_INC_SRCDIR = @OS_INC_SRCDIR@
148
OTOOL = @OTOOL@
149
OTOOL64 = @OTOOL64@
150
PACKAGE = @PACKAGE@
151
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
152
PACKAGE_NAME = @PACKAGE_NAME@
153
PACKAGE_STRING = @PACKAGE_STRING@
154
PACKAGE_TARNAME = @PACKAGE_TARNAME@
155
PACKAGE_URL = @PACKAGE_URL@
156
PACKAGE_VERSION = @PACKAGE_VERSION@
157
PATH_SEPARATOR = @PATH_SEPARATOR@
158
RANLIB = @RANLIB@
159
SECTION_FLAGS = @SECTION_FLAGS@
160
SECTION_LDFLAGS = @SECTION_LDFLAGS@
161
SED = @SED@
162
SET_MAKE = @SET_MAKE@
163
SHELL = @SHELL@
164
STRIP = @STRIP@
165
SYMVER_FILE = @SYMVER_FILE@
166
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
167
USE_NLS = @USE_NLS@
168
VERSION = @VERSION@
169
WARN_FLAGS = @WARN_FLAGS@
170
WERROR = @WERROR@
171
abs_builddir = @abs_builddir@
172
abs_srcdir = @abs_srcdir@
173
abs_top_builddir = @abs_top_builddir@
174
abs_top_srcdir = @abs_top_srcdir@
175
ac_ct_CC = @ac_ct_CC@
176
ac_ct_CXX = @ac_ct_CXX@
177
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
178
am__leading_dot = @am__leading_dot@
179
am__tar = @am__tar@
180
am__untar = @am__untar@
181
baseline_dir = @baseline_dir@
182
bindir = @bindir@
183
build = @build@
184
build_alias = @build_alias@
185
build_cpu = @build_cpu@
186
build_os = @build_os@
187
build_vendor = @build_vendor@
188
builddir = @builddir@
189
check_msgfmt = @check_msgfmt@
190
datadir = @datadir@
191
datarootdir = @datarootdir@
192
docdir = @docdir@
193
dvidir = @dvidir@
194
enable_shared = @enable_shared@
195
enable_static = @enable_static@
196
exec_prefix = @exec_prefix@
197
glibcxx_MOFILES = @glibcxx_MOFILES@
198
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
199
glibcxx_POFILES = @glibcxx_POFILES@
200
glibcxx_builddir = @glibcxx_builddir@
201
glibcxx_localedir = @glibcxx_localedir@
202
glibcxx_prefixdir = @glibcxx_prefixdir@
203
glibcxx_srcdir = @glibcxx_srcdir@
204
glibcxx_thread_h = @glibcxx_thread_h@
205
glibcxx_toolexecdir = @glibcxx_toolexecdir@
206
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
207
gxx_include_dir = @gxx_include_dir@
208
host = @host@
209
host_alias = @host_alias@
210
host_cpu = @host_cpu@
211
host_os = @host_os@
212
host_vendor = @host_vendor@
213
htmldir = @htmldir@
214
includedir = @includedir@
215
infodir = @infodir@
216
install_sh = @install_sh@
217
libdir = @libdir@
218
libexecdir = @libexecdir@
219
libtool_VERSION = @libtool_VERSION@
220
localedir = @localedir@
221
localstatedir = @localstatedir@
222
mandir = @mandir@
223
mkdir_p = @mkdir_p@
224
multi_basedir = @multi_basedir@
225
oldincludedir = @oldincludedir@
226
pdfdir = @pdfdir@
227
port_specific_symbol_files = @port_specific_symbol_files@
228
prefix = @prefix@
229
program_transform_name = @program_transform_name@
230
psdir = @psdir@
231
sbindir = @sbindir@
232
sharedstatedir = @sharedstatedir@
233
srcdir = @srcdir@
234
sysconfdir = @sysconfdir@
235
target = @target@
236
target_alias = @target_alias@
237
target_cpu = @target_cpu@
238
target_os = @target_os@
239
target_vendor = @target_vendor@
240
top_build_prefix = @top_build_prefix@
241
top_builddir = @top_builddir@
242
top_srcdir = @top_srcdir@
243
toplevel_srcdir = @toplevel_srcdir@
244
AUTOMAKE_OPTIONS = nostdinc
245
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
246
EXPECT = expect
247
 
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)
256
 
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.
259
CONFIG_CXXFLAGS = \
260
        $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
261
 
262
WARN_CXXFLAGS = \
263
        $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
264
 
265
 
266
# -I/-D flags to pass when compiling.
267
AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
268
 
269
# Generated lists of files to run.  All of these names are valid make
270
# targets, if you wish to generate a list manually.
271
lists_of_files = \
272
   testsuite_files \
273
   testsuite_files_interactive \
274
   testsuite_files_performance
275
 
276
extract_symvers = $(glibcxx_srcdir)/scripts/extract_symvers
277
check_DEJAGNU_normal_targets = $(patsubst %,check-DEJAGNUnormal%,0 1 2 3)
278
 
279
# Runs the testsuite, but in compile only mode.
280
# Can be used to test sources with non-GNU FE's at various warning
281
# levels and for checking compile time across releases.
282
# See script.
283
compile_script = ${glibcxx_srcdir}/scripts/check_compile
284
 
285
# Runs the testsuite/performance tests.
286
# Some of these tests create large (~75MB) files, allocate huge
287
# ammounts of memory, or otherwise tie up machine resources. Thus,
288
# running this is off by default.
289
# XXX Need to add dependency on libtestc++.a
290
check_performance_script = ${glibcxx_srcdir}/scripts/check_performance
291
 
292
# Runs the testsuite in debug mode.
293
debug_flags = "unix/-D_GLIBCXX_DEBUG"
294
 
295
# Runs the testsuite in parallel mode.
296
libgomp_dir = ${glibcxx_builddir}/../libgomp
297
libgomp_flags = -B${glibcxx_builddir}/../libgomp \
298
              -I${glibcxx_builddir}/../libgomp \
299
              -L${glibcxx_builddir}/../libgomp/.libs -lgomp
300
 
301
atomic_flags = $(ATOMIC_FLAGS)
302
parallel_flags = "unix/-D_GLIBCXX_PARALLEL/-fopenmp"
303
 
304
# Runs the testsuite in profile mode.
305
profile_flags = "unix/-D_GLIBCXX_PROFILE"
306
 
307
# By adding these files here, automake will remove them for 'make clean'
308
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
309
             testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
310
             *.s *.o *.cc *.a *.so *.xml
311
 
312
all: all-am
313
 
314
.SUFFIXES:
315
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
316
        @for dep in $?; do \
317
          case '$(am__configure_deps)' in \
318
            *$$dep*) \
319
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
320
                && { if test -f $@; then exit 0; else break; fi; }; \
321
              exit 1;; \
322
          esac; \
323
        done; \
324
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile'; \
325
        $(am__cd) $(top_srcdir) && \
326
          $(AUTOMAKE) --foreign --ignore-deps testsuite/Makefile
327
.PRECIOUS: Makefile
328
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
329
        @case '$?' in \
330
          *config.status*) \
331
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
332
          *) \
333
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
334
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
335
        esac;
336
 
337
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
338
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
339
 
340
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
341
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
342
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
343
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
344
$(am__aclocal_m4_deps):
345
 
346
mostlyclean-libtool:
347
        -rm -f *.lo
348
 
349
clean-libtool:
350
        -rm -rf .libs _libs
351
tags: TAGS
352
TAGS:
353
 
354
ctags: CTAGS
355
CTAGS:
356
 
357
 
358
distdir: $(DISTFILES)
359
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
360
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
361
        list='$(DISTFILES)'; \
362
          dist_files=`for file in $$list; do echo $$file; done | \
363
          sed -e "s|^$$srcdirstrip/||;t" \
364
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
365
        case $$dist_files in \
366
          */*) $(MKDIR_P) `echo "$$dist_files" | \
367
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
368
                           sort -u` ;; \
369
        esac; \
370
        for file in $$dist_files; do \
371
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
372
          if test -d $$d/$$file; then \
373
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
374
            if test -d "$(distdir)/$$file"; then \
375
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
376
            fi; \
377
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
378
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
379
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
380
            fi; \
381
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
382
          else \
383
            test -f "$(distdir)/$$file" \
384
            || cp -p $$d/$$file "$(distdir)/$$file" \
385
            || exit 1; \
386
          fi; \
387
        done
388
check-am: all-am
389
check: check-am
390
all-am: Makefile
391
installdirs:
392
install: install-am
393
install-exec: install-exec-am
394
install-data: install-data-am
395
uninstall: uninstall-am
396
 
397
install-am: all-am
398
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
399
 
400
installcheck: installcheck-am
401
install-strip:
402
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
403
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
404
          `test -z '$(STRIP)' || \
405
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
406
mostlyclean-generic:
407
 
408
clean-generic:
409
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
410
 
411
distclean-generic:
412
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
413
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
414
 
415
maintainer-clean-generic:
416
        @echo "This command is intended for maintainers to use"
417
        @echo "it deletes files that may require special tools to rebuild."
418
clean: clean-am
419
 
420
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
421
 
422
distclean: distclean-am
423
        -rm -f Makefile
424
distclean-am: clean-am distclean-generic
425
 
426
dvi: dvi-am
427
 
428
dvi-am:
429
 
430
html: html-am
431
 
432
html-am:
433
 
434
info: info-am
435
 
436
info-am:
437
 
438
install-data-am:
439
 
440
install-dvi: install-dvi-am
441
 
442
install-dvi-am:
443
 
444
install-exec-am:
445
 
446
install-html: install-html-am
447
 
448
install-html-am:
449
 
450
install-info: install-info-am
451
 
452
install-info-am:
453
 
454
install-man:
455
 
456
install-pdf: install-pdf-am
457
 
458
install-pdf-am:
459
 
460
install-ps: install-ps-am
461
 
462
install-ps-am:
463
 
464
installcheck-am:
465
 
466
maintainer-clean: maintainer-clean-am
467
        -rm -f Makefile
468
maintainer-clean-am: distclean-am maintainer-clean-generic
469
 
470
mostlyclean: mostlyclean-am
471
 
472
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
473
 
474
pdf: pdf-am
475
 
476
pdf-am:
477
 
478
ps: ps-am
479
 
480
ps-am:
481
 
482
uninstall-am:
483
 
484
.MAKE: install-am install-strip
485
 
486
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
487
        clean-local distclean distclean-generic distclean-libtool \
488
        distdir dvi dvi-am html html-am info info-am install \
489
        install-am install-data install-data-am install-dvi \
490
        install-dvi-am install-exec install-exec-am install-html \
491
        install-html-am install-info install-info-am install-man \
492
        install-pdf install-pdf-am install-ps install-ps-am \
493
        install-strip installcheck installcheck-am installdirs \
494
        maintainer-clean maintainer-clean-generic mostlyclean \
495
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
496
        uninstall uninstall-am
497
 
498
 
499
# This rule generates all of the testsuite_files* lists at once.
500
${lists_of_files}:
501
        ${glibcxx_srcdir}/scripts/create_testsuite_files \
502
          ${glibcxx_srcdir}/testsuite `${PWD_COMMAND}`
503
 
504
# We need more things in site.exp, but automake completely controls the
505
# creation of that file; there's no way to append to it without messing up
506
# the dependancy chains.  So we overrule automake.  This rule is exactly
507
# what it would have generated, plus our own additions.
508
site.exp: Makefile
509
        @echo 'Making a new site.exp file...'
510
        @echo '## these variables are automatically generated by make ##' >site.tmp
511
        @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
512
        @echo '# edit the last section' >>site.tmp
513
        @echo 'set srcdir $(srcdir)' >>site.tmp
514
        @echo "set objdir `pwd`" >>site.tmp
515
        @echo 'set build_alias "$(build_alias)"' >>site.tmp
516
        @echo 'set build_triplet $(build_triplet)' >>site.tmp
517
        @echo 'set host_alias "$(host_alias)"' >>site.tmp
518
        @echo 'set host_triplet $(host_triplet)' >>site.tmp
519
        @echo 'set target_alias "$(target_alias)"' >>site.tmp
520
        @echo 'set target_triplet $(target_triplet)' >>site.tmp
521
        @echo 'set target_triplet $(target_triplet)' >>site.tmp
522
        @echo 'set libiconv "$(LIBICONV)"' >>site.tmp
523
        @echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
524
        @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
525
        @test ! -f site.exp || \
526
          sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
527
        @-rm -f site.bak
528
        @test ! -f site.exp || mv site.exp site.bak
529
        @mv site.tmp site.exp
530
 
531
baseline_symbols:
532
        -@(output=${baseline_dir}/baseline_symbols.txt; \
533
          if test ! -f $${output}; then \
534
            echo "Baseline file doesn't exist."; \
535
            echo "Try 'make new-abi-baseline' to create it."; \
536
            exit 1; \
537
          fi; true)
538
 
539
new-abi-baseline:
540
        -@$(mkinstalldirs) ${baseline_dir}
541
        -@(output=${baseline_dir}/baseline_symbols.txt; \
542
          if test -f $${output}; then \
543
            output=$${output}.new; \
544
            t=`echo $${output} | sed 's=.*config/abi/=='`; \
545
            echo "Baseline file already exists, writing to $${t} instead."; \
546
          fi; \
547
          ${extract_symvers} ../src/.libs/libstdc++.so $${output})
548
 
549
%/site.exp: site.exp
550
        -test -d $* || mkdir $*
551
        @srcdir=`cd $(srcdir); ${PWD_COMMAND}`;
552
        objdir=`${PWD_COMMAND}`/$*; \
553
        sed -e "s|^set srcdir .*$$|set srcdir $$srcdir|" \
554
            -e "s|^set objdir .*$$|set objdir $$objdir|" \
555
            site.exp > $*/site.exp.tmp
556
        @-rm -f $*/site.bak
557
        @test ! -f $*/site.exp || mv $*/site.exp $*/site.bak
558
        @mv $*/site.exp.tmp $*/site.exp
559
$(check_DEJAGNU_normal_targets): check-DEJAGNUnormal%: normal%/site.exp
560
 
561
# Run the testsuite in normal mode.
562
check-DEJAGNU $(check_DEJAGNU_normal_targets): check-DEJAGNU%: site.exp
563
        AR="$(AR)"; export AR; \
564
        RANLIB="$(RANLIB)"; export RANLIB; \
565
        if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
566
            && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
567
          $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
568
                  check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
569
          for idx in 0 1 2 3; do \
570
            mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
571
            mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
572
          done; \
573
          mv -f libstdc++.sum libstdc++.sum.sep; \
574
          mv -f libstdc++.log libstdc++.log.sep; \
575
          $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
576
            libstdc++.sum.sep normal0/libstdc++.sum.sep \
577
            normal1/libstdc++.sum.sep normal2/libstdc++.sum.sep \
578
            normal3/libstdc++.sum.sep > libstdc++.sum; \
579
          $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
580
            libstdc++.log.sep normal0/libstdc++.log.sep \
581
            normal1/libstdc++.log.sep normal2/libstdc++.log.sep \
582
            normal3/libstdc++.log.sep > libstdc++.log; \
583
          exit 0; \
584
        fi; \
585
        srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
586
        EXPECT=$(EXPECT); export EXPECT; \
587
        runtest=$(RUNTEST); \
588
        if [ -z "$$runtest" ]; then runtest=runtest; fi; \
589
        tool=libstdc++; \
590
        dirs=; \
591
        case "$*" in \
592
          normal0) \
593
            if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
594
              $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
595
                        $(RUNTESTFLAGS) abi.exp; \
596
            else echo "WARNING: could not find \`runtest'" 1>&2; :;\
597
            fi; \
598
            dirs="`cd $$srcdir; echo [013-9][0-9]_*/* [ab]* de* [ep]*/*`";; \
599
          normal1) \
600
            dirs="`cd $$srcdir; echo 2[0-2]_*/*`";; \
601
          normal2) \
602
            dirs="`cd $$srcdir; echo 2[4-9]_*/*`";; \
603
          normal3) \
604
            dirs="`cd $$srcdir; echo 23_*/* t*/*`";; \
605
        esac; \
606
        if [ -n "$*" ]; then cd "$*"; fi; \
607
        if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
608
          if [ -n "$$dirs" ]; then \
609
            $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
610
                    $(RUNTESTFLAGS) \
611
                    "conformance.exp=`echo $$dirs | sed 's/ /* /g;s/$$/*/'`"; \
612
          else \
613
            $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) \
614
                    $(RUNTESTFLAGS); \
615
          fi; \
616
        else echo "WARNING: could not find \`runtest'" 1>&2; :;\
617
        fi
618
 
619
check-am:
620
        $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
621
.PHONY: check-DEJAGNU
622
 
623
# Use 'new-abi-baseline' to create an initial symbol file.  Then run
624
# 'check-abi' to test for changes against that file.
625
check-abi: site.exp baseline_symbols
626
        -@runtest $(AM_RUNTESTFLAGS) --tool libstdc++ $(RUNTESTFLAGS) abi.exp
627
check-compile: testsuite_files ${compile_script}
628
        -@(chmod + ${compile_script}; \
629
          ${compile_script} ${glibcxx_srcdir} ${glibcxx_builddir})
630
check-performance: testsuite_files_performance ${performance_script}
631
        -@(chmod + ${check_performance_script}; \
632
          ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
633
 
634
check-debug: site.exp
635
        outputdir=debug; export outputdir; \
636
        if test ! -d $${outputdir}; then \
637
          mkdir $${outputdir}; \
638
        fi; \
639
        srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
640
        EXPECT=$(EXPECT); export EXPECT; \
641
        $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU;
642
 
643
check-parallel: site.exp
644
        -@(if test ! -d $${libgomp_dir}; then \
645
          echo "Testing parallel mode failed as libgomp not present."; \
646
          exit 1; \
647
        fi; \
648
        outputdir=parallel; export outputdir; \
649
        if test ! -d $${outputdir}; then \
650
          mkdir $${outputdir}; \
651
        fi; \
652
        srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
653
        EXPECT=$(EXPECT); export EXPECT; \
654
        $(MAKE) CXXFLAGS="$(atomic_flags) $(libgomp_flags)" RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(parallel_flags)" check-DEJAGNU; )
655
 
656
check-performance-parallel: testsuite_files_performance ${performance_script}
657
        -@(chmod + ${check_performance_script}; \
658
        CXXFLAGS="-D_GLIBCXX_PARALLEL -fopenmp $(atomic_flags) $(libgomp_flags)"; export CXXFLAGS; \
659
        ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir})
660
 
661
check-profile: site.exp
662
        -@(outputdir=profile; export outputdir; \
663
        if test ! -d $${outputdir}; then \
664
          mkdir $${outputdir}; \
665
        fi; \
666
        srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
667
        EXPECT=$(EXPECT); export EXPECT; \
668
        $(MAKE) CXXFLAGS="$(atomic_flags) " RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(profile_flags)" check-DEJAGNU; )
669
 
670
.PHONY: baseline_symbols new-abi-baseline \
671
        check-abi check-compile check-performance check-parallel check-profile
672
 
673
# To remove directories.
674
clean-local:
675
        rm -rf debug parallel profile
676
 
677
# Tell versions [3.59,3.63) of GNU make to not export all variables.
678
# Otherwise a system limit (for SysV at least) may be exceeded.
679
.NOEXPORT:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.