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