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