Add plugin functionality for link-time optimization (LTO).
[deliverable/binutils-gdb.git] / gold / Makefile.in
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Process this file with automake to generate Makefile.in
18
19
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
26 top_builddir = .
27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28 INSTALL = @INSTALL@
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
34 NORMAL_INSTALL = :
35 PRE_INSTALL = :
36 POST_INSTALL = :
37 NORMAL_UNINSTALL = :
38 PRE_UNINSTALL = :
39 POST_UNINSTALL = :
40 build_triplet = @build@
41 host_triplet = @host@
42 target_triplet = @target@
43 noinst_PROGRAMS = ld-new$(EXEEXT)
44 @GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
45 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \
46 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT)
47 DIST_COMMON = README $(am__configure_deps) $(srcdir)/../config.guess \
48 $(srcdir)/../config.sub $(srcdir)/../depcomp \
49 $(srcdir)/../install-sh $(srcdir)/../missing \
50 $(srcdir)/../mkinstalldirs $(srcdir)/Makefile.am \
51 $(srcdir)/Makefile.in $(srcdir)/config.in \
52 $(top_srcdir)/configure $(top_srcdir)/po/Make-in ChangeLog \
53 NEWS TODO 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) gold.$(OBJEXT) gold-threads.$(OBJEXT) \
83 layout.$(OBJEXT) mapfile.$(OBJEXT) merge.$(OBJEXT) \
84 object.$(OBJEXT) options.$(OBJEXT) output.$(OBJEXT) \
85 parameters.$(OBJEXT) plugin.$(OBJEXT) readsyms.$(OBJEXT) \
86 reduced_debug_output.$(OBJEXT) reloc.$(OBJEXT) \
87 resolve.$(OBJEXT) script-sections.$(OBJEXT) script.$(OBJEXT) \
88 stringpool.$(OBJEXT) symtab.$(OBJEXT) target-select.$(OBJEXT) \
89 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 gold.cc \
334 gold-threads.cc \
335 layout.cc \
336 mapfile.cc \
337 merge.cc \
338 object.cc \
339 options.cc \
340 output.cc \
341 parameters.cc \
342 plugin.cc \
343 readsyms.cc \
344 reduced_debug_output.cc \
345 reloc.cc \
346 resolve.cc \
347 script-sections.cc \
348 script.cc \
349 stringpool.cc \
350 symtab.cc \
351 target-select.cc \
352 version.cc \
353 workqueue.cc \
354 workqueue-threads.cc
355
356 HFILES = \
357 archive.h \
358 binary.h \
359 common.h \
360 compressed_output.h \
361 copy-relocs.h \
362 cref.h \
363 defstd.h \
364 dirsearch.h \
365 descriptors.h \
366 dynobj.h \
367 dwarf_reader.h \
368 ehframe.h \
369 errors.h \
370 fileread.h \
371 gold.h \
372 gold-threads.h \
373 layout.h \
374 mapfile.h \
375 merge.h \
376 object.h \
377 options.h \
378 output.h \
379 parameters.h \
380 plugin.h \
381 readsyms.h \
382 reduced_debug_output.h \
383 reloc.h \
384 reloc-types.h \
385 script-c.h \
386 script-sections.h \
387 script.h \
388 stringpool.h \
389 symtab.h \
390 target.h \
391 target-reloc.h \
392 target-select.h \
393 tls.h \
394 token.h \
395 workqueue.h \
396 workqueue-internal.h
397
398 YFILES = \
399 yyscript.y
400
401 EXTRA_DIST = yyscript.c yyscript.h
402 TARGETSOURCES = \
403 i386.cc x86_64.cc sparc.cc powerpc.cc
404
405 ALL_TARGETOBJS = \
406 i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT)
407
408 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)
409 sources_var = main.cc
410 deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
411 ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \
412 $(THREADSLIB) $(LIBDL)
413
414 ld_new_SOURCES = $(sources_var)
415 ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS)
416 ld_new_LDADD = $(ldadd_var) $(LIBOBJS)
417 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
418 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
419 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
420 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
421 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
422 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
423 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
424 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
425 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
426 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
427 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
428 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld
429 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
430 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDFLAGS = -Bgcctestdir1/
431 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
432 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld
433 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
434 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDFLAGS = -Bgcctestdir2-r/
435 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r
436 all: config.h
437 $(MAKE) $(AM_MAKEFLAGS) all-recursive
438
439 .SUFFIXES:
440 .SUFFIXES: .c .cc .o .obj .y
441 am--refresh:
442 @:
443 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
444 @for dep in $?; do \
445 case '$(am__configure_deps)' in \
446 *$$dep*) \
447 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
448 cd $(srcdir) && $(AUTOMAKE) --foreign \
449 && exit 0; \
450 exit 1;; \
451 esac; \
452 done; \
453 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
454 cd $(top_srcdir) && \
455 $(AUTOMAKE) --foreign Makefile
456 .PRECIOUS: Makefile
457 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
458 @case '$?' in \
459 *config.status*) \
460 echo ' $(SHELL) ./config.status'; \
461 $(SHELL) ./config.status;; \
462 *) \
463 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
464 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
465 esac;
466
467 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
468 $(SHELL) ./config.status --recheck
469
470 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
471 cd $(srcdir) && $(AUTOCONF)
472 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
473 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
474
475 config.h: stamp-h1
476 @if test ! -f $@; then \
477 rm -f stamp-h1; \
478 $(MAKE) stamp-h1; \
479 else :; fi
480
481 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
482 @rm -f stamp-h1
483 cd $(top_builddir) && $(SHELL) ./config.status config.h
484 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
485 cd $(top_srcdir) && $(AUTOHEADER)
486 rm -f stamp-h1
487 touch $@
488
489 distclean-hdr:
490 -rm -f config.h stamp-h1
491 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
492 cd $(top_builddir) && $(SHELL) ./config.status $@
493
494 clean-noinstLIBRARIES:
495 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
496 yyscript.h: yyscript.c
497 @if test ! -f $@; then \
498 rm -f yyscript.c; \
499 $(MAKE) yyscript.c; \
500 else :; fi
501 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
502 -rm -f libgold.a
503 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
504 $(RANLIB) libgold.a
505
506 clean-checkPROGRAMS:
507 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
508
509 clean-noinstPROGRAMS:
510 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
511 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
512 @rm -f ld-new$(EXEEXT)
513 $(CXXLINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
514 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
515 @rm -f ld1$(EXEEXT)
516 $(CXXLINK) $(ld1_LDFLAGS) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
517 ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES)
518 @rm -f ld1-r$(EXEEXT)
519 $(CXXLINK) $(ld1_r_LDFLAGS) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
520 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
521 @rm -f ld2$(EXEEXT)
522 $(CXXLINK) $(ld2_LDFLAGS) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
523 ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES)
524 @rm -f ld2-r$(EXEEXT)
525 $(CXXLINK) $(ld2_r_LDFLAGS) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
526
527 mostlyclean-compile:
528 -rm -f *.$(OBJEXT)
529
530 distclean-compile:
531 -rm -f *.tab.c
532
533 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
534 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
535 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@
536 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
537 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@
538 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@
539 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@
540 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
541 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@
542 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
543 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@
544 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
545 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
546 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
547 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@
548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
552 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
553 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
554 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@
555 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
556 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
557 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
558 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
559 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
560 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@
561 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
562 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
566 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@
567 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
568 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@
569 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
570 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
571 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
572 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
573 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@
574 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
575 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
576 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
577
578 .c.o:
579 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
580 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
581 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
582 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
583 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
584
585 .c.obj:
586 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
587 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
588 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
589 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
590 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
591
592 .cc.o:
593 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
594 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
595 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
596 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
597 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
598
599 .cc.obj:
600 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
601 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
602 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
603 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
604 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
605
606 .y.c:
607 $(YACCCOMPILE) $<
608 if test -f y.tab.h; then \
609 to=`echo "$*_H" | sed \
610 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
611 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
612 sed -e "/^#/!b" -e "s/Y_TAB_H/$$to/g" -e "s|y\.tab\.h|$*.h|" \
613 y.tab.h >$*.ht; \
614 rm -f y.tab.h; \
615 if cmp -s $*.ht $*.h; then \
616 rm -f $*.ht ;\
617 else \
618 mv $*.ht $*.h; \
619 fi; \
620 fi
621 if test -f y.output; then \
622 mv y.output $*.output; \
623 fi
624 sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@
625 rm -f y.tab.c
626 uninstall-info-am:
627
628 # This directory's subdirectories are mostly independent; you can cd
629 # into them and run `make' without going through this Makefile.
630 # To change the values of `make' variables: instead of editing Makefiles,
631 # (1) if the variable is set in `config.status', edit `config.status'
632 # (which will cause the Makefiles to be regenerated when you run `make');
633 # (2) otherwise, pass the desired values on the `make' command line.
634 $(RECURSIVE_TARGETS):
635 @failcom='exit 1'; \
636 for f in x $$MAKEFLAGS; do \
637 case $$f in \
638 *=* | --[!k]*);; \
639 *k*) failcom='fail=yes';; \
640 esac; \
641 done; \
642 dot_seen=no; \
643 target=`echo $@ | sed s/-recursive//`; \
644 list='$(SUBDIRS)'; for subdir in $$list; do \
645 echo "Making $$target in $$subdir"; \
646 if test "$$subdir" = "."; then \
647 dot_seen=yes; \
648 local_target="$$target-am"; \
649 else \
650 local_target="$$target"; \
651 fi; \
652 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
653 || eval $$failcom; \
654 done; \
655 if test "$$dot_seen" = "no"; then \
656 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
657 fi; test -z "$$fail"
658
659 mostlyclean-recursive clean-recursive distclean-recursive \
660 maintainer-clean-recursive:
661 @failcom='exit 1'; \
662 for f in x $$MAKEFLAGS; do \
663 case $$f in \
664 *=* | --[!k]*);; \
665 *k*) failcom='fail=yes';; \
666 esac; \
667 done; \
668 dot_seen=no; \
669 case "$@" in \
670 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
671 *) list='$(SUBDIRS)' ;; \
672 esac; \
673 rev=''; for subdir in $$list; do \
674 if test "$$subdir" = "."; then :; else \
675 rev="$$subdir $$rev"; \
676 fi; \
677 done; \
678 rev="$$rev ."; \
679 target=`echo $@ | sed s/-recursive//`; \
680 for subdir in $$rev; do \
681 echo "Making $$target in $$subdir"; \
682 if test "$$subdir" = "."; then \
683 local_target="$$target-am"; \
684 else \
685 local_target="$$target"; \
686 fi; \
687 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
688 || eval $$failcom; \
689 done && test -z "$$fail"
690 tags-recursive:
691 list='$(SUBDIRS)'; for subdir in $$list; do \
692 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
693 done
694 ctags-recursive:
695 list='$(SUBDIRS)'; for subdir in $$list; do \
696 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
697 done
698
699 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
700 list='$(SOURCES) $(HEADERS) $(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 mkid -fID $$unique
707 tags: TAGS
708
709 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
710 $(TAGS_FILES) $(LISP)
711 tags=; \
712 here=`pwd`; \
713 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
714 include_option=--etags-include; \
715 empty_fix=.; \
716 else \
717 include_option=--include; \
718 empty_fix=; \
719 fi; \
720 list='$(SUBDIRS)'; for subdir in $$list; do \
721 if test "$$subdir" = .; then :; else \
722 test ! -f $$subdir/TAGS || \
723 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
724 fi; \
725 done; \
726 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
727 unique=`for i in $$list; do \
728 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
729 done | \
730 $(AWK) ' { files[$$0] = 1; } \
731 END { for (i in files) print i; }'`; \
732 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
733 test -n "$$unique" || unique=$$empty_fix; \
734 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
735 $$tags $$unique; \
736 fi
737 ctags: CTAGS
738 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
739 $(TAGS_FILES) $(LISP)
740 tags=; \
741 here=`pwd`; \
742 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
743 unique=`for i in $$list; do \
744 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
745 done | \
746 $(AWK) ' { files[$$0] = 1; } \
747 END { for (i in files) print i; }'`; \
748 test -z "$(CTAGS_ARGS)$$tags$$unique" \
749 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
750 $$tags $$unique
751
752 GTAGS:
753 here=`$(am__cd) $(top_builddir) && pwd` \
754 && cd $(top_srcdir) \
755 && gtags -i $(GTAGS_ARGS) $$here
756
757 distclean-tags:
758 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
759
760 check-TESTS: $(TESTS)
761 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
762 srcdir=$(srcdir); export srcdir; \
763 list='$(TESTS)'; \
764 if test -n "$$list"; then \
765 for tst in $$list; do \
766 if test -f ./$$tst; then dir=./; \
767 elif test -f $$tst; then dir=; \
768 else dir="$(srcdir)/"; fi; \
769 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
770 all=`expr $$all + 1`; \
771 case " $(XFAIL_TESTS) " in \
772 *" $$tst "*) \
773 xpass=`expr $$xpass + 1`; \
774 failed=`expr $$failed + 1`; \
775 echo "XPASS: $$tst"; \
776 ;; \
777 *) \
778 echo "PASS: $$tst"; \
779 ;; \
780 esac; \
781 elif test $$? -ne 77; then \
782 all=`expr $$all + 1`; \
783 case " $(XFAIL_TESTS) " in \
784 *" $$tst "*) \
785 xfail=`expr $$xfail + 1`; \
786 echo "XFAIL: $$tst"; \
787 ;; \
788 *) \
789 failed=`expr $$failed + 1`; \
790 echo "FAIL: $$tst"; \
791 ;; \
792 esac; \
793 else \
794 skip=`expr $$skip + 1`; \
795 echo "SKIP: $$tst"; \
796 fi; \
797 done; \
798 if test "$$failed" -eq 0; then \
799 if test "$$xfail" -eq 0; then \
800 banner="All $$all tests passed"; \
801 else \
802 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
803 fi; \
804 else \
805 if test "$$xpass" -eq 0; then \
806 banner="$$failed of $$all tests failed"; \
807 else \
808 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
809 fi; \
810 fi; \
811 dashes="$$banner"; \
812 skipped=""; \
813 if test "$$skip" -ne 0; then \
814 skipped="($$skip tests were not run)"; \
815 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
816 dashes="$$skipped"; \
817 fi; \
818 report=""; \
819 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
820 report="Please report to $(PACKAGE_BUGREPORT)"; \
821 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
822 dashes="$$report"; \
823 fi; \
824 dashes=`echo "$$dashes" | sed s/./=/g`; \
825 echo "$$dashes"; \
826 echo "$$banner"; \
827 test -z "$$skipped" || echo "$$skipped"; \
828 test -z "$$report" || echo "$$report"; \
829 echo "$$dashes"; \
830 test "$$failed" -eq 0; \
831 else :; fi
832
833 distdir: $(DISTFILES)
834 $(am__remove_distdir)
835 mkdir $(distdir)
836 $(mkdir_p) $(distdir)/.. $(distdir)/../bfd $(distdir)/../config $(distdir)/po
837 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
838 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
839 list='$(DISTFILES)'; for file in $$list; do \
840 case $$file in \
841 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
842 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
843 esac; \
844 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
845 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
846 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
847 dir="/$$dir"; \
848 $(mkdir_p) "$(distdir)$$dir"; \
849 else \
850 dir=''; \
851 fi; \
852 if test -d $$d/$$file; then \
853 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
854 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
855 fi; \
856 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
857 else \
858 test -f $(distdir)/$$file \
859 || cp -p $$d/$$file $(distdir)/$$file \
860 || exit 1; \
861 fi; \
862 done
863 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
864 if test "$$subdir" = .; then :; else \
865 test -d "$(distdir)/$$subdir" \
866 || $(mkdir_p) "$(distdir)/$$subdir" \
867 || exit 1; \
868 distdir=`$(am__cd) $(distdir) && pwd`; \
869 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
870 (cd $$subdir && \
871 $(MAKE) $(AM_MAKEFLAGS) \
872 top_distdir="$$top_distdir" \
873 distdir="$$distdir/$$subdir" \
874 distdir) \
875 || exit 1; \
876 fi; \
877 done
878 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
879 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
880 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
881 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
882 || chmod -R a+r $(distdir)
883 dist-gzip: distdir
884 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
885 $(am__remove_distdir)
886
887 dist-bzip2: distdir
888 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
889 $(am__remove_distdir)
890
891 dist-tarZ: distdir
892 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
893 $(am__remove_distdir)
894
895 dist-shar: distdir
896 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
897 $(am__remove_distdir)
898
899 dist-zip: distdir
900 -rm -f $(distdir).zip
901 zip -rq $(distdir).zip $(distdir)
902 $(am__remove_distdir)
903
904 dist dist-all: distdir
905 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
906 $(am__remove_distdir)
907
908 # This target untars the dist file and tries a VPATH configuration. Then
909 # it guarantees that the distribution is self-contained by making another
910 # tarfile.
911 distcheck: dist
912 case '$(DIST_ARCHIVES)' in \
913 *.tar.gz*) \
914 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
915 *.tar.bz2*) \
916 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
917 *.tar.Z*) \
918 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
919 *.shar.gz*) \
920 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
921 *.zip*) \
922 unzip $(distdir).zip ;;\
923 esac
924 chmod -R a-w $(distdir); chmod a+w $(distdir)
925 mkdir $(distdir)/_build
926 mkdir $(distdir)/_inst
927 chmod a-w $(distdir)
928 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
929 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
930 && cd $(distdir)/_build \
931 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
932 $(DISTCHECK_CONFIGURE_FLAGS) \
933 && $(MAKE) $(AM_MAKEFLAGS) \
934 && $(MAKE) $(AM_MAKEFLAGS) dvi \
935 && $(MAKE) $(AM_MAKEFLAGS) check \
936 && $(MAKE) $(AM_MAKEFLAGS) install \
937 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
938 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
939 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
940 distuninstallcheck \
941 && chmod -R a-w "$$dc_install_base" \
942 && ({ \
943 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
944 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
945 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
946 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
947 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
948 } || { rm -rf "$$dc_destdir"; exit 1; }) \
949 && rm -rf "$$dc_destdir" \
950 && $(MAKE) $(AM_MAKEFLAGS) dist \
951 && rm -rf $(DIST_ARCHIVES) \
952 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
953 $(am__remove_distdir)
954 @(echo "$(distdir) archives ready for distribution: "; \
955 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
956 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
957 distuninstallcheck:
958 @cd $(distuninstallcheck_dir) \
959 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
960 || { echo "ERROR: files left after uninstall:" ; \
961 if test -n "$(DESTDIR)"; then \
962 echo " (check DESTDIR support)"; \
963 fi ; \
964 $(distuninstallcheck_listfiles) ; \
965 exit 1; } >&2
966 distcleancheck: distclean
967 @if test '$(srcdir)' = . ; then \
968 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
969 exit 1 ; \
970 fi
971 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
972 || { echo "ERROR: files left in build directory after distclean:" ; \
973 $(distcleancheck_listfiles) ; \
974 exit 1; } >&2
975 check-am: all-am
976 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
977 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
978 check: check-recursive
979 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
980 installdirs: installdirs-recursive
981 installdirs-am:
982 install: install-recursive
983 install-exec: install-exec-recursive
984 install-data: install-data-recursive
985 uninstall: uninstall-recursive
986
987 install-am: all-am
988 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
989
990 installcheck: installcheck-recursive
991 install-strip:
992 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
993 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
994 `test -z '$(STRIP)' || \
995 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
996 mostlyclean-generic:
997
998 clean-generic:
999
1000 distclean-generic:
1001 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1002
1003 maintainer-clean-generic:
1004 @echo "This command is intended for maintainers to use"
1005 @echo "it deletes files that may require special tools to rebuild."
1006 -rm -f yyscript.c
1007 -rm -f yyscript.h
1008 clean: clean-recursive
1009
1010 clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
1011 clean-noinstPROGRAMS mostlyclean-am
1012
1013 distclean: distclean-recursive
1014 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1015 -rm -rf $(DEPDIR) ./$(DEPDIR)
1016 -rm -f Makefile
1017 distclean-am: clean-am distclean-compile distclean-generic \
1018 distclean-hdr distclean-tags
1019
1020 dvi: dvi-recursive
1021
1022 dvi-am:
1023
1024 html: html-recursive
1025
1026 info: info-recursive
1027
1028 info-am:
1029
1030 install-data-am: install-data-local
1031
1032 install-exec-am: install-exec-local
1033
1034 install-info: install-info-recursive
1035
1036 install-man:
1037
1038 installcheck-am:
1039
1040 maintainer-clean: maintainer-clean-recursive
1041 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1042 -rm -rf $(top_srcdir)/autom4te.cache
1043 -rm -rf $(DEPDIR) ./$(DEPDIR)
1044 -rm -f Makefile
1045 maintainer-clean-am: distclean-am maintainer-clean-generic
1046
1047 mostlyclean: mostlyclean-recursive
1048
1049 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1050
1051 pdf: pdf-recursive
1052
1053 pdf-am:
1054
1055 ps: ps-recursive
1056
1057 ps-am:
1058
1059 uninstall-am: uninstall-info-am
1060
1061 uninstall-info: uninstall-info-recursive
1062
1063 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
1064 check-TESTS check-am clean clean-checkPROGRAMS clean-generic \
1065 clean-noinstLIBRARIES clean-noinstPROGRAMS clean-recursive \
1066 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
1067 dist-shar dist-tarZ dist-zip distcheck distclean \
1068 distclean-compile distclean-generic distclean-hdr \
1069 distclean-recursive distclean-tags distcleancheck distdir \
1070 distuninstallcheck dvi dvi-am html html-am info info-am \
1071 install install-am install-data install-data-am \
1072 install-data-local install-exec install-exec-am \
1073 install-exec-local install-info install-info-am install-man \
1074 install-strip installcheck installcheck-am installdirs \
1075 installdirs-am maintainer-clean maintainer-clean-generic \
1076 maintainer-clean-recursive mostlyclean mostlyclean-compile \
1077 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
1078 tags tags-recursive uninstall uninstall-am uninstall-info-am
1079
1080
1081 # Use an explicit dependency for the bison generated header file.
1082 expression.$(OBJEXT): yyscript.h
1083 script-sections.$(OBJEXT): yyscript.h
1084 script.$(OBJEXT): yyscript.h
1085
1086 # We have to build libgold.a before we run the tests.
1087 check: libgold.a
1088
1089 .PHONY: install-exec-local
1090
1091 install-exec-local: ld-new$(EXEEXT)
1092 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1093 n=`echo ld | sed '$(transform)'`; \
1094 $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
1095 if test "$(bindir)" != "$(tooldir)/bin"; then \
1096 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1097 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1098 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1099 fi
1100
1101 # We want install to imply install-info as per GNU standards, despite
1102 # the cygnus option.
1103 install-data-local: install-info
1104
1105 po/POTFILES.in: @MAINT@ Makefile
1106 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
1107 && mv tmp $(srcdir)/po/POTFILES.in
1108
1109 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1110 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1111 # identical to ld1, since it was linked with the host linker.
1112
1113 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
1114 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1115 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1116 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1117
1118 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1119 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1120 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1121 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1122
1123 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1124 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1125 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1126 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
1127 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1128
1129 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
1130 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
1131
1132 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld: ld1-r
1133 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
1134 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2-r/ld
1135 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2-r && $(LN_S) ../ld1-r ld)
1136
1137 @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
1138 @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
1139
1140 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
1141 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1142 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1143 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" > $@
1144 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1145 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1146 # Otherwise a system limit (for SysV at least) may be exceeded.
1147 .NOEXPORT:
This page took 0.052572 seconds and 5 git commands to generate.