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