* arm.cc: Added support for ARM group relocations.
[binutils.git] / gold / Makefile.in
blobe118a5176a9798922509dc183cdde10bd7087a31
1 # Makefile.in generated by automake 1.11 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
16 @SET_MAKE@
18 # Process this file with automake to generate Makefile.in
21 VPATH = @srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkgincludedir = $(includedir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkglibexecdir = $(libexecdir)/@PACKAGE@
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 build_triplet = @build@
39 host_triplet = @host@
40 target_triplet = @target@
41 noinst_PROGRAMS = ld-new$(EXEEXT) incremental-dump$(EXEEXT)
42 @GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
43 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \
44 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT)
45 subdir = .
46 DIST_COMMON = README $(am__configure_deps) $(srcdir)/../config.guess \
47 $(srcdir)/../config.sub $(srcdir)/../depcomp \
48 $(srcdir)/../install-sh $(srcdir)/../missing \
49 $(srcdir)/../mkinstalldirs $(srcdir)/../ylwrap \
50 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
51 $(srcdir)/config.in $(top_srcdir)/configure \
52 $(top_srcdir)/po/Make-in ChangeLog NEWS TODO ffsll.c \
53 ftruncate.c mremap.c pread.c yyscript.c yyscript.h
54 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55 am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
56 $(top_srcdir)/../config/gettext-sister.m4 \
57 $(top_srcdir)/../config/lead-dot.m4 \
58 $(top_srcdir)/../config/nls.m4 \
59 $(top_srcdir)/../config/override.m4 \
60 $(top_srcdir)/../config/po.m4 \
61 $(top_srcdir)/../config/progtest.m4 \
62 $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac
63 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64 $(ACLOCAL_M4)
65 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
66 configure.lineno config.status.lineno
67 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
68 CONFIG_HEADER = config.h
69 CONFIG_CLEAN_FILES = po/Makefile.in
70 CONFIG_CLEAN_VPATH_FILES =
71 LIBRARIES = $(noinst_LIBRARIES)
72 AR = ar
73 ARFLAGS = cru
74 libgold_a_AR = $(AR) $(ARFLAGS)
75 libgold_a_DEPENDENCIES = $(LIBOBJS)
76 am__objects_1 = archive.$(OBJEXT) attributes.$(OBJEXT) \
77 binary.$(OBJEXT) common.$(OBJEXT) compressed_output.$(OBJEXT) \
78 copy-relocs.$(OBJEXT) cref.$(OBJEXT) defstd.$(OBJEXT) \
79 descriptors.$(OBJEXT) dirsearch.$(OBJEXT) dynobj.$(OBJEXT) \
80 dwarf_reader.$(OBJEXT) ehframe.$(OBJEXT) errors.$(OBJEXT) \
81 expression.$(OBJEXT) fileread.$(OBJEXT) gc.$(OBJEXT) \
82 gold.$(OBJEXT) gold-threads.$(OBJEXT) icf.$(OBJEXT) \
83 incremental.$(OBJEXT) int_encoding.$(OBJEXT) layout.$(OBJEXT) \
84 mapfile.$(OBJEXT) merge.$(OBJEXT) object.$(OBJEXT) \
85 options.$(OBJEXT) output.$(OBJEXT) parameters.$(OBJEXT) \
86 plugin.$(OBJEXT) readsyms.$(OBJEXT) \
87 reduced_debug_output.$(OBJEXT) reloc.$(OBJEXT) \
88 resolve.$(OBJEXT) script-sections.$(OBJEXT) script.$(OBJEXT) \
89 stringpool.$(OBJEXT) symtab.$(OBJEXT) target.$(OBJEXT) \
90 target-select.$(OBJEXT) timer.$(OBJEXT) version.$(OBJEXT) \
91 workqueue.$(OBJEXT) workqueue-threads.$(OBJEXT)
92 am__objects_2 =
93 am__objects_3 = yyscript.$(OBJEXT)
94 am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \
95 $(am__objects_3)
96 libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
97 PROGRAMS = $(noinst_PROGRAMS)
98 am_incremental_dump_OBJECTS = incremental-dump.$(OBJEXT)
99 incremental_dump_OBJECTS = $(am_incremental_dump_OBJECTS)
100 am__DEPENDENCIES_1 =
101 am__objects_4 = main.$(OBJEXT)
102 am_ld_new_OBJECTS = $(am__objects_4)
103 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
104 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a $(LIBIBERTY) \
105 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
106 $(am__DEPENDENCIES_1)
107 am__ld1_SOURCES_DIST = main.cc
108 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4)
109 ld1_OBJECTS = $(am_ld1_OBJECTS)
110 ld1_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) \
111 $(LDFLAGS) -o $@
112 am__ld1_r_SOURCES_DIST = main.cc
113 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_r_OBJECTS = $(am__objects_4)
114 ld1_r_OBJECTS = $(am_ld1_r_OBJECTS)
115 ld1_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_r_LDFLAGS) \
116 $(LDFLAGS) -o $@
117 am__ld2_SOURCES_DIST = main.cc
118 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4)
119 ld2_OBJECTS = $(am_ld2_OBJECTS)
120 ld2_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) \
121 $(LDFLAGS) -o $@
122 am__ld2_r_SOURCES_DIST = main.cc
123 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_r_OBJECTS = $(am__objects_4)
124 ld2_r_OBJECTS = $(am_ld2_r_OBJECTS)
125 ld2_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_r_LDFLAGS) \
126 $(LDFLAGS) -o $@
127 DEFAULT_INCLUDES = -I.@am__isrc@
128 depcomp = $(SHELL) $(top_srcdir)/../depcomp
129 am__depfiles_maybe = depfiles
130 am__mv = mv -f
131 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
132 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
133 CCLD = $(CC)
134 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
135 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
136 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
137 CXXLD = $(CXX)
138 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
139 -o $@
140 @MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ ||
141 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
142 YLWRAP = $(top_srcdir)/../ylwrap
143 SOURCES = $(libgold_a_SOURCES) $(incremental_dump_SOURCES) \
144 $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) \
145 $(ld1_r_SOURCES) $(ld2_SOURCES) $(ld2_r_SOURCES)
146 DIST_SOURCES = $(libgold_a_SOURCES) $(incremental_dump_SOURCES) \
147 $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES) \
148 $(am__ld1_SOURCES_DIST) $(am__ld1_r_SOURCES_DIST) \
149 $(am__ld2_SOURCES_DIST) $(am__ld2_r_SOURCES_DIST)
150 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
151 html-recursive info-recursive install-data-recursive \
152 install-dvi-recursive install-exec-recursive \
153 install-html-recursive install-info-recursive \
154 install-pdf-recursive install-ps-recursive install-recursive \
155 installcheck-recursive installdirs-recursive pdf-recursive \
156 ps-recursive uninstall-recursive
157 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
158 distclean-recursive maintainer-clean-recursive
159 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
160 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
161 distdir dist dist-all distcheck
162 ETAGS = etags
163 CTAGS = ctags
164 am__tty_colors = \
165 red=; grn=; lgn=; blu=; std=
166 DIST_SUBDIRS = $(SUBDIRS)
167 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
168 distdir = $(PACKAGE)-$(VERSION)
169 top_distdir = $(distdir)
170 am__remove_distdir = \
171 { test ! -d "$(distdir)" \
172 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
173 && rm -fr "$(distdir)"; }; }
174 am__relativize = \
175 dir0=`pwd`; \
176 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
177 sed_rest='s,^[^/]*/*,,'; \
178 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
179 sed_butlast='s,/*[^/]*$$,,'; \
180 while test -n "$$dir1"; do \
181 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
182 if test "$$first" != "."; then \
183 if test "$$first" = ".."; then \
184 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
185 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
186 else \
187 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
188 if test "$$first2" = "$$first"; then \
189 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
190 else \
191 dir2="../$$dir2"; \
192 fi; \
193 dir0="$$dir0"/"$$first"; \
194 fi; \
195 fi; \
196 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
197 done; \
198 reldir="$$dir2"
199 DIST_ARCHIVES = $(distdir).tar.gz
200 GZIP_ENV = --best
201 distuninstallcheck_listfiles = find . -type f -print
202 distcleancheck_listfiles = find . -type f -print
203 ACLOCAL = @ACLOCAL@
204 AMTAR = @AMTAR@
205 AUTOCONF = @AUTOCONF@
206 AUTOHEADER = @AUTOHEADER@
207 AUTOMAKE = @AUTOMAKE@
208 AWK = @AWK@
209 CATALOGS = @CATALOGS@
210 CATOBJEXT = @CATOBJEXT@
211 CC = @CC@
212 CCDEPMODE = @CCDEPMODE@
213 CFLAGS = @CFLAGS@
214 CPP = @CPP@
215 CPPFLAGS = @CPPFLAGS@
216 CXX = @CXX@
217 CXXCPP = @CXXCPP@
218 CXXDEPMODE = @CXXDEPMODE@
219 CXXFLAGS = @CXXFLAGS@
220 CYGPATH_W = @CYGPATH_W@
221 DATADIRNAME = @DATADIRNAME@
222 DEFS = @DEFS@
223 DEPDIR = @DEPDIR@
224 ECHO_C = @ECHO_C@
225 ECHO_N = @ECHO_N@
226 ECHO_T = @ECHO_T@
227 EGREP = @EGREP@
228 EXEEXT = @EXEEXT@
229 GENCAT = @GENCAT@
230 GMSGFMT = @GMSGFMT@
231 GREP = @GREP@
232 INCINTL = @INCINTL@
233 INSTALL = @INSTALL@
234 INSTALL_DATA = @INSTALL_DATA@
235 INSTALL_PROGRAM = @INSTALL_PROGRAM@
236 INSTALL_SCRIPT = @INSTALL_SCRIPT@
237 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
238 INSTOBJEXT = @INSTOBJEXT@
239 LDFLAGS = @LDFLAGS@
240 LFS_CFLAGS = @LFS_CFLAGS@
241 LIBINTL = @LIBINTL@
242 LIBINTL_DEP = @LIBINTL_DEP@
243 LIBOBJS = @LIBOBJS@
244 LIBS = @LIBS@
245 LN_S = @LN_S@
246 LTLIBOBJS = @LTLIBOBJS@
247 MAINT = @MAINT@
248 MAKEINFO = @MAKEINFO@
249 MKDIR_P = @MKDIR_P@
250 MKINSTALLDIRS = @MKINSTALLDIRS@
251 MSGFMT = @MSGFMT@
252 MSGMERGE = @MSGMERGE@
253 NO_WERROR = @NO_WERROR@
254 OBJEXT = @OBJEXT@
255 PACKAGE = @PACKAGE@
256 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
257 PACKAGE_NAME = @PACKAGE_NAME@
258 PACKAGE_STRING = @PACKAGE_STRING@
259 PACKAGE_TARNAME = @PACKAGE_TARNAME@
260 PACKAGE_URL = @PACKAGE_URL@
261 PACKAGE_VERSION = @PACKAGE_VERSION@
262 PATH_SEPARATOR = @PATH_SEPARATOR@
263 POSUB = @POSUB@
264 RANDOM_SEED_CFLAGS = @RANDOM_SEED_CFLAGS@
265 RANLIB = @RANLIB@
266 SET_MAKE = @SET_MAKE@
267 SHELL = @SHELL@
268 STRIP = @STRIP@
269 TARGETOBJS = @TARGETOBJS@
270 USE_NLS = @USE_NLS@
271 VERSION = @VERSION@
272 WARN_CFLAGS = @WARN_CFLAGS@
273 WARN_CXXFLAGS = @WARN_CXXFLAGS@
274 XGETTEXT = @XGETTEXT@
275 YACC = @YACC@
276 YFLAGS = @YFLAGS@
277 abs_builddir = @abs_builddir@
278 abs_srcdir = @abs_srcdir@
279 abs_top_builddir = @abs_top_builddir@
280 abs_top_srcdir = @abs_top_srcdir@
281 ac_ct_CC = @ac_ct_CC@
282 ac_ct_CXX = @ac_ct_CXX@
283 am__include = @am__include@
284 am__leading_dot = @am__leading_dot@
285 am__quote = @am__quote@
286 am__tar = @am__tar@
287 am__untar = @am__untar@
288 bindir = @bindir@
289 build = @build@
290 build_alias = @build_alias@
291 build_cpu = @build_cpu@
292 build_os = @build_os@
293 build_vendor = @build_vendor@
294 builddir = @builddir@
295 datadir = @datadir@
296 datarootdir = @datarootdir@
297 docdir = @docdir@
298 dvidir = @dvidir@
299 exec_prefix = @exec_prefix@
300 host = @host@
301 host_alias = @host_alias@
302 host_cpu = @host_cpu@
303 host_os = @host_os@
304 host_vendor = @host_vendor@
305 htmldir = @htmldir@
306 includedir = @includedir@
307 infodir = @infodir@
308 install_sh = @install_sh@
309 libdir = @libdir@
310 libexecdir = @libexecdir@
311 localedir = @localedir@
312 localstatedir = @localstatedir@
313 mandir = @mandir@
314 mkdir_p = @mkdir_p@
315 oldincludedir = @oldincludedir@
316 pdfdir = @pdfdir@
317 prefix = @prefix@
318 program_transform_name = @program_transform_name@
319 psdir = @psdir@
320 sbindir = @sbindir@
321 sharedstatedir = @sharedstatedir@
322 srcdir = @srcdir@
323 sysconfdir = @sysconfdir@
324 target = @target@
325 target_alias = @target_alias@
326 target_cpu = @target_cpu@
327 target_os = @target_os@
328 target_vendor = @target_vendor@
329 top_build_prefix = @top_build_prefix@
330 top_builddir = @top_builddir@
331 top_srcdir = @top_srcdir@
332 AUTOMAKE_OPTIONS = foreign
333 SUBDIRS = po testsuite
334 tooldir = $(exec_prefix)/$(target_alias)
335 ACLOCAL_AMFLAGS = -I ../bfd -I ../config
336 AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS)
337 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS)
338 AM_CPPFLAGS = \
339 -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
340 -DLOCALEDIR="\"$(datadir)/locale\"" \
341 -DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
342 @INCINTL@
344 LIBIBERTY = ../libiberty/libiberty.a
345 @PLUGINS_TRUE@LIBDL = -ldl
346 @THREADS_TRUE@THREADSLIB = -lpthread
347 AM_YFLAGS = -d
349 # Automake 1.10+ disables lex and yacc output file regeneration if
350 # maintainer mode is disabled. Avoid this.
351 am__skiplex =
352 am__skipyacc =
353 noinst_LIBRARIES = libgold.a
354 CCFILES = \
355 archive.cc \
356 attributes.cc \
357 binary.cc \
358 common.cc \
359 compressed_output.cc \
360 copy-relocs.cc \
361 cref.cc \
362 defstd.cc \
363 descriptors.cc \
364 dirsearch.cc \
365 dynobj.cc \
366 dwarf_reader.cc \
367 ehframe.cc \
368 errors.cc \
369 expression.cc \
370 fileread.cc \
371 gc.cc \
372 gold.cc \
373 gold-threads.cc \
374 icf.cc \
375 incremental.cc \
376 int_encoding.cc \
377 layout.cc \
378 mapfile.cc \
379 merge.cc \
380 object.cc \
381 options.cc \
382 output.cc \
383 parameters.cc \
384 plugin.cc \
385 readsyms.cc \
386 reduced_debug_output.cc \
387 reloc.cc \
388 resolve.cc \
389 script-sections.cc \
390 script.cc \
391 stringpool.cc \
392 symtab.cc \
393 target.cc \
394 target-select.cc \
395 timer.cc \
396 version.cc \
397 workqueue.cc \
398 workqueue-threads.cc
400 HFILES = \
401 archive.h \
402 attributes.h \
403 binary.h \
404 common.h \
405 compressed_output.h \
406 copy-relocs.h \
407 cref.h \
408 defstd.h \
409 dirsearch.h \
410 descriptors.h \
411 dynobj.h \
412 dwarf_reader.h \
413 ehframe.h \
414 errors.h \
415 fileread.h \
416 freebsd.h \
417 gc.h \
418 gold.h \
419 gold-threads.h \
420 icf.h \
421 int_encoding.h \
422 layout.h \
423 mapfile.h \
424 merge.h \
425 object.h \
426 options.h \
427 output.h \
428 parameters.h \
429 plugin.h \
430 readsyms.h \
431 reduced_debug_output.h \
432 reloc.h \
433 reloc-types.h \
434 script-c.h \
435 script-sections.h \
436 script.h \
437 stringpool.h \
438 symtab.h \
439 target.h \
440 target-reloc.h \
441 target-select.h \
442 timer.h \
443 tls.h \
444 token.h \
445 workqueue.h \
446 workqueue-internal.h
448 YFILES = \
449 yyscript.y
451 EXTRA_DIST = yyscript.c yyscript.h
452 TARGETSOURCES = \
453 i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc
455 ALL_TARGETOBJS = \
456 i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \
457 arm.$(OBJEXT)
459 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)
460 libgold_a_LIBADD = $(LIBOBJS)
461 sources_var = main.cc
462 deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
463 ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
464 $(THREADSLIB) $(LIBDL)
466 ld_new_SOURCES = $(sources_var)
467 ld_new_DEPENDENCIES = $(deps_var)
468 ld_new_LDADD = $(ldadd_var)
469 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
470 incremental_dump_SOURCES = incremental-dump.cc
471 incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \
472 $(LIBINTL_DEP)
474 incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
475 $(THREADSLIB) $(LIBDL)
477 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
478 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
479 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
480 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
481 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
482 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
483 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
484 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
485 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
486 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
487 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld
488 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
489 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDFLAGS = -Bgcctestdir1/
490 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
491 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld
492 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
493 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDFLAGS = -Bgcctestdir2-r/
494 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r
495 all: config.h
496 $(MAKE) $(AM_MAKEFLAGS) all-recursive
498 .SUFFIXES:
499 .SUFFIXES: .c .cc .o .obj .y
500 am--refresh:
502 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
503 @for dep in $?; do \
504 case '$(am__configure_deps)' in \
505 *$$dep*) \
506 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
507 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
508 && exit 0; \
509 exit 1;; \
510 esac; \
511 done; \
512 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
513 $(am__cd) $(top_srcdir) && \
514 $(AUTOMAKE) --foreign Makefile
515 .PRECIOUS: Makefile
516 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
517 @case '$?' in \
518 *config.status*) \
519 echo ' $(SHELL) ./config.status'; \
520 $(SHELL) ./config.status;; \
521 *) \
522 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
523 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
524 esac;
526 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
527 $(SHELL) ./config.status --recheck
529 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
530 $(am__cd) $(srcdir) && $(AUTOCONF)
531 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
532 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
533 $(am__aclocal_m4_deps):
535 config.h: stamp-h1
536 @if test ! -f $@; then \
537 rm -f stamp-h1; \
538 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
539 else :; fi
541 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
542 @rm -f stamp-h1
543 cd $(top_builddir) && $(SHELL) ./config.status config.h
544 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
545 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
546 rm -f stamp-h1
547 touch $@
549 distclean-hdr:
550 -rm -f config.h stamp-h1
551 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
552 cd $(top_builddir) && $(SHELL) ./config.status $@
554 clean-noinstLIBRARIES:
555 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
556 yyscript.h: yyscript.c
557 @if test ! -f $@; then \
558 rm -f yyscript.c; \
559 $(MAKE) $(AM_MAKEFLAGS) yyscript.c; \
560 else :; fi
561 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
562 -rm -f libgold.a
563 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
564 $(RANLIB) libgold.a
566 clean-checkPROGRAMS:
567 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
569 clean-noinstPROGRAMS:
570 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
571 incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES)
572 @rm -f incremental-dump$(EXEEXT)
573 $(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS)
574 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
575 @rm -f ld-new$(EXEEXT)
576 $(CXXLINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
577 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
578 @rm -f ld1$(EXEEXT)
579 $(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
580 ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES)
581 @rm -f ld1-r$(EXEEXT)
582 $(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
583 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
584 @rm -f ld2$(EXEEXT)
585 $(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
586 ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES)
587 @rm -f ld2-r$(EXEEXT)
588 $(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
590 mostlyclean-compile:
591 -rm -f *.$(OBJEXT)
593 distclean-compile:
594 -rm -f *.tab.c
596 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@
597 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@
598 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@
599 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
600 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
601 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@
602 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@
603 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@
604 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
605 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@
606 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@
607 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@
608 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
609 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@
610 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
611 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@
612 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
613 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
614 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
615 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@
616 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
617 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@
618 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
619 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
620 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
621 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@
622 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@
623 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@
624 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@
625 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
626 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
627 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@
628 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
629 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
630 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
631 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
632 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
633 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@
634 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
635 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
636 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
637 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
638 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
639 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@
640 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
641 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@
642 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
643 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
644 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
645 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@
646 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@
647 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
648 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@
649 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
650 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
651 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
653 .c.o:
654 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
655 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
656 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
657 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
658 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
660 .c.obj:
661 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
662 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
663 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
664 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
665 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
667 .cc.o:
668 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
669 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
670 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
671 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
672 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
674 .cc.obj:
675 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
676 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
677 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
678 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
679 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
681 .y.c:
682 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
684 # This directory's subdirectories are mostly independent; you can cd
685 # into them and run `make' without going through this Makefile.
686 # To change the values of `make' variables: instead of editing Makefiles,
687 # (1) if the variable is set in `config.status', edit `config.status'
688 # (which will cause the Makefiles to be regenerated when you run `make');
689 # (2) otherwise, pass the desired values on the `make' command line.
690 $(RECURSIVE_TARGETS):
691 @failcom='exit 1'; \
692 for f in x $$MAKEFLAGS; do \
693 case $$f in \
694 *=* | --[!k]*);; \
695 *k*) failcom='fail=yes';; \
696 esac; \
697 done; \
698 dot_seen=no; \
699 target=`echo $@ | sed s/-recursive//`; \
700 list='$(SUBDIRS)'; for subdir in $$list; do \
701 echo "Making $$target in $$subdir"; \
702 if test "$$subdir" = "."; then \
703 dot_seen=yes; \
704 local_target="$$target-am"; \
705 else \
706 local_target="$$target"; \
707 fi; \
708 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
709 || eval $$failcom; \
710 done; \
711 if test "$$dot_seen" = "no"; then \
712 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
713 fi; test -z "$$fail"
715 $(RECURSIVE_CLEAN_TARGETS):
716 @failcom='exit 1'; \
717 for f in x $$MAKEFLAGS; do \
718 case $$f in \
719 *=* | --[!k]*);; \
720 *k*) failcom='fail=yes';; \
721 esac; \
722 done; \
723 dot_seen=no; \
724 case "$@" in \
725 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
726 *) list='$(SUBDIRS)' ;; \
727 esac; \
728 rev=''; for subdir in $$list; do \
729 if test "$$subdir" = "."; then :; else \
730 rev="$$subdir $$rev"; \
731 fi; \
732 done; \
733 rev="$$rev ."; \
734 target=`echo $@ | sed s/-recursive//`; \
735 for subdir in $$rev; do \
736 echo "Making $$target in $$subdir"; \
737 if test "$$subdir" = "."; then \
738 local_target="$$target-am"; \
739 else \
740 local_target="$$target"; \
741 fi; \
742 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
743 || eval $$failcom; \
744 done && test -z "$$fail"
745 tags-recursive:
746 list='$(SUBDIRS)'; for subdir in $$list; do \
747 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
748 done
749 ctags-recursive:
750 list='$(SUBDIRS)'; for subdir in $$list; do \
751 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
752 done
754 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
755 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
756 unique=`for i in $$list; do \
757 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
758 done | \
759 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
760 END { if (nonempty) { for (i in files) print i; }; }'`; \
761 mkid -fID $$unique
762 tags: TAGS
764 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
765 $(TAGS_FILES) $(LISP)
766 set x; \
767 here=`pwd`; \
768 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
769 include_option=--etags-include; \
770 empty_fix=.; \
771 else \
772 include_option=--include; \
773 empty_fix=; \
774 fi; \
775 list='$(SUBDIRS)'; for subdir in $$list; do \
776 if test "$$subdir" = .; then :; else \
777 test ! -f $$subdir/TAGS || \
778 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
779 fi; \
780 done; \
781 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
782 unique=`for i in $$list; do \
783 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
784 done | \
785 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
786 END { if (nonempty) { for (i in files) print i; }; }'`; \
787 shift; \
788 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
789 test -n "$$unique" || unique=$$empty_fix; \
790 if test $$# -gt 0; then \
791 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
792 "$$@" $$unique; \
793 else \
794 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
795 $$unique; \
796 fi; \
798 ctags: CTAGS
799 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
800 $(TAGS_FILES) $(LISP)
801 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
802 unique=`for i in $$list; do \
803 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
804 done | \
805 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
806 END { if (nonempty) { for (i in files) print i; }; }'`; \
807 test -z "$(CTAGS_ARGS)$$unique" \
808 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
809 $$unique
811 GTAGS:
812 here=`$(am__cd) $(top_builddir) && pwd` \
813 && $(am__cd) $(top_srcdir) \
814 && gtags -i $(GTAGS_ARGS) "$$here"
816 distclean-tags:
817 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
819 check-TESTS: $(TESTS)
820 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
821 srcdir=$(srcdir); export srcdir; \
822 list=' $(TESTS) '; \
823 $(am__tty_colors); \
824 if test -n "$$list"; then \
825 for tst in $$list; do \
826 if test -f ./$$tst; then dir=./; \
827 elif test -f $$tst; then dir=; \
828 else dir="$(srcdir)/"; fi; \
829 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
830 all=`expr $$all + 1`; \
831 case " $(XFAIL_TESTS) " in \
832 *[\ \ ]$$tst[\ \ ]*) \
833 xpass=`expr $$xpass + 1`; \
834 failed=`expr $$failed + 1`; \
835 col=$$red; res=XPASS; \
836 ;; \
837 *) \
838 col=$$grn; res=PASS; \
839 ;; \
840 esac; \
841 elif test $$? -ne 77; then \
842 all=`expr $$all + 1`; \
843 case " $(XFAIL_TESTS) " in \
844 *[\ \ ]$$tst[\ \ ]*) \
845 xfail=`expr $$xfail + 1`; \
846 col=$$lgn; res=XFAIL; \
847 ;; \
848 *) \
849 failed=`expr $$failed + 1`; \
850 col=$$red; res=FAIL; \
851 ;; \
852 esac; \
853 else \
854 skip=`expr $$skip + 1`; \
855 col=$$blu; res=SKIP; \
856 fi; \
857 echo "$${col}$$res$${std}: $$tst"; \
858 done; \
859 if test "$$all" -eq 1; then \
860 tests="test"; \
861 All=""; \
862 else \
863 tests="tests"; \
864 All="All "; \
865 fi; \
866 if test "$$failed" -eq 0; then \
867 if test "$$xfail" -eq 0; then \
868 banner="$$All$$all $$tests passed"; \
869 else \
870 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
871 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
872 fi; \
873 else \
874 if test "$$xpass" -eq 0; then \
875 banner="$$failed of $$all $$tests failed"; \
876 else \
877 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
878 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
879 fi; \
880 fi; \
881 dashes="$$banner"; \
882 skipped=""; \
883 if test "$$skip" -ne 0; then \
884 if test "$$skip" -eq 1; then \
885 skipped="($$skip test was not run)"; \
886 else \
887 skipped="($$skip tests were not run)"; \
888 fi; \
889 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
890 dashes="$$skipped"; \
891 fi; \
892 report=""; \
893 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
894 report="Please report to $(PACKAGE_BUGREPORT)"; \
895 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
896 dashes="$$report"; \
897 fi; \
898 dashes=`echo "$$dashes" | sed s/./=/g`; \
899 if test "$$failed" -eq 0; then \
900 echo "$$grn$$dashes"; \
901 else \
902 echo "$$red$$dashes"; \
903 fi; \
904 echo "$$banner"; \
905 test -z "$$skipped" || echo "$$skipped"; \
906 test -z "$$report" || echo "$$report"; \
907 echo "$$dashes$$std"; \
908 test "$$failed" -eq 0; \
909 else :; fi
911 distdir: $(DISTFILES)
912 $(am__remove_distdir)
913 test -d "$(distdir)" || mkdir "$(distdir)"
914 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
915 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
916 list='$(DISTFILES)'; \
917 dist_files=`for file in $$list; do echo $$file; done | \
918 sed -e "s|^$$srcdirstrip/||;t" \
919 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
920 case $$dist_files in \
921 */*) $(MKDIR_P) `echo "$$dist_files" | \
922 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
923 sort -u` ;; \
924 esac; \
925 for file in $$dist_files; do \
926 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
927 if test -d $$d/$$file; then \
928 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
929 if test -d "$(distdir)/$$file"; then \
930 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
931 fi; \
932 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
933 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
934 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
935 fi; \
936 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
937 else \
938 test -f "$(distdir)/$$file" \
939 || cp -p $$d/$$file "$(distdir)/$$file" \
940 || exit 1; \
941 fi; \
942 done
943 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
944 if test "$$subdir" = .; then :; else \
945 test -d "$(distdir)/$$subdir" \
946 || $(MKDIR_P) "$(distdir)/$$subdir" \
947 || exit 1; \
948 fi; \
949 done
950 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
951 if test "$$subdir" = .; then :; else \
952 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
953 $(am__relativize); \
954 new_distdir=$$reldir; \
955 dir1=$$subdir; dir2="$(top_distdir)"; \
956 $(am__relativize); \
957 new_top_distdir=$$reldir; \
958 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
959 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
960 ($(am__cd) $$subdir && \
961 $(MAKE) $(AM_MAKEFLAGS) \
962 top_distdir="$$new_top_distdir" \
963 distdir="$$new_distdir" \
964 am__remove_distdir=: \
965 am__skip_length_check=: \
966 am__skip_mode_fix=: \
967 distdir) \
968 || exit 1; \
969 fi; \
970 done
971 -test -n "$(am__skip_mode_fix)" \
972 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
973 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
974 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
975 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
976 || chmod -R a+r "$(distdir)"
977 dist-gzip: distdir
978 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
979 $(am__remove_distdir)
981 dist-bzip2: distdir
982 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
983 $(am__remove_distdir)
985 dist-lzma: distdir
986 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
987 $(am__remove_distdir)
989 dist-xz: distdir
990 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
991 $(am__remove_distdir)
993 dist-tarZ: distdir
994 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
995 $(am__remove_distdir)
997 dist-shar: distdir
998 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
999 $(am__remove_distdir)
1001 dist-zip: distdir
1002 -rm -f $(distdir).zip
1003 zip -rq $(distdir).zip $(distdir)
1004 $(am__remove_distdir)
1006 dist dist-all: distdir
1007 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1008 $(am__remove_distdir)
1010 # This target untars the dist file and tries a VPATH configuration. Then
1011 # it guarantees that the distribution is self-contained by making another
1012 # tarfile.
1013 distcheck: dist
1014 case '$(DIST_ARCHIVES)' in \
1015 *.tar.gz*) \
1016 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
1017 *.tar.bz2*) \
1018 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
1019 *.tar.lzma*) \
1020 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
1021 *.tar.xz*) \
1022 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1023 *.tar.Z*) \
1024 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1025 *.shar.gz*) \
1026 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
1027 *.zip*) \
1028 unzip $(distdir).zip ;;\
1029 esac
1030 chmod -R a-w $(distdir); chmod a+w $(distdir)
1031 mkdir $(distdir)/_build
1032 mkdir $(distdir)/_inst
1033 chmod a-w $(distdir)
1034 test -d $(distdir)/_build || exit 0; \
1035 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1036 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1037 && am__cwd=`pwd` \
1038 && $(am__cd) $(distdir)/_build \
1039 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1040 $(DISTCHECK_CONFIGURE_FLAGS) \
1041 && $(MAKE) $(AM_MAKEFLAGS) \
1042 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1043 && $(MAKE) $(AM_MAKEFLAGS) check \
1044 && $(MAKE) $(AM_MAKEFLAGS) install \
1045 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1046 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1047 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1048 distuninstallcheck \
1049 && chmod -R a-w "$$dc_install_base" \
1050 && ({ \
1051 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1052 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1053 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1054 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1055 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1056 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1057 && rm -rf "$$dc_destdir" \
1058 && $(MAKE) $(AM_MAKEFLAGS) dist \
1059 && rm -rf $(DIST_ARCHIVES) \
1060 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1061 && cd "$$am__cwd" \
1062 || exit 1
1063 $(am__remove_distdir)
1064 @(echo "$(distdir) archives ready for distribution: "; \
1065 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1066 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1067 distuninstallcheck:
1068 @$(am__cd) '$(distuninstallcheck_dir)' \
1069 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
1070 || { echo "ERROR: files left after uninstall:" ; \
1071 if test -n "$(DESTDIR)"; then \
1072 echo " (check DESTDIR support)"; \
1073 fi ; \
1074 $(distuninstallcheck_listfiles) ; \
1075 exit 1; } >&2
1076 distcleancheck: distclean
1077 @if test '$(srcdir)' = . ; then \
1078 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1079 exit 1 ; \
1081 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1082 || { echo "ERROR: files left in build directory after distclean:" ; \
1083 $(distcleancheck_listfiles) ; \
1084 exit 1; } >&2
1085 check-am: all-am
1086 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1087 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1088 check: check-recursive
1089 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
1090 installdirs: installdirs-recursive
1091 installdirs-am:
1092 install: install-recursive
1093 install-exec: install-exec-recursive
1094 install-data: install-data-recursive
1095 uninstall: uninstall-recursive
1097 install-am: all-am
1098 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1100 installcheck: installcheck-recursive
1101 install-strip:
1102 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1103 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1104 `test -z '$(STRIP)' || \
1105 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1106 mostlyclean-generic:
1108 clean-generic:
1110 distclean-generic:
1111 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1112 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1114 maintainer-clean-generic:
1115 @echo "This command is intended for maintainers to use"
1116 @echo "it deletes files that may require special tools to rebuild."
1117 -rm -f yyscript.c
1118 -rm -f yyscript.h
1119 clean: clean-recursive
1121 clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1122 clean-noinstPROGRAMS mostlyclean-am
1124 distclean: distclean-recursive
1125 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1126 -rm -rf $(DEPDIR) ./$(DEPDIR)
1127 -rm -f Makefile
1128 distclean-am: clean-am distclean-compile distclean-generic \
1129 distclean-hdr distclean-tags
1131 dvi: dvi-recursive
1133 dvi-am:
1135 html: html-recursive
1137 html-am:
1139 info: info-recursive
1141 info-am:
1143 install-data-am: install-data-local
1145 install-dvi: install-dvi-recursive
1147 install-dvi-am:
1149 install-exec-am: install-exec-local
1151 install-html: install-html-recursive
1153 install-html-am:
1155 install-info: install-info-recursive
1157 install-info-am:
1159 install-man:
1161 install-pdf: install-pdf-recursive
1163 install-pdf-am:
1165 install-ps: install-ps-recursive
1167 install-ps-am:
1169 installcheck-am:
1171 maintainer-clean: maintainer-clean-recursive
1172 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1173 -rm -rf $(top_srcdir)/autom4te.cache
1174 -rm -rf $(DEPDIR) ./$(DEPDIR)
1175 -rm -f Makefile
1176 maintainer-clean-am: distclean-am maintainer-clean-generic
1178 mostlyclean: mostlyclean-recursive
1180 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1182 pdf: pdf-recursive
1184 pdf-am:
1186 ps: ps-recursive
1188 ps-am:
1190 uninstall-am:
1192 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
1193 ctags-recursive install-am install-strip tags-recursive
1195 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1196 all all-am am--refresh check check-TESTS check-am clean \
1197 clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1198 clean-noinstPROGRAMS ctags ctags-recursive dist dist-all \
1199 dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \
1200 dist-zip distcheck distclean distclean-compile \
1201 distclean-generic distclean-hdr distclean-tags distcleancheck \
1202 distdir distuninstallcheck dvi dvi-am html html-am info \
1203 info-am install install-am install-data install-data-am \
1204 install-data-local install-dvi install-dvi-am install-exec \
1205 install-exec-am install-exec-local install-html \
1206 install-html-am install-info install-info-am install-man \
1207 install-pdf install-pdf-am install-ps install-ps-am \
1208 install-strip installcheck installcheck-am installdirs \
1209 installdirs-am maintainer-clean maintainer-clean-generic \
1210 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
1211 ps ps-am tags tags-recursive uninstall uninstall-am
1214 # Use an explicit dependency for the bison generated header file.
1215 expression.$(OBJEXT): yyscript.h
1216 script-sections.$(OBJEXT): yyscript.h
1217 script.$(OBJEXT): yyscript.h
1219 # We have to build libgold.a before we run the tests.
1220 check: libgold.a
1222 .PHONY: install-exec-local
1224 install-exec-local: ld-new$(EXEEXT)
1225 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1226 n=`echo ld | sed '$(transform)'`; \
1227 $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
1228 if test "$(bindir)" != "$(tooldir)/bin"; then \
1229 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1230 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1231 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1234 # We want install to imply install-info as per GNU standards, despite
1235 # the cygnus option.
1236 install-data-local: install-info
1238 po/POTFILES.in: @MAINT@ Makefile
1239 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
1240 && mv tmp $(srcdir)/po/POTFILES.in
1242 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1243 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1244 # identical to ld1, since it was linked with the host linker.
1246 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
1247 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1248 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1249 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1251 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1252 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1253 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1254 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1256 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1257 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1258 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1259 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
1260 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1262 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
1263 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
1265 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld: ld1-r
1266 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
1267 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2-r/ld
1268 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2-r && $(LN_S) ../ld1-r ld)
1270 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
1271 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
1273 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
1274 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1275 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1276 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" > $@
1277 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1279 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1280 # Otherwise a system limit (for SysV at least) may be exceeded.
1281 .NOEXPORT: