]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gold/Makefile.in
Better make rule for arch/ files built for IPA
[thirdparty/binutils-gdb.git] / gold / Makefile.in
1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6 # Foundation, Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 #
19 # Copyright (C) 2006-2017 Free Software Foundation, Inc.
20 #
21 # This file is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 3 of the License, or
24 # (at your option) any later version.
25 #
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 # GNU General Public License for more details.
30 #
31 # You should have received a copy of the GNU General Public License
32 # along with this program; see the file COPYING3. If not see
33 # <http://www.gnu.org/licenses/>.
34 #
35
36
37 VPATH = @srcdir@
38 am__make_dryrun = \
39 { \
40 am__dry=no; \
41 case $$MAKEFLAGS in \
42 *\\[\ \ ]*) \
43 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
44 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
45 *) \
46 for am__flg in $$MAKEFLAGS; do \
47 case $$am__flg in \
48 *=*|--*) ;; \
49 *n*) am__dry=yes; break;; \
50 esac; \
51 done;; \
52 esac; \
53 test $$am__dry = yes; \
54 }
55 pkgdatadir = $(datadir)/@PACKAGE@
56 pkgincludedir = $(includedir)/@PACKAGE@
57 pkglibdir = $(libdir)/@PACKAGE@
58 pkglibexecdir = $(libexecdir)/@PACKAGE@
59 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
60 install_sh_DATA = $(install_sh) -c -m 644
61 install_sh_PROGRAM = $(install_sh) -c
62 install_sh_SCRIPT = $(install_sh) -c
63 INSTALL_HEADER = $(INSTALL_DATA)
64 transform = $(program_transform_name)
65 NORMAL_INSTALL = :
66 PRE_INSTALL = :
67 POST_INSTALL = :
68 NORMAL_UNINSTALL = :
69 PRE_UNINSTALL = :
70 POST_UNINSTALL = :
71 build_triplet = @build@
72 host_triplet = @host@
73 target_triplet = @target@
74 bin_PROGRAMS = dwp$(EXEEXT)
75 noinst_PROGRAMS = ld-new$(EXEEXT) incremental-dump$(EXEEXT)
76 @GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
77 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \
78 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT) ld4$(EXEEXT) \
79 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__EXEEXT_1)
80 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_1 = -Wl,--thread-count=3
81 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_2 = -Wl,--thread-count=3
82 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_3 = -Wl,--thread-count=13
83 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_4 = -Wl,--thread-count=3
84 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_5 = ld3
85 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_6 = bootstrap-test-treehash-chunksize
86 subdir = .
87 DIST_COMMON = NEWS README ChangeLog $(srcdir)/Makefile.in \
88 $(srcdir)/Makefile.am $(top_srcdir)/configure \
89 $(am__configure_deps) $(srcdir)/config.in \
90 $(srcdir)/../mkinstalldirs $(top_srcdir)/po/Make-in ffsll.c \
91 ftruncate.c mremap.c pread.c yyscript.h yyscript.c \
92 $(srcdir)/../depcomp $(srcdir)/../ylwrap
93 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94 am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
95 $(top_srcdir)/../config/gettext-sister.m4 \
96 $(top_srcdir)/../config/lcmessage.m4 \
97 $(top_srcdir)/../config/lead-dot.m4 \
98 $(top_srcdir)/../config/nls.m4 \
99 $(top_srcdir)/../config/override.m4 \
100 $(top_srcdir)/../config/po.m4 \
101 $(top_srcdir)/../config/progtest.m4 \
102 $(top_srcdir)/../config/zlib.m4 \
103 $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac
104 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
105 $(ACLOCAL_M4)
106 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
107 configure.lineno config.status.lineno
108 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
109 CONFIG_HEADER = config.h
110 CONFIG_CLEAN_FILES = po/Makefile.in
111 CONFIG_CLEAN_VPATH_FILES =
112 LIBRARIES = $(noinst_LIBRARIES)
113 AR = ar
114 ARFLAGS = cru
115 libgold_a_AR = $(AR) $(ARFLAGS)
116 libgold_a_DEPENDENCIES = $(LIBOBJS)
117 am__objects_1 = archive.$(OBJEXT) attributes.$(OBJEXT) \
118 binary.$(OBJEXT) common.$(OBJEXT) compressed_output.$(OBJEXT) \
119 copy-relocs.$(OBJEXT) cref.$(OBJEXT) defstd.$(OBJEXT) \
120 descriptors.$(OBJEXT) dirsearch.$(OBJEXT) dynobj.$(OBJEXT) \
121 dwarf_reader.$(OBJEXT) ehframe.$(OBJEXT) errors.$(OBJEXT) \
122 expression.$(OBJEXT) fileread.$(OBJEXT) gc.$(OBJEXT) \
123 gdb-index.$(OBJEXT) gold.$(OBJEXT) gold-threads.$(OBJEXT) \
124 icf.$(OBJEXT) incremental.$(OBJEXT) int_encoding.$(OBJEXT) \
125 layout.$(OBJEXT) mapfile.$(OBJEXT) merge.$(OBJEXT) \
126 nacl.$(OBJEXT) object.$(OBJEXT) options.$(OBJEXT) \
127 output.$(OBJEXT) parameters.$(OBJEXT) plugin.$(OBJEXT) \
128 readsyms.$(OBJEXT) reduced_debug_output.$(OBJEXT) \
129 reloc.$(OBJEXT) resolve.$(OBJEXT) script-sections.$(OBJEXT) \
130 script.$(OBJEXT) stringpool.$(OBJEXT) symtab.$(OBJEXT) \
131 target.$(OBJEXT) target-select.$(OBJEXT) timer.$(OBJEXT) \
132 version.$(OBJEXT) workqueue.$(OBJEXT) \
133 workqueue-threads.$(OBJEXT)
134 am__objects_2 =
135 am__objects_3 = yyscript.$(OBJEXT)
136 am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \
137 $(am__objects_3) $(am__objects_2)
138 libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
139 am__installdirs = "$(DESTDIR)$(bindir)"
140 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__EXEEXT_1 = \
141 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ ld3$(EXEEXT)
142 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
143 am_dwp_OBJECTS = dwp.$(OBJEXT)
144 dwp_OBJECTS = $(am_dwp_OBJECTS)
145 am__DEPENDENCIES_1 =
146 dwp_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(dwp_LDFLAGS) \
147 $(LDFLAGS) -o $@
148 am_incremental_dump_OBJECTS = incremental-dump.$(OBJEXT)
149 incremental_dump_OBJECTS = $(am_incremental_dump_OBJECTS)
150 am__objects_4 = main.$(OBJEXT)
151 am_ld_new_OBJECTS = $(am__objects_4)
152 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
153 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a $(LIBIBERTY) \
154 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
155 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
156 $(am__DEPENDENCIES_1)
157 ld_new_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld_new_LDFLAGS) \
158 $(LDFLAGS) -o $@
159 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4)
160 ld1_OBJECTS = $(am_ld1_OBJECTS)
161 ld1_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) \
162 $(LDFLAGS) -o $@
163 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_r_OBJECTS = $(am__objects_4)
164 ld1_r_OBJECTS = $(am_ld1_r_OBJECTS)
165 ld1_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_r_LDFLAGS) \
166 $(LDFLAGS) -o $@
167 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4)
168 ld2_OBJECTS = $(am_ld2_OBJECTS)
169 ld2_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) \
170 $(LDFLAGS) -o $@
171 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_r_OBJECTS = $(am__objects_4)
172 ld2_r_OBJECTS = $(am_ld2_r_OBJECTS)
173 ld2_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_r_LDFLAGS) \
174 $(LDFLAGS) -o $@
175 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld3_OBJECTS = $(am__objects_4)
176 ld3_OBJECTS = $(am_ld3_OBJECTS)
177 ld3_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld3_LDFLAGS) \
178 $(LDFLAGS) -o $@
179 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld4_OBJECTS = $(am__objects_4)
180 ld4_OBJECTS = $(am_ld4_OBJECTS)
181 ld4_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld4_LDFLAGS) \
182 $(LDFLAGS) -o $@
183 DEFAULT_INCLUDES = -I.@am__isrc@
184 depcomp = $(SHELL) $(top_srcdir)/../depcomp
185 am__depfiles_maybe = depfiles
186 am__mv = mv -f
187 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
188 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
189 CCLD = $(CC)
190 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
191 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
192 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
193 CXXLD = $(CXX)
194 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
195 -o $@
196 @MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ ||
197 YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS)
198 YLWRAP = $(top_srcdir)/../ylwrap
199 SOURCES = $(libgold_a_SOURCES) $(dwp_SOURCES) \
200 $(incremental_dump_SOURCES) $(ld_new_SOURCES) \
201 $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld1_r_SOURCES) \
202 $(ld2_SOURCES) $(ld2_r_SOURCES) $(ld3_SOURCES) $(ld4_SOURCES)
203 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
204 html-recursive info-recursive install-data-recursive \
205 install-dvi-recursive install-exec-recursive \
206 install-html-recursive install-info-recursive \
207 install-pdf-recursive install-ps-recursive install-recursive \
208 installcheck-recursive installdirs-recursive pdf-recursive \
209 ps-recursive uninstall-recursive
210 am__can_run_installinfo = \
211 case $$AM_UPDATE_INFO_DIR in \
212 n|no|NO) false;; \
213 *) (install-info --version) >/dev/null 2>&1;; \
214 esac
215 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
216 distclean-recursive maintainer-clean-recursive
217 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
218 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
219 check recheck check-html recheck-html
220 ETAGS = etags
221 CTAGS = ctags
222 am__tty_colors = \
223 red=; grn=; lgn=; blu=; std=
224 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
225 am__vpath_adj = case $$p in \
226 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
227 *) f=$$p;; \
228 esac;
229 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
230 am__install_max = 40
231 am__nobase_strip_setup = \
232 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
233 am__nobase_strip = \
234 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
235 am__nobase_list = $(am__nobase_strip_setup); \
236 for p in $$list; do echo "$$p $$p"; done | \
237 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
238 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
239 if (++n[$$2] == $(am__install_max)) \
240 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
241 END { for (dir in files) print dir, files[dir] }'
242 am__base_list = \
243 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
244 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
245 am__uninstall_files_from_dir = { \
246 test -z "$$files" \
247 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
248 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
249 $(am__cd) "$$dir" && rm -f $$files; }; \
250 }
251 # Restructured Text title and section.
252 am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//'
253 am__rst_section = sed 'p;s/./=/g;p;g'
254 # Put stdin (possibly several lines separated by ". ") in a box.
255 # Prefix each line by 'col' and terminate each with 'std', for coloring.
256 # Multi line coloring is problematic with "less -R", so we really need
257 # to color each line individually.
258 am__text_box = $(AWK) '{ \
259 n = split($$0, lines, "\\. "); max = 0; \
260 for (i = 1; i <= n; ++i) \
261 if (max < length(lines[i])) \
262 max = length(lines[i]); \
263 for (i = 0; i < max; ++i) \
264 line = line "="; \
265 print col line std; \
266 for (i = 1; i <= n; ++i) \
267 if (lines[i]) \
268 print col lines[i] std; \
269 print col line std; \
270 }'
271 # Solaris 10 'make', and several other traditional 'make' implementations,
272 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
273 # by disabling -e (using the XSI extension "set +e") if it's set.
274 am__sh_e_setup = case $$- in *e*) set +e;; esac
275 # To be inserted before the command running the test. Creates the
276 # directory for the log if needed. Stores in $dir the directory
277 # containing $f, in $tst the test, in $log the log, and passes
278 # TESTS_ENVIRONMENT. Save and restore TERM around use of
279 # TESTS_ENVIRONMENT, in case that unsets it.
280 am__check_pre = \
281 $(am__sh_e_setup); \
282 $(am__vpath_adj_setup) $(am__vpath_adj) \
283 srcdir=$(srcdir); export srcdir; \
284 rm -f $@-t; \
285 am__trap='rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st'; \
286 trap "st=129; $$am__trap" 1; trap "st=130; $$am__trap" 2; \
287 trap "st=141; $$am__trap" 13; trap "st=143; $$am__trap" 15; \
288 am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`; \
289 test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?; \
290 if test -f "./$$f"; then dir=./; \
291 elif test -f "$$f"; then dir=; \
292 else dir="$(srcdir)/"; fi; \
293 tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM; \
294 $(TESTS_ENVIRONMENT)
295 # To be appended to the command running the test. Handle the stdout
296 # and stderr redirection, and catch the exit status.
297 am__check_post = \
298 >$@-t 2>&1; \
299 estatus=$$?; \
300 if test -n '$(DISABLE_HARD_ERRORS)' \
301 && test $$estatus -eq 99; then \
302 estatus=1; \
303 fi; \
304 TERM=$$__SAVED_TERM; export TERM; \
305 $(am__tty_colors); \
306 xfailed=PASS; \
307 case " $(XFAIL_TESTS) " in \
308 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
309 xfailed=XFAIL;; \
310 esac; \
311 case $$estatus.$$xfailed in \
312 0.XFAIL) col=$$red; res=XPASS;; \
313 0.*) col=$$grn; res=PASS ;; \
314 77.*) col=$$blu; res=SKIP ;; \
315 99.*) col=$$red; res=FAIL ;; \
316 *.XFAIL) col=$$lgn; res=XFAIL;; \
317 *.*) col=$$red; res=FAIL ;; \
318 esac; \
319 echo "$${col}$$res$${std}: $$f"; \
320 echo "$$res: $$f (exit: $$estatus)" | \
321 $(am__rst_section) >$@; \
322 cat $@-t >>$@; \
323 rm -f $@-t
324 RECHECK_LOGS = $(TEST_LOGS)
325 TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
326 TEST_SUITE_LOG = test-suite.log
327 TEST_EXTENSIONS = @EXEEXT@ .test
328 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
329 am__test_logs1 = $(TESTS:=.log)
330 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
331 TEST_LOGS = $(am__test_logs2:.test.log=.log)
332 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
333 $(TEST_LOG_FLAGS)
334 TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
335 DIST_SUBDIRS = $(SUBDIRS)
336 ACLOCAL = @ACLOCAL@
337 AMTAR = @AMTAR@
338 AUTOCONF = @AUTOCONF@
339 AUTOHEADER = @AUTOHEADER@
340 AUTOMAKE = @AUTOMAKE@
341 AWK = @AWK@
342 CATALOGS = @CATALOGS@
343 CATOBJEXT = @CATOBJEXT@
344 CC = @CC@
345 CCDEPMODE = @CCDEPMODE@
346 CFLAGS = @CFLAGS@
347 CPP = @CPP@
348 CPPFLAGS = @CPPFLAGS@
349 CXX = @CXX@
350 CXXCPP = @CXXCPP@
351 CXXDEPMODE = @CXXDEPMODE@
352 CXXFLAGS = @CXXFLAGS@
353 CYGPATH_W = @CYGPATH_W@
354 DATADIRNAME = @DATADIRNAME@
355 DEFAULT_TARGET = @DEFAULT_TARGET@
356 DEFS = @DEFS@
357 DEPDIR = @DEPDIR@
358 DLOPEN_LIBS = @DLOPEN_LIBS@
359 ECHO_C = @ECHO_C@
360 ECHO_N = @ECHO_N@
361 ECHO_T = @ECHO_T@
362 EGREP = @EGREP@
363 EXEEXT = @EXEEXT@
364 GENCAT = @GENCAT@
365 GMSGFMT = @GMSGFMT@
366 GOLD_LDADD = @GOLD_LDADD@
367 GOLD_LDFLAGS = @GOLD_LDFLAGS@
368 GREP = @GREP@
369 INCINTL = @INCINTL@
370 INSTALL = @INSTALL@
371 INSTALL_DATA = @INSTALL_DATA@
372 INSTALL_PROGRAM = @INSTALL_PROGRAM@
373 INSTALL_SCRIPT = @INSTALL_SCRIPT@
374 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
375 INSTOBJEXT = @INSTOBJEXT@
376 LDFLAGS = @LDFLAGS@
377 LFS_CFLAGS = @LFS_CFLAGS@
378 LIBINTL = @LIBINTL@
379 LIBINTL_DEP = @LIBINTL_DEP@
380 LIBOBJS = @LIBOBJS@
381 LIBS = @LIBS@
382 LN_S = @LN_S@
383 LTLIBOBJS = @LTLIBOBJS@
384 MAINT = @MAINT@
385 MAKEINFO = @MAKEINFO@
386 MERGE_CONSTANTS_FLAG = @MERGE_CONSTANTS_FLAG@
387 MKDIR_P = @MKDIR_P@
388 MKINSTALLDIRS = @MKINSTALLDIRS@
389 MSGFMT = @MSGFMT@
390 MSGMERGE = @MSGMERGE@
391 NM = @NM@
392 NO_WERROR = @NO_WERROR@
393 OBJEXT = @OBJEXT@
394 PACKAGE = @PACKAGE@
395 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
396 PACKAGE_NAME = @PACKAGE_NAME@
397 PACKAGE_STRING = @PACKAGE_STRING@
398 PACKAGE_TARNAME = @PACKAGE_TARNAME@
399 PACKAGE_URL = @PACKAGE_URL@
400 PACKAGE_VERSION = @PACKAGE_VERSION@
401 PATH_SEPARATOR = @PATH_SEPARATOR@
402 POSUB = @POSUB@
403 RANDOM_SEED_CFLAGS = @RANDOM_SEED_CFLAGS@
404 RANLIB = @RANLIB@
405 SET_MAKE = @SET_MAKE@
406 SHELL = @SHELL@
407 STRIP = @STRIP@
408 TARGETOBJS = @TARGETOBJS@
409 USE_NLS = @USE_NLS@
410 VERSION = @VERSION@
411 WARN_CFLAGS = @WARN_CFLAGS@
412 WARN_CFLAGS_FOR_BUILD = @WARN_CFLAGS_FOR_BUILD@
413 WARN_CXXFLAGS = @WARN_CXXFLAGS@
414 WARN_WRITE_STRINGS = @WARN_WRITE_STRINGS@
415 XGETTEXT = @XGETTEXT@
416 YACC = @YACC@
417 YFLAGS = @YFLAGS@
418 abs_builddir = @abs_builddir@
419 abs_srcdir = @abs_srcdir@
420 abs_top_builddir = @abs_top_builddir@
421 abs_top_srcdir = @abs_top_srcdir@
422 ac_ct_CC = @ac_ct_CC@
423 ac_ct_CXX = @ac_ct_CXX@
424 am__include = @am__include@
425 am__leading_dot = @am__leading_dot@
426 am__quote = @am__quote@
427 am__tar = @am__tar@
428 am__untar = @am__untar@
429 bindir = @bindir@
430 build = @build@
431 build_alias = @build_alias@
432 build_cpu = @build_cpu@
433 build_os = @build_os@
434 build_vendor = @build_vendor@
435 builddir = @builddir@
436 datadir = @datadir@
437 datarootdir = @datarootdir@
438 docdir = @docdir@
439 dvidir = @dvidir@
440 exec_prefix = @exec_prefix@
441 host = @host@
442 host_alias = @host_alias@
443 host_cpu = @host_cpu@
444 host_os = @host_os@
445 host_vendor = @host_vendor@
446 htmldir = @htmldir@
447 includedir = @includedir@
448 infodir = @infodir@
449 install_as_default = @install_as_default@
450 install_sh = @install_sh@
451 installed_linker = @installed_linker@
452 libdir = @libdir@
453 libexecdir = @libexecdir@
454 localedir = @localedir@
455 localstatedir = @localstatedir@
456 mandir = @mandir@
457 mkdir_p = @mkdir_p@
458 oldincludedir = @oldincludedir@
459 pdfdir = @pdfdir@
460 prefix = @prefix@
461 program_transform_name = @program_transform_name@
462 psdir = @psdir@
463 sbindir = @sbindir@
464 sharedstatedir = @sharedstatedir@
465 srcdir = @srcdir@
466 sysconfdir = @sysconfdir@
467 target = @target@
468 target_alias = @target_alias@
469 target_cpu = @target_cpu@
470 target_os = @target_os@
471 target_vendor = @target_vendor@
472 top_build_prefix = @top_build_prefix@
473 top_builddir = @top_builddir@
474 top_srcdir = @top_srcdir@
475 zlibdir = @zlibdir@
476 zlibinc = @zlibinc@
477 AUTOMAKE_OPTIONS = foreign
478 SUBDIRS = po testsuite
479 tooldir = $(exec_prefix)/$(target_alias)
480 ACLOCAL_AMFLAGS = -I ../bfd -I ../config
481
482 # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
483 # -I../zlib, unless we were configured with --with-system-zlib, in which
484 # case both are empty.
485 ZLIB = @zlibdir@ -lz
486 ZLIBINC = @zlibinc@
487 AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) $(ZLIBINC)
488 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) $(ZLIBINC)
489 AM_CPPFLAGS = \
490 -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
491 -DLOCALEDIR="\"$(datadir)/locale\"" \
492 -DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
493 -DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@
494
495 LIBIBERTY = ../libiberty/libiberty.a
496 @PLUGINS_TRUE@LIBDL = @DLOPEN_LIBS@
497 @THREADS_TRUE@THREADSLIB = -lpthread
498 AM_YFLAGS = -d
499
500 # Automake 1.10+ disables lex and yacc output file regeneration if
501 # maintainer mode is disabled. Avoid this.
502 am__skiplex =
503 am__skipyacc =
504 noinst_LIBRARIES = libgold.a
505 CCFILES = \
506 archive.cc \
507 attributes.cc \
508 binary.cc \
509 common.cc \
510 compressed_output.cc \
511 copy-relocs.cc \
512 cref.cc \
513 defstd.cc \
514 descriptors.cc \
515 dirsearch.cc \
516 dynobj.cc \
517 dwarf_reader.cc \
518 ehframe.cc \
519 errors.cc \
520 expression.cc \
521 fileread.cc \
522 gc.cc \
523 gdb-index.cc \
524 gold.cc \
525 gold-threads.cc \
526 icf.cc \
527 incremental.cc \
528 int_encoding.cc \
529 layout.cc \
530 mapfile.cc \
531 merge.cc \
532 nacl.cc \
533 object.cc \
534 options.cc \
535 output.cc \
536 parameters.cc \
537 plugin.cc \
538 readsyms.cc \
539 reduced_debug_output.cc \
540 reloc.cc \
541 resolve.cc \
542 script-sections.cc \
543 script.cc \
544 stringpool.cc \
545 symtab.cc \
546 target.cc \
547 target-select.cc \
548 timer.cc \
549 version.cc \
550 workqueue.cc \
551 workqueue-threads.cc
552
553 HFILES = \
554 arm-reloc-property.h \
555 aarch64-reloc-property.h \
556 archive.h \
557 attributes.h \
558 binary.h \
559 common.h \
560 compressed_output.h \
561 copy-relocs.h \
562 cref.h \
563 defstd.h \
564 dirsearch.h \
565 descriptors.h \
566 dynobj.h \
567 dwarf_reader.h \
568 ehframe.h \
569 errors.h \
570 fileread.h \
571 freebsd.h \
572 gc.h \
573 gdb-index.h \
574 gold.h \
575 gold-threads.h \
576 icf.h \
577 int_encoding.h \
578 layout.h \
579 mapfile.h \
580 merge.h \
581 nacl.h \
582 object.h \
583 options.h \
584 output.h \
585 parameters.h \
586 plugin.h \
587 readsyms.h \
588 reduced_debug_output.h \
589 reloc.h \
590 reloc-types.h \
591 script-c.h \
592 script-sections.h \
593 script.h \
594 stringpool.h \
595 symtab.h \
596 target.h \
597 target-reloc.h \
598 target-select.h \
599 timer.h \
600 tls.h \
601 token.h \
602 workqueue.h \
603 workqueue-internal.h
604
605 YFILES = \
606 yyscript.y
607
608 DEFFILES = arm-reloc.def aarch64-reloc.def
609 EXTRA_DIST = yyscript.c yyscript.h
610 TARGETSOURCES = \
611 i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc arm-reloc-property.cc tilegx.cc \
612 mips.cc aarch64.cc aarch64-reloc-property.cc s390.cc
613
614 ALL_TARGETOBJS = \
615 i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \
616 arm.$(OBJEXT) arm-reloc-property.$(OBJEXT) tilegx.$(OBJEXT) \
617 mips.$(OBJEXT) aarch64.$(OBJEXT) aarch64-reloc-property.$(OBJEXT) \
618 s390.$(OBJEXT)
619
620 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) $(DEFFILES)
621 libgold_a_LIBADD = $(LIBOBJS)
622 sources_var = main.cc
623 deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
624 ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) \
625 $(THREADSLIB) $(LIBDL) $(ZLIB)
626
627 ldflags_var = $(GOLD_LDFLAGS)
628 ld_new_SOURCES = $(sources_var)
629 ld_new_DEPENDENCIES = $(deps_var)
630 ld_new_LDADD = $(ldadd_var)
631 ld_new_LDFLAGS = $(ldflags_var)
632 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
633 incremental_dump_SOURCES = incremental-dump.cc
634 incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \
635 $(LIBINTL_DEP)
636
637 incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
638 $(THREADSLIB) $(LIBDL) $(ZLIB)
639
640 dwp_SOURCES = dwp.cc
641 dwp_DEPENDENCIES = libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
642 dwp_LDADD = libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) $(THREADSLIB) \
643 $(LIBDL) $(ZLIB)
644
645 dwp_LDFLAGS = $(GOLD_LDFLAGS)
646 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/../bfd/development.sh
647 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
648 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
649 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
650 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
651 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/ \
652 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \
653 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
654 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
655 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_1)
656 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
657 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
658 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
659 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/ \
660 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \
661 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
662 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
663 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_2)
664 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
665 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld
666 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
667 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDFLAGS = -Bgcctestdir1/
668 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
669 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld
670 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
671 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDFLAGS = -Bgcctestdir2-r/
672 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r \
673 @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
674 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_6)
675 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_SOURCES = $(sources_var)
676 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_DEPENDENCIES = $(deps_var) gcctestdir3/ld
677 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDADD = $(ldadd_var)
678 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDFLAGS = -Bgcctestdir3/ \
679 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \
680 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
681 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
682 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_3)
683 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_SOURCES = $(sources_var)
684 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_DEPENDENCIES = $(deps_var) gcctestdir4/ld
685 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDADD = $(ldadd_var)
686 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDFLAGS = -Bgcctestdir4/ \
687 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \
688 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12346 \
689 @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
690 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_4)
691 all: config.h
692 $(MAKE) $(AM_MAKEFLAGS) all-recursive
693
694 .SUFFIXES:
695 .SUFFIXES: .c .cc .html .log .o .obj .test .test$(EXEEXT) .y
696 am--refresh: Makefile
697 @:
698 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
699 @for dep in $?; do \
700 case '$(am__configure_deps)' in \
701 *$$dep*) \
702 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
703 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
704 && exit 0; \
705 exit 1;; \
706 esac; \
707 done; \
708 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
709 $(am__cd) $(top_srcdir) && \
710 $(AUTOMAKE) --foreign Makefile
711 .PRECIOUS: Makefile
712 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
713 @case '$?' in \
714 *config.status*) \
715 echo ' $(SHELL) ./config.status'; \
716 $(SHELL) ./config.status;; \
717 *) \
718 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
719 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
720 esac;
721
722 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
723 $(SHELL) ./config.status --recheck
724
725 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
726 $(am__cd) $(srcdir) && $(AUTOCONF)
727 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
728 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
729 $(am__aclocal_m4_deps):
730
731 config.h: stamp-h1
732 @if test ! -f $@; then rm -f stamp-h1; else :; fi
733 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
734
735 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
736 @rm -f stamp-h1
737 cd $(top_builddir) && $(SHELL) ./config.status config.h
738 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
739 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
740 rm -f stamp-h1
741 touch $@
742
743 distclean-hdr:
744 -rm -f config.h stamp-h1
745 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
746 cd $(top_builddir) && $(SHELL) ./config.status $@
747
748 clean-noinstLIBRARIES:
749 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
750 yyscript.h: yyscript.c
751 @if test ! -f $@; then rm -f yyscript.c; else :; fi
752 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) yyscript.c; else :; fi
753 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES) $(EXTRA_libgold_a_DEPENDENCIES)
754 -rm -f libgold.a
755 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
756 $(RANLIB) libgold.a
757 install-binPROGRAMS: $(bin_PROGRAMS)
758 @$(NORMAL_INSTALL)
759 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
760 if test -n "$$list"; then \
761 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
762 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
763 fi; \
764 for p in $$list; do echo "$$p $$p"; done | \
765 sed 's/$(EXEEXT)$$//' | \
766 while read p p1; do if test -f $$p; \
767 then echo "$$p"; echo "$$p"; else :; fi; \
768 done | \
769 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
770 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
771 sed 'N;N;N;s,\n, ,g' | \
772 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
773 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
774 if ($$2 == $$4) files[d] = files[d] " " $$1; \
775 else { print "f", $$3 "/" $$4, $$1; } } \
776 END { for (d in files) print "f", d, files[d] }' | \
777 while read type dir files; do \
778 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
779 test -z "$$files" || { \
780 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
781 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
782 } \
783 ; done
784
785 uninstall-binPROGRAMS:
786 @$(NORMAL_UNINSTALL)
787 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
788 files=`for p in $$list; do echo "$$p"; done | \
789 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
790 -e 's/$$/$(EXEEXT)/' `; \
791 test -n "$$list" || exit 0; \
792 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
793 cd "$(DESTDIR)$(bindir)" && rm -f $$files
794
795 clean-binPROGRAMS:
796 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
797
798 clean-checkPROGRAMS:
799 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
800
801 clean-noinstPROGRAMS:
802 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
803 dwp$(EXEEXT): $(dwp_OBJECTS) $(dwp_DEPENDENCIES) $(EXTRA_dwp_DEPENDENCIES)
804 @rm -f dwp$(EXEEXT)
805 $(dwp_LINK) $(dwp_OBJECTS) $(dwp_LDADD) $(LIBS)
806 incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES) $(EXTRA_incremental_dump_DEPENDENCIES)
807 @rm -f incremental-dump$(EXEEXT)
808 $(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS)
809 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) $(EXTRA_ld_new_DEPENDENCIES)
810 @rm -f ld-new$(EXEEXT)
811 $(ld_new_LINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
812 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES) $(EXTRA_ld1_DEPENDENCIES)
813 @rm -f ld1$(EXEEXT)
814 $(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
815 ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES) $(EXTRA_ld1_r_DEPENDENCIES)
816 @rm -f ld1-r$(EXEEXT)
817 $(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
818 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES) $(EXTRA_ld2_DEPENDENCIES)
819 @rm -f ld2$(EXEEXT)
820 $(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
821 ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES) $(EXTRA_ld2_r_DEPENDENCIES)
822 @rm -f ld2-r$(EXEEXT)
823 $(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
824 ld3$(EXEEXT): $(ld3_OBJECTS) $(ld3_DEPENDENCIES) $(EXTRA_ld3_DEPENDENCIES)
825 @rm -f ld3$(EXEEXT)
826 $(ld3_LINK) $(ld3_OBJECTS) $(ld3_LDADD) $(LIBS)
827 ld4$(EXEEXT): $(ld4_OBJECTS) $(ld4_DEPENDENCIES) $(EXTRA_ld4_DEPENDENCIES)
828 @rm -f ld4$(EXEEXT)
829 $(ld4_LINK) $(ld4_OBJECTS) $(ld4_LDADD) $(LIBS)
830
831 mostlyclean-compile:
832 -rm -f *.$(OBJEXT)
833
834 distclean-compile:
835 -rm -f *.tab.c
836
837 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@
838 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@
839 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@
840 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
841 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64-reloc-property.Po@am__quote@
842 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64.Po@am__quote@
843 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
844 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm-reloc-property.Po@am__quote@
845 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@
846 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@
847 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@
848 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
849 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@
850 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@
851 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@
852 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
853 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@
854 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
855 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@
856 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwp.Po@am__quote@
857 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
858 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
859 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
860 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@
861 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
862 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@
863 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-index.Po@am__quote@
864 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
865 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
866 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
867 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@
868 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@
869 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@
870 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@
871 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
872 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
873 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@
874 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
875 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mips.Po@am__quote@
876 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nacl.Po@am__quote@
877 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
878 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
879 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
880 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
881 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@
882 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
883 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
884 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
885 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
886 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
887 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390.Po@am__quote@
888 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@
889 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
890 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@
891 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
892 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
893 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
894 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@
895 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilegx.Po@am__quote@
896 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@
897 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
898 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@
899 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
900 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
901 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
902
903 .c.o:
904 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
905 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
906 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
907 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
908 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
909
910 .c.obj:
911 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
912 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
913 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
914 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
915 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
916
917 .cc.o:
918 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
919 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
920 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
921 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
922 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
923
924 .cc.obj:
925 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
926 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
927 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
928 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
929 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
930
931 .y.c:
932 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
933
934 # This directory's subdirectories are mostly independent; you can cd
935 # into them and run `make' without going through this Makefile.
936 # To change the values of `make' variables: instead of editing Makefiles,
937 # (1) if the variable is set in `config.status', edit `config.status'
938 # (which will cause the Makefiles to be regenerated when you run `make');
939 # (2) otherwise, pass the desired values on the `make' command line.
940 $(RECURSIVE_TARGETS):
941 @fail= failcom='exit 1'; \
942 for f in x $$MAKEFLAGS; do \
943 case $$f in \
944 *=* | --[!k]*);; \
945 *k*) failcom='fail=yes';; \
946 esac; \
947 done; \
948 dot_seen=no; \
949 target=`echo $@ | sed s/-recursive//`; \
950 list='$(SUBDIRS)'; for subdir in $$list; do \
951 echo "Making $$target in $$subdir"; \
952 if test "$$subdir" = "."; then \
953 dot_seen=yes; \
954 local_target="$$target-am"; \
955 else \
956 local_target="$$target"; \
957 fi; \
958 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
959 || eval $$failcom; \
960 done; \
961 if test "$$dot_seen" = "no"; then \
962 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
963 fi; test -z "$$fail"
964
965 $(RECURSIVE_CLEAN_TARGETS):
966 @fail= failcom='exit 1'; \
967 for f in x $$MAKEFLAGS; do \
968 case $$f in \
969 *=* | --[!k]*);; \
970 *k*) failcom='fail=yes';; \
971 esac; \
972 done; \
973 dot_seen=no; \
974 case "$@" in \
975 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
976 *) list='$(SUBDIRS)' ;; \
977 esac; \
978 rev=''; for subdir in $$list; do \
979 if test "$$subdir" = "."; then :; else \
980 rev="$$subdir $$rev"; \
981 fi; \
982 done; \
983 rev="$$rev ."; \
984 target=`echo $@ | sed s/-recursive//`; \
985 for subdir in $$rev; do \
986 echo "Making $$target in $$subdir"; \
987 if test "$$subdir" = "."; then \
988 local_target="$$target-am"; \
989 else \
990 local_target="$$target"; \
991 fi; \
992 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
993 || eval $$failcom; \
994 done && test -z "$$fail"
995 tags-recursive:
996 list='$(SUBDIRS)'; for subdir in $$list; do \
997 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
998 done
999 ctags-recursive:
1000 list='$(SUBDIRS)'; for subdir in $$list; do \
1001 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
1002 done
1003
1004 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1005 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1006 unique=`for i in $$list; do \
1007 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1008 done | \
1009 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1010 END { if (nonempty) { for (i in files) print i; }; }'`; \
1011 mkid -fID $$unique
1012 tags: TAGS
1013
1014 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
1015 $(TAGS_FILES) $(LISP)
1016 set x; \
1017 here=`pwd`; \
1018 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1019 include_option=--etags-include; \
1020 empty_fix=.; \
1021 else \
1022 include_option=--include; \
1023 empty_fix=; \
1024 fi; \
1025 list='$(SUBDIRS)'; for subdir in $$list; do \
1026 if test "$$subdir" = .; then :; else \
1027 test ! -f $$subdir/TAGS || \
1028 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1029 fi; \
1030 done; \
1031 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1032 unique=`for i in $$list; do \
1033 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1034 done | \
1035 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1036 END { if (nonempty) { for (i in files) print i; }; }'`; \
1037 shift; \
1038 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1039 test -n "$$unique" || unique=$$empty_fix; \
1040 if test $$# -gt 0; then \
1041 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1042 "$$@" $$unique; \
1043 else \
1044 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1045 $$unique; \
1046 fi; \
1047 fi
1048 ctags: CTAGS
1049 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
1050 $(TAGS_FILES) $(LISP)
1051 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1052 unique=`for i in $$list; do \
1053 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1054 done | \
1055 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1056 END { if (nonempty) { for (i in files) print i; }; }'`; \
1057 test -z "$(CTAGS_ARGS)$$unique" \
1058 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1059 $$unique
1060
1061 GTAGS:
1062 here=`$(am__cd) $(top_builddir) && pwd` \
1063 && $(am__cd) $(top_srcdir) \
1064 && gtags -i $(GTAGS_ARGS) "$$here"
1065
1066 distclean-tags:
1067 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1068
1069 $(TEST_SUITE_LOG): $(TEST_LOGS)
1070 @$(am__sh_e_setup); \
1071 list='$(TEST_LOGS)'; \
1072 results=`for f in $$list; do \
1073 test -r $$f && read line < $$f && echo "$$line" \
1074 || echo FAIL; \
1075 done`; \
1076 all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \
1077 fail=`echo "$$results" | grep -c '^FAIL'`; \
1078 pass=`echo "$$results" | grep -c '^PASS'`; \
1079 skip=`echo "$$results" | grep -c '^SKIP'`; \
1080 xfail=`echo "$$results" | grep -c '^XFAIL'`; \
1081 xpass=`echo "$$results" | grep -c '^XPASS'`; \
1082 failures=`expr $$fail + $$xpass`; \
1083 all=`expr $$all - $$skip`; \
1084 if test "$$all" -eq 1; then tests=test; All=; \
1085 else tests=tests; All="All "; fi; \
1086 case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \
1087 fail=0:xpass=0:xfail=0) \
1088 msg="$$All$$all $$tests passed. "; \
1089 exit=true;; \
1090 fail=0:xpass=0:xfail=*) \
1091 msg="$$All$$all $$tests behaved as expected"; \
1092 if test "$$xfail" -eq 1; then xfailures=failure; \
1093 else xfailures=failures; fi; \
1094 msg="$$msg ($$xfail expected $$xfailures). "; \
1095 exit=true;; \
1096 fail=*:xpass=0:xfail=*) \
1097 msg="$$fail of $$all $$tests failed. "; \
1098 exit=false;; \
1099 fail=*:xpass=*:xfail=*) \
1100 msg="$$failures of $$all $$tests did not behave as expected"; \
1101 if test "$$xpass" -eq 1; then xpasses=pass; \
1102 else xpasses=passes; fi; \
1103 msg="$$msg ($$xpass unexpected $$xpasses). "; \
1104 exit=false;; \
1105 *) \
1106 echo >&2 "incorrect case"; exit 4;; \
1107 esac; \
1108 if test "$$skip" -ne 0; then \
1109 if test "$$skip" -eq 1; then \
1110 msg="$$msg($$skip test was not run). "; \
1111 else \
1112 msg="$$msg($$skip tests were not run). "; \
1113 fi; \
1114 fi; \
1115 { \
1116 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1117 $(am__rst_title); \
1118 echo "$$msg"; \
1119 echo; \
1120 echo ".. contents:: :depth: 2"; \
1121 echo; \
1122 for f in $$list; do \
1123 test -r $$f && read line < $$f || line=; \
1124 case $$line in \
1125 PASS:*|XFAIL:*);; \
1126 *) echo; cat $$f;; \
1127 esac; \
1128 done; \
1129 } >$(TEST_SUITE_LOG).tmp; \
1130 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1131 if test "$$failures" -ne 0; then \
1132 msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \
1133 if test -n "$(PACKAGE_BUGREPORT)"; then \
1134 msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \
1135 fi; \
1136 fi; \
1137 test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \
1138 $(am__tty_colors); \
1139 if $$exit; then \
1140 col="$$grn"; \
1141 else \
1142 col="$$red"; \
1143 fi; \
1144 echo "$$msg" | $(am__text_box) "col=$$col" "std=$$std"; \
1145 $$exit || exit 1
1146
1147 check-TESTS recheck:
1148 @if test $@ != recheck; then \
1149 list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list; \
1150 fi
1151 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1152 @list='' list2='$(TEST_LOGS)'; for f in $$list2; do \
1153 test .log = $$f && continue; \
1154 if test $@ = recheck; then \
1155 test -f $$f || continue; \
1156 if test -r $$f && read line < $$f; then \
1157 case $$line in FAIL*|XPASS*) : ;; *) continue;; esac; \
1158 fi; \
1159 fi; \
1160 if test -z "$$list"; then list=$$f; else list="$$list $$f"; fi; \
1161 done; \
1162 if test $@ = recheck && test -n "$$list"; then \
1163 $(am__make_dryrun) || rm -f $$list || exit 1; \
1164 fi; \
1165 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
1166 recheck: $(check_PROGRAMS)
1167
1168 am--mostlyclean-test-html:
1169 list='$(TEST_LOGS:.log=.html)'; test -z "$$list" || rm -f $$list
1170 rm -f $(TEST_SUITE_HTML)
1171
1172 .log.html:
1173 @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \
1174 for r2h in $$list; do \
1175 if ($$r2h --version) >/dev/null 2>&1; then \
1176 R2H=$$r2h; \
1177 fi; \
1178 done; \
1179 if test -z "$$R2H"; then \
1180 echo >&2 "cannot find rst2html, cannot create $@"; \
1181 exit 2; \
1182 fi; \
1183 $$R2H $< >$@.tmp
1184 @mv $@.tmp $@
1185
1186 # Be sure to run check first, and then to convert the result.
1187 # Beware of concurrent executions. Run "check" not "check-TESTS", as
1188 # check-SCRIPTS and other dependencies are rebuilt by the former only.
1189 # And expect check to fail.
1190 check-html recheck-html:
1191 @target=`echo $@ | sed 's/-html$$//'`; \
1192 rv=0; $(MAKE) $(AM_MAKEFLAGS) $$target || rv=$$?; \
1193 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) TEST_LOGS= || exit 4; \
1194 exit $$rv
1195 bootstrap-test.log: bootstrap-test
1196 @p='bootstrap-test'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1197 bootstrap-test-r.log: bootstrap-test-r
1198 @p='bootstrap-test-r'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1199 bootstrap-test-treehash-chunksize.log: bootstrap-test-treehash-chunksize
1200 @p='bootstrap-test-treehash-chunksize'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1201 .test.log:
1202 @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1203 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1204 @am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1205 check-am: all-am
1206 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1207 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1208 check: check-recursive
1209 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
1210 installdirs: installdirs-recursive
1211 installdirs-am:
1212 for dir in "$(DESTDIR)$(bindir)"; do \
1213 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1214 done
1215 install: install-recursive
1216 install-exec: install-exec-recursive
1217 install-data: install-data-recursive
1218 uninstall: uninstall-recursive
1219
1220 install-am: all-am
1221 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1222
1223 installcheck: installcheck-recursive
1224 install-strip:
1225 if test -z '$(STRIP)'; then \
1226 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1227 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1228 install; \
1229 else \
1230 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1231 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1232 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1233 fi
1234 mostlyclean-generic:
1235 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1236 -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
1237 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1238
1239 clean-generic:
1240
1241 distclean-generic:
1242 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1243 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1244
1245 maintainer-clean-generic:
1246 @echo "This command is intended for maintainers to use"
1247 @echo "it deletes files that may require special tools to rebuild."
1248 -rm -f yyscript.c
1249 -rm -f yyscript.h
1250 clean: clean-recursive
1251
1252 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1253 clean-noinstLIBRARIES clean-noinstPROGRAMS mostlyclean-am
1254
1255 distclean: distclean-recursive
1256 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1257 -rm -rf $(DEPDIR) ./$(DEPDIR)
1258 -rm -f Makefile
1259 distclean-am: clean-am distclean-compile distclean-generic \
1260 distclean-hdr distclean-tags
1261
1262 dvi: dvi-recursive
1263
1264 dvi-am:
1265
1266 html: html-recursive
1267
1268 html-am:
1269
1270 info: info-recursive
1271
1272 info-am:
1273
1274 install-data-am: install-data-local
1275
1276 install-dvi: install-dvi-recursive
1277
1278 install-dvi-am:
1279
1280 install-exec-am: install-binPROGRAMS install-exec-local
1281
1282 install-html: install-html-recursive
1283
1284 install-html-am:
1285
1286 install-info: install-info-recursive
1287
1288 install-info-am:
1289
1290 install-man:
1291
1292 install-pdf: install-pdf-recursive
1293
1294 install-pdf-am:
1295
1296 install-ps: install-ps-recursive
1297
1298 install-ps-am:
1299
1300 installcheck-am:
1301
1302 maintainer-clean: maintainer-clean-recursive
1303 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1304 -rm -rf $(top_srcdir)/autom4te.cache
1305 -rm -rf $(DEPDIR) ./$(DEPDIR)
1306 -rm -f Makefile
1307 maintainer-clean-am: distclean-am maintainer-clean-generic
1308
1309 mostlyclean: mostlyclean-recursive
1310
1311 mostlyclean-am: am--mostlyclean-test-html mostlyclean-compile \
1312 mostlyclean-generic
1313
1314 pdf: pdf-recursive
1315
1316 pdf-am:
1317
1318 ps: ps-recursive
1319
1320 ps-am:
1321
1322 uninstall-am: uninstall-binPROGRAMS
1323
1324 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
1325 check-html ctags-recursive install-am install-strip \
1326 recheck-html tags-recursive
1327
1328 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1329 all all-am am--mostlyclean-test-html am--refresh check \
1330 check-TESTS check-am check-html clean clean-binPROGRAMS \
1331 clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1332 clean-noinstPROGRAMS ctags ctags-recursive distclean \
1333 distclean-compile distclean-generic distclean-hdr \
1334 distclean-tags dvi dvi-am html html-am info info-am install \
1335 install-am install-binPROGRAMS install-data install-data-am \
1336 install-data-local install-dvi install-dvi-am install-exec \
1337 install-exec-am install-exec-local install-html \
1338 install-html-am install-info install-info-am install-man \
1339 install-pdf install-pdf-am install-ps install-ps-am \
1340 install-strip installcheck installcheck-am installdirs \
1341 installdirs-am maintainer-clean maintainer-clean-generic \
1342 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
1343 ps ps-am recheck recheck-html tags tags-recursive uninstall \
1344 uninstall-am uninstall-binPROGRAMS
1345
1346
1347 diststuff: $(EXTRA_DIST)
1348
1349 # Use an explicit dependency for the bison generated header file.
1350 expression.$(OBJEXT): yyscript.h
1351 script-sections.$(OBJEXT): yyscript.h
1352 script.$(OBJEXT): yyscript.h
1353
1354 # We have to build libgold.a before we run the tests.
1355 check: libgold.a
1356
1357 .PHONY: install-exec-local
1358
1359 install-exec-local: ld-new$(EXEEXT)
1360 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1361 n=`echo $(installed_linker) | sed '$(transform)'`; \
1362 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) \
1363 ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
1364 if test "$(bindir)" != "$(tooldir)/bin"; then \
1365 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1366 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1367 || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1368 fi; \
1369 if test "x$(install_as_default)" = "xyes"; then \
1370 ld=`echo ld | sed '$(transform)'`; \
1371 rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1372 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \
1373 || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1374 if test "$(bindir)" != "$(tooldir)/bin"; then \
1375 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1376 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1377 || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1378 fi; \
1379 fi
1380
1381 # We want install to imply install-info as per GNU standards, despite
1382 # the cygnus option.
1383 install-data-local: install-info
1384
1385 po/POTFILES.in: @MAINT@ Makefile
1386 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
1387 && mv tmp $(srcdir)/po/POTFILES.in
1388
1389 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1390 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1391 # identical to ld1, since it was linked with the host linker.
1392
1393 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
1394 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1395 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1396 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1397
1398 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1399 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1400 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1401 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1402
1403 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1404 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1405 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1406 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" >> $@
1407 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1408
1409 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
1410 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
1411
1412 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld: ld1-r
1413 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
1414 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2-r/ld
1415 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2-r && $(LN_S) ../ld1-r ld)
1416
1417 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
1418 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
1419
1420 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
1421 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1422 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1423 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" >> $@
1424 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1425
1426 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir3/ld: ld-new
1427 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir3 || mkdir -p gcctestdir3
1428 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir3/ld
1429 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir3 && $(LN_S) ../ld-new ld)
1430
1431 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir4/ld: ld-new
1432 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir4 || mkdir -p gcctestdir4
1433 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir4/ld
1434 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir4 && $(LN_S) ../ld-new ld)
1435
1436 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@bootstrap-test-treehash: ld1 ld3
1437 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ rm -f $@
1438 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "#!/bin/sh" > $@
1439 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "cmp ld1 ld3" >> $@
1440 @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ chmod +x $@
1441
1442 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-treehash-chunksize: ld1 ld4
1443 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1444 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1445 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld4 | grep ." >> $@
1446 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1447
1448 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1449 # Otherwise a system limit (for SysV at least) may be exceeded.
1450 .NOEXPORT: