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