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