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