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