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