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