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