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