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