1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
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
19 # Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
20 # Free Software Foundation, Inc.
22 # This file is free software; you can redistribute it and/or modify
23 # it under the terms of the GNU General Public License as published by
24 # the Free Software Foundation; either version 3 of the License, or
25 # (at your option) any later version.
27 # This program is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU General Public License for more details.
32 # You should have received a copy of the GNU General Public License
33 # along with this program; see the file COPYING3. If not see
34 # <http://www.gnu.org/licenses/>.
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
41 pkglibdir = $(libdir)/@PACKAGE@
42 pkglibexecdir = $(libexecdir)/@PACKAGE@
43 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
44 install_sh_DATA = $(install_sh) -c -m 644
45 install_sh_PROGRAM = $(install_sh) -c
46 install_sh_SCRIPT = $(install_sh) -c
47 INSTALL_HEADER = $(INSTALL_DATA)
48 transform = $(program_transform_name)
55 build_triplet = @build@
57 target_triplet = @target@
58 bin_PROGRAMS = dwp$(EXEEXT)
59 noinst_PROGRAMS = ld-new$(EXEEXT) incremental-dump$(EXEEXT)
60 @GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
61 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \
62 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT)
64 DIST_COMMON = NEWS README ChangeLog $(srcdir)/Makefile.in \
65 $(srcdir)/Makefile.am $(top_srcdir)/configure \
66 $(am__configure_deps) $(srcdir)/config.in \
67 $(srcdir)/../mkinstalldirs $(top_srcdir)/po/Make-in ffsll.c \
68 ftruncate.c pread.c mremap.c yyscript.h yyscript.c \
69 $(srcdir)/../depcomp $(srcdir)/../ylwrap
70 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
71 am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
72 $(top_srcdir)/../config/gettext-sister.m4 \
73 $(top_srcdir)/../config/lcmessage.m4 \
74 $(top_srcdir)/../config/lead-dot.m4 \
75 $(top_srcdir)/../config/nls.m4 \
76 $(top_srcdir)/../config/override.m4 \
77 $(top_srcdir)/../config/po.m4 \
78 $(top_srcdir)/../config/progtest.m4 \
79 $(top_srcdir)/../config/zlib.m4 \
80 $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac
81 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
83 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
84 configure.lineno config.status.lineno
85 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
86 CONFIG_HEADER = config.h
87 CONFIG_CLEAN_FILES = po/Makefile.in
88 CONFIG_CLEAN_VPATH_FILES =
89 LIBRARIES = $(noinst_LIBRARIES)
92 libgold_a_AR = $(AR) $(ARFLAGS)
93 libgold_a_DEPENDENCIES = $(LIBOBJS)
94 am__objects_1 = archive.$(OBJEXT) attributes.$(OBJEXT) \
95 binary.$(OBJEXT) common.$(OBJEXT) compressed_output.$(OBJEXT) \
96 copy-relocs.$(OBJEXT) cref.$(OBJEXT) defstd.$(OBJEXT) \
97 descriptors.$(OBJEXT) dirsearch.$(OBJEXT) dynobj.$(OBJEXT) \
98 dwarf_reader.$(OBJEXT) ehframe.$(OBJEXT) errors.$(OBJEXT) \
99 expression.$(OBJEXT) fileread.$(OBJEXT) gc.$(OBJEXT) \
100 gdb-index.$(OBJEXT) gold.$(OBJEXT) gold-threads.$(OBJEXT) \
101 icf.$(OBJEXT) incremental.$(OBJEXT) int_encoding.$(OBJEXT) \
102 layout.$(OBJEXT) mapfile.$(OBJEXT) merge.$(OBJEXT) \
103 nacl.$(OBJEXT) object.$(OBJEXT) options.$(OBJEXT) \
104 output.$(OBJEXT) parameters.$(OBJEXT) plugin.$(OBJEXT) \
105 readsyms.$(OBJEXT) reduced_debug_output.$(OBJEXT) \
106 reloc.$(OBJEXT) resolve.$(OBJEXT) script-sections.$(OBJEXT) \
107 script.$(OBJEXT) stringpool.$(OBJEXT) symtab.$(OBJEXT) \
108 target.$(OBJEXT) target-select.$(OBJEXT) timer.$(OBJEXT) \
109 version.$(OBJEXT) workqueue.$(OBJEXT) \
110 workqueue-threads.$(OBJEXT)
112 am__objects_3 = yyscript.$(OBJEXT)
113 am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \
114 $(am__objects_3) $(am__objects_2)
115 libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
116 am__installdirs = "$(DESTDIR)$(bindir)"
117 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
118 am_dwp_OBJECTS = dwp.$(OBJEXT)
119 dwp_OBJECTS = $(am_dwp_OBJECTS)
121 dwp_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(dwp_LDFLAGS) \
123 am_incremental_dump_OBJECTS = incremental-dump.$(OBJEXT)
124 incremental_dump_OBJECTS = $(am_incremental_dump_OBJECTS)
125 am__objects_4 = main.$(OBJEXT)
126 am_ld_new_OBJECTS = $(am__objects_4)
127 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
128 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a $(LIBIBERTY) \
129 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
130 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
131 ld_new_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld_new_LDFLAGS) \
133 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4)
134 ld1_OBJECTS = $(am_ld1_OBJECTS)
135 ld1_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) \
137 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_r_OBJECTS = $(am__objects_4)
138 ld1_r_OBJECTS = $(am_ld1_r_OBJECTS)
139 ld1_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_r_LDFLAGS) \
141 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4)
142 ld2_OBJECTS = $(am_ld2_OBJECTS)
143 ld2_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) \
145 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_r_OBJECTS = $(am__objects_4)
146 ld2_r_OBJECTS = $(am_ld2_r_OBJECTS)
147 ld2_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_r_LDFLAGS) \
149 DEFAULT_INCLUDES = -I.@am__isrc@
150 depcomp = $(SHELL) $(top_srcdir)/../depcomp
151 am__depfiles_maybe = depfiles
153 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
154 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
156 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
157 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
158 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
160 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
162 @MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ ||
163 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
164 YLWRAP = $(top_srcdir)/../ylwrap
165 SOURCES = $(libgold_a_SOURCES) $(dwp_SOURCES) \
166 $(incremental_dump_SOURCES) $(ld_new_SOURCES) \
167 $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld1_r_SOURCES) \
168 $(ld2_SOURCES) $(ld2_r_SOURCES)
169 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
170 html-recursive info-recursive install-data-recursive \
171 install-dvi-recursive install-exec-recursive \
172 install-html-recursive install-info-recursive \
173 install-pdf-recursive install-ps-recursive install-recursive \
174 installcheck-recursive installdirs-recursive pdf-recursive \
175 ps-recursive uninstall-recursive
176 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
177 distclean-recursive maintainer-clean-recursive
178 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
179 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
180 check check-html recheck recheck-html
184 red=; grn=; lgn=; blu=; std=
185 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
186 am__vpath_adj = case $$p in \
187 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
190 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
192 am__nobase_strip_setup = \
193 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
195 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
196 am__nobase_list = $(am__nobase_strip_setup); \
197 for p in $$list; do echo "$$p $$p"; done | \
198 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
199 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
200 if (++n[$$2] == $(am__install_max)) \
201 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
202 END { for (dir in files) print dir, files[dir] }'
204 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
205 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
206 # Restructured Text title and section.
207 am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//'
208 am__rst_section = sed 'p;s/./=/g;p;g'
209 # Put stdin (possibly several lines separated by ". ") in a box.
210 am__text_box = $(AWK) '{ \
211 n = split($$0, lines, "\\. "); max = 0; \
212 for (i = 1; i <= n; ++i) \
213 if (max < length(lines[i])) \
214 max = length(lines[i]); \
215 for (i = 0; i < max; ++i) line = line "="; \
217 for (i = 1; i <= n; ++i) if (lines[i]) print lines[i];\
220 # Solaris 10 'make', and several other traditional 'make' implementations,
221 # pass "-e" to $(SHELL). This contradicts POSIX. Work around the problem
222 # by disabling -e (using the XSI extension "set +e") if it's set.
223 am__sh_e_setup = case $$- in *e*) set +e;; esac
224 # To be inserted before the command running the test. Creates the
225 # directory for the log if needed. Stores in $dir the directory
226 # containing $f, in $tst the test, in $log the log, and passes
227 # TESTS_ENVIRONMENT. Save and restore TERM around use of
228 # TESTS_ENVIRONMENT, in case that unsets it.
231 $(am__vpath_adj_setup) $(am__vpath_adj) \
232 srcdir=$(srcdir); export srcdir; \
234 trap 'st=$$?; rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st' \
236 am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`; \
237 test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?; \
238 if test -f "./$$f"; then dir=./; \
239 elif test -f "$$f"; then dir=; \
240 else dir="$(srcdir)/"; fi; \
241 tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM; \
243 RECHECK_LOGS = $(TEST_LOGS)
244 TEST_SUITE_LOG = test-suite.log
245 TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
246 TEST_EXTENSIONS = @EXEEXT@ .test
247 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
248 am__test_logs1 = $(TESTS:=.log)
249 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
250 TEST_LOGS = $(am__test_logs2:.test.log=.log)
251 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
253 TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
254 DIST_SUBDIRS = $(SUBDIRS)
257 AUTOCONF = @AUTOCONF@
258 AUTOHEADER = @AUTOHEADER@
259 AUTOMAKE = @AUTOMAKE@
261 CATALOGS = @CATALOGS@
262 CATOBJEXT = @CATOBJEXT@
264 CCDEPMODE = @CCDEPMODE@
267 CPPFLAGS = @CPPFLAGS@
270 CXXDEPMODE = @CXXDEPMODE@
271 CXXFLAGS = @CXXFLAGS@
272 CYGPATH_W = @CYGPATH_W@
273 DATADIRNAME = @DATADIRNAME@
276 DLOPEN_LIBS = @DLOPEN_LIBS@
284 GOLD_LDADD = @GOLD_LDADD@
285 GOLD_LDFLAGS = @GOLD_LDFLAGS@
289 INSTALL_DATA = @INSTALL_DATA@
290 INSTALL_PROGRAM = @INSTALL_PROGRAM@
291 INSTALL_SCRIPT = @INSTALL_SCRIPT@
292 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
293 INSTOBJEXT = @INSTOBJEXT@
295 LFS_CFLAGS = @LFS_CFLAGS@
297 LIBINTL_DEP = @LIBINTL_DEP@
301 LTLIBOBJS = @LTLIBOBJS@
303 MAKEINFO = @MAKEINFO@
305 MKINSTALLDIRS = @MKINSTALLDIRS@
307 MSGMERGE = @MSGMERGE@
309 NO_WERROR = @NO_WERROR@
312 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
313 PACKAGE_NAME = @PACKAGE_NAME@
314 PACKAGE_STRING = @PACKAGE_STRING@
315 PACKAGE_TARNAME = @PACKAGE_TARNAME@
316 PACKAGE_URL = @PACKAGE_URL@
317 PACKAGE_VERSION = @PACKAGE_VERSION@
318 PATH_SEPARATOR = @PATH_SEPARATOR@
320 RANDOM_SEED_CFLAGS = @RANDOM_SEED_CFLAGS@
322 SET_MAKE = @SET_MAKE@
325 TARGETOBJS = @TARGETOBJS@
328 WARN_CFLAGS = @WARN_CFLAGS@
329 WARN_CXXFLAGS = @WARN_CXXFLAGS@
330 XGETTEXT = @XGETTEXT@
333 abs_builddir = @abs_builddir@
334 abs_srcdir = @abs_srcdir@
335 abs_top_builddir = @abs_top_builddir@
336 abs_top_srcdir = @abs_top_srcdir@
337 ac_ct_CC = @ac_ct_CC@
338 ac_ct_CXX = @ac_ct_CXX@
339 am__include = @am__include@
340 am__leading_dot = @am__leading_dot@
341 am__quote = @am__quote@
343 am__untar = @am__untar@
346 build_alias = @build_alias@
347 build_cpu = @build_cpu@
348 build_os = @build_os@
349 build_vendor = @build_vendor@
350 builddir = @builddir@
352 datarootdir = @datarootdir@
355 exec_prefix = @exec_prefix@
357 host_alias = @host_alias@
358 host_cpu = @host_cpu@
360 host_vendor = @host_vendor@
362 includedir = @includedir@
364 install_as_default = @install_as_default@
365 install_sh = @install_sh@
366 installed_linker = @installed_linker@
368 libexecdir = @libexecdir@
369 localedir = @localedir@
370 localstatedir = @localstatedir@
373 oldincludedir = @oldincludedir@
376 program_transform_name = @program_transform_name@
379 sharedstatedir = @sharedstatedir@
381 sysconfdir = @sysconfdir@
383 target_alias = @target_alias@
384 target_cpu = @target_cpu@
385 target_os = @target_os@
386 target_vendor = @target_vendor@
387 top_build_prefix = @top_build_prefix@
388 top_builddir = @top_builddir@
389 top_srcdir = @top_srcdir@
390 AUTOMAKE_OPTIONS = foreign
391 SUBDIRS = po testsuite
392 tooldir = $(exec_prefix)/$(target_alias)
393 ACLOCAL_AMFLAGS = -I ../bfd -I ../config
394 AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS)
395 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS)
397 -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
398 -DLOCALEDIR="\"$(datadir)/locale\"" \
399 -DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
400 -DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@
402 LIBIBERTY = ../libiberty/libiberty.a
403 @PLUGINS_TRUE@LIBDL = @DLOPEN_LIBS@
404 @THREADS_TRUE@THREADSLIB = -lpthread
407 # Automake 1.10+ disables lex and yacc output file regeneration if
408 # maintainer mode is disabled. Avoid this.
411 noinst_LIBRARIES = libgold.a
417 compressed_output.cc \
446 reduced_debug_output.cc \
461 arm-reloc-property.h \
466 compressed_output.h \
494 reduced_debug_output.h \
514 DEFFILES = arm-reloc.def
515 EXTRA_DIST = yyscript.c yyscript.h
517 i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc arm-reloc-property.cc tilegx.cc
520 i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \
521 arm.$(OBJEXT) arm-reloc-property.$(OBJEXT) tilegx.$(OBJEXT)
523 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) $(DEFFILES)
524 libgold_a_LIBADD = $(LIBOBJS)
525 sources_var = main.cc
526 deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
527 ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) \
528 $(THREADSLIB) $(LIBDL)
530 ldflags_var = $(GOLD_LDFLAGS)
531 ld_new_SOURCES = $(sources_var)
532 ld_new_DEPENDENCIES = $(deps_var)
533 ld_new_LDADD = $(ldadd_var)
534 ld_new_LDFLAGS = $(ldflags_var)
535 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
536 incremental_dump_SOURCES = incremental-dump.cc
537 incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \
540 incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
541 $(THREADSLIB) $(LIBDL)
544 dwp_DEPENDENCIES = libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
545 dwp_LDADD = libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) $(THREADSLIB) \
548 dwp_LDFLAGS = $(GOLD_LDFLAGS)
549 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
550 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
551 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
552 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
553 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
554 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
555 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
556 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
557 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
558 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
559 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld
560 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
561 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDFLAGS = -Bgcctestdir1/
562 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
563 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld
564 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
565 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDFLAGS = -Bgcctestdir2-r/
566 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r
568 $(MAKE) $(AM_MAKEFLAGS) all-recursive
571 .SUFFIXES: .c .cc .html .log .o .obj .test .test$(EXEEXT) .y
574 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
576 case '$(am__configure_deps)' in \
578 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
579 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
584 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
585 $(am__cd) $(top_srcdir) && \
586 $(AUTOMAKE) --foreign Makefile
588 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
591 echo ' $(SHELL) ./config.status'; \
592 $(SHELL) ./config.status;; \
594 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
595 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
598 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
599 $(SHELL) ./config.status --recheck
601 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
602 $(am__cd) $(srcdir) && $(AUTOCONF)
603 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
604 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
605 $(am__aclocal_m4_deps):
608 @if test ! -f $@; then \
610 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
613 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
615 cd $(top_builddir) && $(SHELL) ./config.status config.h
616 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
617 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
622 -rm -f config.h stamp-h1
623 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
624 cd $(top_builddir) && $(SHELL) ./config.status $@
626 clean-noinstLIBRARIES:
627 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
628 yyscript.h: yyscript.c
629 @if test ! -f $@; then \
631 $(MAKE) $(AM_MAKEFLAGS) yyscript.c; \
633 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
635 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
637 install-binPROGRAMS: $(bin_PROGRAMS)
639 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
640 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
641 for p in $$list; do echo "$$p $$p"; done | \
642 sed 's/$(EXEEXT)$$//' | \
643 while read p p1; do if test -f $$p; \
644 then echo "$$p"; echo "$$p"; else :; fi; \
646 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
647 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
648 sed 'N;N;N;s,\n, ,g' | \
649 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
650 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
651 if ($$2 == $$4) files[d] = files[d] " " $$1; \
652 else { print "f", $$3 "/" $$4, $$1; } } \
653 END { for (d in files) print "f", d, files[d] }' | \
654 while read type dir files; do \
655 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
656 test -z "$$files" || { \
657 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
658 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
662 uninstall-binPROGRAMS:
664 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
665 files=`for p in $$list; do echo "$$p"; done | \
666 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
667 -e 's/$$/$(EXEEXT)/' `; \
668 test -n "$$list" || exit 0; \
669 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
670 cd "$(DESTDIR)$(bindir)" && rm -f $$files
673 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
676 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
678 clean-noinstPROGRAMS:
679 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
680 dwp$(EXEEXT): $(dwp_OBJECTS) $(dwp_DEPENDENCIES)
682 $(dwp_LINK) $(dwp_OBJECTS) $(dwp_LDADD) $(LIBS)
683 incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES)
684 @rm -f incremental-dump$(EXEEXT)
685 $(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS)
686 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
687 @rm -f ld-new$(EXEEXT)
688 $(ld_new_LINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
689 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
691 $(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
692 ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES)
693 @rm -f ld1-r$(EXEEXT)
694 $(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
695 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
697 $(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
698 ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES)
699 @rm -f ld2-r$(EXEEXT)
700 $(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
708 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@
709 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@
710 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@
711 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
712 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
713 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm-reloc-property.Po@am__quote@
714 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@
715 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@
716 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@
717 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
718 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@
719 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@
720 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@
721 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
722 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@
723 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
724 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@
725 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwp.Po@am__quote@
726 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
727 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
728 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
729 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@
730 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
731 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@
732 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-index.Po@am__quote@
733 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
734 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
735 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
736 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@
737 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@
738 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@
739 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@
740 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
741 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
742 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@
743 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
744 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nacl.Po@am__quote@
745 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
746 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
747 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
748 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
749 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@
750 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
751 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
752 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
753 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
754 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
755 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@
756 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
757 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@
758 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
759 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
760 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
761 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@
762 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilegx.Po@am__quote@
763 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@
764 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
765 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@
766 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
767 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
768 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
771 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
772 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
773 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
774 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
775 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
778 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
779 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
780 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
781 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
782 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
785 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
786 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
787 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
788 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
789 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
792 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
793 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
794 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
795 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
796 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
799 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
801 # This directory's subdirectories are mostly independent; you can cd
802 # into them and run `make' without going through this Makefile.
803 # To change the values of `make' variables: instead of editing Makefiles,
804 # (1) if the variable is set in `config.status', edit `config.status'
805 # (which will cause the Makefiles to be regenerated when you run `make');
806 # (2) otherwise, pass the desired values on the `make' command line.
807 $(RECURSIVE_TARGETS):
808 @fail= failcom='exit 1'; \
809 for f in x $$MAKEFLAGS; do \
812 *k*) failcom='fail=yes';; \
816 target=`echo $@ | sed s/-recursive//`; \
817 list='$(SUBDIRS)'; for subdir in $$list; do \
818 echo "Making $$target in $$subdir"; \
819 if test "$$subdir" = "."; then \
821 local_target="$$target-am"; \
823 local_target="$$target"; \
825 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
828 if test "$$dot_seen" = "no"; then \
829 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
832 $(RECURSIVE_CLEAN_TARGETS):
833 @fail= failcom='exit 1'; \
834 for f in x $$MAKEFLAGS; do \
837 *k*) failcom='fail=yes';; \
842 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
843 *) list='$(SUBDIRS)' ;; \
845 rev=''; for subdir in $$list; do \
846 if test "$$subdir" = "."; then :; else \
847 rev="$$subdir $$rev"; \
851 target=`echo $@ | sed s/-recursive//`; \
852 for subdir in $$rev; do \
853 echo "Making $$target in $$subdir"; \
854 if test "$$subdir" = "."; then \
855 local_target="$$target-am"; \
857 local_target="$$target"; \
859 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
861 done && test -z "$$fail"
863 list='$(SUBDIRS)'; for subdir in $$list; do \
864 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
867 list='$(SUBDIRS)'; for subdir in $$list; do \
868 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
871 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
872 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
873 unique=`for i in $$list; do \
874 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
876 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
877 END { if (nonempty) { for (i in files) print i; }; }'`; \
881 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
882 $(TAGS_FILES) $(LISP)
885 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
886 include_option=--etags-include; \
889 include_option=--include; \
892 list='$(SUBDIRS)'; for subdir in $$list; do \
893 if test "$$subdir" = .; then :; else \
894 test ! -f $$subdir/TAGS || \
895 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
898 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
899 unique=`for i in $$list; do \
900 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
902 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
903 END { if (nonempty) { for (i in files) print i; }; }'`; \
905 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
906 test -n "$$unique" || unique=$$empty_fix; \
907 if test $$# -gt 0; then \
908 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
911 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
916 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
917 $(TAGS_FILES) $(LISP)
918 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
919 unique=`for i in $$list; do \
920 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
922 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
923 END { if (nonempty) { for (i in files) print i; }; }'`; \
924 test -z "$(CTAGS_ARGS)$$unique" \
925 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
929 here=`$(am__cd) $(top_builddir) && pwd` \
930 && $(am__cd) $(top_srcdir) \
931 && gtags -i $(GTAGS_ARGS) "$$here"
934 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
936 # To be appended to the command running the test. Handle the stdout
937 # and stderr redirection, and catch the exit status.
941 if test -n '$(DISABLE_HARD_ERRORS)' \
942 && test $$estatus -eq 99; then \
945 TERM=$$__SAVED_TERM; export TERM; \
948 case " $(XFAIL_TESTS) " in \
949 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
952 case $$estatus:$$xfailed in \
953 0:XFAIL) col=$$red; res=XPASS;; \
954 0:*) col=$$grn; res=PASS ;; \
955 77:*) col=$$blu; res=SKIP ;; \
956 99:*) col=$$red; res=FAIL ;; \
957 *:XFAIL) col=$$lgn; res=XFAIL;; \
958 *:*) col=$$red; res=FAIL ;; \
960 echo "$${col}$$res$${std}: $$f"; \
961 echo "$$res: $$f (exit: $$estatus)" | \
962 $(am__rst_section) >$@; \
966 $(TEST_SUITE_LOG): $(TEST_LOGS)
967 @$(am__sh_e_setup); \
968 list='$(TEST_LOGS)'; \
969 results=`for f in $$list; do \
970 read line < $$f && echo "$$line" || echo FAIL; \
972 all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \
973 fail=`echo "$$results" | grep -c '^FAIL'`; \
974 pass=`echo "$$results" | grep -c '^PASS'`; \
975 skip=`echo "$$results" | grep -c '^SKIP'`; \
976 xfail=`echo "$$results" | grep -c '^XFAIL'`; \
977 xpass=`echo "$$results" | grep -c '^XPASS'`; \
978 failures=`expr $$fail + $$xpass`; \
979 all=`expr $$all - $$skip`; \
980 if test "$$all" -eq 1; then tests=test; All=; \
981 else tests=tests; All="All "; fi; \
982 case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \
983 fail=0:xpass=0:xfail=0) \
984 msg="$$All$$all $$tests passed. "; \
986 fail=0:xpass=0:xfail=*) \
987 msg="$$All$$all $$tests behaved as expected"; \
988 if test "$$xfail" -eq 1; then xfailures=failure; \
989 else xfailures=failures; fi; \
990 msg="$$msg ($$xfail expected $$xfailures). "; \
992 fail=*:xpass=0:xfail=*) \
993 msg="$$fail of $$all $$tests failed. "; \
995 fail=*:xpass=*:xfail=*) \
996 msg="$$failures of $$all $$tests did not behave as expected"; \
997 if test "$$xpass" -eq 1; then xpasses=pass; \
998 else xpasses=passes; fi; \
999 msg="$$msg ($$xpass unexpected $$xpasses). "; \
1002 echo >&2 "incorrect case"; exit 4;; \
1004 if test "$$skip" -ne 0; then \
1005 if test "$$skip" -eq 1; then \
1006 msg="$$msg($$skip test was not run). "; \
1008 msg="$$msg($$skip tests were not run). "; \
1012 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1016 echo ".. contents:: :depth: 2"; \
1018 for f in $$list; do \
1022 *) echo; cat $$f;; \
1025 } >$(TEST_SUITE_LOG).tmp; \
1026 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1027 if test "$$failures" -ne 0; then \
1028 msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \
1029 if test -n "$(PACKAGE_BUGREPORT)"; then \
1030 msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \
1033 test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \
1034 $(am__tty_colors); \
1036 echo $(ECHO_N) "$$grn$(ECHO_C)"; \
1038 echo $(ECHO_N) "$$red$(ECHO_C)"; \
1040 echo "$$msg" | $(am__text_box); \
1041 echo $(ECHO_N) "$$std$(ECHO_C)"; \
1044 # Run all the tests.
1046 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1047 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1048 @list='$(TEST_LOGS)'; \
1049 list=`for f in $$list; do \
1050 test .log = $$f || echo $$f; \
1051 done | tr '\012\015' ' '`; \
1052 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
1055 @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \
1056 for r2h in $$list; do \
1057 if ($$r2h --version) >/dev/null 2>&1; then \
1061 if test -z "$$R2H"; then \
1062 echo >&2 "cannot find rst2html, cannot create $@"; \
1068 # Be sure to run check first, and then to convert the result.
1069 # Beware of concurrent executions. Run "check" not "check-TESTS", as
1070 # check-SCRIPTS and other dependencies are rebuilt by the former only.
1071 # And expect check to fail.
1073 @if $(MAKE) $(AM_MAKEFLAGS) check; then \
1074 rv=0; else rv=$$?; \
1076 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \
1078 recheck recheck-html:
1079 @target=`echo $@ | sed 's,^re,,'`; \
1080 list='$(TEST_LOGS)'; \
1081 list=`for f in $$list; do \
1082 test -f $$f || continue; \
1083 if read line < $$f; then \
1084 case $$line in FAIL*|XPASS*) echo $$f;; esac; \
1085 else echo $$f; fi; \
1086 done | tr '\012\015' ' '`; \
1087 $(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"'
1088 bootstrap-test.log: bootstrap-test
1089 @p='bootstrap-test'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1090 bootstrap-test-r.log: bootstrap-test-r
1091 @p='bootstrap-test-r'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1093 @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1094 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1095 @am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1097 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1098 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1099 check: check-recursive
1100 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
1101 installdirs: installdirs-recursive
1103 for dir in "$(DESTDIR)$(bindir)"; do \
1104 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1106 install: install-recursive
1107 install-exec: install-exec-recursive
1108 install-data: install-data-recursive
1109 uninstall: uninstall-recursive
1112 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1114 installcheck: installcheck-recursive
1116 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1117 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1118 `test -z '$(STRIP)' || \
1119 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1120 mostlyclean-generic:
1121 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1122 -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
1123 -test -z "$(TEST_SUITE_HTML)" || rm -f $(TEST_SUITE_HTML)
1124 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1129 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1130 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1132 maintainer-clean-generic:
1133 @echo "This command is intended for maintainers to use"
1134 @echo "it deletes files that may require special tools to rebuild."
1137 clean: clean-recursive
1139 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1140 clean-noinstLIBRARIES clean-noinstPROGRAMS mostlyclean-am
1142 distclean: distclean-recursive
1143 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1144 -rm -rf $(DEPDIR) ./$(DEPDIR)
1146 distclean-am: clean-am distclean-compile distclean-generic \
1147 distclean-hdr distclean-tags
1153 html: html-recursive
1157 info: info-recursive
1161 install-data-am: install-data-local
1163 install-dvi: install-dvi-recursive
1167 install-exec-am: install-binPROGRAMS install-exec-local
1169 install-html: install-html-recursive
1173 install-info: install-info-recursive
1179 install-pdf: install-pdf-recursive
1183 install-ps: install-ps-recursive
1189 maintainer-clean: maintainer-clean-recursive
1190 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1191 -rm -rf $(top_srcdir)/autom4te.cache
1192 -rm -rf $(DEPDIR) ./$(DEPDIR)
1194 maintainer-clean-am: distclean-am maintainer-clean-generic
1196 mostlyclean: mostlyclean-recursive
1198 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1208 uninstall-am: uninstall-binPROGRAMS
1210 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
1211 check-html ctags-recursive install-am install-strip recheck \
1212 recheck-html tags-recursive
1214 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1215 all all-am am--refresh check check-TESTS check-am check-html \
1216 clean clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1217 clean-noinstLIBRARIES clean-noinstPROGRAMS ctags \
1218 ctags-recursive distclean distclean-compile distclean-generic \
1219 distclean-hdr distclean-tags dvi dvi-am html html-am info \
1220 info-am install install-am install-binPROGRAMS install-data \
1221 install-data-am install-data-local install-dvi install-dvi-am \
1222 install-exec install-exec-am install-exec-local install-html \
1223 install-html-am install-info install-info-am install-man \
1224 install-pdf install-pdf-am install-ps install-ps-am \
1225 install-strip installcheck installcheck-am installdirs \
1226 installdirs-am maintainer-clean maintainer-clean-generic \
1227 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
1228 ps ps-am recheck recheck-html tags tags-recursive uninstall \
1229 uninstall-am uninstall-binPROGRAMS
1232 # Use an explicit dependency for the bison generated header file.
1233 expression.$(OBJEXT): yyscript.h
1234 script-sections.$(OBJEXT): yyscript.h
1235 script.$(OBJEXT): yyscript.h
1237 # We have to build libgold.a before we run the tests.
1240 .PHONY: install-exec-local
1242 install-exec-local: ld-new$(EXEEXT)
1243 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1244 n=`echo $(installed_linker) | sed '$(transform)'`; \
1245 $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
1246 if test "$(bindir)" != "$(tooldir)/bin"; then \
1247 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1248 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1249 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1251 if test "x$(install_as_default)" = "xyes"; then \
1252 ld=`echo ld | sed '$(transform)'`; \
1253 rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1254 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \
1255 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1256 if test "$(bindir)" != "$(tooldir)/bin"; then \
1257 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1258 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1259 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1263 # We want install to imply install-info as per GNU standards, despite
1264 # the cygnus option.
1265 install-data-local: install-info
1267 po/POTFILES.in: @MAINT@ Makefile
1268 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
1269 && mv tmp $(srcdir)/po/POTFILES.in
1271 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1272 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1273 # identical to ld1, since it was linked with the host linker.
1275 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
1276 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1277 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1278 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1280 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1281 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1282 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1283 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1285 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1286 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1287 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1288 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
1289 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1291 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
1292 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
1294 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld: ld1-r
1295 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
1296 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2-r/ld
1297 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2-r && $(LN_S) ../ld1-r ld)
1299 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
1300 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
1302 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
1303 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1304 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1305 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" > $@
1306 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1308 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1309 # Otherwise a system limit (for SysV at least) may be exceeded.