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