* configure.ac: Add --with-lib-path option. Define LIB_PATH and
[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 gold.$(OBJEXT) gold-threads.$(OBJEXT) icf.$(OBJEXT) \
81 incremental.$(OBJEXT) int_encoding.$(OBJEXT) layout.$(OBJEXT) \
82 mapfile.$(OBJEXT) merge.$(OBJEXT) object.$(OBJEXT) \
83 options.$(OBJEXT) output.$(OBJEXT) parameters.$(OBJEXT) \
84 plugin.$(OBJEXT) readsyms.$(OBJEXT) \
85 reduced_debug_output.$(OBJEXT) reloc.$(OBJEXT) \
86 resolve.$(OBJEXT) script-sections.$(OBJEXT) script.$(OBJEXT) \
87 stringpool.$(OBJEXT) symtab.$(OBJEXT) target.$(OBJEXT) \
88 target-select.$(OBJEXT) timer.$(OBJEXT) version.$(OBJEXT) \
89 workqueue.$(OBJEXT) workqueue-threads.$(OBJEXT)
90 am__objects_2 =
91 am__objects_3 = yyscript.$(OBJEXT)
92 am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \
93 $(am__objects_3) $(am__objects_2)
94 libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
95 PROGRAMS = $(noinst_PROGRAMS)
96 am_incremental_dump_OBJECTS = incremental-dump.$(OBJEXT)
97 incremental_dump_OBJECTS = $(am_incremental_dump_OBJECTS)
98 am__DEPENDENCIES_1 =
99 am__objects_4 = main.$(OBJEXT)
100 am_ld_new_OBJECTS = $(am__objects_4)
101 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
102 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a $(LIBIBERTY) \
103 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
104 $(am__DEPENDENCIES_1) $(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 gold.cc \
403 gold-threads.cc \
404 icf.cc \
405 incremental.cc \
406 int_encoding.cc \
407 layout.cc \
408 mapfile.cc \
409 merge.cc \
410 object.cc \
411 options.cc \
412 output.cc \
413 parameters.cc \
414 plugin.cc \
415 readsyms.cc \
416 reduced_debug_output.cc \
417 reloc.cc \
418 resolve.cc \
419 script-sections.cc \
420 script.cc \
421 stringpool.cc \
422 symtab.cc \
423 target.cc \
424 target-select.cc \
425 timer.cc \
426 version.cc \
427 workqueue.cc \
428 workqueue-threads.cc
429
430 HFILES = \
431 arm-reloc-property.h \
432 archive.h \
433 attributes.h \
434 binary.h \
435 common.h \
436 compressed_output.h \
437 copy-relocs.h \
438 cref.h \
439 defstd.h \
440 dirsearch.h \
441 descriptors.h \
442 dynobj.h \
443 dwarf_reader.h \
444 ehframe.h \
445 errors.h \
446 fileread.h \
447 freebsd.h \
448 gc.h \
449 gold.h \
450 gold-threads.h \
451 icf.h \
452 int_encoding.h \
453 layout.h \
454 mapfile.h \
455 merge.h \
456 object.h \
457 options.h \
458 output.h \
459 parameters.h \
460 plugin.h \
461 readsyms.h \
462 reduced_debug_output.h \
463 reloc.h \
464 reloc-types.h \
465 script-c.h \
466 script-sections.h \
467 script.h \
468 stringpool.h \
469 symtab.h \
470 target.h \
471 target-reloc.h \
472 target-select.h \
473 timer.h \
474 tls.h \
475 token.h \
476 workqueue.h \
477 workqueue-internal.h
478
479 YFILES = \
480 yyscript.y
481
482 DEFFILES = arm-reloc.def
483 EXTRA_DIST = yyscript.c yyscript.h
484 TARGETSOURCES = \
485 i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc arm-reloc-property.cc
486
487 ALL_TARGETOBJS = \
488 i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \
489 arm.$(OBJEXT) arm-reloc-property.$(OBJEXT)
490
491 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) $(DEFFILES)
492 libgold_a_LIBADD = $(LIBOBJS)
493 sources_var = main.cc
494 deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
495 ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) \
496 $(THREADSLIB) $(LIBDL)
497
498 ldflags_var = $(GOLD_LDFLAGS)
499 ld_new_SOURCES = $(sources_var)
500 ld_new_DEPENDENCIES = $(deps_var)
501 ld_new_LDADD = $(ldadd_var)
502 ld_new_LDFLAGS = $(ldflags_var)
503 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
504 incremental_dump_SOURCES = incremental-dump.cc
505 incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \
506 $(LIBINTL_DEP)
507
508 incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
509 $(THREADSLIB) $(LIBDL)
510
511 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
512 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
513 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
514 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
515 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
516 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
517 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
518 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
519 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
520 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
521 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld
522 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
523 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDFLAGS = -Bgcctestdir1/
524 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
525 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld
526 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
527 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDFLAGS = -Bgcctestdir2-r/
528 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r
529 all: config.h
530 $(MAKE) $(AM_MAKEFLAGS) all-recursive
531
532 .SUFFIXES:
533 .SUFFIXES: .c .cc .html .log .o .obj .test .test$(EXEEXT) .y
534 am--refresh:
535 @:
536 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
537 @for dep in $?; do \
538 case '$(am__configure_deps)' in \
539 *$$dep*) \
540 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
541 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
542 && exit 0; \
543 exit 1;; \
544 esac; \
545 done; \
546 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
547 $(am__cd) $(top_srcdir) && \
548 $(AUTOMAKE) --foreign Makefile
549 .PRECIOUS: Makefile
550 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
551 @case '$?' in \
552 *config.status*) \
553 echo ' $(SHELL) ./config.status'; \
554 $(SHELL) ./config.status;; \
555 *) \
556 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
557 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
558 esac;
559
560 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
561 $(SHELL) ./config.status --recheck
562
563 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
564 $(am__cd) $(srcdir) && $(AUTOCONF)
565 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
566 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
567 $(am__aclocal_m4_deps):
568
569 config.h: stamp-h1
570 @if test ! -f $@; then \
571 rm -f stamp-h1; \
572 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
573 else :; fi
574
575 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
576 @rm -f stamp-h1
577 cd $(top_builddir) && $(SHELL) ./config.status config.h
578 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
579 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
580 rm -f stamp-h1
581 touch $@
582
583 distclean-hdr:
584 -rm -f config.h stamp-h1
585 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
586 cd $(top_builddir) && $(SHELL) ./config.status $@
587
588 clean-noinstLIBRARIES:
589 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
590 yyscript.h: yyscript.c
591 @if test ! -f $@; then \
592 rm -f yyscript.c; \
593 $(MAKE) $(AM_MAKEFLAGS) yyscript.c; \
594 else :; fi
595 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
596 -rm -f libgold.a
597 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
598 $(RANLIB) libgold.a
599
600 clean-checkPROGRAMS:
601 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
602
603 clean-noinstPROGRAMS:
604 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
605 incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES)
606 @rm -f incremental-dump$(EXEEXT)
607 $(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS)
608 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
609 @rm -f ld-new$(EXEEXT)
610 $(ld_new_LINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
611 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
612 @rm -f ld1$(EXEEXT)
613 $(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
614 ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES)
615 @rm -f ld1-r$(EXEEXT)
616 $(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
617 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
618 @rm -f ld2$(EXEEXT)
619 $(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
620 ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES)
621 @rm -f ld2-r$(EXEEXT)
622 $(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
623
624 mostlyclean-compile:
625 -rm -f *.$(OBJEXT)
626
627 distclean-compile:
628 -rm -f *.tab.c
629
630 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@
631 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@
632 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@
633 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
634 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
635 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm-reloc-property.Po@am__quote@
636 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@
637 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@
638 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@
639 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
640 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@
641 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@
642 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@
643 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
644 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@
645 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
646 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@
647 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
648 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
649 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
650 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@
651 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
652 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@
653 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
654 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
655 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
656 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@
657 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@
658 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@
659 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@
660 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
661 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
662 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@
663 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
664 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
665 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
666 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
667 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
668 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@
669 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
670 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
671 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
672 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
673 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
674 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@
675 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
676 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@
677 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
678 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
679 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
680 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@
681 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@
682 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
683 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@
684 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
685 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
686 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
687
688 .c.o:
689 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
690 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
691 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
692 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
693 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
694
695 .c.obj:
696 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
697 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
698 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
699 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
700 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
701
702 .cc.o:
703 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
704 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
705 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
706 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
707 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
708
709 .cc.obj:
710 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
711 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
712 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
713 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
714 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
715
716 .y.c:
717 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
718
719 # This directory's subdirectories are mostly independent; you can cd
720 # into them and run `make' without going through this Makefile.
721 # To change the values of `make' variables: instead of editing Makefiles,
722 # (1) if the variable is set in `config.status', edit `config.status'
723 # (which will cause the Makefiles to be regenerated when you run `make');
724 # (2) otherwise, pass the desired values on the `make' command line.
725 $(RECURSIVE_TARGETS):
726 @fail= failcom='exit 1'; \
727 for f in x $$MAKEFLAGS; do \
728 case $$f in \
729 *=* | --[!k]*);; \
730 *k*) failcom='fail=yes';; \
731 esac; \
732 done; \
733 dot_seen=no; \
734 target=`echo $@ | sed s/-recursive//`; \
735 list='$(SUBDIRS)'; for subdir in $$list; do \
736 echo "Making $$target in $$subdir"; \
737 if test "$$subdir" = "."; then \
738 dot_seen=yes; \
739 local_target="$$target-am"; \
740 else \
741 local_target="$$target"; \
742 fi; \
743 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
744 || eval $$failcom; \
745 done; \
746 if test "$$dot_seen" = "no"; then \
747 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
748 fi; test -z "$$fail"
749
750 $(RECURSIVE_CLEAN_TARGETS):
751 @fail= failcom='exit 1'; \
752 for f in x $$MAKEFLAGS; do \
753 case $$f in \
754 *=* | --[!k]*);; \
755 *k*) failcom='fail=yes';; \
756 esac; \
757 done; \
758 dot_seen=no; \
759 case "$@" in \
760 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
761 *) list='$(SUBDIRS)' ;; \
762 esac; \
763 rev=''; for subdir in $$list; do \
764 if test "$$subdir" = "."; then :; else \
765 rev="$$subdir $$rev"; \
766 fi; \
767 done; \
768 rev="$$rev ."; \
769 target=`echo $@ | sed s/-recursive//`; \
770 for subdir in $$rev; do \
771 echo "Making $$target in $$subdir"; \
772 if test "$$subdir" = "."; then \
773 local_target="$$target-am"; \
774 else \
775 local_target="$$target"; \
776 fi; \
777 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
778 || eval $$failcom; \
779 done && test -z "$$fail"
780 tags-recursive:
781 list='$(SUBDIRS)'; for subdir in $$list; do \
782 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
783 done
784 ctags-recursive:
785 list='$(SUBDIRS)'; for subdir in $$list; do \
786 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
787 done
788
789 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
790 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
791 unique=`for i in $$list; do \
792 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
793 done | \
794 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
795 END { if (nonempty) { for (i in files) print i; }; }'`; \
796 mkid -fID $$unique
797 tags: TAGS
798
799 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
800 $(TAGS_FILES) $(LISP)
801 set x; \
802 here=`pwd`; \
803 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
804 include_option=--etags-include; \
805 empty_fix=.; \
806 else \
807 include_option=--include; \
808 empty_fix=; \
809 fi; \
810 list='$(SUBDIRS)'; for subdir in $$list; do \
811 if test "$$subdir" = .; then :; else \
812 test ! -f $$subdir/TAGS || \
813 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
814 fi; \
815 done; \
816 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
817 unique=`for i in $$list; do \
818 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
819 done | \
820 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
821 END { if (nonempty) { for (i in files) print i; }; }'`; \
822 shift; \
823 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
824 test -n "$$unique" || unique=$$empty_fix; \
825 if test $$# -gt 0; then \
826 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
827 "$$@" $$unique; \
828 else \
829 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
830 $$unique; \
831 fi; \
832 fi
833 ctags: CTAGS
834 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
835 $(TAGS_FILES) $(LISP)
836 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
837 unique=`for i in $$list; do \
838 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
839 done | \
840 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
841 END { if (nonempty) { for (i in files) print i; }; }'`; \
842 test -z "$(CTAGS_ARGS)$$unique" \
843 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
844 $$unique
845
846 GTAGS:
847 here=`$(am__cd) $(top_builddir) && pwd` \
848 && $(am__cd) $(top_srcdir) \
849 && gtags -i $(GTAGS_ARGS) "$$here"
850
851 distclean-tags:
852 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
853
854 # To be appended to the command running the test. Handle the stdout
855 # and stderr redirection, and catch the exit status.
856 am__check_post = \
857 >$@-t 2>&1; \
858 estatus=$$?; \
859 if test -n '$(DISABLE_HARD_ERRORS)' \
860 && test $$estatus -eq 99; then \
861 estatus=1; \
862 fi; \
863 TERM=$$__SAVED_TERM; export TERM; \
864 $(am__tty_colors); \
865 xfailed=PASS; \
866 case " $(XFAIL_TESTS) " in \
867 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
868 xfailed=XFAIL;; \
869 esac; \
870 case $$estatus:$$xfailed in \
871 0:XFAIL) col=$$red; res=XPASS;; \
872 0:*) col=$$grn; res=PASS ;; \
873 77:*) col=$$blu; res=SKIP ;; \
874 99:*) col=$$red; res=FAIL ;; \
875 *:XFAIL) col=$$lgn; res=XFAIL;; \
876 *:*) col=$$red; res=FAIL ;; \
877 esac; \
878 echo "$${col}$$res$${std}: $$f"; \
879 echo "$$res: $$f (exit: $$estatus)" | \
880 $(am__rst_section) >$@; \
881 cat $@-t >>$@; \
882 rm -f $@-t
883
884 $(TEST_SUITE_LOG): $(TEST_LOGS)
885 @$(am__sh_e_setup); \
886 list='$(TEST_LOGS)'; \
887 results=`for f in $$list; do \
888 read line < $$f && echo "$$line" || echo FAIL; \
889 done`; \
890 all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \
891 fail=`echo "$$results" | grep -c '^FAIL'`; \
892 pass=`echo "$$results" | grep -c '^PASS'`; \
893 skip=`echo "$$results" | grep -c '^SKIP'`; \
894 xfail=`echo "$$results" | grep -c '^XFAIL'`; \
895 xpass=`echo "$$results" | grep -c '^XPASS'`; \
896 failures=`expr $$fail + $$xpass`; \
897 all=`expr $$all - $$skip`; \
898 if test "$$all" -eq 1; then tests=test; All=; \
899 else tests=tests; All="All "; fi; \
900 case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \
901 fail=0:xpass=0:xfail=0) \
902 msg="$$All$$all $$tests passed. "; \
903 exit=true;; \
904 fail=0:xpass=0:xfail=*) \
905 msg="$$All$$all $$tests behaved as expected"; \
906 if test "$$xfail" -eq 1; then xfailures=failure; \
907 else xfailures=failures; fi; \
908 msg="$$msg ($$xfail expected $$xfailures). "; \
909 exit=true;; \
910 fail=*:xpass=0:xfail=*) \
911 msg="$$fail of $$all $$tests failed. "; \
912 exit=false;; \
913 fail=*:xpass=*:xfail=*) \
914 msg="$$failures of $$all $$tests did not behave as expected"; \
915 if test "$$xpass" -eq 1; then xpasses=pass; \
916 else xpasses=passes; fi; \
917 msg="$$msg ($$xpass unexpected $$xpasses). "; \
918 exit=false;; \
919 *) \
920 echo >&2 "incorrect case"; exit 4;; \
921 esac; \
922 if test "$$skip" -ne 0; then \
923 if test "$$skip" -eq 1; then \
924 msg="$$msg($$skip test was not run). "; \
925 else \
926 msg="$$msg($$skip tests were not run). "; \
927 fi; \
928 fi; \
929 { \
930 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
931 $(am__rst_title); \
932 echo "$$msg"; \
933 echo; \
934 echo ".. contents:: :depth: 2"; \
935 echo; \
936 for f in $$list; do \
937 read line < $$f; \
938 case $$line in \
939 PASS:*|XFAIL:*);; \
940 *) echo; cat $$f;; \
941 esac; \
942 done; \
943 } >$(TEST_SUITE_LOG).tmp; \
944 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
945 if test "$$failures" -ne 0; then \
946 msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \
947 if test -n "$(PACKAGE_BUGREPORT)"; then \
948 msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \
949 fi; \
950 fi; \
951 test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \
952 $(am__tty_colors); \
953 if $$exit; then \
954 echo $(ECHO_N) "$$grn$(ECHO_C)"; \
955 else \
956 echo $(ECHO_N) "$$red$(ECHO_C)"; \
957 fi; \
958 echo "$$msg" | $(am__text_box); \
959 echo $(ECHO_N) "$$std$(ECHO_C)"; \
960 $$exit
961
962 # Run all the tests.
963 check-TESTS:
964 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
965 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
966 @list='$(TEST_LOGS)'; \
967 list=`for f in $$list; do \
968 test .log = $$f || echo $$f; \
969 done | tr '\012\015' ' '`; \
970 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
971
972 .log.html:
973 @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \
974 for r2h in $$list; do \
975 if ($$r2h --version) >/dev/null 2>&1; then \
976 R2H=$$r2h; \
977 fi; \
978 done; \
979 if test -z "$$R2H"; then \
980 echo >&2 "cannot find rst2html, cannot create $@"; \
981 exit 2; \
982 fi; \
983 $$R2H $< >$@.tmp
984 @mv $@.tmp $@
985
986 # Be sure to run check first, and then to convert the result.
987 # Beware of concurrent executions. Run "check" not "check-TESTS", as
988 # check-SCRIPTS and other dependencies are rebuilt by the former only.
989 # And expect check to fail.
990 check-html:
991 @if $(MAKE) $(AM_MAKEFLAGS) check; then \
992 rv=0; else rv=$$?; \
993 fi; \
994 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \
995 exit $$rv
996 recheck recheck-html:
997 @target=`echo $@ | sed 's,^re,,'`; \
998 list='$(TEST_LOGS)'; \
999 list=`for f in $$list; do \
1000 test -f $$f || continue; \
1001 if read line < $$f; then \
1002 case $$line in FAIL*|XPASS*) echo $$f;; esac; \
1003 else echo $$f; fi; \
1004 done | tr '\012\015' ' '`; \
1005 $(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"'
1006 bootstrap-test.log: bootstrap-test
1007 @p='bootstrap-test'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1008 bootstrap-test-r.log: bootstrap-test-r
1009 @p='bootstrap-test-r'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1010 .test.log:
1011 @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1012 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1013 @am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1014 check-am: all-am
1015 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1016 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1017 check: check-recursive
1018 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
1019 installdirs: installdirs-recursive
1020 installdirs-am:
1021 install: install-recursive
1022 install-exec: install-exec-recursive
1023 install-data: install-data-recursive
1024 uninstall: uninstall-recursive
1025
1026 install-am: all-am
1027 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1028
1029 installcheck: installcheck-recursive
1030 install-strip:
1031 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1032 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1033 `test -z '$(STRIP)' || \
1034 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1035 mostlyclean-generic:
1036 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1037 -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
1038 -test -z "$(TEST_SUITE_HTML)" || rm -f $(TEST_SUITE_HTML)
1039 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1040
1041 clean-generic:
1042
1043 distclean-generic:
1044 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1045 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1046
1047 maintainer-clean-generic:
1048 @echo "This command is intended for maintainers to use"
1049 @echo "it deletes files that may require special tools to rebuild."
1050 -rm -f yyscript.c
1051 -rm -f yyscript.h
1052 clean: clean-recursive
1053
1054 clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1055 clean-noinstPROGRAMS mostlyclean-am
1056
1057 distclean: distclean-recursive
1058 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1059 -rm -rf $(DEPDIR) ./$(DEPDIR)
1060 -rm -f Makefile
1061 distclean-am: clean-am distclean-compile distclean-generic \
1062 distclean-hdr distclean-tags
1063
1064 dvi: dvi-recursive
1065
1066 dvi-am:
1067
1068 html: html-recursive
1069
1070 html-am:
1071
1072 info: info-recursive
1073
1074 info-am:
1075
1076 install-data-am: install-data-local
1077
1078 install-dvi: install-dvi-recursive
1079
1080 install-dvi-am:
1081
1082 install-exec-am: install-exec-local
1083
1084 install-html: install-html-recursive
1085
1086 install-html-am:
1087
1088 install-info: install-info-recursive
1089
1090 install-info-am:
1091
1092 install-man:
1093
1094 install-pdf: install-pdf-recursive
1095
1096 install-pdf-am:
1097
1098 install-ps: install-ps-recursive
1099
1100 install-ps-am:
1101
1102 installcheck-am:
1103
1104 maintainer-clean: maintainer-clean-recursive
1105 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1106 -rm -rf $(top_srcdir)/autom4te.cache
1107 -rm -rf $(DEPDIR) ./$(DEPDIR)
1108 -rm -f Makefile
1109 maintainer-clean-am: distclean-am maintainer-clean-generic
1110
1111 mostlyclean: mostlyclean-recursive
1112
1113 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1114
1115 pdf: pdf-recursive
1116
1117 pdf-am:
1118
1119 ps: ps-recursive
1120
1121 ps-am:
1122
1123 uninstall-am:
1124
1125 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
1126 check-html ctags-recursive install-am install-strip recheck \
1127 recheck-html tags-recursive
1128
1129 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1130 all all-am am--refresh check check-TESTS check-am check-html \
1131 clean clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1132 clean-noinstPROGRAMS ctags ctags-recursive distclean \
1133 distclean-compile distclean-generic distclean-hdr \
1134 distclean-tags dvi dvi-am html html-am info info-am install \
1135 install-am install-data install-data-am install-data-local \
1136 install-dvi install-dvi-am install-exec install-exec-am \
1137 install-exec-local install-html install-html-am install-info \
1138 install-info-am install-man install-pdf install-pdf-am \
1139 install-ps install-ps-am install-strip installcheck \
1140 installcheck-am installdirs installdirs-am maintainer-clean \
1141 maintainer-clean-generic mostlyclean mostlyclean-compile \
1142 mostlyclean-generic pdf pdf-am ps ps-am recheck recheck-html \
1143 tags tags-recursive uninstall uninstall-am
1144
1145
1146 # Use an explicit dependency for the bison generated header file.
1147 expression.$(OBJEXT): yyscript.h
1148 script-sections.$(OBJEXT): yyscript.h
1149 script.$(OBJEXT): yyscript.h
1150
1151 # We have to build libgold.a before we run the tests.
1152 check: libgold.a
1153
1154 .PHONY: install-exec-local
1155
1156 install-exec-local: ld-new$(EXEEXT)
1157 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1158 n=`echo $(installed_linker) | sed '$(transform)'`; \
1159 $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
1160 if test "$(bindir)" != "$(tooldir)/bin"; then \
1161 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1162 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1163 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1164 fi; \
1165 if test "x$(install_as_default)" = "xyes"; then \
1166 ld=`echo ld | sed '$(transform)'`; \
1167 rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1168 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \
1169 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
1170 if test "$(bindir)" != "$(tooldir)/bin"; then \
1171 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1172 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1173 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1174 fi; \
1175 fi
1176
1177 # We want install to imply install-info as per GNU standards, despite
1178 # the cygnus option.
1179 install-data-local: install-info
1180
1181 po/POTFILES.in: @MAINT@ Makefile
1182 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
1183 && mv tmp $(srcdir)/po/POTFILES.in
1184
1185 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1186 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1187 # identical to ld1, since it was linked with the host linker.
1188
1189 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
1190 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1191 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1192 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1193
1194 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1195 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1196 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1197 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1198
1199 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1200 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1201 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1202 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
1203 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1204
1205 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
1206 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
1207
1208 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld: ld1-r
1209 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
1210 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2-r/ld
1211 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2-r && $(LN_S) ../ld1-r ld)
1212
1213 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
1214 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
1215
1216 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
1217 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1218 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1219 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" > $@
1220 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1221
1222 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1223 # Otherwise a system limit (for SysV at least) may be exceeded.
1224 .NOEXPORT:
This page took 0.086082 seconds and 5 git commands to generate.