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