sim: switch config.h usage to defs.h
[deliverable/binutils-gdb.git] / sim / Makefile.in
CommitLineData
6bddc3e8
MF
1# Makefile.in generated by automake 1.15.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
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
15@SET_MAKE@
16
17#
18# Copyright (C) 1993-2021 Free Software Foundation, Inc.
19#
c906108c
SS
20# This program is free software; you can redistribute it and/or modify
21# it under the terms of the GNU General Public License as published by
4744ac1b 22# the Free Software Foundation; either version 3 of the License, or
c906108c 23# (at your option) any later version.
4744ac1b 24#
c906108c
SS
25# This program is distributed in the hope that it will be useful,
26# but WITHOUT ANY WARRANTY; without even the implied warranty of
27# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28# GNU General Public License for more details.
4744ac1b 29#
c906108c 30# You should have received a copy of the GNU General Public License
4744ac1b 31# along with this program. If not, see <http://www.gnu.org/licenses/>.
6c57b87f 32
b6b1c790
MF
33# The IGEN simulator generator for GDB, the GNU Debugger.
34#
35# Copyright 2002-2021 Free Software Foundation, Inc.
36#
37# Contributed by Andrew Cagney.
38#
39# This file is part of GDB.
40#
41# This program is free software; you can redistribute it and/or modify
42# it under the terms of the GNU General Public License as published by
43# the Free Software Foundation; either version 3 of the License, or
44# (at your option) any later version.
45#
46# This program is distributed in the hope that it will be useful,
47# but WITHOUT ANY WARRANTY; without even the implied warranty of
48# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49# GNU General Public License for more details.
50#
51# You should have received a copy of the GNU General Public License
52# along with this program. If not, see <http://www.gnu.org/licenses/>.
53
6c57b87f
MF
54#
55# Copyright (C) 1997-2021 Free Software Foundation, Inc.
56#
57# This program is free software; you can redistribute it and/or modify
58# it under the terms of the GNU General Public License as published by
59# the Free Software Foundation; either version 3 of the License, or
60# (at your option) any later version.
61#
62# This program is distributed in the hope that it will be useful,
63# but WITHOUT ANY WARRANTY; without even the implied warranty of
64# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
65# GNU General Public License for more details.
66#
67# You should have received a copy of the GNU General Public License
68# along with this program. If not, see <http://www.gnu.org/licenses/>.
b6b1c790 69
a389375f
MF
70# Copyright (C) 1997-2021 Free Software Foundation, Inc.
71#
72# This program is free software; you can redistribute it and/or modify
73# it under the terms of the GNU General Public License as published by
74# the Free Software Foundation; either version 3 of the License, or
75# (at your option) any later version.
76#
77# This program is distributed in the hope that it will be useful,
78# but WITHOUT ANY WARRANTY; without even the implied warranty of
79# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80# GNU General Public License for more details.
81#
82# You should have received a copy of the GNU General Public License
83# along with this program. If not, see <http://www.gnu.org/licenses/>.
84
c906108c 85VPATH = @srcdir@
6bddc3e8
MF
86am__is_gnu_make = { \
87 if test -z '$(MAKELEVEL)'; then \
88 false; \
89 elif test -n '$(MAKE_HOST)'; then \
90 true; \
91 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
92 true; \
93 else \
94 false; \
95 fi; \
96}
97am__make_running_with_option = \
98 case $${target_option-} in \
99 ?) ;; \
100 *) echo "am__make_running_with_option: internal error: invalid" \
101 "target option '$${target_option-}' specified" >&2; \
102 exit 1;; \
103 esac; \
104 has_opt=no; \
105 sane_makeflags=$$MAKEFLAGS; \
106 if $(am__is_gnu_make); then \
107 sane_makeflags=$$MFLAGS; \
108 else \
109 case $$MAKEFLAGS in \
110 *\\[\ \ ]*) \
111 bs=\\; \
112 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
113 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
114 esac; \
115 fi; \
116 skip_next=no; \
117 strip_trailopt () \
118 { \
119 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
120 }; \
121 for flg in $$sane_makeflags; do \
122 test $$skip_next = yes && { skip_next=no; continue; }; \
123 case $$flg in \
124 *=*|--*) continue;; \
125 -*I) strip_trailopt 'I'; skip_next=yes;; \
126 -*I?*) strip_trailopt 'I';; \
127 -*O) strip_trailopt 'O'; skip_next=yes;; \
128 -*O?*) strip_trailopt 'O';; \
129 -*l) strip_trailopt 'l'; skip_next=yes;; \
130 -*l?*) strip_trailopt 'l';; \
131 -[dEDm]) skip_next=yes;; \
132 -[JT]) skip_next=yes;; \
133 esac; \
134 case $$flg in \
135 *$$target_option*) has_opt=yes; break;; \
136 esac; \
137 done; \
138 test $$has_opt = yes
139am__make_dryrun = (target_option=n; $(am__make_running_with_option))
140am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
141pkgdatadir = $(datadir)/@PACKAGE@
142pkgincludedir = $(includedir)/@PACKAGE@
143pkglibdir = $(libdir)/@PACKAGE@
144pkglibexecdir = $(libexecdir)/@PACKAGE@
145am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
146install_sh_DATA = $(install_sh) -c -m 644
147install_sh_PROGRAM = $(install_sh) -c
148install_sh_SCRIPT = $(install_sh) -c
149INSTALL_HEADER = $(INSTALL_DATA)
150transform = $(program_transform_name)
151NORMAL_INSTALL = :
152PRE_INSTALL = :
153POST_INSTALL = :
154NORMAL_UNINSTALL = :
155PRE_UNINSTALL = :
156POST_UNINSTALL = :
157build_triplet = @build@
158host_triplet = @host@
159target_triplet = @target@
a389375f
MF
160check_PROGRAMS = $(am__EXEEXT_3)
161EXTRA_PROGRAMS = $(am__EXEEXT_2) testsuite/common/bits-gen$(EXEEXT) \
162 testsuite/common/fpu-tst$(EXEEXT)
b6b1c790
MF
163@SIM_ENABLE_IGEN_TRUE@am__append_1 = igen/libigen.a
164@SIM_ENABLE_IGEN_TRUE@am__append_2 = $(igen_IGEN_TOOLS)
165@SIM_ENABLE_IGEN_TRUE@am__append_3 = $(igen_IGEN_TOOLS)
a389375f
MF
166TESTS = testsuite/common/bits32m0$(EXEEXT) \
167 testsuite/common/bits32m31$(EXEEXT) \
168 testsuite/common/bits64m0$(EXEEXT) \
169 testsuite/common/bits64m63$(EXEEXT) \
170 testsuite/common/alu-tst$(EXEEXT)
6bddc3e8
MF
171subdir = .
172ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
173am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
174 $(top_srcdir)/../config/lead-dot.m4 \
c2783492
MF
175 $(top_srcdir)/../config/override.m4 \
176 $(top_srcdir)/m4/sim_ac_toolchain.m4 \
177 $(top_srcdir)/configure.ac
6bddc3e8
MF
178am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
179 $(ACLOCAL_M4)
180DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
181 $(am__configure_deps)
182am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
183 configure.lineno config.status.lineno
184mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
6c57b87f 185CONFIG_CLEAN_FILES =
6bddc3e8 186CONFIG_CLEAN_VPATH_FILES =
b6b1c790
MF
187LIBRARIES = $(noinst_LIBRARIES)
188ARFLAGS = cru
189AM_V_AR = $(am__v_AR_@AM_V@)
190am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
191am__v_AR_0 = @echo " AR " $@;
192am__v_AR_1 =
193igen_libigen_a_AR = $(AR) $(ARFLAGS)
194igen_libigen_a_LIBADD =
195am__dirstamp = $(am__leading_dot)dirstamp
196@SIM_ENABLE_IGEN_TRUE@am_igen_libigen_a_OBJECTS = \
197@SIM_ENABLE_IGEN_TRUE@ igen/table.$(OBJEXT) igen/lf.$(OBJEXT) \
198@SIM_ENABLE_IGEN_TRUE@ igen/misc.$(OBJEXT) \
199@SIM_ENABLE_IGEN_TRUE@ igen/filter_host.$(OBJEXT) \
200@SIM_ENABLE_IGEN_TRUE@ igen/ld-decode.$(OBJEXT) \
201@SIM_ENABLE_IGEN_TRUE@ igen/ld-cache.$(OBJEXT) \
202@SIM_ENABLE_IGEN_TRUE@ igen/filter.$(OBJEXT) \
203@SIM_ENABLE_IGEN_TRUE@ igen/ld-insn.$(OBJEXT) \
204@SIM_ENABLE_IGEN_TRUE@ igen/gen-model.$(OBJEXT) \
205@SIM_ENABLE_IGEN_TRUE@ igen/gen-itable.$(OBJEXT) \
206@SIM_ENABLE_IGEN_TRUE@ igen/gen-icache.$(OBJEXT) \
207@SIM_ENABLE_IGEN_TRUE@ igen/gen-semantics.$(OBJEXT) \
208@SIM_ENABLE_IGEN_TRUE@ igen/gen-idecode.$(OBJEXT) \
209@SIM_ENABLE_IGEN_TRUE@ igen/gen-support.$(OBJEXT) \
210@SIM_ENABLE_IGEN_TRUE@ igen/gen-engine.$(OBJEXT) \
211@SIM_ENABLE_IGEN_TRUE@ igen/gen.$(OBJEXT)
212igen_libigen_a_OBJECTS = $(am_igen_libigen_a_OBJECTS)
213@SIM_ENABLE_IGEN_TRUE@am__EXEEXT_1 = igen/igen$(EXEEXT) \
214@SIM_ENABLE_IGEN_TRUE@ igen/filter$(EXEEXT) igen/gen$(EXEEXT) \
215@SIM_ENABLE_IGEN_TRUE@ igen/ld-cache$(EXEEXT) \
216@SIM_ENABLE_IGEN_TRUE@ igen/ld-decode$(EXEEXT) \
217@SIM_ENABLE_IGEN_TRUE@ igen/ld-insn$(EXEEXT) \
218@SIM_ENABLE_IGEN_TRUE@ igen/table$(EXEEXT)
219@SIM_ENABLE_IGEN_TRUE@am__EXEEXT_2 = $(am__EXEEXT_1)
a389375f
MF
220am__EXEEXT_3 = testsuite/common/bits32m0$(EXEEXT) \
221 testsuite/common/bits32m31$(EXEEXT) \
222 testsuite/common/bits64m0$(EXEEXT) \
223 testsuite/common/bits64m63$(EXEEXT) \
224 testsuite/common/alu-tst$(EXEEXT)
b6b1c790
MF
225am_igen_filter_OBJECTS =
226igen_filter_OBJECTS = $(am_igen_filter_OBJECTS)
227@SIM_ENABLE_IGEN_TRUE@igen_filter_DEPENDENCIES = igen/filter-main.o \
228@SIM_ENABLE_IGEN_TRUE@ igen/libigen.a
229am_igen_gen_OBJECTS =
230igen_gen_OBJECTS = $(am_igen_gen_OBJECTS)
231@SIM_ENABLE_IGEN_TRUE@igen_gen_DEPENDENCIES = igen/gen-main.o \
232@SIM_ENABLE_IGEN_TRUE@ igen/libigen.a
233@SIM_ENABLE_IGEN_TRUE@am_igen_igen_OBJECTS = igen/igen.$(OBJEXT)
234igen_igen_OBJECTS = $(am_igen_igen_OBJECTS)
235@SIM_ENABLE_IGEN_TRUE@igen_igen_DEPENDENCIES = igen/libigen.a
236am_igen_ld_cache_OBJECTS =
237igen_ld_cache_OBJECTS = $(am_igen_ld_cache_OBJECTS)
238@SIM_ENABLE_IGEN_TRUE@igen_ld_cache_DEPENDENCIES = \
239@SIM_ENABLE_IGEN_TRUE@ igen/ld-cache-main.o igen/libigen.a
240am_igen_ld_decode_OBJECTS =
241igen_ld_decode_OBJECTS = $(am_igen_ld_decode_OBJECTS)
242@SIM_ENABLE_IGEN_TRUE@igen_ld_decode_DEPENDENCIES = \
243@SIM_ENABLE_IGEN_TRUE@ igen/ld-decode-main.o igen/libigen.a
244am_igen_ld_insn_OBJECTS =
245igen_ld_insn_OBJECTS = $(am_igen_ld_insn_OBJECTS)
246@SIM_ENABLE_IGEN_TRUE@igen_ld_insn_DEPENDENCIES = igen/ld-insn-main.o \
247@SIM_ENABLE_IGEN_TRUE@ igen/libigen.a
248am_igen_table_OBJECTS =
249igen_table_OBJECTS = $(am_igen_table_OBJECTS)
250@SIM_ENABLE_IGEN_TRUE@igen_table_DEPENDENCIES = igen/table-main.o \
251@SIM_ENABLE_IGEN_TRUE@ igen/libigen.a
a389375f
MF
252testsuite_common_alu_tst_SOURCES = testsuite/common/alu-tst.c
253testsuite_common_alu_tst_OBJECTS = testsuite/common/alu-tst.$(OBJEXT)
254testsuite_common_alu_tst_LDADD = $(LDADD)
255testsuite_common_bits_gen_SOURCES = testsuite/common/bits-gen.c
256testsuite_common_bits_gen_OBJECTS = \
257 testsuite/common/bits-gen.$(OBJEXT)
258testsuite_common_bits_gen_LDADD = $(LDADD)
259testsuite_common_bits32m0_SOURCES = testsuite/common/bits32m0.c
260testsuite_common_bits32m0_OBJECTS = \
261 testsuite/common/bits32m0.$(OBJEXT)
262testsuite_common_bits32m0_LDADD = $(LDADD)
263testsuite_common_bits32m31_SOURCES = testsuite/common/bits32m31.c
264testsuite_common_bits32m31_OBJECTS = \
265 testsuite/common/bits32m31.$(OBJEXT)
266testsuite_common_bits32m31_LDADD = $(LDADD)
267testsuite_common_bits64m0_SOURCES = testsuite/common/bits64m0.c
268testsuite_common_bits64m0_OBJECTS = \
269 testsuite/common/bits64m0.$(OBJEXT)
270testsuite_common_bits64m0_LDADD = $(LDADD)
271testsuite_common_bits64m63_SOURCES = testsuite/common/bits64m63.c
272testsuite_common_bits64m63_OBJECTS = \
273 testsuite/common/bits64m63.$(OBJEXT)
274testsuite_common_bits64m63_LDADD = $(LDADD)
275testsuite_common_fpu_tst_SOURCES = testsuite/common/fpu-tst.c
276testsuite_common_fpu_tst_OBJECTS = testsuite/common/fpu-tst.$(OBJEXT)
277testsuite_common_fpu_tst_LDADD = $(LDADD)
6bddc3e8
MF
278AM_V_P = $(am__v_P_@AM_V@)
279am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
280am__v_P_0 = false
281am__v_P_1 = :
282AM_V_GEN = $(am__v_GEN_@AM_V@)
283am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
284am__v_GEN_0 = @echo " GEN " $@;
285am__v_GEN_1 =
286AM_V_at = $(am__v_at_@AM_V@)
287am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
288am__v_at_0 = @
289am__v_at_1 =
b6b1c790
MF
290DEFAULT_INCLUDES = -I.@am__isrc@
291depcomp = $(SHELL) $(top_srcdir)/../depcomp
292am__depfiles_maybe = depfiles
293am__mv = mv -f
294COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
295 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
296AM_V_CC = $(am__v_CC_@AM_V@)
297am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
298am__v_CC_0 = @echo " CC " $@;
299am__v_CC_1 =
300CCLD = $(CC)
301LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
302AM_V_CCLD = $(am__v_CCLD_@AM_V@)
303am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
304am__v_CCLD_0 = @echo " CCLD " $@;
305am__v_CCLD_1 =
306SOURCES = $(igen_libigen_a_SOURCES) $(igen_filter_SOURCES) \
307 $(igen_gen_SOURCES) $(igen_igen_SOURCES) \
308 $(igen_ld_cache_SOURCES) $(igen_ld_decode_SOURCES) \
a389375f
MF
309 $(igen_ld_insn_SOURCES) $(igen_table_SOURCES) \
310 testsuite/common/alu-tst.c testsuite/common/bits-gen.c \
311 testsuite/common/bits32m0.c testsuite/common/bits32m31.c \
312 testsuite/common/bits64m0.c testsuite/common/bits64m63.c \
313 testsuite/common/fpu-tst.c
6bddc3e8
MF
314RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
315 ctags-recursive dvi-recursive html-recursive info-recursive \
316 install-data-recursive install-dvi-recursive \
317 install-exec-recursive install-html-recursive \
318 install-info-recursive install-pdf-recursive \
319 install-ps-recursive install-recursive installcheck-recursive \
320 installdirs-recursive pdf-recursive ps-recursive \
321 tags-recursive uninstall-recursive
322am__can_run_installinfo = \
323 case $$AM_UPDATE_INFO_DIR in \
324 n|no|NO) false;; \
325 *) (install-info --version) >/dev/null 2>&1;; \
326 esac
327RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
328 distclean-recursive maintainer-clean-recursive
329am__recursive_targets = \
330 $(RECURSIVE_TARGETS) \
331 $(RECURSIVE_CLEAN_TARGETS) \
332 $(am__extra_recursive_targets)
333AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
a389375f 334 cscope check recheck
6bddc3e8
MF
335am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
336# Read a list of newline-separated strings from the standard input,
337# and print each of them once, without duplicates. Input order is
338# *not* preserved.
339am__uniquify_input = $(AWK) '\
340 BEGIN { nonempty = 0; } \
341 { items[$$0] = 1; nonempty = 1; } \
342 END { if (nonempty) { for (i in items) print i; }; } \
343'
344# Make sure the list of sources is unique. This is necessary because,
345# e.g., the same source file might be shared among _SOURCES variables
346# for different programs/libraries.
347am__define_uniq_tagged_files = \
348 list='$(am__tagged_files)'; \
349 unique=`for i in $$list; do \
350 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
351 done | $(am__uniquify_input)`
352ETAGS = etags
353CTAGS = ctags
354CSCOPE = cscope
6c57b87f
MF
355DEJATOOL = $(PACKAGE)
356RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
357EXPECT = expect
358RUNTEST = runtest
a389375f
MF
359am__tty_colors_dummy = \
360 mgn= red= grn= lgn= blu= brg= std=; \
361 am__color_tests=no
362am__tty_colors = { \
363 $(am__tty_colors_dummy); \
364 if test "X$(AM_COLOR_TESTS)" = Xno; then \
365 am__color_tests=no; \
366 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
367 am__color_tests=yes; \
368 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
369 am__color_tests=yes; \
370 fi; \
371 if test $$am__color_tests = yes; then \
372 red='\e[0;31m'; \
373 grn='\e[0;32m'; \
374 lgn='\e[1;32m'; \
375 blu='\e[1;34m'; \
376 mgn='\e[0;35m'; \
377 brg='\e[1m'; \
378 std='\e[m'; \
379 fi; \
380}
381am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
382am__vpath_adj = case $$p in \
383 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
384 *) f=$$p;; \
385 esac;
386am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
387am__install_max = 40
388am__nobase_strip_setup = \
389 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
390am__nobase_strip = \
391 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
392am__nobase_list = $(am__nobase_strip_setup); \
393 for p in $$list; do echo "$$p $$p"; done | \
394 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
395 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
396 if (++n[$$2] == $(am__install_max)) \
397 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
398 END { for (dir in files) print dir, files[dir] }'
399am__base_list = \
400 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
401 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
402am__uninstall_files_from_dir = { \
403 test -z "$$files" \
404 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
405 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
406 $(am__cd) "$$dir" && rm -f $$files; }; \
407 }
408am__recheck_rx = ^[ ]*:recheck:[ ]*
409am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
410am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
411# A command that, given a newline-separated list of test names on the
412# standard input, print the name of the tests that are to be re-run
413# upon "make recheck".
414am__list_recheck_tests = $(AWK) '{ \
415 recheck = 1; \
416 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
417 { \
418 if (rc < 0) \
419 { \
420 if ((getline line2 < ($$0 ".log")) < 0) \
421 recheck = 0; \
422 break; \
423 } \
424 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
425 { \
426 recheck = 0; \
427 break; \
428 } \
429 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
430 { \
431 break; \
432 } \
433 }; \
434 if (recheck) \
435 print $$0; \
436 close ($$0 ".trs"); \
437 close ($$0 ".log"); \
438}'
439# A command that, given a newline-separated list of test names on the
440# standard input, create the global log from their .trs and .log files.
441am__create_global_log = $(AWK) ' \
442function fatal(msg) \
443{ \
444 print "fatal: making $@: " msg | "cat >&2"; \
445 exit 1; \
446} \
447function rst_section(header) \
448{ \
449 print header; \
450 len = length(header); \
451 for (i = 1; i <= len; i = i + 1) \
452 printf "="; \
453 printf "\n\n"; \
454} \
455{ \
456 copy_in_global_log = 1; \
457 global_test_result = "RUN"; \
458 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
459 { \
460 if (rc < 0) \
461 fatal("failed to read from " $$0 ".trs"); \
462 if (line ~ /$(am__global_test_result_rx)/) \
463 { \
464 sub("$(am__global_test_result_rx)", "", line); \
465 sub("[ ]*$$", "", line); \
466 global_test_result = line; \
467 } \
468 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
469 copy_in_global_log = 0; \
470 }; \
471 if (copy_in_global_log) \
472 { \
473 rst_section(global_test_result ": " $$0); \
474 while ((rc = (getline line < ($$0 ".log"))) != 0) \
475 { \
476 if (rc < 0) \
477 fatal("failed to read from " $$0 ".log"); \
478 print line; \
479 }; \
480 printf "\n"; \
481 }; \
482 close ($$0 ".trs"); \
483 close ($$0 ".log"); \
484}'
485# Restructured Text title.
486am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
487# Solaris 10 'make', and several other traditional 'make' implementations,
488# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
489# by disabling -e (using the XSI extension "set +e") if it's set.
490am__sh_e_setup = case $$- in *e*) set +e;; esac
491# Default flags passed to test drivers.
492am__common_driver_flags = \
493 --color-tests "$$am__color_tests" \
494 --enable-hard-errors "$$am__enable_hard_errors" \
495 --expect-failure "$$am__expect_failure"
496# To be inserted before the command running the test. Creates the
497# directory for the log if needed. Stores in $dir the directory
498# containing $f, in $tst the test, in $log the log. Executes the
499# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
500# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
501# will run the test scripts (or their associated LOG_COMPILER, if
502# thy have one).
503am__check_pre = \
504$(am__sh_e_setup); \
505$(am__vpath_adj_setup) $(am__vpath_adj) \
506$(am__tty_colors); \
507srcdir=$(srcdir); export srcdir; \
508case "$@" in \
509 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
510 *) am__odir=.;; \
511esac; \
512test "x$$am__odir" = x"." || test -d "$$am__odir" \
513 || $(MKDIR_P) "$$am__odir" || exit $$?; \
514if test -f "./$$f"; then dir=./; \
515elif test -f "$$f"; then dir=; \
516else dir="$(srcdir)/"; fi; \
517tst=$$dir$$f; log='$@'; \
518if test -n '$(DISABLE_HARD_ERRORS)'; then \
519 am__enable_hard_errors=no; \
520else \
521 am__enable_hard_errors=yes; \
522fi; \
523case " $(XFAIL_TESTS) " in \
524 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
525 am__expect_failure=yes;; \
526 *) \
527 am__expect_failure=no;; \
528esac; \
529$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
530# A shell command to get the names of the tests scripts with any registered
531# extension removed (i.e., equivalently, the names of the test logs, with
532# the '.log' extension removed). The result is saved in the shell variable
533# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
534# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
535# since that might cause problem with VPATH rewrites for suffix-less tests.
536# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
537am__set_TESTS_bases = \
538 bases='$(TEST_LOGS)'; \
539 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
540 bases=`echo $$bases`
541RECHECK_LOGS = $(TEST_LOGS)
542TEST_SUITE_LOG = test-suite.log
543TEST_EXTENSIONS = @EXEEXT@ .test
544LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
545LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
546am__set_b = \
547 case '$@' in \
548 */*) \
549 case '$*' in \
550 */*) b='$*';; \
551 *) b=`echo '$@' | sed 's/\.log$$//'`; \
552 esac;; \
553 *) \
554 b='$*';; \
555 esac
556am__test_logs1 = $(TESTS:=.log)
557am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
558TEST_LOGS = $(am__test_logs2:.test.log=.log)
559TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
560TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
561 $(TEST_LOG_FLAGS)
6bddc3e8
MF
562DIST_SUBDIRS = $(SUBDIRS)
563ACLOCAL = @ACLOCAL@
564AMTAR = @AMTAR@
565AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
566AR = @AR@
aa0fca16 567AR_FOR_BUILD = @AR_FOR_BUILD@
6bddc3e8
MF
568AUTOCONF = @AUTOCONF@
569AUTOHEADER = @AUTOHEADER@
570AUTOMAKE = @AUTOMAKE@
571AWK = @AWK@
572CC = @CC@
573CCDEPMODE = @CCDEPMODE@
574CC_FOR_BUILD = @CC_FOR_BUILD@
575CFLAGS = @CFLAGS@
576CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
577CPP = @CPP@
578CPPFLAGS = @CPPFLAGS@
579CYGPATH_W = @CYGPATH_W@
c2783492 580C_DIALECT = @C_DIALECT@
6bddc3e8
MF
581DEFS = @DEFS@
582DEPDIR = @DEPDIR@
583ECHO_C = @ECHO_C@
584ECHO_N = @ECHO_N@
585ECHO_T = @ECHO_T@
c2783492 586EGREP = @EGREP@
6bddc3e8 587EXEEXT = @EXEEXT@
c2783492 588GREP = @GREP@
6bddc3e8
MF
589INSTALL = @INSTALL@
590INSTALL_DATA = @INSTALL_DATA@
591INSTALL_PROGRAM = @INSTALL_PROGRAM@
592INSTALL_SCRIPT = @INSTALL_SCRIPT@
593INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
594LDFLAGS = @LDFLAGS@
c2783492 595LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
6bddc3e8
MF
596LIBOBJS = @LIBOBJS@
597LIBS = @LIBS@
598LTLIBOBJS = @LTLIBOBJS@
8c379db2 599MAINT = @MAINT@
6bddc3e8
MF
600MAKEINFO = @MAKEINFO@
601MKDIR_P = @MKDIR_P@
602OBJEXT = @OBJEXT@
603PACKAGE = @PACKAGE@
604PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
605PACKAGE_NAME = @PACKAGE_NAME@
606PACKAGE_STRING = @PACKAGE_STRING@
607PACKAGE_TARNAME = @PACKAGE_TARNAME@
608PACKAGE_URL = @PACKAGE_URL@
609PACKAGE_VERSION = @PACKAGE_VERSION@
610PATH_SEPARATOR = @PATH_SEPARATOR@
611RANLIB = @RANLIB@
aa0fca16 612RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
6bddc3e8
MF
613SET_MAKE = @SET_MAKE@
614SHELL = @SHELL@
a0e674c1 615SIM_PRIMARY_TARGET = @SIM_PRIMARY_TARGET@
6bddc3e8
MF
616STRIP = @STRIP@
617VERSION = @VERSION@
618abs_builddir = @abs_builddir@
5e25901f 619abs_srcdir = @abs_srcdir@
6bddc3e8
MF
620abs_top_builddir = @abs_top_builddir@
621abs_top_srcdir = @abs_top_srcdir@
622ac_ct_CC = @ac_ct_CC@
623am__include = @am__include@
624am__leading_dot = @am__leading_dot@
625am__quote = @am__quote@
626am__tar = @am__tar@
627am__untar = @am__untar@
628bindir = @bindir@
629build = @build@
630build_alias = @build_alias@
631build_cpu = @build_cpu@
632build_os = @build_os@
633build_vendor = @build_vendor@
634builddir = @builddir@
635datadir = @datadir@
636datarootdir = @datarootdir@
637docdir = @docdir@
638dvidir = @dvidir@
c906108c 639exec_prefix = @exec_prefix@
6bddc3e8 640host = @host@
c906108c 641host_alias = @host_alias@
6bddc3e8
MF
642host_cpu = @host_cpu@
643host_os = @host_os@
644host_vendor = @host_vendor@
645htmldir = @htmldir@
646includedir = @includedir@
647infodir = @infodir@
648install_sh = @install_sh@
c906108c 649libdir = @libdir@
6bddc3e8
MF
650libexecdir = @libexecdir@
651localedir = @localedir@
652localstatedir = @localstatedir@
c906108c 653mandir = @mandir@
6bddc3e8
MF
654mkdir_p = @mkdir_p@
655oldincludedir = @oldincludedir@
656pdfdir = @pdfdir@
657prefix = @prefix@
658program_transform_name = @program_transform_name@
659psdir = @psdir@
660sbindir = @sbindir@
661sharedstatedir = @sharedstatedir@
662srcdir = @srcdir@
663subdirs = @subdirs@
664sysconfdir = @sysconfdir@
665target = @target@
666target_alias = @target_alias@
667target_cpu = @target_cpu@
668target_os = @target_os@
669target_vendor = @target_vendor@
670top_build_prefix = @top_build_prefix@
671top_builddir = @top_builddir@
672top_srcdir = @top_srcdir@
6c57b87f 673AUTOMAKE_OPTIONS = dejagnu foreign no-dist subdir-objects
c2783492 674ACLOCAL_AMFLAGS = -Im4 -I.. -I../config
6bddc3e8
MF
675srcroot = $(srcdir)/..
676SUBDIRS = @subdirs@
a0e674c1 677AM_MAKEFLAGS = SIM_PRIMARY_TARGET=$(SIM_PRIMARY_TARGET)
b6b1c790 678noinst_LIBRARIES = $(am__append_1)
a389375f
MF
679CLEANFILES = testsuite/common/bits-gen testsuite/common/bits32m0.c \
680 testsuite/common/bits32m31.c testsuite/common/bits64m0.c \
681 testsuite/common/bits64m63.c
682DISTCLEANFILES =
b6b1c790
MF
683MOSTLYCLEANFILES = core $(am__append_3) site-srcdir.exp testrun.log \
684 testrun.sum
a0c4531a 685AM_CPPFLAGS = -I$(srcroot)/include
c2783492
MF
686COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
687LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@
b6b1c790
MF
688@SIM_ENABLE_IGEN_TRUE@igen_libigen_a_SOURCES = \
689@SIM_ENABLE_IGEN_TRUE@ igen/table.c \
690@SIM_ENABLE_IGEN_TRUE@ igen/lf.c \
691@SIM_ENABLE_IGEN_TRUE@ igen/misc.c \
692@SIM_ENABLE_IGEN_TRUE@ igen/filter_host.c \
693@SIM_ENABLE_IGEN_TRUE@ igen/ld-decode.c \
694@SIM_ENABLE_IGEN_TRUE@ igen/ld-cache.c \
695@SIM_ENABLE_IGEN_TRUE@ igen/filter.c \
696@SIM_ENABLE_IGEN_TRUE@ igen/ld-insn.c \
697@SIM_ENABLE_IGEN_TRUE@ igen/gen-model.c \
698@SIM_ENABLE_IGEN_TRUE@ igen/gen-itable.c \
699@SIM_ENABLE_IGEN_TRUE@ igen/gen-icache.c \
700@SIM_ENABLE_IGEN_TRUE@ igen/gen-semantics.c \
701@SIM_ENABLE_IGEN_TRUE@ igen/gen-idecode.c \
702@SIM_ENABLE_IGEN_TRUE@ igen/gen-support.c \
703@SIM_ENABLE_IGEN_TRUE@ igen/gen-engine.c \
704@SIM_ENABLE_IGEN_TRUE@ igen/gen.c
705
706@SIM_ENABLE_IGEN_TRUE@igen_igen_SOURCES = igen/igen.c
707@SIM_ENABLE_IGEN_TRUE@igen_igen_LDADD = igen/libigen.a
708@SIM_ENABLE_IGEN_TRUE@igen_filter_SOURCES =
709@SIM_ENABLE_IGEN_TRUE@igen_filter_LDADD = igen/filter-main.o igen/libigen.a
710@SIM_ENABLE_IGEN_TRUE@igen_gen_SOURCES =
711@SIM_ENABLE_IGEN_TRUE@igen_gen_LDADD = igen/gen-main.o igen/libigen.a
712@SIM_ENABLE_IGEN_TRUE@igen_ld_cache_SOURCES =
713@SIM_ENABLE_IGEN_TRUE@igen_ld_cache_LDADD = igen/ld-cache-main.o igen/libigen.a
714@SIM_ENABLE_IGEN_TRUE@igen_ld_decode_SOURCES =
715@SIM_ENABLE_IGEN_TRUE@igen_ld_decode_LDADD = igen/ld-decode-main.o igen/libigen.a
716@SIM_ENABLE_IGEN_TRUE@igen_ld_insn_SOURCES =
717@SIM_ENABLE_IGEN_TRUE@igen_ld_insn_LDADD = igen/ld-insn-main.o igen/libigen.a
718@SIM_ENABLE_IGEN_TRUE@igen_table_SOURCES =
719@SIM_ENABLE_IGEN_TRUE@igen_table_LDADD = igen/table-main.o igen/libigen.a
720@SIM_ENABLE_IGEN_TRUE@igen_IGEN_TOOLS = \
721@SIM_ENABLE_IGEN_TRUE@ igen/igen \
722@SIM_ENABLE_IGEN_TRUE@ igen/filter \
723@SIM_ENABLE_IGEN_TRUE@ igen/gen \
724@SIM_ENABLE_IGEN_TRUE@ igen/ld-cache \
725@SIM_ENABLE_IGEN_TRUE@ igen/ld-decode \
726@SIM_ENABLE_IGEN_TRUE@ igen/ld-insn \
727@SIM_ENABLE_IGEN_TRUE@ igen/table
728
6c57b87f
MF
729
730# Tweak the site.exp so it works with plain `runtest` from user.
731EXTRA_DEJAGNU_SITE_CONFIG = site-srcdir.exp
a389375f
MF
732testsuite_common_CPPFLAGS = \
733 -I$(srcdir)/common \
0d315c88
DD
734 -I$(srcroot)/include \
735 -I../bfd
a389375f 736
6bddc3e8
MF
737all: all-recursive
738
739.SUFFIXES:
a389375f 740.SUFFIXES: .c .log .o .obj .test .test$(EXEEXT) .trs
6bddc3e8
MF
741am--refresh: Makefile
742 @:
a389375f 743$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/igen/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/common/local.mk $(am__configure_deps)
6bddc3e8
MF
744 @for dep in $?; do \
745 case '$(am__configure_deps)' in \
746 *$$dep*) \
747 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
748 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
749 && exit 0; \
750 exit 1;; \
751 esac; \
752 done; \
753 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
754 $(am__cd) $(top_srcdir) && \
755 $(AUTOMAKE) --foreign Makefile
756Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
757 @case '$?' in \
758 *config.status*) \
759 echo ' $(SHELL) ./config.status'; \
760 $(SHELL) ./config.status;; \
761 *) \
762 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
763 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
764 esac;
a389375f 765$(srcdir)/igen/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/common/local.mk $(am__empty):
6bddc3e8
MF
766
767$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
768 $(SHELL) ./config.status --recheck
c906108c 769
8c379db2 770$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
6bddc3e8 771 $(am__cd) $(srcdir) && $(AUTOCONF)
8c379db2 772$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
6bddc3e8
MF
773 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
774$(am__aclocal_m4_deps):
6bddc3e8 775
b6b1c790
MF
776clean-noinstLIBRARIES:
777 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
778igen/$(am__dirstamp):
779 @$(MKDIR_P) igen
780 @: > igen/$(am__dirstamp)
781igen/$(DEPDIR)/$(am__dirstamp):
782 @$(MKDIR_P) igen/$(DEPDIR)
783 @: > igen/$(DEPDIR)/$(am__dirstamp)
784igen/table.$(OBJEXT): igen/$(am__dirstamp) \
785 igen/$(DEPDIR)/$(am__dirstamp)
786igen/lf.$(OBJEXT): igen/$(am__dirstamp) igen/$(DEPDIR)/$(am__dirstamp)
787igen/misc.$(OBJEXT): igen/$(am__dirstamp) \
788 igen/$(DEPDIR)/$(am__dirstamp)
789igen/filter_host.$(OBJEXT): igen/$(am__dirstamp) \
790 igen/$(DEPDIR)/$(am__dirstamp)
791igen/ld-decode.$(OBJEXT): igen/$(am__dirstamp) \
792 igen/$(DEPDIR)/$(am__dirstamp)
793igen/ld-cache.$(OBJEXT): igen/$(am__dirstamp) \
794 igen/$(DEPDIR)/$(am__dirstamp)
795igen/filter.$(OBJEXT): igen/$(am__dirstamp) \
796 igen/$(DEPDIR)/$(am__dirstamp)
797igen/ld-insn.$(OBJEXT): igen/$(am__dirstamp) \
798 igen/$(DEPDIR)/$(am__dirstamp)
799igen/gen-model.$(OBJEXT): igen/$(am__dirstamp) \
800 igen/$(DEPDIR)/$(am__dirstamp)
801igen/gen-itable.$(OBJEXT): igen/$(am__dirstamp) \
802 igen/$(DEPDIR)/$(am__dirstamp)
803igen/gen-icache.$(OBJEXT): igen/$(am__dirstamp) \
804 igen/$(DEPDIR)/$(am__dirstamp)
805igen/gen-semantics.$(OBJEXT): igen/$(am__dirstamp) \
806 igen/$(DEPDIR)/$(am__dirstamp)
807igen/gen-idecode.$(OBJEXT): igen/$(am__dirstamp) \
808 igen/$(DEPDIR)/$(am__dirstamp)
809igen/gen-support.$(OBJEXT): igen/$(am__dirstamp) \
810 igen/$(DEPDIR)/$(am__dirstamp)
811igen/gen-engine.$(OBJEXT): igen/$(am__dirstamp) \
812 igen/$(DEPDIR)/$(am__dirstamp)
813igen/gen.$(OBJEXT): igen/$(am__dirstamp) \
814 igen/$(DEPDIR)/$(am__dirstamp)
815
aa0fca16
MF
816@SIM_ENABLE_IGEN_FALSE@igen/libigen.a: $(igen_libigen_a_OBJECTS) $(igen_libigen_a_DEPENDENCIES) $(EXTRA_igen_libigen_a_DEPENDENCIES) igen/$(am__dirstamp)
817@SIM_ENABLE_IGEN_FALSE@ $(AM_V_at)-rm -f igen/libigen.a
818@SIM_ENABLE_IGEN_FALSE@ $(AM_V_AR)$(igen_libigen_a_AR) igen/libigen.a $(igen_libigen_a_OBJECTS) $(igen_libigen_a_LIBADD)
819@SIM_ENABLE_IGEN_FALSE@ $(AM_V_at)$(RANLIB) igen/libigen.a
b6b1c790 820
a389375f
MF
821clean-checkPROGRAMS:
822 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
823
b6b1c790
MF
824igen/filter$(EXEEXT): $(igen_filter_OBJECTS) $(igen_filter_DEPENDENCIES) $(EXTRA_igen_filter_DEPENDENCIES) igen/$(am__dirstamp)
825 @rm -f igen/filter$(EXEEXT)
826 $(AM_V_CCLD)$(LINK) $(igen_filter_OBJECTS) $(igen_filter_LDADD) $(LIBS)
827
828igen/gen$(EXEEXT): $(igen_gen_OBJECTS) $(igen_gen_DEPENDENCIES) $(EXTRA_igen_gen_DEPENDENCIES) igen/$(am__dirstamp)
829 @rm -f igen/gen$(EXEEXT)
830 $(AM_V_CCLD)$(LINK) $(igen_gen_OBJECTS) $(igen_gen_LDADD) $(LIBS)
831igen/igen.$(OBJEXT): igen/$(am__dirstamp) \
832 igen/$(DEPDIR)/$(am__dirstamp)
833
834@SIM_ENABLE_IGEN_FALSE@igen/igen$(EXEEXT): $(igen_igen_OBJECTS) $(igen_igen_DEPENDENCIES) $(EXTRA_igen_igen_DEPENDENCIES) igen/$(am__dirstamp)
835@SIM_ENABLE_IGEN_FALSE@ @rm -f igen/igen$(EXEEXT)
836@SIM_ENABLE_IGEN_FALSE@ $(AM_V_CCLD)$(LINK) $(igen_igen_OBJECTS) $(igen_igen_LDADD) $(LIBS)
837
838igen/ld-cache$(EXEEXT): $(igen_ld_cache_OBJECTS) $(igen_ld_cache_DEPENDENCIES) $(EXTRA_igen_ld_cache_DEPENDENCIES) igen/$(am__dirstamp)
839 @rm -f igen/ld-cache$(EXEEXT)
840 $(AM_V_CCLD)$(LINK) $(igen_ld_cache_OBJECTS) $(igen_ld_cache_LDADD) $(LIBS)
841
842igen/ld-decode$(EXEEXT): $(igen_ld_decode_OBJECTS) $(igen_ld_decode_DEPENDENCIES) $(EXTRA_igen_ld_decode_DEPENDENCIES) igen/$(am__dirstamp)
843 @rm -f igen/ld-decode$(EXEEXT)
844 $(AM_V_CCLD)$(LINK) $(igen_ld_decode_OBJECTS) $(igen_ld_decode_LDADD) $(LIBS)
845
846igen/ld-insn$(EXEEXT): $(igen_ld_insn_OBJECTS) $(igen_ld_insn_DEPENDENCIES) $(EXTRA_igen_ld_insn_DEPENDENCIES) igen/$(am__dirstamp)
847 @rm -f igen/ld-insn$(EXEEXT)
848 $(AM_V_CCLD)$(LINK) $(igen_ld_insn_OBJECTS) $(igen_ld_insn_LDADD) $(LIBS)
849
850igen/table$(EXEEXT): $(igen_table_OBJECTS) $(igen_table_DEPENDENCIES) $(EXTRA_igen_table_DEPENDENCIES) igen/$(am__dirstamp)
851 @rm -f igen/table$(EXEEXT)
852 $(AM_V_CCLD)$(LINK) $(igen_table_OBJECTS) $(igen_table_LDADD) $(LIBS)
a389375f
MF
853testsuite/common/$(am__dirstamp):
854 @$(MKDIR_P) testsuite/common
855 @: > testsuite/common/$(am__dirstamp)
856testsuite/common/$(DEPDIR)/$(am__dirstamp):
857 @$(MKDIR_P) testsuite/common/$(DEPDIR)
858 @: > testsuite/common/$(DEPDIR)/$(am__dirstamp)
859testsuite/common/alu-tst.$(OBJEXT): testsuite/common/$(am__dirstamp) \
860 testsuite/common/$(DEPDIR)/$(am__dirstamp)
861testsuite/common/bits-gen.$(OBJEXT): testsuite/common/$(am__dirstamp) \
862 testsuite/common/$(DEPDIR)/$(am__dirstamp)
863testsuite/common/bits32m0.$(OBJEXT): testsuite/common/$(am__dirstamp) \
864 testsuite/common/$(DEPDIR)/$(am__dirstamp)
865testsuite/common/bits32m31.$(OBJEXT): \
866 testsuite/common/$(am__dirstamp) \
867 testsuite/common/$(DEPDIR)/$(am__dirstamp)
868testsuite/common/bits64m0.$(OBJEXT): testsuite/common/$(am__dirstamp) \
869 testsuite/common/$(DEPDIR)/$(am__dirstamp)
870testsuite/common/bits64m63.$(OBJEXT): \
871 testsuite/common/$(am__dirstamp) \
872 testsuite/common/$(DEPDIR)/$(am__dirstamp)
873testsuite/common/fpu-tst.$(OBJEXT): testsuite/common/$(am__dirstamp) \
874 testsuite/common/$(DEPDIR)/$(am__dirstamp)
b6b1c790
MF
875
876mostlyclean-compile:
877 -rm -f *.$(OBJEXT)
878 -rm -f igen/*.$(OBJEXT)
a389375f 879 -rm -f testsuite/common/*.$(OBJEXT)
b6b1c790
MF
880
881distclean-compile:
882 -rm -f *.tab.c
883
884@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter.Po@am__quote@
885@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter_host.Po@am__quote@
886@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-engine.Po@am__quote@
887@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-icache.Po@am__quote@
888@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-idecode.Po@am__quote@
889@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-itable.Po@am__quote@
890@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-model.Po@am__quote@
891@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-semantics.Po@am__quote@
892@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-support.Po@am__quote@
893@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen.Po@am__quote@
894@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/igen.Po@am__quote@
895@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/ld-cache.Po@am__quote@
896@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/ld-decode.Po@am__quote@
897@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/ld-insn.Po@am__quote@
898@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/lf.Po@am__quote@
899@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/misc.Po@am__quote@
900@AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/table.Po@am__quote@
a389375f
MF
901@AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/alu-tst.Po@am__quote@
902@AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/bits-gen.Po@am__quote@
903@AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/bits32m0.Po@am__quote@
904@AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/bits32m31.Po@am__quote@
905@AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/bits64m0.Po@am__quote@
906@AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/bits64m63.Po@am__quote@
907@AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/fpu-tst.Po@am__quote@
b6b1c790
MF
908
909.c.o:
910@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
911@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
912@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
913@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
914@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
915@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
916
917.c.obj:
918@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
919@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
920@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
921@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
922@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
923@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
924
6bddc3e8
MF
925# This directory's subdirectories are mostly independent; you can cd
926# into them and run 'make' without going through this Makefile.
927# To change the values of 'make' variables: instead of editing Makefiles,
928# (1) if the variable is set in 'config.status', edit 'config.status'
929# (which will cause the Makefiles to be regenerated when you run 'make');
930# (2) otherwise, pass the desired values on the 'make' command line.
931$(am__recursive_targets):
932 @fail=; \
933 if $(am__make_keepgoing); then \
934 failcom='fail=yes'; \
935 else \
936 failcom='exit 1'; \
937 fi; \
938 dot_seen=no; \
939 target=`echo $@ | sed s/-recursive//`; \
940 case "$@" in \
941 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
942 *) list='$(SUBDIRS)' ;; \
943 esac; \
944 for subdir in $$list; do \
945 echo "Making $$target in $$subdir"; \
946 if test "$$subdir" = "."; then \
947 dot_seen=yes; \
948 local_target="$$target-am"; \
949 else \
950 local_target="$$target"; \
951 fi; \
952 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
953 || eval $$failcom; \
954 done; \
955 if test "$$dot_seen" = "no"; then \
956 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
957 fi; test -z "$$fail"
958
959ID: $(am__tagged_files)
960 $(am__define_uniq_tagged_files); mkid -fID $$unique
961tags: tags-recursive
962TAGS: tags
963
964tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
965 set x; \
966 here=`pwd`; \
967 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
968 include_option=--etags-include; \
969 empty_fix=.; \
970 else \
971 include_option=--include; \
972 empty_fix=; \
973 fi; \
974 list='$(SUBDIRS)'; for subdir in $$list; do \
975 if test "$$subdir" = .; then :; else \
976 test ! -f $$subdir/TAGS || \
977 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
978 fi; \
979 done; \
980 $(am__define_uniq_tagged_files); \
981 shift; \
982 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
983 test -n "$$unique" || unique=$$empty_fix; \
984 if test $$# -gt 0; then \
985 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
986 "$$@" $$unique; \
987 else \
988 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
989 $$unique; \
990 fi; \
991 fi
992ctags: ctags-recursive
993
994CTAGS: ctags
995ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
996 $(am__define_uniq_tagged_files); \
997 test -z "$(CTAGS_ARGS)$$unique" \
998 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
999 $$unique
1000
1001GTAGS:
1002 here=`$(am__cd) $(top_builddir) && pwd` \
1003 && $(am__cd) $(top_srcdir) \
1004 && gtags -i $(GTAGS_ARGS) "$$here"
1005cscope: cscope.files
1006 test ! -s cscope.files \
1007 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1008clean-cscope:
1009 -rm -f cscope.files
1010cscope.files: clean-cscope cscopelist
1011cscopelist: cscopelist-recursive
1012
1013cscopelist-am: $(am__tagged_files)
1014 list='$(am__tagged_files)'; \
1015 case "$(srcdir)" in \
1016 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1017 *) sdir=$(subdir)/$(srcdir) ;; \
1018 esac; \
1019 for i in $$list; do \
1020 if test -f "$$i"; then \
1021 echo "$(subdir)/$$i"; \
1022 else \
1023 echo "$$sdir/$$i"; \
1024 fi; \
1025 done >> $(top_builddir)/cscope.files
1026
1027distclean-tags:
1028 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1029 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
6c57b87f
MF
1030site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
1031 @echo 'Making a new site.exp file ...'
1032 @echo '## these variables are automatically generated by make ##' >site.tmp
1033 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
1034 @echo '# edit the last section' >>site.tmp
1035 @echo 'set srcdir "$(srcdir)"' >>site.tmp
1036 @echo "set objdir `pwd`" >>site.tmp
1037 @echo 'set build_alias "$(build_alias)"' >>site.tmp
1038 @echo 'set build_triplet $(build_triplet)' >>site.tmp
1039 @echo 'set host_alias "$(host_alias)"' >>site.tmp
1040 @echo 'set host_triplet $(host_triplet)' >>site.tmp
1041 @echo 'set target_alias "$(target_alias)"' >>site.tmp
1042 @echo 'set target_triplet $(target_triplet)' >>site.tmp
1043 @list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \
1044 echo "## Begin content included from file $$f. Do not modify. ##" \
1045 && cat `test -f "$$f" || echo '$(srcdir)/'`$$f \
1046 && echo "## End content included from file $$f. ##" \
1047 || exit 1; \
1048 done >> site.tmp
1049 @echo "## End of auto-generated content; you can edit from here. ##" >> site.tmp
1050 @if test -f site.exp; then \
1051 sed -e '1,/^## End of auto-generated content.*##/d' site.exp >> site.tmp; \
1052 fi
1053 @-rm -f site.bak
1054 @test ! -f site.exp || mv site.exp site.bak
1055 @mv site.tmp site.exp
1056
1057distclean-DEJAGNU:
1058 -rm -f site.exp site.bak
1059 -l='$(DEJATOOL)'; for tool in $$l; do \
1060 rm -f $$tool.sum $$tool.log; \
1061 done
a389375f
MF
1062
1063# Recover from deleted '.trs' file; this should ensure that
1064# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1065# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
1066# to avoid problems with "make -n".
1067.log.trs:
1068 rm -f $< $@
1069 $(MAKE) $(AM_MAKEFLAGS) $<
1070
1071# Leading 'am--fnord' is there to ensure the list of targets does not
1072# expand to empty, as could happen e.g. with make check TESTS=''.
1073am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1074am--force-recheck:
1075 @:
1076
1077$(TEST_SUITE_LOG): $(TEST_LOGS)
1078 @$(am__set_TESTS_bases); \
1079 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1080 redo_bases=`for i in $$bases; do \
1081 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1082 done`; \
1083 if test -n "$$redo_bases"; then \
1084 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1085 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1086 if $(am__make_dryrun); then :; else \
1087 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1088 fi; \
1089 fi; \
1090 if test -n "$$am__remaking_logs"; then \
1091 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1092 "recursion detected" >&2; \
1093 elif test -n "$$redo_logs"; then \
1094 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1095 fi; \
1096 if $(am__make_dryrun); then :; else \
1097 st=0; \
1098 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1099 for i in $$redo_bases; do \
1100 test -f $$i.trs && test -r $$i.trs \
1101 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1102 test -f $$i.log && test -r $$i.log \
1103 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1104 done; \
1105 test $$st -eq 0 || exit 1; \
1106 fi
1107 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1108 ws='[ ]'; \
1109 results=`for b in $$bases; do echo $$b.trs; done`; \
1110 test -n "$$results" || results=/dev/null; \
1111 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1112 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1113 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1114 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1115 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1116 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1117 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1118 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1119 success=true; \
1120 else \
1121 success=false; \
1122 fi; \
1123 br='==================='; br=$$br$$br$$br$$br; \
1124 result_count () \
1125 { \
1126 if test x"$$1" = x"--maybe-color"; then \
1127 maybe_colorize=yes; \
1128 elif test x"$$1" = x"--no-color"; then \
1129 maybe_colorize=no; \
1130 else \
1131 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1132 fi; \
1133 shift; \
1134 desc=$$1 count=$$2; \
1135 if test $$maybe_colorize = yes && test $$count -gt 0; then \
1136 color_start=$$3 color_end=$$std; \
1137 else \
1138 color_start= color_end=; \
1139 fi; \
1140 echo "$${color_start}# $$desc $$count$${color_end}"; \
1141 }; \
1142 create_testsuite_report () \
1143 { \
1144 result_count $$1 "TOTAL:" $$all "$$brg"; \
1145 result_count $$1 "PASS: " $$pass "$$grn"; \
1146 result_count $$1 "SKIP: " $$skip "$$blu"; \
1147 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1148 result_count $$1 "FAIL: " $$fail "$$red"; \
1149 result_count $$1 "XPASS:" $$xpass "$$red"; \
1150 result_count $$1 "ERROR:" $$error "$$mgn"; \
1151 }; \
1152 { \
1153 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1154 $(am__rst_title); \
1155 create_testsuite_report --no-color; \
1156 echo; \
1157 echo ".. contents:: :depth: 2"; \
1158 echo; \
1159 for b in $$bases; do echo $$b; done \
1160 | $(am__create_global_log); \
1161 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1162 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1163 if $$success; then \
1164 col="$$grn"; \
1165 else \
1166 col="$$red"; \
1167 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1168 fi; \
1169 echo "$${col}$$br$${std}"; \
1170 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1171 echo "$${col}$$br$${std}"; \
1172 create_testsuite_report --maybe-color; \
1173 echo "$$col$$br$$std"; \
1174 if $$success; then :; else \
1175 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1176 if test -n "$(PACKAGE_BUGREPORT)"; then \
1177 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1178 fi; \
1179 echo "$$col$$br$$std"; \
1180 fi; \
1181 $$success || exit 1
1182
1183check-TESTS:
1184 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1185 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1186 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1187 @set +e; $(am__set_TESTS_bases); \
1188 log_list=`for i in $$bases; do echo $$i.log; done`; \
1189 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1190 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1191 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1192 exit $$?;
1193recheck: all $(check_PROGRAMS)
1194 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1195 @set +e; $(am__set_TESTS_bases); \
1196 bases=`for i in $$bases; do echo $$i; done \
1197 | $(am__list_recheck_tests)` || exit 1; \
1198 log_list=`for i in $$bases; do echo $$i.log; done`; \
1199 log_list=`echo $$log_list`; \
1200 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1201 am__force_recheck=am--force-recheck \
1202 TEST_LOGS="$$log_list"; \
1203 exit $$?
1204testsuite/common/bits32m0.log: testsuite/common/bits32m0$(EXEEXT)
1205 @p='testsuite/common/bits32m0$(EXEEXT)'; \
1206 b='testsuite/common/bits32m0'; \
1207 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1208 --log-file $$b.log --trs-file $$b.trs \
1209 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1210 "$$tst" $(AM_TESTS_FD_REDIRECT)
1211testsuite/common/bits32m31.log: testsuite/common/bits32m31$(EXEEXT)
1212 @p='testsuite/common/bits32m31$(EXEEXT)'; \
1213 b='testsuite/common/bits32m31'; \
1214 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1215 --log-file $$b.log --trs-file $$b.trs \
1216 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1217 "$$tst" $(AM_TESTS_FD_REDIRECT)
1218testsuite/common/bits64m0.log: testsuite/common/bits64m0$(EXEEXT)
1219 @p='testsuite/common/bits64m0$(EXEEXT)'; \
1220 b='testsuite/common/bits64m0'; \
1221 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1222 --log-file $$b.log --trs-file $$b.trs \
1223 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1224 "$$tst" $(AM_TESTS_FD_REDIRECT)
1225testsuite/common/bits64m63.log: testsuite/common/bits64m63$(EXEEXT)
1226 @p='testsuite/common/bits64m63$(EXEEXT)'; \
1227 b='testsuite/common/bits64m63'; \
1228 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1229 --log-file $$b.log --trs-file $$b.trs \
1230 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1231 "$$tst" $(AM_TESTS_FD_REDIRECT)
1232testsuite/common/alu-tst.log: testsuite/common/alu-tst$(EXEEXT)
1233 @p='testsuite/common/alu-tst$(EXEEXT)'; \
1234 b='testsuite/common/alu-tst'; \
1235 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1236 --log-file $$b.log --trs-file $$b.trs \
1237 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1238 "$$tst" $(AM_TESTS_FD_REDIRECT)
1239.test.log:
1240 @p='$<'; \
1241 $(am__set_b); \
1242 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1243 --log-file $$b.log --trs-file $$b.trs \
1244 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1245 "$$tst" $(AM_TESTS_FD_REDIRECT)
1246@am__EXEEXT_TRUE@.test$(EXEEXT).log:
1247@am__EXEEXT_TRUE@ @p='$<'; \
1248@am__EXEEXT_TRUE@ $(am__set_b); \
1249@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1250@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1251@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1252@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
6bddc3e8 1253check-am: all-am
a389375f
MF
1254 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1255 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-TESTS
6bddc3e8 1256check: check-recursive
b6b1c790 1257all-am: Makefile $(LIBRARIES)
6bddc3e8
MF
1258installdirs: installdirs-recursive
1259installdirs-am:
1260install: install-recursive
1261install-exec: install-exec-recursive
1262install-data: install-data-recursive
1263uninstall: uninstall-recursive
1264
1265install-am: all-am
1266 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1267
1268installcheck: installcheck-recursive
1269install-strip:
1270 if test -z '$(STRIP)'; then \
1271 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1272 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1273 install; \
1274 else \
1275 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1276 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1277 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1278 fi
1279mostlyclean-generic:
1280 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
a389375f
MF
1281 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1282 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1283 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
c906108c 1284
6bddc3e8 1285clean-generic:
a389375f 1286 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
c906108c 1287
6bddc3e8
MF
1288distclean-generic:
1289 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1290 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
b6b1c790
MF
1291 -rm -f igen/$(DEPDIR)/$(am__dirstamp)
1292 -rm -f igen/$(am__dirstamp)
a389375f
MF
1293 -rm -f testsuite/common/$(DEPDIR)/$(am__dirstamp)
1294 -rm -f testsuite/common/$(am__dirstamp)
1295 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
c906108c 1296
6bddc3e8
MF
1297maintainer-clean-generic:
1298 @echo "This command is intended for maintainers to use"
1299 @echo "it deletes files that may require special tools to rebuild."
1300clean: clean-recursive
c906108c 1301
a389375f
MF
1302clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1303 mostlyclean-am
c906108c 1304
6bddc3e8
MF
1305distclean: distclean-recursive
1306 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
a389375f 1307 -rm -rf igen/$(DEPDIR) testsuite/common/$(DEPDIR)
6bddc3e8 1308 -rm -f Makefile
b6b1c790
MF
1309distclean-am: clean-am distclean-DEJAGNU distclean-compile \
1310 distclean-generic distclean-tags
c906108c 1311
6bddc3e8 1312dvi: dvi-recursive
c906108c 1313
6bddc3e8 1314dvi-am:
c906108c 1315
6bddc3e8 1316html: html-recursive
c906108c 1317
6bddc3e8 1318html-am:
c906108c 1319
6bddc3e8
MF
1320info: info-recursive
1321
1322info-am:
1323
1324install-data-am:
1325
1326install-dvi: install-dvi-recursive
1327
1328install-dvi-am:
1329
1330install-exec-am:
1331
1332install-html: install-html-recursive
1333
1334install-html-am:
1335
1336install-info: install-info-recursive
1337
1338install-info-am:
1339
1340install-man:
1341
1342install-pdf: install-pdf-recursive
1343
1344install-pdf-am:
1345
1346install-ps: install-ps-recursive
1347
1348install-ps-am:
1349
1350installcheck-am:
1351
1352maintainer-clean: maintainer-clean-recursive
1353 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1354 -rm -rf $(top_srcdir)/autom4te.cache
a389375f 1355 -rm -rf igen/$(DEPDIR) testsuite/common/$(DEPDIR)
6bddc3e8
MF
1356 -rm -f Makefile
1357maintainer-clean-am: distclean-am maintainer-clean-generic
1358
1359mostlyclean: mostlyclean-recursive
1360
b6b1c790 1361mostlyclean-am: mostlyclean-compile mostlyclean-generic
6bddc3e8
MF
1362
1363pdf: pdf-recursive
1364
1365pdf-am:
1366
1367ps: ps-recursive
1368
1369ps-am:
1370
1371uninstall-am:
1372
6c57b87f 1373.MAKE: $(am__recursive_targets) check-am install-am install-strip
6bddc3e8
MF
1374
1375.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
a389375f
MF
1376 am--refresh check check-DEJAGNU check-TESTS check-am clean \
1377 clean-checkPROGRAMS clean-cscope clean-generic \
1378 clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am \
1379 distclean distclean-DEJAGNU distclean-compile \
b6b1c790
MF
1380 distclean-generic distclean-tags dvi dvi-am html html-am info \
1381 info-am install install-am install-data install-data-am \
1382 install-dvi install-dvi-am install-exec install-exec-am \
1383 install-html install-html-am install-info install-info-am \
1384 install-man install-pdf install-pdf-am install-ps \
1385 install-ps-am install-strip installcheck installcheck-am \
1386 installdirs installdirs-am maintainer-clean \
1387 maintainer-clean-generic mostlyclean mostlyclean-compile \
a389375f
MF
1388 mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \
1389 uninstall uninstall-am
6bddc3e8
MF
1390
1391.PRECIOUS: Makefile
c906108c 1392
c906108c 1393
5e25901f
MF
1394# Generate nltvals.def for newlib/libgloss using devo and build tree.
1395# This file is shipped with distributions so we build in the source dir.
1396# Use `make nltvals' to rebuild.
1397# Note: If gdb releases begin to contain target header files (not a good idea,
1398# but if they did ...), nltvals.def coud be generated at build time.
1399# An alternative is to slurp in the tables at runtime.
1400.PHONY: nltvals
1401nltvals:
6bddc3e8 1402 $(abs_srcdir)/common/gennltvals.py --cpp "$(CPP)" --output nltvals.def --srcroot $(srcroot)
5e25901f
MF
1403 $(SHELL) $(srcroot)/move-if-change nltvals.def $(abs_srcdir)/common/nltvals.def
1404
b6b1c790
MF
1405# This makes sure igen is available before building the arch-subdirs which
1406# need to run the igen tool.
1407@SIM_ENABLE_IGEN_TRUE@all-recursive: igen/igen$(EXEEXT)
1408
1409# Alias for developers.
1410@SIM_ENABLE_IGEN_TRUE@igen: igen/igen$(EXEEXT)
1411
aa0fca16
MF
1412# These rules are copied from automake, but tweaked to use FOR_BUILD variables.
1413@SIM_ENABLE_IGEN_TRUE@igen/libigen.a: $(igen_libigen_a_OBJECTS) $(igen_libigen_a_DEPENDENCIES) $(EXTRA_igen_libigen_a_DEPENDENCIES) igen/$(am__dirstamp)
1414@SIM_ENABLE_IGEN_TRUE@ $(AM_V_at)-rm -f $@
1415@SIM_ENABLE_IGEN_TRUE@ $(AM_V_AR)$(AR_FOR_BUILD) $(ARFLAGS) $@ $(igen_libigen_a_OBJECTS) $(igen_libigen_a_LIBADD)
1416@SIM_ENABLE_IGEN_TRUE@ $(AM_V_at)$(RANLIB_FOR_BUILD) $@
1417
b6b1c790
MF
1418@SIM_ENABLE_IGEN_TRUE@igen/igen$(EXEEXT): $(igen_igen_OBJECTS) $(igen_igen_DEPENDENCIES) igen/$(am__dirstamp)
1419@SIM_ENABLE_IGEN_TRUE@ $(AM_V_CCLD)$(LINK_FOR_BUILD) $(igen_igen_OBJECTS) $(igen_igen_LDADD)
1420
1421# igen is a build-time only tool. Override the default rules for it.
1422@SIM_ENABLE_IGEN_TRUE@igen/%.o: igen/%.c
1423@SIM_ENABLE_IGEN_TRUE@ $(AM_V_CC)$(COMPILE_FOR_BUILD) -c $< -o $@
1424
1425# Build some of the files in standalone mode for developers of igen itself.
1426@SIM_ENABLE_IGEN_TRUE@igen/%-main.o: igen/%.c
1427@SIM_ENABLE_IGEN_TRUE@ $(AM_V_CC)$(COMPILE_FOR_BUILD) -DMAIN -c $< -o $@
1428
6c57b87f
MF
1429site-srcdir.exp: Makefile
1430 echo "set srcdir \"$(srcdir)/testsuite\"" > $@
1431
1432check-DEJAGNU: site.exp
1433 LC_ALL=C; export LC_ALL; \
1434 EXPECT=${EXPECT} ; export EXPECT ; \
1435 runtest=$(RUNTEST); \
1436 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1437 $$runtest $(RUNTESTFLAGS); \
1438 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1439 fi
1440
a389375f
MF
1441# These tests are build-time only tools. Override the default rules for them.
1442testsuite/common/%.o: testsuite/common/%.c
1443 $(AM_V_CC)$(COMPILE_FOR_BUILD) $(testsuite_common_CPPFLAGS) -c $< -o $@
1444
1445testsuite/common/alu-tst$(EXEEXT): $(testsuite_common_alu_tst_OBJECTS) $(testsuite_common_alu_tst_DEPENDENCIES) testsuite/common/$(am__dirstamp)
1446 $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_alu_tst_OBJECTS) $(testsuite_common_alu_tst_LDADD)
1447
1448testsuite/common/fpu-tst$(EXEEXT): $(testsuite_common_fpu_tst_OBJECTS) $(testsuite_common_fpu_tst_DEPENDENCIES) testsuite/common/$(am__dirstamp)
1449 $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_fpu_tst_OBJECTS) $(testsuite_common_fpu_tst_LDADD)
1450
1451testsuite/common/bits-gen$(EXEEXT): $(testsuite_common_bits_gen_OBJECTS) $(testsuite_common_bits_gen_DEPENDENCIES) testsuite/common/$(am__dirstamp)
1452 $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits_gen_OBJECTS) $(testsuite_common_bits_gen_LDADD)
1453
1454testsuite/common/bits32m0$(EXEEXT): $(testsuite_common_bits32m0_OBJECTS) $(testsuite_common_bits32m0_DEPENDENCIES) testsuite/common/$(am__dirstamp)
1455 $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits32m0_OBJECTS) $(testsuite_common_bits32m0_LDADD)
1456
1457testsuite/common/bits32m0.c: testsuite/common/bits-gen testsuite/common/bits-tst.c
1458 $< 32 0 big > $@.tmp
1459 cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp
1460 mv $@.tmp $@
1461
1462testsuite/common/bits32m31$(EXEEXT): $(testsuite_common_bits32m31_OBJECTS) $(testsuite_common_bits32m31_DEPENDENCIES) testsuite/common/$(am__dirstamp)
1463 $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits32m31_OBJECTS) $(testsuite_common_bits32m31_LDADD)
1464
1465testsuite/common/bits32m31.c: testsuite/common/bits-gen testsuite/common/bits-tst.c
1466 $< 32 31 little > $@.tmp
1467 cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp
1468 mv $@.tmp $@
1469
1470testsuite/common/bits64m0$(EXEEXT): $(testsuite_common_bits64m0_OBJECTS) $(testsuite_common_bits64m0_DEPENDENCIES) testsuite/common/$(am__dirstamp)
1471 $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits64m0_OBJECTS) $(testsuite_common_bits64m0_LDADD)
1472
1473testsuite/common/bits64m0.c: testsuite/common/bits-gen testsuite/common/bits-tst.c
1474 $< 64 0 big > $@.tmp
1475 cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp
1476 mv $@.tmp $@
1477
1478testsuite/common/bits64m63$(EXEEXT): $(testsuite_common_bits64m63_OBJECTS) $(testsuite_common_bits64m63_DEPENDENCIES) testsuite/common/$(am__dirstamp)
1479 $(AM_V_CCLD)$(LINK_FOR_BUILD) $(testsuite_common_bits64m63_OBJECTS) $(testsuite_common_bits64m63_LDADD)
1480
1481testsuite/common/bits64m63.c: testsuite/common/bits-gen testsuite/common/bits-tst.c
1482 $< 64 63 little > $@.tmp
1483 cat $(srcdir)/testsuite/common/bits-tst.c >> $@.tmp
1484 mv $@.tmp $@
1485
6bddc3e8
MF
1486# Tell versions [3.59,3.63) of GNU make to not export all variables.
1487# Otherwise a system limit (for SysV at least) may be exceeded.
1488.NOEXPORT:
This page took 1.01464 seconds and 4 git commands to generate.