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