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