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