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