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