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