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