]>
Commit | Line | Data |
---|---|---|
22e05272 | 1 | # Makefile.in generated by automake 1.15.1 from Makefile.am. |
eff02e4f ILT |
2 | # @configure_input@ |
3 | ||
22e05272 JM |
4 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. |
5 | ||
eff02e4f ILT |
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 | # Makefile.am -- Backtrace Makefile. | |
2206fb89 | 18 | # Copyright (C) 2012-2018 Free Software Foundation, Inc. |
eff02e4f ILT |
19 | |
20 | # Redistribution and use in source and binary forms, with or without | |
21 | # modification, are permitted provided that the following conditions are | |
22 | # met: | |
23 | ||
24 | # (1) Redistributions of source code must retain the above copyright | |
84ebf639 | 25 | # notice, this list of conditions and the following disclaimer. |
eff02e4f ILT |
26 | |
27 | # (2) Redistributions in binary form must reproduce the above copyright | |
28 | # notice, this list of conditions and the following disclaimer in | |
29 | # the documentation and/or other materials provided with the | |
84ebf639 | 30 | # distribution. |
eff02e4f ILT |
31 | |
32 | # (3) The name of the author may not be used to | |
33 | # endorse or promote products derived from this software without | |
34 | # specific prior written permission. | |
35 | ||
36 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | |
37 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
38 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
39 | # DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, | |
40 | # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
41 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
42 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
43 | # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | |
44 | # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | |
45 | # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
46 | # POSSIBILITY OF SUCH DAMAGE. | |
47 | ||
48 | VPATH = @srcdir@ | |
22e05272 JM |
49 | am__is_gnu_make = { \ |
50 | if test -z '$(MAKELEVEL)'; then \ | |
51 | false; \ | |
52 | elif test -n '$(MAKE_HOST)'; then \ | |
53 | true; \ | |
54 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | |
55 | true; \ | |
56 | else \ | |
57 | false; \ | |
58 | fi; \ | |
59 | } | |
60 | am__make_running_with_option = \ | |
61 | case $${target_option-} in \ | |
62 | ?) ;; \ | |
63 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
64 | "target option '$${target_option-}' specified" >&2; \ | |
65 | exit 1;; \ | |
66 | esac; \ | |
67 | has_opt=no; \ | |
68 | sane_makeflags=$$MAKEFLAGS; \ | |
69 | if $(am__is_gnu_make); then \ | |
70 | sane_makeflags=$$MFLAGS; \ | |
71 | else \ | |
df96c0f7 MH |
72 | case $$MAKEFLAGS in \ |
73 | *\\[\ \ ]*) \ | |
22e05272 JM |
74 | bs=\\; \ |
75 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
76 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
df96c0f7 | 77 | esac; \ |
22e05272 JM |
78 | fi; \ |
79 | skip_next=no; \ | |
80 | strip_trailopt () \ | |
81 | { \ | |
82 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
83 | }; \ | |
84 | for flg in $$sane_makeflags; do \ | |
85 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
86 | case $$flg in \ | |
87 | *=*|--*) continue;; \ | |
88 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
89 | -*I?*) strip_trailopt 'I';; \ | |
90 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
91 | -*O?*) strip_trailopt 'O';; \ | |
92 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
93 | -*l?*) strip_trailopt 'l';; \ | |
94 | -[dEDm]) skip_next=yes;; \ | |
95 | -[JT]) skip_next=yes;; \ | |
96 | esac; \ | |
97 | case $$flg in \ | |
98 | *$$target_option*) has_opt=yes; break;; \ | |
99 | esac; \ | |
100 | done; \ | |
101 | test $$has_opt = yes | |
102 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
103 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
eff02e4f ILT |
104 | pkgdatadir = $(datadir)/@PACKAGE@ |
105 | pkgincludedir = $(includedir)/@PACKAGE@ | |
106 | pkglibdir = $(libdir)/@PACKAGE@ | |
107 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
108 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
109 | install_sh_DATA = $(install_sh) -c -m 644 | |
110 | install_sh_PROGRAM = $(install_sh) -c | |
111 | install_sh_SCRIPT = $(install_sh) -c | |
112 | INSTALL_HEADER = $(INSTALL_DATA) | |
113 | transform = $(program_transform_name) | |
114 | NORMAL_INSTALL = : | |
115 | PRE_INSTALL = : | |
116 | POST_INSTALL = : | |
117 | NORMAL_UNINSTALL = : | |
118 | PRE_UNINSTALL = : | |
119 | POST_UNINSTALL = : | |
120 | build_triplet = @build@ | |
121 | host_triplet = @host@ | |
122 | target_triplet = @target@ | |
8da872d9 ILT |
123 | check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) |
124 | @NATIVE_TRUE@am__append_1 = btest stest ztest edtest | |
125 | @HAVE_ZLIB_TRUE@@NATIVE_TRUE@am__append_2 = -lz | |
126 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@am__append_3 = ttest | |
127 | @HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__append_4 = dtest | |
128 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am__append_5 = ctestg ctesta | |
eff02e4f | 129 | subdir = . |
eff02e4f | 130 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
44685d37 IT |
131 | am__aclocal_m4_deps = $(top_srcdir)/../config/cet.m4 \ |
132 | $(top_srcdir)/../config/enable.m4 \ | |
133 | $(top_srcdir)/../config/lead-dot.m4 \ | |
eff02e4f ILT |
134 | $(top_srcdir)/../config/multi.m4 \ |
135 | $(top_srcdir)/../config/override.m4 \ | |
76850556 | 136 | $(top_srcdir)/../config/stdint.m4 \ |
eff02e4f ILT |
137 | $(top_srcdir)/../config/unwind_ipinfo.m4 \ |
138 | $(top_srcdir)/../config/warnings.m4 \ | |
139 | $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \ | |
140 | $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \ | |
141 | $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac | |
142 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
143 | $(ACLOCAL_M4) | |
22e05272 JM |
144 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
145 | $(am__configure_deps) | |
eff02e4f ILT |
146 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
147 | configure.lineno config.status.lineno | |
148 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
149 | CONFIG_HEADER = config.h | |
150 | CONFIG_CLEAN_FILES = backtrace-supported.h | |
151 | CONFIG_CLEAN_VPATH_FILES = | |
152 | LTLIBRARIES = $(noinst_LTLIBRARIES) | |
153 | am__DEPENDENCIES_1 = | |
49579c7e | 154 | am_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo fileline.lo posix.lo \ |
c5604b48 | 155 | print.lo sort.lo state.lo |
eff02e4f | 156 | libbacktrace_la_OBJECTS = $(am_libbacktrace_la_OBJECTS) |
22e05272 JM |
157 | AM_V_lt = $(am__v_lt_@AM_V@) |
158 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
159 | am__v_lt_0 = --silent | |
160 | am__v_lt_1 = | |
281161d1 | 161 | @NATIVE_TRUE@am__EXEEXT_1 = btest$(EXEEXT) stest$(EXEEXT) \ |
8da872d9 | 162 | @NATIVE_TRUE@ ztest$(EXEEXT) edtest$(EXEEXT) |
d1609a23 | 163 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@am__EXEEXT_2 = ttest$(EXEEXT) |
8da872d9 ILT |
164 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am__EXEEXT_3 = \ |
165 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg$(EXEEXT) \ | |
166 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta$(EXEEXT) | |
d1609a23 ILT |
167 | @NATIVE_TRUE@am_btest_OBJECTS = btest-btest.$(OBJEXT) \ |
168 | @NATIVE_TRUE@ btest-testlib.$(OBJEXT) | |
eff02e4f ILT |
169 | btest_OBJECTS = $(am_btest_OBJECTS) |
170 | @NATIVE_TRUE@btest_DEPENDENCIES = libbacktrace.la | |
22e05272 JM |
171 | btest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
172 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(btest_CFLAGS) $(CFLAGS) \ | |
173 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
8da872d9 ILT |
174 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am_ctesta_OBJECTS = ctesta-btest.$(OBJEXT) \ |
175 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta-testlib.$(OBJEXT) | |
176 | ctesta_OBJECTS = $(am_ctesta_OBJECTS) | |
177 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctesta_DEPENDENCIES = \ | |
178 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ libbacktrace.la | |
22e05272 JM |
179 | ctesta_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
180 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(ctesta_CFLAGS) $(CFLAGS) \ | |
8da872d9 ILT |
181 | $(ctesta_LDFLAGS) $(LDFLAGS) -o $@ |
182 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am_ctestg_OBJECTS = ctestg-btest.$(OBJEXT) \ | |
183 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg-testlib.$(OBJEXT) | |
184 | ctestg_OBJECTS = $(am_ctestg_OBJECTS) | |
185 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctestg_DEPENDENCIES = \ | |
186 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ libbacktrace.la | |
22e05272 JM |
187 | ctestg_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
188 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(ctestg_CFLAGS) $(CFLAGS) \ | |
8da872d9 | 189 | $(ctestg_LDFLAGS) $(LDFLAGS) -o $@ |
281161d1 | 190 | @NATIVE_TRUE@am_edtest_OBJECTS = edtest.$(OBJEXT) \ |
d1609a23 | 191 | @NATIVE_TRUE@ edtest2_build.$(OBJEXT) testlib.$(OBJEXT) |
281161d1 TM |
192 | edtest_OBJECTS = $(am_edtest_OBJECTS) |
193 | @NATIVE_TRUE@edtest_DEPENDENCIES = libbacktrace.la | |
c5604b48 ILT |
194 | @NATIVE_TRUE@am_stest_OBJECTS = stest.$(OBJEXT) |
195 | stest_OBJECTS = $(am_stest_OBJECTS) | |
196 | @NATIVE_TRUE@stest_DEPENDENCIES = libbacktrace.la | |
d1609a23 ILT |
197 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@am_ttest_OBJECTS = \ |
198 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ ttest-ttest.$(OBJEXT) \ | |
199 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ ttest-testlib.$(OBJEXT) | |
200 | ttest_OBJECTS = $(am_ttest_OBJECTS) | |
201 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_DEPENDENCIES = libbacktrace.la | |
22e05272 JM |
202 | ttest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
203 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(ttest_CFLAGS) $(CFLAGS) \ | |
204 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
8da872d9 ILT |
205 | @NATIVE_TRUE@am_ztest_OBJECTS = ztest-ztest.$(OBJEXT) \ |
206 | @NATIVE_TRUE@ ztest-testlib.$(OBJEXT) | |
207 | ztest_OBJECTS = $(am_ztest_OBJECTS) | |
208 | @NATIVE_TRUE@ztest_DEPENDENCIES = libbacktrace.la \ | |
dd954c67 | 209 | @NATIVE_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) |
22e05272 JM |
210 | ztest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
211 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(ztest_CFLAGS) $(CFLAGS) \ | |
212 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
213 | AM_V_P = $(am__v_P_@AM_V@) | |
214 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
215 | am__v_P_0 = false | |
216 | am__v_P_1 = : | |
217 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
218 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
219 | am__v_GEN_0 = @echo " GEN " $@; | |
220 | am__v_GEN_1 = | |
221 | AM_V_at = $(am__v_at_@AM_V@) | |
222 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
223 | am__v_at_0 = @ | |
224 | am__v_at_1 = | |
eff02e4f | 225 | DEFAULT_INCLUDES = -I.@am__isrc@ |
af710874 ILT |
226 | depcomp = |
227 | am__depfiles_maybe = | |
eff02e4f ILT |
228 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
229 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
22e05272 JM |
230 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
231 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | |
232 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | |
233 | $(AM_CFLAGS) $(CFLAGS) | |
234 | AM_V_CC = $(am__v_CC_@AM_V@) | |
235 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
236 | am__v_CC_0 = @echo " CC " $@; | |
237 | am__v_CC_1 = | |
eff02e4f | 238 | CCLD = $(CC) |
22e05272 JM |
239 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
240 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | |
241 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
242 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | |
243 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
244 | am__v_CCLD_0 = @echo " CCLD " $@; | |
245 | am__v_CCLD_1 = | |
eff02e4f | 246 | SOURCES = $(libbacktrace_la_SOURCES) $(EXTRA_libbacktrace_la_SOURCES) \ |
8da872d9 ILT |
247 | $(btest_SOURCES) $(ctesta_SOURCES) $(ctestg_SOURCES) \ |
248 | $(edtest_SOURCES) $(stest_SOURCES) $(ttest_SOURCES) \ | |
249 | $(ztest_SOURCES) | |
df96c0f7 MH |
250 | am__can_run_installinfo = \ |
251 | case $$AM_UPDATE_INFO_DIR in \ | |
252 | n|no|NO) false;; \ | |
253 | *) (install-info --version) >/dev/null 2>&1;; \ | |
254 | esac | |
22e05272 JM |
255 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
256 | $(LISP)config.h.in | |
257 | # Read a list of newline-separated strings from the standard input, | |
258 | # and print each of them once, without duplicates. Input order is | |
259 | # *not* preserved. | |
260 | am__uniquify_input = $(AWK) '\ | |
261 | BEGIN { nonempty = 0; } \ | |
262 | { items[$$0] = 1; nonempty = 1; } \ | |
263 | END { if (nonempty) { for (i in items) print i; }; } \ | |
264 | ' | |
265 | # Make sure the list of sources is unique. This is necessary because, | |
266 | # e.g., the same source file might be shared among _SOURCES variables | |
267 | # for different programs/libraries. | |
268 | am__define_uniq_tagged_files = \ | |
269 | list='$(am__tagged_files)'; \ | |
270 | unique=`for i in $$list; do \ | |
271 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
272 | done | $(am__uniquify_input)` | |
eff02e4f ILT |
273 | ETAGS = etags |
274 | CTAGS = ctags | |
22e05272 JM |
275 | CSCOPE = cscope |
276 | AM_RECURSIVE_TARGETS = cscope check recheck | |
277 | am__tty_colors_dummy = \ | |
278 | mgn= red= grn= lgn= blu= brg= std=; \ | |
279 | am__color_tests=no | |
280 | am__tty_colors = { \ | |
281 | $(am__tty_colors_dummy); \ | |
282 | if test "X$(AM_COLOR_TESTS)" = Xno; then \ | |
283 | am__color_tests=no; \ | |
284 | elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ | |
285 | am__color_tests=yes; \ | |
286 | elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ | |
287 | am__color_tests=yes; \ | |
288 | fi; \ | |
289 | if test $$am__color_tests = yes; then \ | |
290 | red='\e[0;31m'; \ | |
291 | grn='\e[0;32m'; \ | |
292 | lgn='\e[1;32m'; \ | |
293 | blu='\e[1;34m'; \ | |
294 | mgn='\e[0;35m'; \ | |
295 | brg='\e[1m'; \ | |
296 | std='\e[m'; \ | |
297 | fi; \ | |
298 | } | |
299 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
300 | am__vpath_adj = case $$p in \ | |
301 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
302 | *) f=$$p;; \ | |
303 | esac; | |
304 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
305 | am__install_max = 40 | |
306 | am__nobase_strip_setup = \ | |
307 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
308 | am__nobase_strip = \ | |
309 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
310 | am__nobase_list = $(am__nobase_strip_setup); \ | |
311 | for p in $$list; do echo "$$p $$p"; done | \ | |
312 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
313 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
314 | if (++n[$$2] == $(am__install_max)) \ | |
315 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
316 | END { for (dir in files) print dir, files[dir] }' | |
317 | am__base_list = \ | |
318 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
319 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
320 | am__uninstall_files_from_dir = { \ | |
321 | test -z "$$files" \ | |
322 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
323 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
324 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
325 | } | |
326 | am__recheck_rx = ^[ ]*:recheck:[ ]* | |
327 | am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* | |
328 | am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* | |
329 | # A command that, given a newline-separated list of test names on the | |
330 | # standard input, print the name of the tests that are to be re-run | |
331 | # upon "make recheck". | |
332 | am__list_recheck_tests = $(AWK) '{ \ | |
333 | recheck = 1; \ | |
334 | while ((rc = (getline line < ($$0 ".trs"))) != 0) \ | |
335 | { \ | |
336 | if (rc < 0) \ | |
337 | { \ | |
338 | if ((getline line2 < ($$0 ".log")) < 0) \ | |
339 | recheck = 0; \ | |
340 | break; \ | |
341 | } \ | |
342 | else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ | |
343 | { \ | |
344 | recheck = 0; \ | |
345 | break; \ | |
346 | } \ | |
347 | else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ | |
348 | { \ | |
349 | break; \ | |
350 | } \ | |
351 | }; \ | |
352 | if (recheck) \ | |
353 | print $$0; \ | |
354 | close ($$0 ".trs"); \ | |
355 | close ($$0 ".log"); \ | |
356 | }' | |
357 | # A command that, given a newline-separated list of test names on the | |
358 | # standard input, create the global log from their .trs and .log files. | |
359 | am__create_global_log = $(AWK) ' \ | |
360 | function fatal(msg) \ | |
361 | { \ | |
362 | print "fatal: making $@: " msg | "cat >&2"; \ | |
363 | exit 1; \ | |
364 | } \ | |
365 | function rst_section(header) \ | |
366 | { \ | |
367 | print header; \ | |
368 | len = length(header); \ | |
369 | for (i = 1; i <= len; i = i + 1) \ | |
370 | printf "="; \ | |
371 | printf "\n\n"; \ | |
372 | } \ | |
373 | { \ | |
374 | copy_in_global_log = 1; \ | |
375 | global_test_result = "RUN"; \ | |
376 | while ((rc = (getline line < ($$0 ".trs"))) != 0) \ | |
377 | { \ | |
378 | if (rc < 0) \ | |
379 | fatal("failed to read from " $$0 ".trs"); \ | |
380 | if (line ~ /$(am__global_test_result_rx)/) \ | |
381 | { \ | |
382 | sub("$(am__global_test_result_rx)", "", line); \ | |
383 | sub("[ ]*$$", "", line); \ | |
384 | global_test_result = line; \ | |
385 | } \ | |
386 | else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ | |
387 | copy_in_global_log = 0; \ | |
388 | }; \ | |
389 | if (copy_in_global_log) \ | |
390 | { \ | |
391 | rst_section(global_test_result ": " $$0); \ | |
392 | while ((rc = (getline line < ($$0 ".log"))) != 0) \ | |
393 | { \ | |
394 | if (rc < 0) \ | |
395 | fatal("failed to read from " $$0 ".log"); \ | |
396 | print line; \ | |
397 | }; \ | |
398 | printf "\n"; \ | |
399 | }; \ | |
400 | close ($$0 ".trs"); \ | |
401 | close ($$0 ".log"); \ | |
402 | }' | |
403 | # Restructured Text title. | |
404 | am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } | |
405 | # Solaris 10 'make', and several other traditional 'make' implementations, | |
406 | # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it | |
407 | # by disabling -e (using the XSI extension "set +e") if it's set. | |
408 | am__sh_e_setup = case $$- in *e*) set +e;; esac | |
409 | # Default flags passed to test drivers. | |
410 | am__common_driver_flags = \ | |
411 | --color-tests "$$am__color_tests" \ | |
412 | --enable-hard-errors "$$am__enable_hard_errors" \ | |
413 | --expect-failure "$$am__expect_failure" | |
414 | # To be inserted before the command running the test. Creates the | |
415 | # directory for the log if needed. Stores in $dir the directory | |
416 | # containing $f, in $tst the test, in $log the log. Executes the | |
417 | # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and | |
418 | # passes TESTS_ENVIRONMENT. Set up options for the wrapper that | |
419 | # will run the test scripts (or their associated LOG_COMPILER, if | |
420 | # thy have one). | |
421 | am__check_pre = \ | |
422 | $(am__sh_e_setup); \ | |
423 | $(am__vpath_adj_setup) $(am__vpath_adj) \ | |
424 | $(am__tty_colors); \ | |
425 | srcdir=$(srcdir); export srcdir; \ | |
426 | case "$@" in \ | |
427 | */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ | |
428 | *) am__odir=.;; \ | |
429 | esac; \ | |
430 | test "x$$am__odir" = x"." || test -d "$$am__odir" \ | |
431 | || $(MKDIR_P) "$$am__odir" || exit $$?; \ | |
432 | if test -f "./$$f"; then dir=./; \ | |
433 | elif test -f "$$f"; then dir=; \ | |
434 | else dir="$(srcdir)/"; fi; \ | |
435 | tst=$$dir$$f; log='$@'; \ | |
436 | if test -n '$(DISABLE_HARD_ERRORS)'; then \ | |
437 | am__enable_hard_errors=no; \ | |
438 | else \ | |
439 | am__enable_hard_errors=yes; \ | |
440 | fi; \ | |
441 | case " $(XFAIL_TESTS) " in \ | |
442 | *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ | |
443 | am__expect_failure=yes;; \ | |
444 | *) \ | |
445 | am__expect_failure=no;; \ | |
446 | esac; \ | |
447 | $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) | |
448 | # A shell command to get the names of the tests scripts with any registered | |
449 | # extension removed (i.e., equivalently, the names of the test logs, with | |
450 | # the '.log' extension removed). The result is saved in the shell variable | |
451 | # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, | |
452 | # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", | |
453 | # since that might cause problem with VPATH rewrites for suffix-less tests. | |
454 | # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. | |
455 | am__set_TESTS_bases = \ | |
456 | bases='$(TEST_LOGS)'; \ | |
457 | bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ | |
458 | bases=`echo $$bases` | |
459 | RECHECK_LOGS = $(TEST_LOGS) | |
460 | TEST_SUITE_LOG = test-suite.log | |
461 | TEST_EXTENSIONS = @EXEEXT@ .test | |
462 | LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver | |
463 | LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) | |
464 | am__set_b = \ | |
465 | case '$@' in \ | |
466 | */*) \ | |
467 | case '$*' in \ | |
468 | */*) b='$*';; \ | |
469 | *) b=`echo '$@' | sed 's/\.log$$//'`; \ | |
470 | esac;; \ | |
471 | *) \ | |
472 | b='$*';; \ | |
473 | esac | |
474 | am__test_logs1 = $(TESTS:=.log) | |
475 | am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) | |
476 | TEST_LOGS = $(am__test_logs2:.test.log=.log) | |
477 | TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver | |
478 | TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ | |
479 | $(TEST_LOG_FLAGS) | |
eff02e4f ILT |
480 | ACLOCAL = @ACLOCAL@ |
481 | ALLOC_FILE = @ALLOC_FILE@ | |
482 | AMTAR = @AMTAR@ | |
22e05272 | 483 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
eff02e4f ILT |
484 | AR = @AR@ |
485 | AUTOCONF = @AUTOCONF@ | |
486 | AUTOHEADER = @AUTOHEADER@ | |
487 | AUTOMAKE = @AUTOMAKE@ | |
488 | AWK = @AWK@ | |
489 | BACKTRACE_FILE = @BACKTRACE_FILE@ | |
490 | BACKTRACE_SUPPORTED = @BACKTRACE_SUPPORTED@ | |
fc002444 | 491 | BACKTRACE_SUPPORTS_DATA = @BACKTRACE_SUPPORTS_DATA@ |
eff02e4f ILT |
492 | BACKTRACE_SUPPORTS_THREADS = @BACKTRACE_SUPPORTS_THREADS@ |
493 | BACKTRACE_USES_MALLOC = @BACKTRACE_USES_MALLOC@ | |
494 | CC = @CC@ | |
eff02e4f | 495 | CFLAGS = @CFLAGS@ |
8398c1df | 496 | CLOCK_GETTIME_LINK = @CLOCK_GETTIME_LINK@ |
eff02e4f ILT |
497 | CPP = @CPP@ |
498 | CPPFLAGS = @CPPFLAGS@ | |
499 | CYGPATH_W = @CYGPATH_W@ | |
500 | DEFS = @DEFS@ | |
eff02e4f ILT |
501 | DSYMUTIL = @DSYMUTIL@ |
502 | DUMPBIN = @DUMPBIN@ | |
503 | ECHO_C = @ECHO_C@ | |
504 | ECHO_N = @ECHO_N@ | |
505 | ECHO_T = @ECHO_T@ | |
506 | EGREP = @EGREP@ | |
507 | EXEEXT = @EXEEXT@ | |
56195009 | 508 | EXTRA_FLAGS = @EXTRA_FLAGS@ |
eff02e4f ILT |
509 | FGREP = @FGREP@ |
510 | FORMAT_FILE = @FORMAT_FILE@ | |
511 | GREP = @GREP@ | |
512 | INSTALL = @INSTALL@ | |
513 | INSTALL_DATA = @INSTALL_DATA@ | |
514 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
515 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
516 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
517 | LD = @LD@ | |
518 | LDFLAGS = @LDFLAGS@ | |
519 | LIBOBJS = @LIBOBJS@ | |
520 | LIBS = @LIBS@ | |
521 | LIBTOOL = @LIBTOOL@ | |
522 | LIPO = @LIPO@ | |
523 | LN_S = @LN_S@ | |
524 | LTLIBOBJS = @LTLIBOBJS@ | |
525 | MAINT = @MAINT@ | |
526 | MAKEINFO = @MAKEINFO@ | |
527 | MKDIR_P = @MKDIR_P@ | |
528 | NM = @NM@ | |
529 | NMEDIT = @NMEDIT@ | |
9283471b | 530 | OBJCOPY = @OBJCOPY@ |
eff02e4f ILT |
531 | OBJDUMP = @OBJDUMP@ |
532 | OBJEXT = @OBJEXT@ | |
533 | OTOOL = @OTOOL@ | |
534 | OTOOL64 = @OTOOL64@ | |
535 | PACKAGE = @PACKAGE@ | |
536 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
537 | PACKAGE_NAME = @PACKAGE_NAME@ | |
538 | PACKAGE_STRING = @PACKAGE_STRING@ | |
539 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
540 | PACKAGE_URL = @PACKAGE_URL@ | |
541 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
542 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
543 | PIC_FLAG = @PIC_FLAG@ | |
d1609a23 | 544 | PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ |
eff02e4f ILT |
545 | RANLIB = @RANLIB@ |
546 | SED = @SED@ | |
547 | SET_MAKE = @SET_MAKE@ | |
548 | SHELL = @SHELL@ | |
549 | STRIP = @STRIP@ | |
550 | VERSION = @VERSION@ | |
551 | VIEW_FILE = @VIEW_FILE@ | |
552 | WARN_FLAGS = @WARN_FLAGS@ | |
553 | abs_builddir = @abs_builddir@ | |
554 | abs_srcdir = @abs_srcdir@ | |
555 | abs_top_builddir = @abs_top_builddir@ | |
556 | abs_top_srcdir = @abs_top_srcdir@ | |
557 | ac_ct_CC = @ac_ct_CC@ | |
558 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | |
eff02e4f | 559 | am__leading_dot = @am__leading_dot@ |
eff02e4f ILT |
560 | am__tar = @am__tar@ |
561 | am__untar = @am__untar@ | |
562 | bindir = @bindir@ | |
563 | build = @build@ | |
564 | build_alias = @build_alias@ | |
565 | build_cpu = @build_cpu@ | |
566 | build_os = @build_os@ | |
567 | build_vendor = @build_vendor@ | |
568 | builddir = @builddir@ | |
569 | datadir = @datadir@ | |
570 | datarootdir = @datarootdir@ | |
571 | docdir = @docdir@ | |
572 | dvidir = @dvidir@ | |
573 | exec_prefix = @exec_prefix@ | |
574 | host = @host@ | |
575 | host_alias = @host_alias@ | |
576 | host_cpu = @host_cpu@ | |
577 | host_os = @host_os@ | |
578 | host_vendor = @host_vendor@ | |
579 | htmldir = @htmldir@ | |
580 | includedir = @includedir@ | |
581 | infodir = @infodir@ | |
582 | install_sh = @install_sh@ | |
583 | libdir = @libdir@ | |
584 | libexecdir = @libexecdir@ | |
585 | libtool_VERSION = @libtool_VERSION@ | |
586 | localedir = @localedir@ | |
587 | localstatedir = @localstatedir@ | |
588 | mandir = @mandir@ | |
589 | mkdir_p = @mkdir_p@ | |
590 | multi_basedir = @multi_basedir@ | |
591 | oldincludedir = @oldincludedir@ | |
592 | pdfdir = @pdfdir@ | |
593 | prefix = @prefix@ | |
594 | program_transform_name = @program_transform_name@ | |
595 | psdir = @psdir@ | |
596 | sbindir = @sbindir@ | |
597 | sharedstatedir = @sharedstatedir@ | |
598 | srcdir = @srcdir@ | |
599 | sysconfdir = @sysconfdir@ | |
600 | target = @target@ | |
601 | target_alias = @target_alias@ | |
602 | target_cpu = @target_cpu@ | |
603 | target_os = @target_os@ | |
604 | target_vendor = @target_vendor@ | |
605 | top_build_prefix = @top_build_prefix@ | |
606 | top_builddir = @top_builddir@ | |
607 | top_srcdir = @top_srcdir@ | |
608 | ACLOCAL_AMFLAGS = -I .. -I ../config | |
9425c00b | 609 | AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \ |
c3de1960 | 610 | -I ../libgcc |
9425c00b | 611 | |
36a58fb3 | 612 | AM_CFLAGS = $(EXTRA_FLAGS) $(WARN_FLAGS) $(PIC_FLAG) |
eff02e4f ILT |
613 | noinst_LTLIBRARIES = libbacktrace.la |
614 | libbacktrace_la_SOURCES = \ | |
615 | backtrace.h \ | |
49579c7e | 616 | atomic.c \ |
eff02e4f ILT |
617 | dwarf.c \ |
618 | fileline.c \ | |
619 | internal.h \ | |
620 | posix.c \ | |
621 | print.c \ | |
c5604b48 | 622 | sort.c \ |
eff02e4f ILT |
623 | state.c |
624 | ||
625 | BACKTRACE_FILES = \ | |
626 | backtrace.c \ | |
627 | simple.c \ | |
628 | nounwind.c | |
629 | ||
630 | FORMAT_FILES = \ | |
631 | elf.c \ | |
e24afc10 | 632 | pecoff.c \ |
b3530b94 TR |
633 | unknown.c \ |
634 | xcoff.c | |
eff02e4f ILT |
635 | |
636 | VIEW_FILES = \ | |
637 | read.c \ | |
638 | mmapio.c | |
639 | ||
640 | ALLOC_FILES = \ | |
641 | alloc.c \ | |
642 | mmap.c | |
643 | ||
644 | EXTRA_libbacktrace_la_SOURCES = \ | |
645 | $(BACKTRACE_FILES) \ | |
646 | $(FORMAT_FILES) \ | |
647 | $(VIEW_FILES) \ | |
648 | $(ALLOC_FILES) | |
649 | ||
650 | libbacktrace_la_LIBADD = \ | |
651 | $(BACKTRACE_FILE) \ | |
652 | $(FORMAT_FILE) \ | |
653 | $(VIEW_FILE) \ | |
654 | $(ALLOC_FILE) | |
655 | ||
656 | libbacktrace_la_DEPENDENCIES = $(libbacktrace_la_LIBADD) | |
8da872d9 | 657 | TESTS = $(check_PROGRAMS) $(am__append_4) |
d1609a23 | 658 | @NATIVE_TRUE@btest_SOURCES = btest.c testlib.c |
eff02e4f ILT |
659 | @NATIVE_TRUE@btest_CFLAGS = $(AM_CFLAGS) -g -O |
660 | @NATIVE_TRUE@btest_LDADD = libbacktrace.la | |
c5604b48 ILT |
661 | @NATIVE_TRUE@stest_SOURCES = stest.c |
662 | @NATIVE_TRUE@stest_LDADD = libbacktrace.la | |
8da872d9 ILT |
663 | @NATIVE_TRUE@ztest_SOURCES = ztest.c testlib.c |
664 | @NATIVE_TRUE@ztest_CFLAGS = -DSRCDIR=\"$(srcdir)\" | |
dd954c67 | 665 | @NATIVE_TRUE@ztest_LDADD = libbacktrace.la $(am__append_2) \ |
8398c1df | 666 | @NATIVE_TRUE@ $(CLOCK_GETTIME_LINK) |
d1609a23 | 667 | @NATIVE_TRUE@edtest_SOURCES = edtest.c edtest2_build.c testlib.c |
281161d1 | 668 | @NATIVE_TRUE@edtest_LDADD = libbacktrace.la |
d1609a23 | 669 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_SOURCES = ttest.c testlib.c |
917a804c | 670 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_CFLAGS = $(AM_CFLAGS) -pthread |
d1609a23 | 671 | @HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_LDADD = libbacktrace.la |
8da872d9 ILT |
672 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctestg_SOURCES = btest.c testlib.c |
673 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctestg_CFLAGS = $(AM_CFLAGS) -g | |
674 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctestg_LDFLAGS = -Wl,--compress-debug-sections=zlib-gnu | |
675 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctestg_LDADD = libbacktrace.la | |
676 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctesta_SOURCES = btest.c testlib.c | |
677 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctesta_CFLAGS = $(AM_CFLAGS) -g | |
678 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctesta_LDFLAGS = -Wl,--compress-debug-sections=zlib-gabi | |
679 | @HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ctesta_LDADD = libbacktrace.la | |
af710874 ILT |
680 | |
681 | # We can't use automake's automatic dependency tracking, because it | |
682 | # breaks when using bootstrap-lean. Automatic dependency tracking | |
683 | # with GCC bootstrap will cause some of the objects to depend on | |
684 | # header files in prev-gcc/include, e.g., stddef.h and stdarg.h. When | |
685 | # using bootstrap-lean, prev-gcc is removed after each stage. When | |
686 | # running "make install", those header files will be gone, causing the | |
687 | # library to be rebuilt at install time. That may not succeed. | |
688 | ||
689 | # These manual dependencies do not include dependencies on unwind.h, | |
690 | # even though that is part of GCC, because where to find it depends on | |
691 | # whether we are being built as a host library or a target library. | |
692 | INCDIR = $(top_srcdir)/../include | |
22e05272 JM |
693 | MULTISRCTOP = |
694 | MULTIBUILDTOP = | |
695 | MULTIDIRS = | |
696 | MULTISUBDIR = | |
697 | MULTIDO = true | |
698 | MULTICLEAN = true | |
eff02e4f ILT |
699 | all: config.h |
700 | $(MAKE) $(AM_MAKEFLAGS) all-am | |
701 | ||
702 | .SUFFIXES: | |
22e05272 | 703 | .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs |
df96c0f7 | 704 | am--refresh: Makefile |
eff02e4f | 705 | @: |
22e05272 | 706 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../multilib.am $(am__configure_deps) |
eff02e4f ILT |
707 | @for dep in $?; do \ |
708 | case '$(am__configure_deps)' in \ | |
709 | *$$dep*) \ | |
af710874 ILT |
710 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \ |
711 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \ | |
eff02e4f ILT |
712 | && exit 0; \ |
713 | exit 1;; \ | |
714 | esac; \ | |
715 | done; \ | |
af710874 | 716 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \ |
eff02e4f | 717 | $(am__cd) $(top_srcdir) && \ |
af710874 | 718 | $(AUTOMAKE) --foreign --ignore-deps Makefile |
eff02e4f ILT |
719 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
720 | @case '$?' in \ | |
721 | *config.status*) \ | |
722 | echo ' $(SHELL) ./config.status'; \ | |
723 | $(SHELL) ./config.status;; \ | |
724 | *) \ | |
725 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
726 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
727 | esac; | |
22e05272 | 728 | $(top_srcdir)/../multilib.am $(am__empty): |
eff02e4f ILT |
729 | |
730 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
731 | $(SHELL) ./config.status --recheck | |
732 | ||
733 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
734 | $(am__cd) $(srcdir) && $(AUTOCONF) | |
735 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) | |
736 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | |
737 | $(am__aclocal_m4_deps): | |
738 | ||
739 | config.h: stamp-h1 | |
22e05272 JM |
740 | @test -f $@ || rm -f stamp-h1 |
741 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 | |
eff02e4f ILT |
742 | |
743 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status | |
744 | @rm -f stamp-h1 | |
745 | cd $(top_builddir) && $(SHELL) ./config.status config.h | |
746 | $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
747 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) | |
748 | rm -f stamp-h1 | |
749 | touch $@ | |
750 | ||
751 | distclean-hdr: | |
752 | -rm -f config.h stamp-h1 | |
753 | backtrace-supported.h: $(top_builddir)/config.status $(srcdir)/backtrace-supported.h.in | |
754 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
755 | ||
756 | clean-noinstLTLIBRARIES: | |
757 | -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) | |
22e05272 JM |
758 | @list='$(noinst_LTLIBRARIES)'; \ |
759 | locs=`for p in $$list; do echo $$p; done | \ | |
760 | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |
761 | sort -u`; \ | |
762 | test -z "$$locs" || { \ | |
763 | echo rm -f $${locs}; \ | |
764 | rm -f $${locs}; \ | |
765 | } | |
766 | ||
df96c0f7 | 767 | libbacktrace.la: $(libbacktrace_la_OBJECTS) $(libbacktrace_la_DEPENDENCIES) $(EXTRA_libbacktrace_la_DEPENDENCIES) |
22e05272 | 768 | $(AM_V_CCLD)$(LINK) $(libbacktrace_la_OBJECTS) $(libbacktrace_la_LIBADD) $(LIBS) |
eff02e4f ILT |
769 | |
770 | clean-checkPROGRAMS: | |
771 | @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ | |
772 | echo " rm -f" $$list; \ | |
773 | rm -f $$list || exit $$?; \ | |
774 | test -n "$(EXEEXT)" || exit 0; \ | |
775 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | |
776 | echo " rm -f" $$list; \ | |
777 | rm -f $$list | |
22e05272 | 778 | |
df96c0f7 | 779 | btest$(EXEEXT): $(btest_OBJECTS) $(btest_DEPENDENCIES) $(EXTRA_btest_DEPENDENCIES) |
eff02e4f | 780 | @rm -f btest$(EXEEXT) |
22e05272 JM |
781 | $(AM_V_CCLD)$(btest_LINK) $(btest_OBJECTS) $(btest_LDADD) $(LIBS) |
782 | ||
8da872d9 ILT |
783 | ctesta$(EXEEXT): $(ctesta_OBJECTS) $(ctesta_DEPENDENCIES) $(EXTRA_ctesta_DEPENDENCIES) |
784 | @rm -f ctesta$(EXEEXT) | |
22e05272 JM |
785 | $(AM_V_CCLD)$(ctesta_LINK) $(ctesta_OBJECTS) $(ctesta_LDADD) $(LIBS) |
786 | ||
8da872d9 ILT |
787 | ctestg$(EXEEXT): $(ctestg_OBJECTS) $(ctestg_DEPENDENCIES) $(EXTRA_ctestg_DEPENDENCIES) |
788 | @rm -f ctestg$(EXEEXT) | |
22e05272 JM |
789 | $(AM_V_CCLD)$(ctestg_LINK) $(ctestg_OBJECTS) $(ctestg_LDADD) $(LIBS) |
790 | ||
281161d1 TM |
791 | edtest$(EXEEXT): $(edtest_OBJECTS) $(edtest_DEPENDENCIES) $(EXTRA_edtest_DEPENDENCIES) |
792 | @rm -f edtest$(EXEEXT) | |
22e05272 JM |
793 | $(AM_V_CCLD)$(LINK) $(edtest_OBJECTS) $(edtest_LDADD) $(LIBS) |
794 | ||
df96c0f7 | 795 | stest$(EXEEXT): $(stest_OBJECTS) $(stest_DEPENDENCIES) $(EXTRA_stest_DEPENDENCIES) |
c5604b48 | 796 | @rm -f stest$(EXEEXT) |
22e05272 JM |
797 | $(AM_V_CCLD)$(LINK) $(stest_OBJECTS) $(stest_LDADD) $(LIBS) |
798 | ||
d1609a23 ILT |
799 | ttest$(EXEEXT): $(ttest_OBJECTS) $(ttest_DEPENDENCIES) $(EXTRA_ttest_DEPENDENCIES) |
800 | @rm -f ttest$(EXEEXT) | |
22e05272 JM |
801 | $(AM_V_CCLD)$(ttest_LINK) $(ttest_OBJECTS) $(ttest_LDADD) $(LIBS) |
802 | ||
8da872d9 ILT |
803 | ztest$(EXEEXT): $(ztest_OBJECTS) $(ztest_DEPENDENCIES) $(EXTRA_ztest_DEPENDENCIES) |
804 | @rm -f ztest$(EXEEXT) | |
22e05272 | 805 | $(AM_V_CCLD)$(ztest_LINK) $(ztest_OBJECTS) $(ztest_LDADD) $(LIBS) |
eff02e4f ILT |
806 | |
807 | mostlyclean-compile: | |
808 | -rm -f *.$(OBJEXT) | |
809 | ||
810 | distclean-compile: | |
811 | -rm -f *.tab.c | |
812 | ||
eff02e4f | 813 | .c.o: |
22e05272 | 814 | $(AM_V_CC)$(COMPILE) -c -o $@ $< |
eff02e4f ILT |
815 | |
816 | .c.obj: | |
22e05272 | 817 | $(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
eff02e4f ILT |
818 | |
819 | .c.lo: | |
22e05272 | 820 | $(AM_V_CC)$(LTCOMPILE) -c -o $@ $< |
eff02e4f ILT |
821 | |
822 | btest-btest.o: btest.c | |
22e05272 | 823 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(btest_CFLAGS) $(CFLAGS) -c -o btest-btest.o `test -f 'btest.c' || echo '$(srcdir)/'`btest.c |
eff02e4f ILT |
824 | |
825 | btest-btest.obj: btest.c | |
22e05272 | 826 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(btest_CFLAGS) $(CFLAGS) -c -o btest-btest.obj `if test -f 'btest.c'; then $(CYGPATH_W) 'btest.c'; else $(CYGPATH_W) '$(srcdir)/btest.c'; fi` |
eff02e4f | 827 | |
d1609a23 | 828 | btest-testlib.o: testlib.c |
22e05272 | 829 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(btest_CFLAGS) $(CFLAGS) -c -o btest-testlib.o `test -f 'testlib.c' || echo '$(srcdir)/'`testlib.c |
d1609a23 ILT |
830 | |
831 | btest-testlib.obj: testlib.c | |
22e05272 | 832 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(btest_CFLAGS) $(CFLAGS) -c -o btest-testlib.obj `if test -f 'testlib.c'; then $(CYGPATH_W) 'testlib.c'; else $(CYGPATH_W) '$(srcdir)/testlib.c'; fi` |
d1609a23 | 833 | |
8da872d9 | 834 | ctesta-btest.o: btest.c |
22e05272 | 835 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctesta_CFLAGS) $(CFLAGS) -c -o ctesta-btest.o `test -f 'btest.c' || echo '$(srcdir)/'`btest.c |
8da872d9 ILT |
836 | |
837 | ctesta-btest.obj: btest.c | |
22e05272 | 838 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctesta_CFLAGS) $(CFLAGS) -c -o ctesta-btest.obj `if test -f 'btest.c'; then $(CYGPATH_W) 'btest.c'; else $(CYGPATH_W) '$(srcdir)/btest.c'; fi` |
8da872d9 ILT |
839 | |
840 | ctesta-testlib.o: testlib.c | |
22e05272 | 841 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctesta_CFLAGS) $(CFLAGS) -c -o ctesta-testlib.o `test -f 'testlib.c' || echo '$(srcdir)/'`testlib.c |
8da872d9 ILT |
842 | |
843 | ctesta-testlib.obj: testlib.c | |
22e05272 | 844 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctesta_CFLAGS) $(CFLAGS) -c -o ctesta-testlib.obj `if test -f 'testlib.c'; then $(CYGPATH_W) 'testlib.c'; else $(CYGPATH_W) '$(srcdir)/testlib.c'; fi` |
8da872d9 ILT |
845 | |
846 | ctestg-btest.o: btest.c | |
22e05272 | 847 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctestg_CFLAGS) $(CFLAGS) -c -o ctestg-btest.o `test -f 'btest.c' || echo '$(srcdir)/'`btest.c |
8da872d9 ILT |
848 | |
849 | ctestg-btest.obj: btest.c | |
22e05272 | 850 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctestg_CFLAGS) $(CFLAGS) -c -o ctestg-btest.obj `if test -f 'btest.c'; then $(CYGPATH_W) 'btest.c'; else $(CYGPATH_W) '$(srcdir)/btest.c'; fi` |
8da872d9 ILT |
851 | |
852 | ctestg-testlib.o: testlib.c | |
22e05272 | 853 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctestg_CFLAGS) $(CFLAGS) -c -o ctestg-testlib.o `test -f 'testlib.c' || echo '$(srcdir)/'`testlib.c |
8da872d9 ILT |
854 | |
855 | ctestg-testlib.obj: testlib.c | |
22e05272 | 856 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ctestg_CFLAGS) $(CFLAGS) -c -o ctestg-testlib.obj `if test -f 'testlib.c'; then $(CYGPATH_W) 'testlib.c'; else $(CYGPATH_W) '$(srcdir)/testlib.c'; fi` |
8da872d9 | 857 | |
d1609a23 | 858 | ttest-ttest.o: ttest.c |
22e05272 | 859 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ttest_CFLAGS) $(CFLAGS) -c -o ttest-ttest.o `test -f 'ttest.c' || echo '$(srcdir)/'`ttest.c |
d1609a23 ILT |
860 | |
861 | ttest-ttest.obj: ttest.c | |
22e05272 | 862 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ttest_CFLAGS) $(CFLAGS) -c -o ttest-ttest.obj `if test -f 'ttest.c'; then $(CYGPATH_W) 'ttest.c'; else $(CYGPATH_W) '$(srcdir)/ttest.c'; fi` |
d1609a23 ILT |
863 | |
864 | ttest-testlib.o: testlib.c | |
22e05272 | 865 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ttest_CFLAGS) $(CFLAGS) -c -o ttest-testlib.o `test -f 'testlib.c' || echo '$(srcdir)/'`testlib.c |
d1609a23 ILT |
866 | |
867 | ttest-testlib.obj: testlib.c | |
22e05272 | 868 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ttest_CFLAGS) $(CFLAGS) -c -o ttest-testlib.obj `if test -f 'testlib.c'; then $(CYGPATH_W) 'testlib.c'; else $(CYGPATH_W) '$(srcdir)/testlib.c'; fi` |
d1609a23 | 869 | |
8da872d9 | 870 | ztest-ztest.o: ztest.c |
22e05272 | 871 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ztest_CFLAGS) $(CFLAGS) -c -o ztest-ztest.o `test -f 'ztest.c' || echo '$(srcdir)/'`ztest.c |
8da872d9 ILT |
872 | |
873 | ztest-ztest.obj: ztest.c | |
22e05272 | 874 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ztest_CFLAGS) $(CFLAGS) -c -o ztest-ztest.obj `if test -f 'ztest.c'; then $(CYGPATH_W) 'ztest.c'; else $(CYGPATH_W) '$(srcdir)/ztest.c'; fi` |
8da872d9 ILT |
875 | |
876 | ztest-testlib.o: testlib.c | |
22e05272 | 877 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ztest_CFLAGS) $(CFLAGS) -c -o ztest-testlib.o `test -f 'testlib.c' || echo '$(srcdir)/'`testlib.c |
8da872d9 ILT |
878 | |
879 | ztest-testlib.obj: testlib.c | |
22e05272 | 880 | $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ztest_CFLAGS) $(CFLAGS) -c -o ztest-testlib.obj `if test -f 'testlib.c'; then $(CYGPATH_W) 'testlib.c'; else $(CYGPATH_W) '$(srcdir)/testlib.c'; fi` |
8da872d9 | 881 | |
eff02e4f ILT |
882 | mostlyclean-libtool: |
883 | -rm -f *.lo | |
884 | ||
885 | clean-libtool: | |
886 | -rm -rf .libs _libs | |
887 | ||
888 | distclean-libtool: | |
889 | -rm -f libtool config.lt | |
890 | ||
22e05272 JM |
891 | ID: $(am__tagged_files) |
892 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
893 | tags: tags-am | |
894 | TAGS: tags | |
eff02e4f | 895 | |
22e05272 | 896 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
eff02e4f ILT |
897 | set x; \ |
898 | here=`pwd`; \ | |
22e05272 | 899 | $(am__define_uniq_tagged_files); \ |
eff02e4f ILT |
900 | shift; \ |
901 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
902 | test -n "$$unique" || unique=$$empty_fix; \ | |
903 | if test $$# -gt 0; then \ | |
904 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
905 | "$$@" $$unique; \ | |
906 | else \ | |
907 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
908 | $$unique; \ | |
909 | fi; \ | |
910 | fi | |
22e05272 JM |
911 | ctags: ctags-am |
912 | ||
913 | CTAGS: ctags | |
914 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
915 | $(am__define_uniq_tagged_files); \ | |
eff02e4f ILT |
916 | test -z "$(CTAGS_ARGS)$$unique" \ |
917 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
918 | $$unique | |
919 | ||
920 | GTAGS: | |
921 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
922 | && $(am__cd) $(top_srcdir) \ | |
923 | && gtags -i $(GTAGS_ARGS) "$$here" | |
22e05272 JM |
924 | cscope: cscope.files |
925 | test ! -s cscope.files \ | |
926 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
927 | clean-cscope: | |
928 | -rm -f cscope.files | |
929 | cscope.files: clean-cscope cscopelist | |
930 | cscopelist: cscopelist-am | |
931 | ||
932 | cscopelist-am: $(am__tagged_files) | |
933 | list='$(am__tagged_files)'; \ | |
934 | case "$(srcdir)" in \ | |
935 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
936 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
937 | esac; \ | |
938 | for i in $$list; do \ | |
939 | if test -f "$$i"; then \ | |
940 | echo "$(subdir)/$$i"; \ | |
941 | else \ | |
942 | echo "$$sdir/$$i"; \ | |
943 | fi; \ | |
944 | done >> $(top_builddir)/cscope.files | |
eff02e4f ILT |
945 | |
946 | distclean-tags: | |
947 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
22e05272 JM |
948 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
949 | ||
950 | # Recover from deleted '.trs' file; this should ensure that | |
951 | # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create | |
952 | # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells | |
953 | # to avoid problems with "make -n". | |
954 | .log.trs: | |
955 | rm -f $< $@ | |
956 | $(MAKE) $(AM_MAKEFLAGS) $< | |
957 | ||
958 | # Leading 'am--fnord' is there to ensure the list of targets does not | |
959 | # expand to empty, as could happen e.g. with make check TESTS=''. | |
960 | am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) | |
961 | am--force-recheck: | |
962 | @: | |
eff02e4f | 963 | |
22e05272 JM |
964 | $(TEST_SUITE_LOG): $(TEST_LOGS) |
965 | @$(am__set_TESTS_bases); \ | |
966 | am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ | |
967 | redo_bases=`for i in $$bases; do \ | |
968 | am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ | |
969 | done`; \ | |
970 | if test -n "$$redo_bases"; then \ | |
971 | redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ | |
972 | redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ | |
973 | if $(am__make_dryrun); then :; else \ | |
974 | rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ | |
eff02e4f | 975 | fi; \ |
22e05272 JM |
976 | fi; \ |
977 | if test -n "$$am__remaking_logs"; then \ | |
978 | echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ | |
979 | "recursion detected" >&2; \ | |
980 | elif test -n "$$redo_logs"; then \ | |
981 | am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ | |
982 | fi; \ | |
983 | if $(am__make_dryrun); then :; else \ | |
984 | st=0; \ | |
985 | errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ | |
986 | for i in $$redo_bases; do \ | |
987 | test -f $$i.trs && test -r $$i.trs \ | |
988 | || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ | |
989 | test -f $$i.log && test -r $$i.log \ | |
990 | || { echo "$$errmsg $$i.log" >&2; st=1; }; \ | |
991 | done; \ | |
992 | test $$st -eq 0 || exit 1; \ | |
993 | fi | |
994 | @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ | |
995 | ws='[ ]'; \ | |
996 | results=`for b in $$bases; do echo $$b.trs; done`; \ | |
997 | test -n "$$results" || results=/dev/null; \ | |
998 | all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ | |
999 | pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ | |
1000 | fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ | |
1001 | skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ | |
1002 | xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ | |
1003 | xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ | |
1004 | error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ | |
1005 | if test `expr $$fail + $$xpass + $$error` -eq 0; then \ | |
1006 | success=true; \ | |
1007 | else \ | |
1008 | success=false; \ | |
1009 | fi; \ | |
1010 | br='==================='; br=$$br$$br$$br$$br; \ | |
1011 | result_count () \ | |
1012 | { \ | |
1013 | if test x"$$1" = x"--maybe-color"; then \ | |
1014 | maybe_colorize=yes; \ | |
1015 | elif test x"$$1" = x"--no-color"; then \ | |
1016 | maybe_colorize=no; \ | |
eff02e4f | 1017 | else \ |
22e05272 | 1018 | echo "$@: invalid 'result_count' usage" >&2; exit 4; \ |
eff02e4f | 1019 | fi; \ |
22e05272 JM |
1020 | shift; \ |
1021 | desc=$$1 count=$$2; \ | |
1022 | if test $$maybe_colorize = yes && test $$count -gt 0; then \ | |
1023 | color_start=$$3 color_end=$$std; \ | |
eff02e4f | 1024 | else \ |
22e05272 | 1025 | color_start= color_end=; \ |
eff02e4f | 1026 | fi; \ |
22e05272 JM |
1027 | echo "$${color_start}# $$desc $$count$${color_end}"; \ |
1028 | }; \ | |
1029 | create_testsuite_report () \ | |
1030 | { \ | |
1031 | result_count $$1 "TOTAL:" $$all "$$brg"; \ | |
1032 | result_count $$1 "PASS: " $$pass "$$grn"; \ | |
1033 | result_count $$1 "SKIP: " $$skip "$$blu"; \ | |
1034 | result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ | |
1035 | result_count $$1 "FAIL: " $$fail "$$red"; \ | |
1036 | result_count $$1 "XPASS:" $$xpass "$$red"; \ | |
1037 | result_count $$1 "ERROR:" $$error "$$mgn"; \ | |
1038 | }; \ | |
1039 | { \ | |
1040 | echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ | |
1041 | $(am__rst_title); \ | |
1042 | create_testsuite_report --no-color; \ | |
1043 | echo; \ | |
1044 | echo ".. contents:: :depth: 2"; \ | |
1045 | echo; \ | |
1046 | for b in $$bases; do echo $$b; done \ | |
1047 | | $(am__create_global_log); \ | |
1048 | } >$(TEST_SUITE_LOG).tmp || exit 1; \ | |
1049 | mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ | |
1050 | if $$success; then \ | |
1051 | col="$$grn"; \ | |
1052 | else \ | |
1053 | col="$$red"; \ | |
1054 | test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ | |
1055 | fi; \ | |
1056 | echo "$${col}$$br$${std}"; \ | |
1057 | echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ | |
1058 | echo "$${col}$$br$${std}"; \ | |
1059 | create_testsuite_report --maybe-color; \ | |
1060 | echo "$$col$$br$$std"; \ | |
1061 | if $$success; then :; else \ | |
1062 | echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ | |
1063 | if test -n "$(PACKAGE_BUGREPORT)"; then \ | |
1064 | echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ | |
1065 | fi; \ | |
1066 | echo "$$col$$br$$std"; \ | |
1067 | fi; \ | |
1068 | $$success || exit 1 | |
1069 | ||
1070 | check-TESTS: | |
1071 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list | |
1072 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list | |
1073 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | |
1074 | @set +e; $(am__set_TESTS_bases); \ | |
1075 | log_list=`for i in $$bases; do echo $$i.log; done`; \ | |
1076 | trs_list=`for i in $$bases; do echo $$i.trs; done`; \ | |
1077 | log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ | |
1078 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ | |
1079 | exit $$?; | |
1080 | recheck: all $(check_PROGRAMS) | |
1081 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | |
1082 | @set +e; $(am__set_TESTS_bases); \ | |
1083 | bases=`for i in $$bases; do echo $$i; done \ | |
1084 | | $(am__list_recheck_tests)` || exit 1; \ | |
1085 | log_list=`for i in $$bases; do echo $$i.log; done`; \ | |
1086 | log_list=`echo $$log_list`; \ | |
1087 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ | |
1088 | am__force_recheck=am--force-recheck \ | |
1089 | TEST_LOGS="$$log_list"; \ | |
1090 | exit $$? | |
1091 | btest.log: btest$(EXEEXT) | |
1092 | @p='btest$(EXEEXT)'; \ | |
1093 | b='btest'; \ | |
1094 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1095 | --log-file $$b.log --trs-file $$b.trs \ | |
1096 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1097 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1098 | stest.log: stest$(EXEEXT) | |
1099 | @p='stest$(EXEEXT)'; \ | |
1100 | b='stest'; \ | |
1101 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1102 | --log-file $$b.log --trs-file $$b.trs \ | |
1103 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1104 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1105 | ztest.log: ztest$(EXEEXT) | |
1106 | @p='ztest$(EXEEXT)'; \ | |
1107 | b='ztest'; \ | |
1108 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1109 | --log-file $$b.log --trs-file $$b.trs \ | |
1110 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1111 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1112 | edtest.log: edtest$(EXEEXT) | |
1113 | @p='edtest$(EXEEXT)'; \ | |
1114 | b='edtest'; \ | |
1115 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1116 | --log-file $$b.log --trs-file $$b.trs \ | |
1117 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1118 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1119 | ttest.log: ttest$(EXEEXT) | |
1120 | @p='ttest$(EXEEXT)'; \ | |
1121 | b='ttest'; \ | |
1122 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1123 | --log-file $$b.log --trs-file $$b.trs \ | |
1124 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1125 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1126 | ctestg.log: ctestg$(EXEEXT) | |
1127 | @p='ctestg$(EXEEXT)'; \ | |
1128 | b='ctestg'; \ | |
1129 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1130 | --log-file $$b.log --trs-file $$b.trs \ | |
1131 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1132 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1133 | ctesta.log: ctesta$(EXEEXT) | |
1134 | @p='ctesta$(EXEEXT)'; \ | |
1135 | b='ctesta'; \ | |
1136 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1137 | --log-file $$b.log --trs-file $$b.trs \ | |
1138 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1139 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1140 | dtest.log: dtest | |
1141 | @p='dtest'; \ | |
1142 | b='dtest'; \ | |
1143 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1144 | --log-file $$b.log --trs-file $$b.trs \ | |
1145 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1146 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1147 | .test.log: | |
1148 | @p='$<'; \ | |
1149 | $(am__set_b); \ | |
1150 | $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | |
1151 | --log-file $$b.log --trs-file $$b.trs \ | |
1152 | $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ | |
1153 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
1154 | @am__EXEEXT_TRUE@.test$(EXEEXT).log: | |
1155 | @am__EXEEXT_TRUE@ @p='$<'; \ | |
1156 | @am__EXEEXT_TRUE@ $(am__set_b); \ | |
1157 | @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | |
1158 | @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ | |
1159 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ | |
1160 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) | |
eff02e4f ILT |
1161 | check-am: all-am |
1162 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) | |
1163 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS | |
1164 | check: check-am | |
22e05272 | 1165 | all-am: Makefile $(LTLIBRARIES) config.h all-local |
eff02e4f ILT |
1166 | installdirs: |
1167 | install: install-am | |
1168 | install-exec: install-exec-am | |
1169 | install-data: install-data-am | |
1170 | uninstall: uninstall-am | |
1171 | ||
1172 | install-am: all-am | |
1173 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
1174 | ||
1175 | installcheck: installcheck-am | |
1176 | install-strip: | |
df96c0f7 MH |
1177 | if test -z '$(STRIP)'; then \ |
1178 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
1179 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
1180 | install; \ | |
1181 | else \ | |
1182 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
1183 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
1184 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
1185 | fi | |
eff02e4f | 1186 | mostlyclean-generic: |
22e05272 JM |
1187 | -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) |
1188 | -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) | |
1189 | -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | |
eff02e4f ILT |
1190 | |
1191 | clean-generic: | |
1192 | ||
1193 | distclean-generic: | |
1194 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
1195 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
1196 | ||
1197 | maintainer-clean-generic: | |
1198 | @echo "This command is intended for maintainers to use" | |
1199 | @echo "it deletes files that may require special tools to rebuild." | |
22e05272 | 1200 | clean: clean-am |
eff02e4f | 1201 | |
22e05272 | 1202 | clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \ |
eff02e4f ILT |
1203 | clean-noinstLTLIBRARIES mostlyclean-am |
1204 | ||
22e05272 | 1205 | distclean: distclean-am |
eff02e4f | 1206 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
eff02e4f ILT |
1207 | -rm -f Makefile |
1208 | distclean-am: clean-am distclean-compile distclean-generic \ | |
22e05272 | 1209 | distclean-hdr distclean-libtool distclean-local distclean-tags |
eff02e4f ILT |
1210 | |
1211 | dvi: dvi-am | |
1212 | ||
1213 | dvi-am: | |
1214 | ||
1215 | html: html-am | |
1216 | ||
1217 | html-am: | |
1218 | ||
1219 | info: info-am | |
1220 | ||
1221 | info-am: | |
1222 | ||
1223 | install-data-am: | |
1224 | ||
1225 | install-dvi: install-dvi-am | |
1226 | ||
1227 | install-dvi-am: | |
1228 | ||
22e05272 | 1229 | install-exec-am: install-exec-local |
eff02e4f ILT |
1230 | |
1231 | install-html: install-html-am | |
1232 | ||
1233 | install-html-am: | |
1234 | ||
1235 | install-info: install-info-am | |
1236 | ||
1237 | install-info-am: | |
1238 | ||
1239 | install-man: | |
1240 | ||
1241 | install-pdf: install-pdf-am | |
1242 | ||
1243 | install-pdf-am: | |
1244 | ||
1245 | install-ps: install-ps-am | |
1246 | ||
1247 | install-ps-am: | |
1248 | ||
1249 | installcheck-am: | |
1250 | ||
22e05272 | 1251 | maintainer-clean: maintainer-clean-am |
eff02e4f ILT |
1252 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1253 | -rm -rf $(top_srcdir)/autom4te.cache | |
eff02e4f | 1254 | -rm -f Makefile |
22e05272 JM |
1255 | maintainer-clean-am: distclean-am maintainer-clean-generic \ |
1256 | maintainer-clean-local | |
eff02e4f | 1257 | |
22e05272 | 1258 | mostlyclean: mostlyclean-am |
eff02e4f ILT |
1259 | |
1260 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | |
22e05272 | 1261 | mostlyclean-libtool mostlyclean-local |
eff02e4f ILT |
1262 | |
1263 | pdf: pdf-am | |
1264 | ||
1265 | pdf-am: | |
1266 | ||
1267 | ps: ps-am | |
1268 | ||
1269 | ps-am: | |
1270 | ||
1271 | uninstall-am: | |
1272 | ||
22e05272 | 1273 | .MAKE: all check-am install-am install-strip |
eff02e4f | 1274 | |
22e05272 JM |
1275 | .PHONY: CTAGS GTAGS TAGS all all-am all-local am--refresh check \ |
1276 | check-TESTS check-am clean clean-checkPROGRAMS clean-cscope \ | |
1277 | clean-generic clean-libtool clean-local \ | |
1278 | clean-noinstLTLIBRARIES cscope cscopelist-am ctags ctags-am \ | |
1279 | distclean distclean-compile distclean-generic distclean-hdr \ | |
1280 | distclean-libtool distclean-local distclean-tags dvi dvi-am \ | |
eff02e4f ILT |
1281 | html html-am info info-am install install-am install-data \ |
1282 | install-data-am install-dvi install-dvi-am install-exec \ | |
22e05272 JM |
1283 | install-exec-am install-exec-local install-html \ |
1284 | install-html-am install-info install-info-am install-man \ | |
1285 | install-pdf install-pdf-am install-ps install-ps-am \ | |
1286 | install-strip installcheck installcheck-am installdirs \ | |
1287 | maintainer-clean maintainer-clean-generic \ | |
1288 | maintainer-clean-local mostlyclean mostlyclean-compile \ | |
1289 | mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \ | |
1290 | pdf-am ps ps-am recheck tags tags-am uninstall uninstall-am | |
1291 | ||
1292 | .PRECIOUS: Makefile | |
eff02e4f | 1293 | |
281161d1 TM |
1294 | |
1295 | @NATIVE_TRUE@edtest2_build.c: gen_edtest2_build; @true | |
1296 | @NATIVE_TRUE@gen_edtest2_build: $(srcdir)/edtest2.c | |
1297 | @NATIVE_TRUE@ cat $(srcdir)/edtest2.c > tmp-edtest2_build.c | |
1298 | @NATIVE_TRUE@ $(SHELL) $(srcdir)/../move-if-change tmp-edtest2_build.c edtest2_build.c | |
1299 | @NATIVE_TRUE@ echo timestamp > $@ | |
9283471b ILT |
1300 | |
1301 | @HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@dtest: btest | |
1302 | @HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ $(OBJCOPY) --only-keep-debug btest btest.debug | |
1303 | @HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ $(OBJCOPY) --strip-debug --add-gnu-debuglink=btest.debug btest dtest | |
af710874 | 1304 | alloc.lo: config.h backtrace.h internal.h |
fc002444 | 1305 | backtrace.lo: config.h backtrace.h internal.h |
af710874 ILT |
1306 | btest.lo: (INCDIR)/filenames.h backtrace.h backtrace-supported.h |
1307 | dwarf.lo: config.h $(INCDIR)/dwarf2.h $(INCDIR)/dwarf2.def \ | |
1308 | $(INCDIR)/filenames.h backtrace.h internal.h | |
1309 | elf.lo: config.h backtrace.h internal.h | |
1310 | fileline.lo: config.h backtrace.h internal.h | |
1311 | mmap.lo: config.h backtrace.h internal.h | |
1312 | mmapio.lo: config.h backtrace.h internal.h | |
1313 | nounwind.lo: config.h internal.h | |
e24afc10 | 1314 | pecoff.lo: config.h backtrace.h internal.h |
af710874 ILT |
1315 | posix.lo: config.h backtrace.h internal.h |
1316 | print.lo: config.h backtrace.h internal.h | |
1317 | read.lo: config.h backtrace.h internal.h | |
1318 | simple.lo: config.h backtrace.h internal.h | |
fc002444 ILT |
1319 | sort.lo: config.h backtrace.h internal.h |
1320 | stest.lo: config.h backtrace.h internal.h | |
af710874 ILT |
1321 | state.lo: config.h backtrace.h backtrace-supported.h internal.h |
1322 | unknown.lo: config.h backtrace.h internal.h | |
b3530b94 | 1323 | xcoff.lo: config.h backtrace.h internal.h |
eff02e4f | 1324 | |
22e05272 JM |
1325 | # GNU Make needs to see an explicit $(MAKE) variable in the command it |
1326 | # runs to enable its job server during parallel builds. Hence the | |
1327 | # comments below. | |
1328 | all-multi: | |
1329 | $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE) | |
1330 | install-multi: | |
1331 | $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE) | |
1332 | mostlyclean-multi: | |
1333 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE) | |
1334 | clean-multi: | |
1335 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE) | |
1336 | distclean-multi: | |
1337 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE) | |
1338 | maintainer-clean-multi: | |
1339 | $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE) | |
1340 | ||
1341 | .MAKE .PHONY: all-multi clean-multi distclean-multi install-am \ | |
1342 | install-multi maintainer-clean-multi mostlyclean-multi | |
1343 | ||
1344 | install-exec-local: install-multi | |
1345 | ||
1346 | all-local: all-multi | |
1347 | mostlyclean-local: mostlyclean-multi | |
1348 | clean-local: clean-multi | |
1349 | distclean-local: distclean-multi | |
1350 | maintainer-clean-local: maintainer-clean-multi | |
1351 | ||
eff02e4f ILT |
1352 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
1353 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
1354 | .NOEXPORT: |