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