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