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