testsuite, threads: fix LD_LIBRARY_PATH in 'tls-sepdebug.exp'
[binutils-gdb.git] / gold / Makefile.in
blob1e6b9c77fc1af4a233061e788ab295176c5f262c
1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
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.
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.
15 @SET_MAKE@
18 # Copyright (C) 2006-2024 Free Software Foundation, Inc.
20 # This file is free software; you can redistribute it and/or modify
21 # it under the terms of the GNU General Public License as published by
22 # the Free Software Foundation; either version 3 of the License, or
23 # (at your option) any later version.
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.
30 # You should have received a copy of the GNU General Public License
31 # along with this program; see the file COPYING3. If not see
32 # <http://www.gnu.org/licenses/>.
36 VPATH = @srcdir@
37 am__is_gnu_make = { \
38 if test -z '$(MAKELEVEL)'; then \
39 false; \
40 elif test -n '$(MAKE_HOST)'; then \
41 true; \
42 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
43 true; \
44 else \
45 false; \
46 fi; \
48 am__make_running_with_option = \
49 case $${target_option-} in \
50 ?) ;; \
51 *) echo "am__make_running_with_option: internal error: invalid" \
52 "target option '$${target_option-}' specified" >&2; \
53 exit 1;; \
54 esac; \
55 has_opt=no; \
56 sane_makeflags=$$MAKEFLAGS; \
57 if $(am__is_gnu_make); then \
58 sane_makeflags=$$MFLAGS; \
59 else \
60 case $$MAKEFLAGS in \
61 *\\[\ \ ]*) \
62 bs=\\; \
63 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
64 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
65 esac; \
66 fi; \
67 skip_next=no; \
68 strip_trailopt () \
69 { \
70 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
71 }; \
72 for flg in $$sane_makeflags; do \
73 test $$skip_next = yes && { skip_next=no; continue; }; \
74 case $$flg in \
75 *=*|--*) continue;; \
76 -*I) strip_trailopt 'I'; skip_next=yes;; \
77 -*I?*) strip_trailopt 'I';; \
78 -*O) strip_trailopt 'O'; skip_next=yes;; \
79 -*O?*) strip_trailopt 'O';; \
80 -*l) strip_trailopt 'l'; skip_next=yes;; \
81 -*l?*) strip_trailopt 'l';; \
82 -[dEDm]) skip_next=yes;; \
83 -[JT]) skip_next=yes;; \
84 esac; \
85 case $$flg in \
86 *$$target_option*) has_opt=yes; break;; \
87 esac; \
88 done; \
89 test $$has_opt = yes
90 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
91 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
92 pkgdatadir = $(datadir)/@PACKAGE@
93 pkgincludedir = $(includedir)/@PACKAGE@
94 pkglibdir = $(libdir)/@PACKAGE@
95 pkglibexecdir = $(libexecdir)/@PACKAGE@
96 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
97 install_sh_DATA = $(install_sh) -c -m 644
98 install_sh_PROGRAM = $(install_sh) -c
99 install_sh_SCRIPT = $(install_sh) -c
100 INSTALL_HEADER = $(INSTALL_DATA)
101 transform = $(program_transform_name)
102 NORMAL_INSTALL = :
103 PRE_INSTALL = :
104 POST_INSTALL = :
105 NORMAL_UNINSTALL = :
106 PRE_UNINSTALL = :
107 POST_UNINSTALL = :
108 build_triplet = @build@
109 host_triplet = @host@
110 target_triplet = @target@
111 bin_PROGRAMS = dwp$(EXEEXT)
112 noinst_PROGRAMS = ld-new$(EXEEXT) incremental-dump$(EXEEXT)
113 @GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
114 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \
115 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT) ld4$(EXEEXT) \
116 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__EXEEXT_1)
117 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_1 = -Wl,--thread-count=3
118 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_2 = -Wl,--thread-count=3
119 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_3 = -Wl,--thread-count=13
120 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_4 = -Wl,--thread-count=3
121 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_5 = ld3
122 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_6 = bootstrap-test-treehash-chunksize
123 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_7 = bootstrap-test-treehash-chunksize
124 subdir = .
125 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
126 am__aclocal_m4_deps = \
127 $(top_srcdir)/../config/ax_cxx_compile_stdcxx.m4 \
128 $(top_srcdir)/../config/ax_pthread.m4 \
129 $(top_srcdir)/../config/depstand.m4 \
130 $(top_srcdir)/../config/gettext-sister.m4 \
131 $(top_srcdir)/../config/gettext.m4 \
132 $(top_srcdir)/../config/iconv.m4 \
133 $(top_srcdir)/../config/intlmacosx.m4 \
134 $(top_srcdir)/../config/lcmessage.m4 \
135 $(top_srcdir)/../config/lead-dot.m4 \
136 $(top_srcdir)/../config/lib-ld.m4 \
137 $(top_srcdir)/../config/lib-link.m4 \
138 $(top_srcdir)/../config/lib-prefix.m4 \
139 $(top_srcdir)/../config/nls.m4 \
140 $(top_srcdir)/../config/override.m4 \
141 $(top_srcdir)/../config/pkg.m4 \
142 $(top_srcdir)/../config/plugins.m4 \
143 $(top_srcdir)/../config/po.m4 \
144 $(top_srcdir)/../config/progtest.m4 \
145 $(top_srcdir)/../config/zlib.m4 \
146 $(top_srcdir)/../config/zstd.m4 \
147 $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac
148 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
149 $(ACLOCAL_M4)
150 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
151 $(am__configure_deps)
152 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
153 configure.lineno config.status.lineno
154 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
155 CONFIG_HEADER = config.h
156 CONFIG_CLEAN_FILES = po/Makefile.in
157 CONFIG_CLEAN_VPATH_FILES =
158 LIBRARIES = $(noinst_LIBRARIES)
159 AR = ar
160 ARFLAGS = cru
161 AM_V_AR = $(am__v_AR_@AM_V@)
162 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
163 am__v_AR_0 = @echo " AR " $@;
164 am__v_AR_1 =
165 libgold_a_AR = $(AR) $(ARFLAGS)
166 libgold_a_DEPENDENCIES = $(LIBOBJS)
167 am__objects_1 = archive.$(OBJEXT) attributes.$(OBJEXT) \
168 binary.$(OBJEXT) common.$(OBJEXT) compressed_output.$(OBJEXT) \
169 copy-relocs.$(OBJEXT) cref.$(OBJEXT) defstd.$(OBJEXT) \
170 descriptors.$(OBJEXT) dirsearch.$(OBJEXT) dynobj.$(OBJEXT) \
171 dwarf_reader.$(OBJEXT) ehframe.$(OBJEXT) errors.$(OBJEXT) \
172 expression.$(OBJEXT) fileread.$(OBJEXT) gc.$(OBJEXT) \
173 gdb-index.$(OBJEXT) gold.$(OBJEXT) gold-threads.$(OBJEXT) \
174 icf.$(OBJEXT) incremental.$(OBJEXT) int_encoding.$(OBJEXT) \
175 layout.$(OBJEXT) mapfile.$(OBJEXT) merge.$(OBJEXT) \
176 nacl.$(OBJEXT) object.$(OBJEXT) options.$(OBJEXT) \
177 output.$(OBJEXT) parameters.$(OBJEXT) plugin.$(OBJEXT) \
178 readsyms.$(OBJEXT) reduced_debug_output.$(OBJEXT) \
179 reloc.$(OBJEXT) resolve.$(OBJEXT) script-sections.$(OBJEXT) \
180 script.$(OBJEXT) stringpool.$(OBJEXT) symtab.$(OBJEXT) \
181 target.$(OBJEXT) target-select.$(OBJEXT) timer.$(OBJEXT) \
182 version.$(OBJEXT) workqueue.$(OBJEXT) \
183 workqueue-threads.$(OBJEXT)
184 am__objects_2 =
185 am__objects_3 = yyscript.$(OBJEXT)
186 am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \
187 $(am__objects_3) $(am__objects_2)
188 libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
189 am__installdirs = "$(DESTDIR)$(bindir)"
190 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__EXEEXT_1 = \
191 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ ld3$(EXEEXT)
192 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
193 am_dwp_OBJECTS = dwp.$(OBJEXT)
194 dwp_OBJECTS = $(am_dwp_OBJECTS)
195 am__DEPENDENCIES_1 =
196 dwp_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(dwp_LDFLAGS) \
197 $(LDFLAGS) -o $@
198 am_incremental_dump_OBJECTS = incremental-dump.$(OBJEXT)
199 incremental_dump_OBJECTS = $(am_incremental_dump_OBJECTS)
200 am__objects_4 = main.$(OBJEXT)
201 am_ld_new_OBJECTS = $(am__objects_4)
202 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
203 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a $(LIBIBERTY) \
204 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
205 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
206 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
207 $(am__DEPENDENCIES_1)
208 ld_new_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld_new_LDFLAGS) \
209 $(LDFLAGS) -o $@
210 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4)
211 ld1_OBJECTS = $(am_ld1_OBJECTS)
212 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_r_OBJECTS = $(am__objects_4)
213 ld1_r_OBJECTS = $(am_ld1_r_OBJECTS)
214 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4)
215 ld2_OBJECTS = $(am_ld2_OBJECTS)
216 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_r_OBJECTS = $(am__objects_4)
217 ld2_r_OBJECTS = $(am_ld2_r_OBJECTS)
218 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld3_OBJECTS = $(am__objects_4)
219 ld3_OBJECTS = $(am_ld3_OBJECTS)
220 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld4_OBJECTS = $(am__objects_4)
221 ld4_OBJECTS = $(am_ld4_OBJECTS)
222 AM_V_P = $(am__v_P_@AM_V@)
223 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
224 am__v_P_0 = false
225 am__v_P_1 = :
226 AM_V_GEN = $(am__v_GEN_@AM_V@)
227 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
228 am__v_GEN_0 = @echo " GEN " $@;
229 am__v_GEN_1 =
230 AM_V_at = $(am__v_at_@AM_V@)
231 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
232 am__v_at_0 = @
233 am__v_at_1 =
234 DEFAULT_INCLUDES = -I.@am__isrc@
235 depcomp = $(SHELL) $(top_srcdir)/../depcomp
236 am__depfiles_maybe = depfiles
237 am__mv = mv -f
238 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
239 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
240 AM_V_CC = $(am__v_CC_@AM_V@)
241 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
242 am__v_CC_0 = @echo " CC " $@;
243 am__v_CC_1 =
244 CCLD = $(CC)
245 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
246 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
247 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
248 am__v_CCLD_0 = @echo " CCLD " $@;
249 am__v_CCLD_1 =
250 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
251 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
252 AM_V_CXX = $(am__v_CXX_@AM_V@)
253 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
254 am__v_CXX_0 = @echo " CXX " $@;
255 am__v_CXX_1 =
256 CXXLD = $(CXX)
257 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
258 -o $@
259 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
260 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
261 am__v_CXXLD_0 = @echo " CXXLD " $@;
262 am__v_CXXLD_1 =
263 @MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ ||
264 am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \
265 -e s/c++$$/h++/ -e s/c$$/h/
266 YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS)
267 AM_V_YACC = $(am__v_YACC_@AM_V@)
268 am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@)
269 am__v_YACC_0 = @echo " YACC " $@;
270 am__v_YACC_1 =
271 YLWRAP = $(top_srcdir)/../ylwrap
272 SOURCES = $(libgold_a_SOURCES) $(dwp_SOURCES) \
273 $(incremental_dump_SOURCES) $(ld_new_SOURCES) \
274 $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld1_r_SOURCES) \
275 $(ld2_SOURCES) $(ld2_r_SOURCES) $(ld3_SOURCES) $(ld4_SOURCES)
276 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
277 ctags-recursive dvi-recursive html-recursive info-recursive \
278 install-data-recursive install-dvi-recursive \
279 install-exec-recursive install-html-recursive \
280 install-info-recursive install-pdf-recursive \
281 install-ps-recursive install-recursive installcheck-recursive \
282 installdirs-recursive pdf-recursive ps-recursive \
283 tags-recursive uninstall-recursive
284 am__can_run_installinfo = \
285 case $$AM_UPDATE_INFO_DIR in \
286 n|no|NO) false;; \
287 *) (install-info --version) >/dev/null 2>&1;; \
288 esac
289 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
290 distclean-recursive maintainer-clean-recursive
291 am__recursive_targets = \
292 $(RECURSIVE_TARGETS) \
293 $(RECURSIVE_CLEAN_TARGETS) \
294 $(am__extra_recursive_targets)
295 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
296 cscope check recheck
297 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
298 $(LISP)config.in
299 # Read a list of newline-separated strings from the standard input,
300 # and print each of them once, without duplicates. Input order is
301 # *not* preserved.
302 am__uniquify_input = $(AWK) '\
303 BEGIN { nonempty = 0; } \
304 { items[$$0] = 1; nonempty = 1; } \
305 END { if (nonempty) { for (i in items) print i; }; } \
307 # Make sure the list of sources is unique. This is necessary because,
308 # e.g., the same source file might be shared among _SOURCES variables
309 # for different programs/libraries.
310 am__define_uniq_tagged_files = \
311 list='$(am__tagged_files)'; \
312 unique=`for i in $$list; do \
313 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
314 done | $(am__uniquify_input)`
315 ETAGS = etags
316 CTAGS = ctags
317 CSCOPE = cscope
318 am__tty_colors_dummy = \
319 mgn= red= grn= lgn= blu= brg= std=; \
320 am__color_tests=no
321 am__tty_colors = { \
322 $(am__tty_colors_dummy); \
323 if test "X$(AM_COLOR_TESTS)" = Xno; then \
324 am__color_tests=no; \
325 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
326 am__color_tests=yes; \
327 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
328 am__color_tests=yes; \
329 fi; \
330 if test $$am__color_tests = yes; then \
331 red='\e[0;31m'; \
332 grn='\e[0;32m'; \
333 lgn='\e[1;32m'; \
334 blu='\e[1;34m'; \
335 mgn='\e[0;35m'; \
336 brg='\e[1m'; \
337 std='\e[m'; \
338 fi; \
340 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
341 am__vpath_adj = case $$p in \
342 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
343 *) f=$$p;; \
344 esac;
345 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
346 am__install_max = 40
347 am__nobase_strip_setup = \
348 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
349 am__nobase_strip = \
350 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
351 am__nobase_list = $(am__nobase_strip_setup); \
352 for p in $$list; do echo "$$p $$p"; done | \
353 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
354 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
355 if (++n[$$2] == $(am__install_max)) \
356 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
357 END { for (dir in files) print dir, files[dir] }'
358 am__base_list = \
359 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
360 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
361 am__uninstall_files_from_dir = { \
362 test -z "$$files" \
363 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
364 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
365 $(am__cd) "$$dir" && rm -f $$files; }; \
367 am__recheck_rx = ^[ ]*:recheck:[ ]*
368 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
369 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
370 # A command that, given a newline-separated list of test names on the
371 # standard input, print the name of the tests that are to be re-run
372 # upon "make recheck".
373 am__list_recheck_tests = $(AWK) '{ \
374 recheck = 1; \
375 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
377 if (rc < 0) \
379 if ((getline line2 < ($$0 ".log")) < 0) \
380 recheck = 0; \
381 break; \
383 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
385 recheck = 0; \
386 break; \
388 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
390 break; \
392 }; \
393 if (recheck) \
394 print $$0; \
395 close ($$0 ".trs"); \
396 close ($$0 ".log"); \
398 # A command that, given a newline-separated list of test names on the
399 # standard input, create the global log from their .trs and .log files.
400 am__create_global_log = $(AWK) ' \
401 function fatal(msg) \
403 print "fatal: making $@: " msg | "cat >&2"; \
404 exit 1; \
406 function rst_section(header) \
408 print header; \
409 len = length(header); \
410 for (i = 1; i <= len; i = i + 1) \
411 printf "="; \
412 printf "\n\n"; \
415 copy_in_global_log = 1; \
416 global_test_result = "RUN"; \
417 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
419 if (rc < 0) \
420 fatal("failed to read from " $$0 ".trs"); \
421 if (line ~ /$(am__global_test_result_rx)/) \
423 sub("$(am__global_test_result_rx)", "", line); \
424 sub("[ ]*$$", "", line); \
425 global_test_result = line; \
427 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
428 copy_in_global_log = 0; \
429 }; \
430 if (copy_in_global_log) \
432 rst_section(global_test_result ": " $$0); \
433 while ((rc = (getline line < ($$0 ".log"))) != 0) \
435 if (rc < 0) \
436 fatal("failed to read from " $$0 ".log"); \
437 print line; \
438 }; \
439 printf "\n"; \
440 }; \
441 close ($$0 ".trs"); \
442 close ($$0 ".log"); \
444 # Restructured Text title.
445 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
446 # Solaris 10 'make', and several other traditional 'make' implementations,
447 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
448 # by disabling -e (using the XSI extension "set +e") if it's set.
449 am__sh_e_setup = case $$- in *e*) set +e;; esac
450 # Default flags passed to test drivers.
451 am__common_driver_flags = \
452 --color-tests "$$am__color_tests" \
453 --enable-hard-errors "$$am__enable_hard_errors" \
454 --expect-failure "$$am__expect_failure"
455 # To be inserted before the command running the test. Creates the
456 # directory for the log if needed. Stores in $dir the directory
457 # containing $f, in $tst the test, in $log the log. Executes the
458 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
459 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
460 # will run the test scripts (or their associated LOG_COMPILER, if
461 # thy have one).
462 am__check_pre = \
463 $(am__sh_e_setup); \
464 $(am__vpath_adj_setup) $(am__vpath_adj) \
465 $(am__tty_colors); \
466 srcdir=$(srcdir); export srcdir; \
467 case "$@" in \
468 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
469 *) am__odir=.;; \
470 esac; \
471 test "x$$am__odir" = x"." || test -d "$$am__odir" \
472 || $(MKDIR_P) "$$am__odir" || exit $$?; \
473 if test -f "./$$f"; then dir=./; \
474 elif test -f "$$f"; then dir=; \
475 else dir="$(srcdir)/"; fi; \
476 tst=$$dir$$f; log='$@'; \
477 if test -n '$(DISABLE_HARD_ERRORS)'; then \
478 am__enable_hard_errors=no; \
479 else \
480 am__enable_hard_errors=yes; \
481 fi; \
482 case " $(XFAIL_TESTS) " in \
483 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
484 am__expect_failure=yes;; \
485 *) \
486 am__expect_failure=no;; \
487 esac; \
488 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
489 # A shell command to get the names of the tests scripts with any registered
490 # extension removed (i.e., equivalently, the names of the test logs, with
491 # the '.log' extension removed). The result is saved in the shell variable
492 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
493 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
494 # since that might cause problem with VPATH rewrites for suffix-less tests.
495 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
496 am__set_TESTS_bases = \
497 bases='$(TEST_LOGS)'; \
498 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
499 bases=`echo $$bases`
500 RECHECK_LOGS = $(TEST_LOGS)
501 TEST_SUITE_LOG = test-suite.log
502 TEST_EXTENSIONS = @EXEEXT@ .test
503 LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
504 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
505 am__set_b = \
506 case '$@' in \
507 */*) \
508 case '$*' in \
509 */*) b='$*';; \
510 *) b=`echo '$@' | sed 's/\.log$$//'`; \
511 esac;; \
512 *) \
513 b='$*';; \
514 esac
515 am__test_logs1 = $(TESTS:=.log)
516 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
517 TEST_LOGS = $(am__test_logs2:.test.log=.log)
518 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
519 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
520 $(TEST_LOG_FLAGS)
521 DIST_SUBDIRS = $(SUBDIRS)
522 ACLOCAL = @ACLOCAL@
523 AMTAR = @AMTAR@
524 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
525 AUTOCONF = @AUTOCONF@
526 AUTOHEADER = @AUTOHEADER@
527 AUTOMAKE = @AUTOMAKE@
528 AWK = @AWK@
529 CATALOGS = @CATALOGS@
530 CATOBJEXT = @CATOBJEXT@
531 CC = @CC@
532 CCDEPMODE = @CCDEPMODE@
533 CFLAGS = @CFLAGS@
534 CPP = @CPP@
535 CPPFLAGS = @CPPFLAGS@
536 CXX = @CXX@
537 CXXCPP = @CXXCPP@
538 CXXDEPMODE = @CXXDEPMODE@
539 CXXFLAGS = @CXXFLAGS@
540 CYGPATH_W = @CYGPATH_W@
541 DATADIRNAME = @DATADIRNAME@
542 DEFAULT_TARGET = @DEFAULT_TARGET@
543 DEFS = @DEFS@
544 DEPDIR = @DEPDIR@
545 DLOPEN_LIBS = @DLOPEN_LIBS@
546 ECHO_C = @ECHO_C@
547 ECHO_N = @ECHO_N@
548 ECHO_T = @ECHO_T@
549 EGREP = @EGREP@
550 EXEEXT = @EXEEXT@
551 GENCAT = @GENCAT@
552 GMSGFMT = @GMSGFMT@
553 GOLD_LDADD = @GOLD_LDADD@
554 GOLD_LDFLAGS = @GOLD_LDFLAGS@
555 GREP = @GREP@
556 HAVE_CXX11 = @HAVE_CXX11@
557 INCINTL = @INCINTL@
558 INSTALL = @INSTALL@
559 INSTALL_DATA = @INSTALL_DATA@
560 INSTALL_PROGRAM = @INSTALL_PROGRAM@
561 INSTALL_SCRIPT = @INSTALL_SCRIPT@
562 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
563 INSTOBJEXT = @INSTOBJEXT@
564 INTLLIBS = @INTLLIBS@
565 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
566 JANSSON_CFLAGS = @JANSSON_CFLAGS@
567 JANSSON_LIBS = @JANSSON_LIBS@
568 LDFLAGS = @LDFLAGS@
569 LFS_CFLAGS = @LFS_CFLAGS@
570 LIBICONV = @LIBICONV@
571 LIBINTL = @LIBINTL@
572 LIBINTL_DEP = @LIBINTL_DEP@
573 LIBOBJS = @LIBOBJS@
574 LIBS = @LIBS@
575 LN_S = @LN_S@
576 LTLIBICONV = @LTLIBICONV@
577 LTLIBINTL = @LTLIBINTL@
578 LTLIBOBJS = @LTLIBOBJS@
579 MAINT = @MAINT@
580 MAKEINFO = @MAKEINFO@
581 MERGE_CONSTANTS_FLAG = @MERGE_CONSTANTS_FLAG@
582 MKDIR_P = @MKDIR_P@
583 MKINSTALLDIRS = @MKINSTALLDIRS@
584 MSGFMT = @MSGFMT@
585 MSGMERGE = @MSGMERGE@
586 NM = @NM@
587 NO_WERROR = @NO_WERROR@
588 OBJEXT = @OBJEXT@
589 PACKAGE = @PACKAGE@
590 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
591 PACKAGE_NAME = @PACKAGE_NAME@
592 PACKAGE_STRING = @PACKAGE_STRING@
593 PACKAGE_TARNAME = @PACKAGE_TARNAME@
594 PACKAGE_URL = @PACKAGE_URL@
595 PACKAGE_VERSION = @PACKAGE_VERSION@
596 PATH_SEPARATOR = @PATH_SEPARATOR@
597 PKG_CONFIG = @PKG_CONFIG@
598 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
599 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
600 POSUB = @POSUB@
601 PTHREAD_CC = @PTHREAD_CC@
602 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
603 PTHREAD_LIBS = @PTHREAD_LIBS@
604 RANDOM_SEED_CFLAGS = @RANDOM_SEED_CFLAGS@
605 RANLIB = @RANLIB@
606 SED = @SED@
607 SET_MAKE = @SET_MAKE@
608 SHELL = @SHELL@
609 STRIP = @STRIP@
610 TARGETOBJS = @TARGETOBJS@
611 USE_NLS = @USE_NLS@
612 VERSION = @VERSION@
613 WARN_CFLAGS = @WARN_CFLAGS@
614 WARN_CFLAGS_FOR_BUILD = @WARN_CFLAGS_FOR_BUILD@
615 WARN_CXXFLAGS = @WARN_CXXFLAGS@
616 WARN_WRITE_STRINGS = @WARN_WRITE_STRINGS@
617 XGETTEXT = @XGETTEXT@
618 YACC = @YACC@
619 YFLAGS = @YFLAGS@
620 ZSTD_CFLAGS = @ZSTD_CFLAGS@
621 ZSTD_LIBS = @ZSTD_LIBS@
622 abs_builddir = @abs_builddir@
623 abs_srcdir = @abs_srcdir@
624 abs_top_builddir = @abs_top_builddir@
625 abs_top_srcdir = @abs_top_srcdir@
626 ac_ct_CC = @ac_ct_CC@
627 ac_ct_CXX = @ac_ct_CXX@
628 am__include = @am__include@
629 am__leading_dot = @am__leading_dot@
630 am__quote = @am__quote@
631 am__tar = @am__tar@
632 am__untar = @am__untar@
633 ax_pthread_config = @ax_pthread_config@
634 bindir = @bindir@
635 build = @build@
636 build_alias = @build_alias@
637 build_cpu = @build_cpu@
638 build_os = @build_os@
639 build_vendor = @build_vendor@
640 builddir = @builddir@
641 datadir = @datadir@
642 datarootdir = @datarootdir@
643 docdir = @docdir@
644 dvidir = @dvidir@
645 exec_prefix = @exec_prefix@
646 host = @host@
647 host_alias = @host_alias@
648 host_cpu = @host_cpu@
649 host_os = @host_os@
650 host_vendor = @host_vendor@
651 htmldir = @htmldir@
652 includedir = @includedir@
653 infodir = @infodir@
654 install_as_default = @install_as_default@
655 install_sh = @install_sh@
656 installed_linker = @installed_linker@
657 libdir = @libdir@
658 libexecdir = @libexecdir@
659 localedir = @localedir@
660 localstatedir = @localstatedir@
661 mandir = @mandir@
662 mkdir_p = @mkdir_p@
663 oldincludedir = @oldincludedir@
664 pdfdir = @pdfdir@
665 prefix = @prefix@
666 program_transform_name = @program_transform_name@
667 psdir = @psdir@
668 sbindir = @sbindir@
669 sharedstatedir = @sharedstatedir@
670 srcdir = @srcdir@
671 sysconfdir = @sysconfdir@
672 target = @target@
673 target_alias = @target_alias@
674 target_cpu = @target_cpu@
675 target_os = @target_os@
676 target_vendor = @target_vendor@
677 top_build_prefix = @top_build_prefix@
678 top_builddir = @top_builddir@
679 top_srcdir = @top_srcdir@
680 zlibdir = @zlibdir@
681 zlibinc = @zlibinc@
682 AUTOMAKE_OPTIONS = foreign
683 SUBDIRS = po testsuite
684 tooldir = $(exec_prefix)/$(target_alias)
685 ACLOCAL_AMFLAGS = -I ../bfd -I ../config
687 # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
688 # -I../zlib, unless we were configured with --with-system-zlib, in which
689 # case both are empty.
690 ZLIB = @zlibdir@ -lz
691 ZLIBINC = @zlibinc@
692 THREADFLAGS = @PTHREAD_CFLAGS@
693 THREADLIBS = @PTHREAD_LIBS@
694 AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) $(ZLIBINC) $(ZSTD_CFLAGS) $(THREADFLAGS)
695 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) $(ZLIBINC) $(ZSTD_CFLAGS) $(THREADFLAGS) $(JANSSON_CFLAGS)
696 AM_LDFLAGS = $(THREADFLAGS)
697 AM_CPPFLAGS = \
698 -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
699 -DLOCALEDIR="\"$(datadir)/locale\"" \
700 -DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
701 -DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@
703 LIBIBERTY = ../libiberty/libiberty.a
704 @PLUGINS_TRUE@LIBDL = @DLOPEN_LIBS@
705 AM_YFLAGS = -d
707 # Automake 1.10+ disables lex and yacc output file regeneration if
708 # maintainer mode is disabled. Avoid this.
709 am__skiplex =
710 am__skipyacc =
711 noinst_LIBRARIES = libgold.a
712 CCFILES = \
713 archive.cc \
714 attributes.cc \
715 binary.cc \
716 common.cc \
717 compressed_output.cc \
718 copy-relocs.cc \
719 cref.cc \
720 defstd.cc \
721 descriptors.cc \
722 dirsearch.cc \
723 dynobj.cc \
724 dwarf_reader.cc \
725 ehframe.cc \
726 errors.cc \
727 expression.cc \
728 fileread.cc \
729 gc.cc \
730 gdb-index.cc \
731 gold.cc \
732 gold-threads.cc \
733 icf.cc \
734 incremental.cc \
735 int_encoding.cc \
736 layout.cc \
737 mapfile.cc \
738 merge.cc \
739 nacl.cc \
740 object.cc \
741 options.cc \
742 output.cc \
743 parameters.cc \
744 plugin.cc \
745 readsyms.cc \
746 reduced_debug_output.cc \
747 reloc.cc \
748 resolve.cc \
749 script-sections.cc \
750 script.cc \
751 stringpool.cc \
752 symtab.cc \
753 target.cc \
754 target-select.cc \
755 timer.cc \
756 version.cc \
757 workqueue.cc \
758 workqueue-threads.cc
760 HFILES = \
761 arm-reloc-property.h \
762 aarch64-reloc-property.h \
763 archive.h \
764 attributes.h \
765 binary.h \
766 common.h \
767 compressed_output.h \
768 copy-relocs.h \
769 cref.h \
770 defstd.h \
771 dirsearch.h \
772 descriptors.h \
773 dynobj.h \
774 dwarf_reader.h \
775 ehframe.h \
776 errors.h \
777 fileread.h \
778 freebsd.h \
779 gc.h \
780 gdb-index.h \
781 gold.h \
782 gold-threads.h \
783 icf.h \
784 int_encoding.h \
785 layout.h \
786 mapfile.h \
787 merge.h \
788 nacl.h \
789 object.h \
790 options.h \
791 output.h \
792 parameters.h \
793 plugin.h \
794 readsyms.h \
795 reduced_debug_output.h \
796 reloc.h \
797 reloc-types.h \
798 script-c.h \
799 script-sections.h \
800 script.h \
801 stringpool.h \
802 symtab.h \
803 target.h \
804 target-reloc.h \
805 target-select.h \
806 timer.h \
807 tls.h \
808 token.h \
809 workqueue.h \
810 workqueue-internal.h
812 YFILES = \
813 yyscript.y
815 DEFFILES = arm-reloc.def aarch64-reloc.def
816 EXTRA_DIST = yyscript.c yyscript.h
817 TARGETSOURCES = \
818 i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc arm-reloc-property.cc tilegx.cc \
819 mips.cc aarch64.cc aarch64-reloc-property.cc s390.cc
821 ALL_TARGETOBJS = \
822 i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \
823 arm.$(OBJEXT) arm-reloc-property.$(OBJEXT) tilegx.$(OBJEXT) \
824 mips.$(OBJEXT) aarch64.$(OBJEXT) aarch64-reloc-property.$(OBJEXT) \
825 s390.$(OBJEXT)
827 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) $(DEFFILES)
828 libgold_a_LIBADD = $(LIBOBJS)
829 sources_var = main.cc
830 deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
831 ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) \
832 $(THREADLIBS) $(LIBDL) $(ZLIB) $(ZSTD_LIBS) $(JANSSON_LIBS)
834 ldflags_var = $(GOLD_LDFLAGS)
835 ld_new_SOURCES = $(sources_var)
836 ld_new_DEPENDENCIES = $(deps_var)
837 ld_new_LDADD = $(ldadd_var)
838 ld_new_LDFLAGS = $(ldflags_var)
839 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
840 incremental_dump_SOURCES = incremental-dump.cc
841 incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \
842 $(LIBINTL_DEP)
844 incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
845 $(THREADLIBS) $(LIBDL) $(ZLIB) $(ZSTD_LIBS) $(JANSSON_LIBS)
847 dwp_SOURCES = dwp.cc
848 dwp_DEPENDENCIES = libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
849 dwp_LDADD = libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) $(THREADLIBS) \
850 $(LIBDL) $(ZLIB) $(ZSTD_LIBS) $(JANSSON_LIBS)
852 dwp_LDFLAGS = $(GOLD_LDFLAGS)
853 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/../bfd/development.sh
854 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
855 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
856 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld
857 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
858 @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc1 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir1\/\2/'
859 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LINK = `echo $(CXXLD) | sed $(editcc1)`\
860 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) $(LDFLAGS) -o $@
862 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
863 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld gcctestdir2/collect-ld
864 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
865 @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc2 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2\/\2/'
866 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LINK = `echo $(CXXLD) | sed $(editcc2)`\
867 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) $(LDFLAGS) -o $@
869 @GCC_TRUE@@NATIVE_LINKER_TRUE@TEST_READELF = $(top_builddir)/../binutils/readelf
870 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
871 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld
872 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
873 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LINK = `echo $(CXXLD) | sed $(editcc1)`\
874 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
876 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
877 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld gcctestdir2-r/collect-ld
878 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
879 @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc2r = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2-r\/\2/'
880 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LINK = `echo $(CXXLD) | sed $(editcc2r)`\
881 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
883 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r \
884 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
885 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_6)
886 @GCC_TRUE@@NATIVE_LINKER_TRUE@MOSTLYCLEANFILES = bootstrap-test \
887 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-r \
888 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
889 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_7)
890 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_SOURCES = $(sources_var)
891 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_DEPENDENCIES = $(deps_var) gcctestdir3/ld gcctestdir3/collect-ld
892 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDADD = $(ldadd_var)
893 @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc3 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir3\/\2/'
894 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LINK = `echo $(CXXLD) | sed $(editcc3)`\
895 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld3_LDFLAGS) $(LDFLAGS) -o $@
897 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_SOURCES = $(sources_var)
898 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_DEPENDENCIES = $(deps_var) gcctestdir4/ld gcctestdir4/collect-ld
899 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDADD = $(ldadd_var)
900 @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc4 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir4\/\2/'
901 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LINK = `echo $(CXXLD) | sed $(editcc4)`\
902 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld4_LDFLAGS) $(LDFLAGS) -o $@
904 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Wl,--build-id=tree \
905 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
906 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
907 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_1)
908 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Wl,--build-id=tree \
909 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
910 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
911 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_2)
912 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDFLAGS = -Wl,--build-id=tree \
913 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
914 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
915 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_3)
916 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDFLAGS = -Wl,--build-id=tree \
917 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12346 \
918 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
919 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_4)
920 all: config.h
921 $(MAKE) $(AM_MAKEFLAGS) all-recursive
923 .SUFFIXES:
924 .SUFFIXES: .c .cc .log .o .obj .test .test$(EXEEXT) .trs .y
925 am--refresh: Makefile
927 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
928 @for dep in $?; do \
929 case '$(am__configure_deps)' in \
930 *$$dep*) \
931 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
932 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
933 && exit 0; \
934 exit 1;; \
935 esac; \
936 done; \
937 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
938 $(am__cd) $(top_srcdir) && \
939 $(AUTOMAKE) --foreign Makefile
940 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
941 @case '$?' in \
942 *config.status*) \
943 echo ' $(SHELL) ./config.status'; \
944 $(SHELL) ./config.status;; \
945 *) \
946 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
947 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
948 esac;
950 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
951 $(SHELL) ./config.status --recheck
953 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
954 $(am__cd) $(srcdir) && $(AUTOCONF)
955 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
956 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
957 $(am__aclocal_m4_deps):
959 config.h: stamp-h1
960 @test -f $@ || rm -f stamp-h1
961 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
963 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
964 @rm -f stamp-h1
965 cd $(top_builddir) && $(SHELL) ./config.status config.h
966 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
967 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
968 rm -f stamp-h1
969 touch $@
971 distclean-hdr:
972 -rm -f config.h stamp-h1
973 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
974 cd $(top_builddir) && $(SHELL) ./config.status $@
976 clean-noinstLIBRARIES:
977 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
978 yyscript.h: yyscript.c
979 @if test ! -f $@; then rm -f yyscript.c; else :; fi
980 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) yyscript.c; else :; fi
982 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES) $(EXTRA_libgold_a_DEPENDENCIES)
983 $(AM_V_at)-rm -f libgold.a
984 $(AM_V_AR)$(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
985 $(AM_V_at)$(RANLIB) libgold.a
986 install-binPROGRAMS: $(bin_PROGRAMS)
987 @$(NORMAL_INSTALL)
988 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
989 if test -n "$$list"; then \
990 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
991 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
992 fi; \
993 for p in $$list; do echo "$$p $$p"; done | \
994 sed 's/$(EXEEXT)$$//' | \
995 while read p p1; do if test -f $$p \
996 ; then echo "$$p"; echo "$$p"; else :; fi; \
997 done | \
998 sed -e 'p;s,.*/,,;n;h' \
999 -e 's|.*|.|' \
1000 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
1001 sed 'N;N;N;s,\n, ,g' | \
1002 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
1003 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1004 if ($$2 == $$4) files[d] = files[d] " " $$1; \
1005 else { print "f", $$3 "/" $$4, $$1; } } \
1006 END { for (d in files) print "f", d, files[d] }' | \
1007 while read type dir files; do \
1008 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1009 test -z "$$files" || { \
1010 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
1011 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
1013 ; done
1015 uninstall-binPROGRAMS:
1016 @$(NORMAL_UNINSTALL)
1017 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
1018 files=`for p in $$list; do echo "$$p"; done | \
1019 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
1020 -e 's/$$/$(EXEEXT)/' \
1021 `; \
1022 test -n "$$list" || exit 0; \
1023 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
1024 cd "$(DESTDIR)$(bindir)" && rm -f $$files
1026 clean-binPROGRAMS:
1027 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
1029 clean-checkPROGRAMS:
1030 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
1032 clean-noinstPROGRAMS:
1033 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
1035 dwp$(EXEEXT): $(dwp_OBJECTS) $(dwp_DEPENDENCIES) $(EXTRA_dwp_DEPENDENCIES)
1036 @rm -f dwp$(EXEEXT)
1037 $(AM_V_CXXLD)$(dwp_LINK) $(dwp_OBJECTS) $(dwp_LDADD) $(LIBS)
1039 incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES) $(EXTRA_incremental_dump_DEPENDENCIES)
1040 @rm -f incremental-dump$(EXEEXT)
1041 $(AM_V_CXXLD)$(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS)
1043 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) $(EXTRA_ld_new_DEPENDENCIES)
1044 @rm -f ld-new$(EXEEXT)
1045 $(AM_V_CXXLD)$(ld_new_LINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
1047 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES) $(EXTRA_ld1_DEPENDENCIES)
1048 @rm -f ld1$(EXEEXT)
1049 $(AM_V_GEN)$(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
1051 ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES) $(EXTRA_ld1_r_DEPENDENCIES)
1052 @rm -f ld1-r$(EXEEXT)
1053 $(AM_V_GEN)$(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
1055 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES) $(EXTRA_ld2_DEPENDENCIES)
1056 @rm -f ld2$(EXEEXT)
1057 $(AM_V_GEN)$(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
1059 ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES) $(EXTRA_ld2_r_DEPENDENCIES)
1060 @rm -f ld2-r$(EXEEXT)
1061 $(AM_V_GEN)$(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
1063 ld3$(EXEEXT): $(ld3_OBJECTS) $(ld3_DEPENDENCIES) $(EXTRA_ld3_DEPENDENCIES)
1064 @rm -f ld3$(EXEEXT)
1065 $(AM_V_GEN)$(ld3_LINK) $(ld3_OBJECTS) $(ld3_LDADD) $(LIBS)
1067 ld4$(EXEEXT): $(ld4_OBJECTS) $(ld4_DEPENDENCIES) $(EXTRA_ld4_DEPENDENCIES)
1068 @rm -f ld4$(EXEEXT)
1069 $(AM_V_GEN)$(ld4_LINK) $(ld4_OBJECTS) $(ld4_LDADD) $(LIBS)
1071 mostlyclean-compile:
1072 -rm -f *.$(OBJEXT)
1074 distclean-compile:
1075 -rm -f *.tab.c
1077 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@
1078 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@
1079 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@
1080 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
1081 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64-reloc-property.Po@am__quote@
1082 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64.Po@am__quote@
1083 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
1084 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm-reloc-property.Po@am__quote@
1085 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@
1086 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@
1087 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@
1088 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
1089 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@
1090 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@
1091 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@
1092 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
1093 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@
1094 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
1095 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@
1096 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwp.Po@am__quote@
1097 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
1098 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
1099 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
1100 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@
1101 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
1102 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@
1103 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-index.Po@am__quote@
1104 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
1105 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
1106 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
1107 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@
1108 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@
1109 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@
1110 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@
1111 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
1112 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
1113 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@
1114 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
1115 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mips.Po@am__quote@
1116 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nacl.Po@am__quote@
1117 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
1118 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
1119 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
1120 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
1121 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@
1122 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
1123 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
1124 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
1125 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
1126 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
1127 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390.Po@am__quote@
1128 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@
1129 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
1130 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@
1131 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
1132 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
1133 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
1134 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@
1135 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilegx.Po@am__quote@
1136 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@
1137 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
1138 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@
1139 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
1140 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
1141 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
1143 .c.o:
1144 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1145 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1146 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1147 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1148 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1150 .c.obj:
1151 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1152 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1153 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1154 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1155 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1157 .cc.o:
1158 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1159 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1160 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1161 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1162 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
1164 .cc.obj:
1165 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1166 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1167 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1168 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1169 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1171 .y.c:
1172 $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE)
1174 # This directory's subdirectories are mostly independent; you can cd
1175 # into them and run 'make' without going through this Makefile.
1176 # To change the values of 'make' variables: instead of editing Makefiles,
1177 # (1) if the variable is set in 'config.status', edit 'config.status'
1178 # (which will cause the Makefiles to be regenerated when you run 'make');
1179 # (2) otherwise, pass the desired values on the 'make' command line.
1180 $(am__recursive_targets):
1181 @fail=; \
1182 if $(am__make_keepgoing); then \
1183 failcom='fail=yes'; \
1184 else \
1185 failcom='exit 1'; \
1186 fi; \
1187 dot_seen=no; \
1188 target=`echo $@ | sed s/-recursive//`; \
1189 case "$@" in \
1190 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1191 *) list='$(SUBDIRS)' ;; \
1192 esac; \
1193 for subdir in $$list; do \
1194 echo "Making $$target in $$subdir"; \
1195 if test "$$subdir" = "."; then \
1196 dot_seen=yes; \
1197 local_target="$$target-am"; \
1198 else \
1199 local_target="$$target"; \
1200 fi; \
1201 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1202 || eval $$failcom; \
1203 done; \
1204 if test "$$dot_seen" = "no"; then \
1205 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1206 fi; test -z "$$fail"
1208 ID: $(am__tagged_files)
1209 $(am__define_uniq_tagged_files); mkid -fID $$unique
1210 tags: tags-recursive
1211 TAGS: tags
1213 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1214 set x; \
1215 here=`pwd`; \
1216 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1217 include_option=--etags-include; \
1218 empty_fix=.; \
1219 else \
1220 include_option=--include; \
1221 empty_fix=; \
1222 fi; \
1223 list='$(SUBDIRS)'; for subdir in $$list; do \
1224 if test "$$subdir" = .; then :; else \
1225 test ! -f $$subdir/TAGS || \
1226 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1227 fi; \
1228 done; \
1229 $(am__define_uniq_tagged_files); \
1230 shift; \
1231 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1232 test -n "$$unique" || unique=$$empty_fix; \
1233 if test $$# -gt 0; then \
1234 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1235 "$$@" $$unique; \
1236 else \
1237 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1238 $$unique; \
1239 fi; \
1241 ctags: ctags-recursive
1243 CTAGS: ctags
1244 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1245 $(am__define_uniq_tagged_files); \
1246 test -z "$(CTAGS_ARGS)$$unique" \
1247 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1248 $$unique
1250 GTAGS:
1251 here=`$(am__cd) $(top_builddir) && pwd` \
1252 && $(am__cd) $(top_srcdir) \
1253 && gtags -i $(GTAGS_ARGS) "$$here"
1254 cscope: cscope.files
1255 test ! -s cscope.files \
1256 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1257 clean-cscope:
1258 -rm -f cscope.files
1259 cscope.files: clean-cscope cscopelist
1260 cscopelist: cscopelist-recursive
1262 cscopelist-am: $(am__tagged_files)
1263 list='$(am__tagged_files)'; \
1264 case "$(srcdir)" in \
1265 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1266 *) sdir=$(subdir)/$(srcdir) ;; \
1267 esac; \
1268 for i in $$list; do \
1269 if test -f "$$i"; then \
1270 echo "$(subdir)/$$i"; \
1271 else \
1272 echo "$$sdir/$$i"; \
1273 fi; \
1274 done >> $(top_builddir)/cscope.files
1276 distclean-tags:
1277 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1278 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1280 # Recover from deleted '.trs' file; this should ensure that
1281 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1282 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
1283 # to avoid problems with "make -n".
1284 .log.trs:
1285 rm -f $< $@
1286 $(MAKE) $(AM_MAKEFLAGS) $<
1288 # Leading 'am--fnord' is there to ensure the list of targets does not
1289 # expand to empty, as could happen e.g. with make check TESTS=''.
1290 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1291 am--force-recheck:
1294 $(TEST_SUITE_LOG): $(TEST_LOGS)
1295 @$(am__set_TESTS_bases); \
1296 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1297 redo_bases=`for i in $$bases; do \
1298 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1299 done`; \
1300 if test -n "$$redo_bases"; then \
1301 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1302 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1303 if $(am__make_dryrun); then :; else \
1304 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1305 fi; \
1306 fi; \
1307 if test -n "$$am__remaking_logs"; then \
1308 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1309 "recursion detected" >&2; \
1310 elif test -n "$$redo_logs"; then \
1311 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1312 fi; \
1313 if $(am__make_dryrun); then :; else \
1314 st=0; \
1315 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1316 for i in $$redo_bases; do \
1317 test -f $$i.trs && test -r $$i.trs \
1318 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1319 test -f $$i.log && test -r $$i.log \
1320 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1321 done; \
1322 test $$st -eq 0 || exit 1; \
1324 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1325 ws='[ ]'; \
1326 results=`for b in $$bases; do echo $$b.trs; done`; \
1327 test -n "$$results" || results=/dev/null; \
1328 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1329 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1330 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1331 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1332 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1333 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1334 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1335 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1336 success=true; \
1337 else \
1338 success=false; \
1339 fi; \
1340 br='==================='; br=$$br$$br$$br$$br; \
1341 result_count () \
1343 if test x"$$1" = x"--maybe-color"; then \
1344 maybe_colorize=yes; \
1345 elif test x"$$1" = x"--no-color"; then \
1346 maybe_colorize=no; \
1347 else \
1348 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1349 fi; \
1350 shift; \
1351 desc=$$1 count=$$2; \
1352 if test $$maybe_colorize = yes && test $$count -gt 0; then \
1353 color_start=$$3 color_end=$$std; \
1354 else \
1355 color_start= color_end=; \
1356 fi; \
1357 echo "$${color_start}# $$desc $$count$${color_end}"; \
1358 }; \
1359 create_testsuite_report () \
1361 result_count $$1 "TOTAL:" $$all "$$brg"; \
1362 result_count $$1 "PASS: " $$pass "$$grn"; \
1363 result_count $$1 "SKIP: " $$skip "$$blu"; \
1364 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1365 result_count $$1 "FAIL: " $$fail "$$red"; \
1366 result_count $$1 "XPASS:" $$xpass "$$red"; \
1367 result_count $$1 "ERROR:" $$error "$$mgn"; \
1368 }; \
1370 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1371 $(am__rst_title); \
1372 create_testsuite_report --no-color; \
1373 echo; \
1374 echo ".. contents:: :depth: 2"; \
1375 echo; \
1376 for b in $$bases; do echo $$b; done \
1377 | $(am__create_global_log); \
1378 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1379 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1380 if $$success; then \
1381 col="$$grn"; \
1382 else \
1383 col="$$red"; \
1384 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1385 fi; \
1386 echo "$${col}$$br$${std}"; \
1387 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1388 echo "$${col}$$br$${std}"; \
1389 create_testsuite_report --maybe-color; \
1390 echo "$$col$$br$$std"; \
1391 if $$success; then :; else \
1392 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1393 if test -n "$(PACKAGE_BUGREPORT)"; then \
1394 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1395 fi; \
1396 echo "$$col$$br$$std"; \
1397 fi; \
1398 $$success || exit 1
1400 check-TESTS:
1401 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1402 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1403 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1404 @set +e; $(am__set_TESTS_bases); \
1405 log_list=`for i in $$bases; do echo $$i.log; done`; \
1406 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1407 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1408 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1409 exit $$?;
1410 recheck: all $(check_PROGRAMS)
1411 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1412 @set +e; $(am__set_TESTS_bases); \
1413 bases=`for i in $$bases; do echo $$i; done \
1414 | $(am__list_recheck_tests)` || exit 1; \
1415 log_list=`for i in $$bases; do echo $$i.log; done`; \
1416 log_list=`echo $$log_list`; \
1417 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1418 am__force_recheck=am--force-recheck \
1419 TEST_LOGS="$$log_list"; \
1420 exit $$?
1421 bootstrap-test.log: bootstrap-test
1422 @p='bootstrap-test'; \
1423 b='bootstrap-test'; \
1424 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1425 --log-file $$b.log --trs-file $$b.trs \
1426 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1427 "$$tst" $(AM_TESTS_FD_REDIRECT)
1428 bootstrap-test-r.log: bootstrap-test-r
1429 @p='bootstrap-test-r'; \
1430 b='bootstrap-test-r'; \
1431 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1432 --log-file $$b.log --trs-file $$b.trs \
1433 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1434 "$$tst" $(AM_TESTS_FD_REDIRECT)
1435 bootstrap-test-treehash-chunksize.log: bootstrap-test-treehash-chunksize
1436 @p='bootstrap-test-treehash-chunksize'; \
1437 b='bootstrap-test-treehash-chunksize'; \
1438 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1439 --log-file $$b.log --trs-file $$b.trs \
1440 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1441 "$$tst" $(AM_TESTS_FD_REDIRECT)
1442 .test.log:
1443 @p='$<'; \
1444 $(am__set_b); \
1445 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1446 --log-file $$b.log --trs-file $$b.trs \
1447 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1448 "$$tst" $(AM_TESTS_FD_REDIRECT)
1449 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1450 @am__EXEEXT_TRUE@ @p='$<'; \
1451 @am__EXEEXT_TRUE@ $(am__set_b); \
1452 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1453 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1454 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1455 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1456 check-am: all-am
1457 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1458 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1459 check: check-recursive
1460 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
1461 installdirs: installdirs-recursive
1462 installdirs-am:
1463 for dir in "$(DESTDIR)$(bindir)"; do \
1464 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1465 done
1466 install: install-recursive
1467 install-exec: install-exec-recursive
1468 install-data: install-data-recursive
1469 uninstall: uninstall-recursive
1471 install-am: all-am
1472 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1474 installcheck: installcheck-recursive
1475 install-strip:
1476 if test -z '$(STRIP)'; then \
1477 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1478 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1479 install; \
1480 else \
1481 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1482 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1483 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1485 mostlyclean-generic:
1486 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1487 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1488 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1489 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1491 clean-generic:
1493 distclean-generic:
1494 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1495 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1497 maintainer-clean-generic:
1498 @echo "This command is intended for maintainers to use"
1499 @echo "it deletes files that may require special tools to rebuild."
1500 -rm -f yyscript.c
1501 -rm -f yyscript.h
1502 clean: clean-recursive
1504 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1505 clean-noinstLIBRARIES clean-noinstPROGRAMS mostlyclean-am
1507 distclean: distclean-recursive
1508 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1509 -rm -rf $(DEPDIR) ./$(DEPDIR)
1510 -rm -f Makefile
1511 distclean-am: clean-am distclean-compile distclean-generic \
1512 distclean-hdr distclean-tags
1514 dvi: dvi-recursive
1516 dvi-am:
1518 html: html-recursive
1520 html-am:
1522 info: info-recursive
1524 info-am:
1526 install-data-am:
1528 install-dvi: install-dvi-recursive
1530 install-dvi-am:
1532 install-exec-am: install-binPROGRAMS install-exec-local
1534 install-html: install-html-recursive
1536 install-html-am:
1538 install-info: install-info-recursive
1540 install-info-am:
1542 install-man:
1544 install-pdf: install-pdf-recursive
1546 install-pdf-am:
1548 install-ps: install-ps-recursive
1550 install-ps-am:
1552 installcheck-am:
1554 maintainer-clean: maintainer-clean-recursive
1555 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1556 -rm -rf $(top_srcdir)/autom4te.cache
1557 -rm -rf $(DEPDIR) ./$(DEPDIR)
1558 -rm -f Makefile
1559 maintainer-clean-am: distclean-am maintainer-clean-generic
1561 mostlyclean: mostlyclean-recursive
1563 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1565 pdf: pdf-recursive
1567 pdf-am:
1569 ps: ps-recursive
1571 ps-am:
1573 uninstall-am: uninstall-binPROGRAMS
1575 .MAKE: $(am__recursive_targets) all check-am install-am install-strip
1577 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1578 am--refresh check check-TESTS check-am clean clean-binPROGRAMS \
1579 clean-checkPROGRAMS clean-cscope clean-generic \
1580 clean-noinstLIBRARIES clean-noinstPROGRAMS cscope \
1581 cscopelist-am ctags ctags-am distclean distclean-compile \
1582 distclean-generic distclean-hdr distclean-tags dvi dvi-am html \
1583 html-am info info-am install install-am install-binPROGRAMS \
1584 install-data install-data-am install-dvi install-dvi-am \
1585 install-exec install-exec-am install-exec-local install-html \
1586 install-html-am install-info install-info-am install-man \
1587 install-pdf install-pdf-am install-ps install-ps-am \
1588 install-strip installcheck installcheck-am installdirs \
1589 installdirs-am maintainer-clean maintainer-clean-generic \
1590 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
1591 ps ps-am recheck tags tags-am uninstall uninstall-am \
1592 uninstall-binPROGRAMS
1594 .PRECIOUS: Makefile
1597 diststuff: $(EXTRA_DIST)
1599 # Use an explicit dependency for the bison generated header file.
1600 expression.$(OBJEXT): yyscript.h
1601 script-sections.$(OBJEXT): yyscript.h
1602 script.$(OBJEXT): yyscript.h
1604 # We have to build libgold.a before we run the tests.
1605 check: libgold.a
1607 .PHONY: install-exec-local
1609 install-exec-local: ld-new$(EXEEXT)
1610 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1611 n=`echo $(installed_linker) | sed '$(transform)'`; \
1612 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) \
1613 ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
1614 if test "$(bindir)" != "$(tooldir)/bin"; then \
1615 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1616 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1617 || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1618 fi; \
1619 if test "x$(install_as_default)" = "xyes"; then \
1620 ld=`echo ld | sed '$(transform)'`; \
1621 rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1622 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \
1623 || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1624 if test "$(bindir)" != "$(tooldir)/bin"; then \
1625 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1626 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1627 || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1628 fi; \
1631 po/POTFILES.in: @MAINT@ Makefile
1632 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
1633 && mv tmp $(srcdir)/po/POTFILES.in
1635 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1636 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1637 # identical to ld1, since it was linked with the host linker.
1639 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld gcctestdir1/collect-ld: ld-new
1640 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1641 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1642 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@
1644 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld gcctestdir2/collect-ld: ld1
1645 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1646 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1647 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld1 $@
1649 # Skip this for LTO build due to different build IDs.
1650 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1651 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1652 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1653 @GCC_TRUE@@NATIVE_LINKER_TRUE@ if $(TEST_READELF) -SW main.$(OBJEXT) | grep "gnu.lto" > /dev/null; then \
1654 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo true >> $@; \
1655 @GCC_TRUE@@NATIVE_LINKER_TRUE@ else \
1656 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" >> $@; \
1657 @GCC_TRUE@@NATIVE_LINKER_TRUE@ fi
1658 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1660 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
1661 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
1663 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld gcctestdir2-r/collect-ld: ld1-r
1664 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
1665 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1666 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld1-r $@
1668 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
1669 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
1671 # Skip this for LTO build due to different build IDs.
1672 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
1673 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1674 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1675 @GCC_TRUE@@NATIVE_LINKER_TRUE@ if $(TEST_READELF) -SW main.$(OBJEXT) | grep "gnu.lto" > /dev/null; then \
1676 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo true >> $@; \
1677 @GCC_TRUE@@NATIVE_LINKER_TRUE@ else \
1678 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" >> $@; \
1679 @GCC_TRUE@@NATIVE_LINKER_TRUE@ fi
1680 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1682 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir3/ld gcctestdir3/collect-ld: ld-new
1683 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir3 || mkdir -p gcctestdir3
1684 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1685 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@
1687 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir4/ld gcctestdir4/collect-ld: ld-new
1688 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir4 || mkdir -p gcctestdir4
1689 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1690 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@
1692 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@bootstrap-test-treehash: ld1 ld3
1693 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ rm -f $@
1694 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "#!/bin/sh" > $@
1695 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "cmp ld1 ld3" >> $@
1696 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ chmod +x $@
1698 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-treehash-chunksize: ld1 ld4
1699 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1700 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1701 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld4 | grep ." >> $@
1702 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1704 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1705 # Otherwise a system limit (for SysV at least) may be exceeded.
1706 .NOEXPORT: