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