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