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