]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gold/Makefile.in
* configure.ac: Check for glibc support for gnu_indirect_function
[thirdparty/binutils-gdb.git] / gold / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # Process this file with automake to generate Makefile.in
19
20
21 VPATH = @srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkgincludedir = $(includedir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkglibexecdir = $(libexecdir)/@PACKAGE@
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 build_triplet = @build@
39 host_triplet = @host@
40 target_triplet = @target@
41 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; \
190 }'
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 NM = @NM@
277 NO_WERROR = @NO_WERROR@
278 OBJEXT = @OBJEXT@
279 PACKAGE = @PACKAGE@
280 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
281 PACKAGE_NAME = @PACKAGE_NAME@
282 PACKAGE_STRING = @PACKAGE_STRING@
283 PACKAGE_TARNAME = @PACKAGE_TARNAME@
284 PACKAGE_URL = @PACKAGE_URL@
285 PACKAGE_VERSION = @PACKAGE_VERSION@
286 PATH_SEPARATOR = @PATH_SEPARATOR@
287 POSUB = @POSUB@
288 RANDOM_SEED_CFLAGS = @RANDOM_SEED_CFLAGS@
289 RANLIB = @RANLIB@
290 SET_MAKE = @SET_MAKE@
291 SHELL = @SHELL@
292 STRIP = @STRIP@
293 TARGETOBJS = @TARGETOBJS@
294 USE_NLS = @USE_NLS@
295 VERSION = @VERSION@
296 WARN_CFLAGS = @WARN_CFLAGS@
297 WARN_CXXFLAGS = @WARN_CXXFLAGS@
298 XGETTEXT = @XGETTEXT@
299 YACC = @YACC@
300 YFLAGS = @YFLAGS@
301 abs_builddir = @abs_builddir@
302 abs_srcdir = @abs_srcdir@
303 abs_top_builddir = @abs_top_builddir@
304 abs_top_srcdir = @abs_top_srcdir@
305 ac_ct_CC = @ac_ct_CC@
306 ac_ct_CXX = @ac_ct_CXX@
307 am__include = @am__include@
308 am__leading_dot = @am__leading_dot@
309 am__quote = @am__quote@
310 am__tar = @am__tar@
311 am__untar = @am__untar@
312 bindir = @bindir@
313 build = @build@
314 build_alias = @build_alias@
315 build_cpu = @build_cpu@
316 build_os = @build_os@
317 build_vendor = @build_vendor@
318 builddir = @builddir@
319 datadir = @datadir@
320 datarootdir = @datarootdir@
321 docdir = @docdir@
322 dvidir = @dvidir@
323 exec_prefix = @exec_prefix@
324 host = @host@
325 host_alias = @host_alias@
326 host_cpu = @host_cpu@
327 host_os = @host_os@
328 host_vendor = @host_vendor@
329 htmldir = @htmldir@
330 includedir = @includedir@
331 infodir = @infodir@
332 install_as_default = @install_as_default@
333 install_sh = @install_sh@
334 installed_linker = @installed_linker@
335 libdir = @libdir@
336 libexecdir = @libexecdir@
337 localedir = @localedir@
338 localstatedir = @localstatedir@
339 mandir = @mandir@
340 mkdir_p = @mkdir_p@
341 oldincludedir = @oldincludedir@
342 pdfdir = @pdfdir@
343 prefix = @prefix@
344 program_transform_name = @program_transform_name@
345 psdir = @psdir@
346 sbindir = @sbindir@
347 sharedstatedir = @sharedstatedir@
348 srcdir = @srcdir@
349 sysconfdir = @sysconfdir@
350 target = @target@
351 target_alias = @target_alias@
352 target_cpu = @target_cpu@
353 target_os = @target_os@
354 target_vendor = @target_vendor@
355 top_build_prefix = @top_build_prefix@
356 top_builddir = @top_builddir@
357 top_srcdir = @top_srcdir@
358 AUTOMAKE_OPTIONS = foreign
359 SUBDIRS = po testsuite
360 tooldir = $(exec_prefix)/$(target_alias)
361 ACLOCAL_AMFLAGS = -I ../bfd -I ../config
362 AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS)
363 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS)
364 AM_CPPFLAGS = \
365 -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
366 -DLOCALEDIR="\"$(datadir)/locale\"" \
367 -DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
368 @INCINTL@
369
370 LIBIBERTY = ../libiberty/libiberty.a
371 @PLUGINS_TRUE@LIBDL = -ldl
372 @THREADS_TRUE@THREADSLIB = -lpthread
373 AM_YFLAGS = -d
374
375 # Automake 1.10+ disables lex and yacc output file regeneration if
376 # maintainer mode is disabled. Avoid this.
377 am__skiplex =
378 am__skipyacc =
379 noinst_LIBRARIES = libgold.a
380 CCFILES = \
381 archive.cc \
382 attributes.cc \
383 binary.cc \
384 common.cc \
385 compressed_output.cc \
386 copy-relocs.cc \
387 cref.cc \
388 defstd.cc \
389 descriptors.cc \
390 dirsearch.cc \
391 dynobj.cc \
392 dwarf_reader.cc \
393 ehframe.cc \
394 errors.cc \
395 expression.cc \
396 fileread.cc \
397 gc.cc \
398 gold.cc \
399 gold-threads.cc \
400 icf.cc \
401 incremental.cc \
402 int_encoding.cc \
403 layout.cc \
404 mapfile.cc \
405 merge.cc \
406 object.cc \
407 options.cc \
408 output.cc \
409 parameters.cc \
410 plugin.cc \
411 readsyms.cc \
412 reduced_debug_output.cc \
413 reloc.cc \
414 resolve.cc \
415 script-sections.cc \
416 script.cc \
417 stringpool.cc \
418 symtab.cc \
419 target.cc \
420 target-select.cc \
421 timer.cc \
422 version.cc \
423 workqueue.cc \
424 workqueue-threads.cc
425
426 HFILES = \
427 arm-reloc-property.h \
428 archive.h \
429 attributes.h \
430 binary.h \
431 common.h \
432 compressed_output.h \
433 copy-relocs.h \
434 cref.h \
435 defstd.h \
436 dirsearch.h \
437 descriptors.h \
438 dynobj.h \
439 dwarf_reader.h \
440 ehframe.h \
441 errors.h \
442 fileread.h \
443 freebsd.h \
444 gc.h \
445 gold.h \
446 gold-threads.h \
447 icf.h \
448 int_encoding.h \
449 layout.h \
450 mapfile.h \
451 merge.h \
452 object.h \
453 options.h \
454 output.h \
455 parameters.h \
456 plugin.h \
457 readsyms.h \
458 reduced_debug_output.h \
459 reloc.h \
460 reloc-types.h \
461 script-c.h \
462 script-sections.h \
463 script.h \
464 stringpool.h \
465 symtab.h \
466 target.h \
467 target-reloc.h \
468 target-select.h \
469 timer.h \
470 tls.h \
471 token.h \
472 workqueue.h \
473 workqueue-internal.h
474
475 YFILES = \
476 yyscript.y
477
478 DEFFILES = arm-reloc.def
479 EXTRA_DIST = yyscript.c yyscript.h
480 TARGETSOURCES = \
481 i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc arm-reloc-property.cc
482
483 ALL_TARGETOBJS = \
484 i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \
485 arm.$(OBJEXT) arm-reloc-property.$(OBJEXT)
486
487 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) $(DEFFILES)
488 libgold_a_LIBADD = $(LIBOBJS)
489 sources_var = main.cc
490 deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
491 ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
492 $(THREADSLIB) $(LIBDL)
493
494 ld_new_SOURCES = $(sources_var)
495 ld_new_DEPENDENCIES = $(deps_var)
496 ld_new_LDADD = $(ldadd_var)
497 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
498 incremental_dump_SOURCES = incremental-dump.cc
499 incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \
500 $(LIBINTL_DEP)
501
502 incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
503 $(THREADSLIB) $(LIBDL)
504
505 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
506 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
507 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
508 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
509 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
510 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
511 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
512 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
513 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
514 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
515 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld
516 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
517 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDFLAGS = -Bgcctestdir1/
518 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
519 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld
520 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
521 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDFLAGS = -Bgcctestdir2-r/
522 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r
523 all: config.h
524 $(MAKE) $(AM_MAKEFLAGS) all-recursive
525
526 .SUFFIXES:
527 .SUFFIXES: .c .cc .html .log .o .obj .test .test$(EXEEXT) .y
528 am--refresh:
529 @:
530 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
531 @for dep in $?; do \
532 case '$(am__configure_deps)' in \
533 *$$dep*) \
534 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
535 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
536 && exit 0; \
537 exit 1;; \
538 esac; \
539 done; \
540 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
541 $(am__cd) $(top_srcdir) && \
542 $(AUTOMAKE) --foreign Makefile
543 .PRECIOUS: Makefile
544 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
545 @case '$?' in \
546 *config.status*) \
547 echo ' $(SHELL) ./config.status'; \
548 $(SHELL) ./config.status;; \
549 *) \
550 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
551 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
552 esac;
553
554 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
555 $(SHELL) ./config.status --recheck
556
557 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
558 $(am__cd) $(srcdir) && $(AUTOCONF)
559 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
560 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
561 $(am__aclocal_m4_deps):
562
563 config.h: stamp-h1
564 @if test ! -f $@; then \
565 rm -f stamp-h1; \
566 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
567 else :; fi
568
569 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
570 @rm -f stamp-h1
571 cd $(top_builddir) && $(SHELL) ./config.status config.h
572 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
573 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
574 rm -f stamp-h1
575 touch $@
576
577 distclean-hdr:
578 -rm -f config.h stamp-h1
579 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
580 cd $(top_builddir) && $(SHELL) ./config.status $@
581
582 clean-noinstLIBRARIES:
583 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
584 yyscript.h: yyscript.c
585 @if test ! -f $@; then \
586 rm -f yyscript.c; \
587 $(MAKE) $(AM_MAKEFLAGS) yyscript.c; \
588 else :; fi
589 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
590 -rm -f libgold.a
591 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
592 $(RANLIB) libgold.a
593
594 clean-checkPROGRAMS:
595 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
596
597 clean-noinstPROGRAMS:
598 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
599 incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES)
600 @rm -f incremental-dump$(EXEEXT)
601 $(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS)
602 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
603 @rm -f ld-new$(EXEEXT)
604 $(CXXLINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
605 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
606 @rm -f ld1$(EXEEXT)
607 $(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
608 ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES)
609 @rm -f ld1-r$(EXEEXT)
610 $(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
611 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
612 @rm -f ld2$(EXEEXT)
613 $(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
614 ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES)
615 @rm -f ld2-r$(EXEEXT)
616 $(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
617
618 mostlyclean-compile:
619 -rm -f *.$(OBJEXT)
620
621 distclean-compile:
622 -rm -f *.tab.c
623
624 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@
625 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@
626 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@
627 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
628 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
629 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm-reloc-property.Po@am__quote@
630 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@
631 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@
632 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@
633 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
634 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@
635 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@
636 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@
637 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
638 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@
639 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
640 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@
641 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
642 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
643 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
644 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@
645 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
646 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@
647 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
648 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
649 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
650 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@
651 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@
652 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@
653 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@
654 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
655 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
656 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@
657 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
658 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
659 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
660 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
661 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
662 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@
663 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
664 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
665 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
666 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
667 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
668 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@
669 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
670 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@
671 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
672 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
673 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
674 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@
675 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@
676 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
677 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@
678 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
679 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
680 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
681
682 .c.o:
683 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
684 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
685 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
686 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
687 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
688
689 .c.obj:
690 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
691 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
692 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
693 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
694 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
695
696 .cc.o:
697 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
698 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
699 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
700 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
701 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
702
703 .cc.obj:
704 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
705 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
706 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
707 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
708 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
709
710 .y.c:
711 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
712
713 # This directory's subdirectories are mostly independent; you can cd
714 # into them and run `make' without going through this Makefile.
715 # To change the values of `make' variables: instead of editing Makefiles,
716 # (1) if the variable is set in `config.status', edit `config.status'
717 # (which will cause the Makefiles to be regenerated when you run `make');
718 # (2) otherwise, pass the desired values on the `make' command line.
719 $(RECURSIVE_TARGETS):
720 @fail= failcom='exit 1'; \
721 for f in x $$MAKEFLAGS; do \
722 case $$f in \
723 *=* | --[!k]*);; \
724 *k*) failcom='fail=yes';; \
725 esac; \
726 done; \
727 dot_seen=no; \
728 target=`echo $@ | sed s/-recursive//`; \
729 list='$(SUBDIRS)'; for subdir in $$list; do \
730 echo "Making $$target in $$subdir"; \
731 if test "$$subdir" = "."; then \
732 dot_seen=yes; \
733 local_target="$$target-am"; \
734 else \
735 local_target="$$target"; \
736 fi; \
737 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
738 || eval $$failcom; \
739 done; \
740 if test "$$dot_seen" = "no"; then \
741 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
742 fi; test -z "$$fail"
743
744 $(RECURSIVE_CLEAN_TARGETS):
745 @fail= failcom='exit 1'; \
746 for f in x $$MAKEFLAGS; do \
747 case $$f in \
748 *=* | --[!k]*);; \
749 *k*) failcom='fail=yes';; \
750 esac; \
751 done; \
752 dot_seen=no; \
753 case "$@" in \
754 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
755 *) list='$(SUBDIRS)' ;; \
756 esac; \
757 rev=''; for subdir in $$list; do \
758 if test "$$subdir" = "."; then :; else \
759 rev="$$subdir $$rev"; \
760 fi; \
761 done; \
762 rev="$$rev ."; \
763 target=`echo $@ | sed s/-recursive//`; \
764 for subdir in $$rev; do \
765 echo "Making $$target in $$subdir"; \
766 if test "$$subdir" = "."; then \
767 local_target="$$target-am"; \
768 else \
769 local_target="$$target"; \
770 fi; \
771 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
772 || eval $$failcom; \
773 done && test -z "$$fail"
774 tags-recursive:
775 list='$(SUBDIRS)'; for subdir in $$list; do \
776 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
777 done
778 ctags-recursive:
779 list='$(SUBDIRS)'; for subdir in $$list; do \
780 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
781 done
782
783 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
784 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
785 unique=`for i in $$list; do \
786 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
787 done | \
788 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
789 END { if (nonempty) { for (i in files) print i; }; }'`; \
790 mkid -fID $$unique
791 tags: TAGS
792
793 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
794 $(TAGS_FILES) $(LISP)
795 set x; \
796 here=`pwd`; \
797 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
798 include_option=--etags-include; \
799 empty_fix=.; \
800 else \
801 include_option=--include; \
802 empty_fix=; \
803 fi; \
804 list='$(SUBDIRS)'; for subdir in $$list; do \
805 if test "$$subdir" = .; then :; else \
806 test ! -f $$subdir/TAGS || \
807 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
808 fi; \
809 done; \
810 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
811 unique=`for i in $$list; do \
812 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
813 done | \
814 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
815 END { if (nonempty) { for (i in files) print i; }; }'`; \
816 shift; \
817 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
818 test -n "$$unique" || unique=$$empty_fix; \
819 if test $$# -gt 0; then \
820 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
821 "$$@" $$unique; \
822 else \
823 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
824 $$unique; \
825 fi; \
826 fi
827 ctags: CTAGS
828 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
829 $(TAGS_FILES) $(LISP)
830 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
831 unique=`for i in $$list; do \
832 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
833 done | \
834 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
835 END { if (nonempty) { for (i in files) print i; }; }'`; \
836 test -z "$(CTAGS_ARGS)$$unique" \
837 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
838 $$unique
839
840 GTAGS:
841 here=`$(am__cd) $(top_builddir) && pwd` \
842 && $(am__cd) $(top_srcdir) \
843 && gtags -i $(GTAGS_ARGS) "$$here"
844
845 distclean-tags:
846 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
847
848 # To be appended to the command running the test. Handle the stdout
849 # and stderr redirection, and catch the exit status.
850 am__check_post = \
851 >$@-t 2>&1; \
852 estatus=$$?; \
853 if test -n '$(DISABLE_HARD_ERRORS)' \
854 && test $$estatus -eq 99; then \
855 estatus=1; \
856 fi; \
857 TERM=$$__SAVED_TERM; export TERM; \
858 $(am__tty_colors); \
859 xfailed=PASS; \
860 case " $(XFAIL_TESTS) " in \
861 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
862 xfailed=XFAIL;; \
863 esac; \
864 case $$estatus:$$xfailed in \
865 0:XFAIL) col=$$red; res=XPASS;; \
866 0:*) col=$$grn; res=PASS ;; \
867 77:*) col=$$blu; res=SKIP ;; \
868 99:*) col=$$red; res=FAIL ;; \
869 *:XFAIL) col=$$lgn; res=XFAIL;; \
870 *:*) col=$$red; res=FAIL ;; \
871 esac; \
872 echo "$${col}$$res$${std}: $$f"; \
873 echo "$$res: $$f (exit: $$estatus)" | \
874 $(am__rst_section) >$@; \
875 cat $@-t >>$@; \
876 rm -f $@-t
877
878 $(TEST_SUITE_LOG): $(TEST_LOGS)
879 @$(am__sh_e_setup); \
880 list='$(TEST_LOGS)'; \
881 results=`for f in $$list; do \
882 read line < $$f && echo "$$line" || echo FAIL; \
883 done`; \
884 all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \
885 fail=`echo "$$results" | grep -c '^FAIL'`; \
886 pass=`echo "$$results" | grep -c '^PASS'`; \
887 skip=`echo "$$results" | grep -c '^SKIP'`; \
888 xfail=`echo "$$results" | grep -c '^XFAIL'`; \
889 xpass=`echo "$$results" | grep -c '^XPASS'`; \
890 failures=`expr $$fail + $$xpass`; \
891 all=`expr $$all - $$skip`; \
892 if test "$$all" -eq 1; then tests=test; All=; \
893 else tests=tests; All="All "; fi; \
894 case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \
895 fail=0:xpass=0:xfail=0) \
896 msg="$$All$$all $$tests passed. "; \
897 exit=true;; \
898 fail=0:xpass=0:xfail=*) \
899 msg="$$All$$all $$tests behaved as expected"; \
900 if test "$$xfail" -eq 1; then xfailures=failure; \
901 else xfailures=failures; fi; \
902 msg="$$msg ($$xfail expected $$xfailures). "; \
903 exit=true;; \
904 fail=*:xpass=0:xfail=*) \
905 msg="$$fail of $$all $$tests failed. "; \
906 exit=false;; \
907 fail=*:xpass=*:xfail=*) \
908 msg="$$failures of $$all $$tests did not behave as expected"; \
909 if test "$$xpass" -eq 1; then xpasses=pass; \
910 else xpasses=passes; fi; \
911 msg="$$msg ($$xpass unexpected $$xpasses). "; \
912 exit=false;; \
913 *) \
914 echo >&2 "incorrect case"; exit 4;; \
915 esac; \
916 if test "$$skip" -ne 0; then \
917 if test "$$skip" -eq 1; then \
918 msg="$$msg($$skip test was not run). "; \
919 else \
920 msg="$$msg($$skip tests were not run). "; \
921 fi; \
922 fi; \
923 { \
924 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
925 $(am__rst_title); \
926 echo "$$msg"; \
927 echo; \
928 echo ".. contents:: :depth: 2"; \
929 echo; \
930 for f in $$list; do \
931 read line < $$f; \
932 case $$line in \
933 PASS:*|XFAIL:*);; \
934 *) echo; cat $$f;; \
935 esac; \
936 done; \
937 } >$(TEST_SUITE_LOG).tmp; \
938 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
939 if test "$$failures" -ne 0; then \
940 msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \
941 if test -n "$(PACKAGE_BUGREPORT)"; then \
942 msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \
943 fi; \
944 fi; \
945 test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \
946 $(am__tty_colors); \
947 if $$exit; then \
948 echo $(ECHO_N) "$$grn$(ECHO_C)"; \
949 else \
950 echo $(ECHO_N) "$$red$(ECHO_C)"; \
951 fi; \
952 echo "$$msg" | $(am__text_box); \
953 echo $(ECHO_N) "$$std$(ECHO_C)"; \
954 $$exit
955
956 # Run all the tests.
957 check-TESTS:
958 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
959 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
960 @list='$(TEST_LOGS)'; \
961 list=`for f in $$list; do \
962 test .log = $$f || echo $$f; \
963 done | tr '\012\015' ' '`; \
964 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
965
966 .log.html:
967 @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \
968 for r2h in $$list; do \
969 if ($$r2h --version) >/dev/null 2>&1; then \
970 R2H=$$r2h; \
971 fi; \
972 done; \
973 if test -z "$$R2H"; then \
974 echo >&2 "cannot find rst2html, cannot create $@"; \
975 exit 2; \
976 fi; \
977 $$R2H $< >$@.tmp
978 @mv $@.tmp $@
979
980 # Be sure to run check first, and then to convert the result.
981 # Beware of concurrent executions. Run "check" not "check-TESTS", as
982 # check-SCRIPTS and other dependencies are rebuilt by the former only.
983 # And expect check to fail.
984 check-html:
985 @if $(MAKE) $(AM_MAKEFLAGS) check; then \
986 rv=0; else rv=$$?; \
987 fi; \
988 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \
989 exit $$rv
990 recheck recheck-html:
991 @target=`echo $@ | sed 's,^re,,'`; \
992 list='$(TEST_LOGS)'; \
993 list=`for f in $$list; do \
994 test -f $$f || continue; \
995 if read line < $$f; then \
996 case $$line in FAIL*|XPASS*) echo $$f;; esac; \
997 else echo $$f; fi; \
998 done | tr '\012\015' ' '`; \
999 $(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"'
1000 bootstrap-test.log: bootstrap-test
1001 @p='bootstrap-test'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1002 bootstrap-test-r.log: bootstrap-test-r
1003 @p='bootstrap-test-r'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1004 .test.log:
1005 @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1006 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1007 @am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1008 check-am: all-am
1009 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1010 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1011 check: check-recursive
1012 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
1013 installdirs: installdirs-recursive
1014 installdirs-am:
1015 install: install-recursive
1016 install-exec: install-exec-recursive
1017 install-data: install-data-recursive
1018 uninstall: uninstall-recursive
1019
1020 install-am: all-am
1021 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1022
1023 installcheck: installcheck-recursive
1024 install-strip:
1025 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1026 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1027 `test -z '$(STRIP)' || \
1028 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1029 mostlyclean-generic:
1030 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1031 -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
1032 -test -z "$(TEST_SUITE_HTML)" || rm -f $(TEST_SUITE_HTML)
1033 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1034
1035 clean-generic:
1036
1037 distclean-generic:
1038 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1039 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1040
1041 maintainer-clean-generic:
1042 @echo "This command is intended for maintainers to use"
1043 @echo "it deletes files that may require special tools to rebuild."
1044 -rm -f yyscript.c
1045 -rm -f yyscript.h
1046 clean: clean-recursive
1047
1048 clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1049 clean-noinstPROGRAMS mostlyclean-am
1050
1051 distclean: distclean-recursive
1052 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1053 -rm -rf $(DEPDIR) ./$(DEPDIR)
1054 -rm -f Makefile
1055 distclean-am: clean-am distclean-compile distclean-generic \
1056 distclean-hdr distclean-tags
1057
1058 dvi: dvi-recursive
1059
1060 dvi-am:
1061
1062 html: html-recursive
1063
1064 html-am:
1065
1066 info: info-recursive
1067
1068 info-am:
1069
1070 install-data-am: install-data-local
1071
1072 install-dvi: install-dvi-recursive
1073
1074 install-dvi-am:
1075
1076 install-exec-am: install-exec-local
1077
1078 install-html: install-html-recursive
1079
1080 install-html-am:
1081
1082 install-info: install-info-recursive
1083
1084 install-info-am:
1085
1086 install-man:
1087
1088 install-pdf: install-pdf-recursive
1089
1090 install-pdf-am:
1091
1092 install-ps: install-ps-recursive
1093
1094 install-ps-am:
1095
1096 installcheck-am:
1097
1098 maintainer-clean: maintainer-clean-recursive
1099 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1100 -rm -rf $(top_srcdir)/autom4te.cache
1101 -rm -rf $(DEPDIR) ./$(DEPDIR)
1102 -rm -f Makefile
1103 maintainer-clean-am: distclean-am maintainer-clean-generic
1104
1105 mostlyclean: mostlyclean-recursive
1106
1107 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1108
1109 pdf: pdf-recursive
1110
1111 pdf-am:
1112
1113 ps: ps-recursive
1114
1115 ps-am:
1116
1117 uninstall-am:
1118
1119 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
1120 check-html ctags-recursive install-am install-strip recheck \
1121 recheck-html tags-recursive
1122
1123 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1124 all all-am am--refresh check check-TESTS check-am check-html \
1125 clean clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1126 clean-noinstPROGRAMS ctags ctags-recursive distclean \
1127 distclean-compile distclean-generic distclean-hdr \
1128 distclean-tags dvi dvi-am html html-am info info-am install \
1129 install-am install-data install-data-am install-data-local \
1130 install-dvi install-dvi-am install-exec install-exec-am \
1131 install-exec-local install-html install-html-am install-info \
1132 install-info-am install-man install-pdf install-pdf-am \
1133 install-ps install-ps-am install-strip installcheck \
1134 installcheck-am installdirs installdirs-am maintainer-clean \
1135 maintainer-clean-generic mostlyclean mostlyclean-compile \
1136 mostlyclean-generic pdf pdf-am ps ps-am recheck recheck-html \
1137 tags tags-recursive uninstall uninstall-am
1138
1139
1140 # Use an explicit dependency for the bison generated header file.
1141 expression.$(OBJEXT): yyscript.h
1142 script-sections.$(OBJEXT): yyscript.h
1143 script.$(OBJEXT): yyscript.h
1144
1145 # We have to build libgold.a before we run the tests.
1146 check: libgold.a
1147
1148 .PHONY: install-exec-local
1149
1150 install-exec-local: ld-new$(EXEEXT)
1151 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1152 n=`echo $(installed_linker) | sed '$(transform)'`; \
1153 $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
1154 if test "$(bindir)" != "$(tooldir)/bin"; then \
1155 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1156 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1157 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1158 fi; \
1159 if test "x$(install_as_default)" = "xyes"; then \
1160 ld=`echo ld | sed '$(transform)'`; \
1161 rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1162 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \
1163 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1164 if test "$(bindir)" != "$(tooldir)/bin"; then \
1165 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1166 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1167 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1168 fi; \
1169 fi
1170
1171 # We want install to imply install-info as per GNU standards, despite
1172 # the cygnus option.
1173 install-data-local: install-info
1174
1175 po/POTFILES.in: @MAINT@ Makefile
1176 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
1177 && mv tmp $(srcdir)/po/POTFILES.in
1178
1179 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1180 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1181 # identical to ld1, since it was linked with the host linker.
1182
1183 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
1184 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1185 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1186 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1187
1188 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1189 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1190 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1191 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1192
1193 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1194 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1195 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1196 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
1197 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1198
1199 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
1200 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
1201
1202 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld: ld1-r
1203 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
1204 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2-r/ld
1205 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2-r && $(LN_S) ../ld1-r ld)
1206
1207 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
1208 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
1209
1210 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
1211 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1212 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1213 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" > $@
1214 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1215
1216 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1217 # Otherwise a system limit (for SysV at least) may be exceeded.
1218 .NOEXPORT: