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