Commit | Line | Data |
---|---|---|
d0ac1c44 | 1 | # Makefile.in generated by automake 1.15.1 from Makefile.am. |
bae7f79e ILT |
2 | # @configure_input@ |
3 | ||
d0ac1c44 SM |
4 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. |
5 | ||
bae7f79e ILT |
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 | ||
5bf135a7 | 17 | # |
b3adc24a | 18 | # Copyright (C) 2006-2020 Free Software Foundation, Inc. |
5bf135a7 NC |
19 | # |
20 | # This file is free software; you can redistribute it and/or modify | |
21 | # it under the terms of the GNU General Public License as published by | |
22 | # the Free Software Foundation; either version 3 of the License, or | |
23 | # (at your option) any later version. | |
f2c7d7ee | 24 | # |
5bf135a7 NC |
25 | # This program is distributed in the hope that it will be useful, |
26 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
27 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
28 | # GNU General Public License for more details. | |
f2c7d7ee | 29 | # |
5bf135a7 NC |
30 | # You should have received a copy of the GNU General Public License |
31 | # along with this program; see the file COPYING3. If not see | |
32 | # <http://www.gnu.org/licenses/>. | |
33 | # | |
bae7f79e | 34 | |
5a6f7e2d | 35 | |
bae7f79e | 36 | VPATH = @srcdir@ |
d0ac1c44 SM |
37 | am__is_gnu_make = { \ |
38 | if test -z '$(MAKELEVEL)'; then \ | |
39 | false; \ | |
40 | elif test -n '$(MAKE_HOST)'; then \ | |
41 | true; \ | |
42 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | |
43 | true; \ | |
44 | else \ | |
45 | false; \ | |
46 | fi; \ | |
47 | } | |
48 | am__make_running_with_option = \ | |
49 | case $${target_option-} in \ | |
50 | ?) ;; \ | |
51 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
52 | "target option '$${target_option-}' specified" >&2; \ | |
53 | exit 1;; \ | |
54 | esac; \ | |
55 | has_opt=no; \ | |
56 | sane_makeflags=$$MAKEFLAGS; \ | |
57 | if $(am__is_gnu_make); then \ | |
58 | sane_makeflags=$$MFLAGS; \ | |
59 | else \ | |
6fd8e7c2 L |
60 | case $$MAKEFLAGS in \ |
61 | *\\[\ \ ]*) \ | |
d0ac1c44 SM |
62 | bs=\\; \ |
63 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
64 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
6fd8e7c2 | 65 | esac; \ |
d0ac1c44 SM |
66 | fi; \ |
67 | skip_next=no; \ | |
68 | strip_trailopt () \ | |
69 | { \ | |
70 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
71 | }; \ | |
72 | for flg in $$sane_makeflags; do \ | |
73 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
74 | case $$flg in \ | |
75 | *=*|--*) continue;; \ | |
76 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
77 | -*I?*) strip_trailopt 'I';; \ | |
78 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
79 | -*O?*) strip_trailopt 'O';; \ | |
80 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
81 | -*l?*) strip_trailopt 'l';; \ | |
82 | -[dEDm]) skip_next=yes;; \ | |
83 | -[JT]) skip_next=yes;; \ | |
84 | esac; \ | |
85 | case $$flg in \ | |
86 | *$$target_option*) has_opt=yes; break;; \ | |
87 | esac; \ | |
88 | done; \ | |
89 | test $$has_opt = yes | |
90 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
91 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
bae7f79e | 92 | pkgdatadir = $(datadir)/@PACKAGE@ |
bae7f79e | 93 | pkgincludedir = $(includedir)/@PACKAGE@ |
81ecdfbb RW |
94 | pkglibdir = $(libdir)/@PACKAGE@ |
95 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
bae7f79e | 96 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
bae7f79e ILT |
97 | install_sh_DATA = $(install_sh) -c -m 644 |
98 | install_sh_PROGRAM = $(install_sh) -c | |
99 | install_sh_SCRIPT = $(install_sh) -c | |
100 | INSTALL_HEADER = $(INSTALL_DATA) | |
101 | transform = $(program_transform_name) | |
102 | NORMAL_INSTALL = : | |
103 | PRE_INSTALL = : | |
104 | POST_INSTALL = : | |
105 | NORMAL_UNINSTALL = : | |
106 | PRE_UNINSTALL = : | |
107 | POST_UNINSTALL = : | |
108 | build_triplet = @build@ | |
109 | host_triplet = @host@ | |
110 | target_triplet = @target@ | |
77429909 | 111 | bin_PROGRAMS = dwp$(EXEEXT) |
e2b8f3c4 | 112 | noinst_PROGRAMS = ld-new$(EXEEXT) incremental-dump$(EXEEXT) |
537b5f51 | 113 | @GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \ |
755ab8af | 114 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \ |
e7c5ea40 CC |
115 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT) ld4$(EXEEXT) \ |
116 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__EXEEXT_1) | |
117 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_1 = -Wl,--thread-count=3 | |
118 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_2 = -Wl,--thread-count=3 | |
119 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_3 = -Wl,--thread-count=13 | |
120 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_4 = -Wl,--thread-count=3 | |
121 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_5 = ld3 | |
122 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_6 = bootstrap-test-treehash-chunksize | |
396ce998 | 123 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_7 = bootstrap-test-treehash-chunksize |
81ecdfbb | 124 | subdir = . |
bae7f79e | 125 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
c8dc28bc CC |
126 | am__aclocal_m4_deps = $(top_srcdir)/../config/ax_pthread.m4 \ |
127 | $(top_srcdir)/../config/depstand.m4 \ | |
4f4995b6 | 128 | $(top_srcdir)/../config/gettext-sister.m4 \ |
2e702c99 | 129 | $(top_srcdir)/../config/lcmessage.m4 \ |
bae7f79e | 130 | $(top_srcdir)/../config/lead-dot.m4 \ |
8bdcdf2c ILT |
131 | $(top_srcdir)/../config/nls.m4 \ |
132 | $(top_srcdir)/../config/override.m4 \ | |
24538276 | 133 | $(top_srcdir)/../config/plugins.m4 \ |
8bdcdf2c | 134 | $(top_srcdir)/../config/po.m4 \ |
ead1e424 | 135 | $(top_srcdir)/../config/progtest.m4 \ |
ae2eea65 | 136 | $(top_srcdir)/../config/zlib.m4 \ |
bae7f79e ILT |
137 | $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac |
138 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
139 | $(ACLOCAL_M4) | |
d0ac1c44 SM |
140 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ |
141 | $(am__configure_deps) | |
bae7f79e | 142 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
81ecdfbb | 143 | configure.lineno config.status.lineno |
bae7f79e ILT |
144 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs |
145 | CONFIG_HEADER = config.h | |
146 | CONFIG_CLEAN_FILES = po/Makefile.in | |
81ecdfbb | 147 | CONFIG_CLEAN_VPATH_FILES = |
5a6f7e2d ILT |
148 | LIBRARIES = $(noinst_LIBRARIES) |
149 | AR = ar | |
150 | ARFLAGS = cru | |
d0ac1c44 SM |
151 | AM_V_AR = $(am__v_AR_@AM_V@) |
152 | am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) | |
153 | am__v_AR_0 = @echo " AR " $@; | |
154 | am__v_AR_1 = | |
5a6f7e2d | 155 | libgold_a_AR = $(AR) $(ARFLAGS) |
81ecdfbb | 156 | libgold_a_DEPENDENCIES = $(LIBOBJS) |
4f787271 DK |
157 | am__objects_1 = archive.$(OBJEXT) attributes.$(OBJEXT) \ |
158 | binary.$(OBJEXT) common.$(OBJEXT) compressed_output.$(OBJEXT) \ | |
159 | copy-relocs.$(OBJEXT) cref.$(OBJEXT) defstd.$(OBJEXT) \ | |
160 | descriptors.$(OBJEXT) dirsearch.$(OBJEXT) dynobj.$(OBJEXT) \ | |
161 | dwarf_reader.$(OBJEXT) ehframe.$(OBJEXT) errors.$(OBJEXT) \ | |
162 | expression.$(OBJEXT) fileread.$(OBJEXT) gc.$(OBJEXT) \ | |
c1027032 CC |
163 | gdb-index.$(OBJEXT) gold.$(OBJEXT) gold-threads.$(OBJEXT) \ |
164 | icf.$(OBJEXT) incremental.$(OBJEXT) int_encoding.$(OBJEXT) \ | |
165 | layout.$(OBJEXT) mapfile.$(OBJEXT) merge.$(OBJEXT) \ | |
2e702c99 RM |
166 | nacl.$(OBJEXT) object.$(OBJEXT) options.$(OBJEXT) \ |
167 | output.$(OBJEXT) parameters.$(OBJEXT) plugin.$(OBJEXT) \ | |
168 | readsyms.$(OBJEXT) reduced_debug_output.$(OBJEXT) \ | |
169 | reloc.$(OBJEXT) resolve.$(OBJEXT) script-sections.$(OBJEXT) \ | |
170 | script.$(OBJEXT) stringpool.$(OBJEXT) symtab.$(OBJEXT) \ | |
171 | target.$(OBJEXT) target-select.$(OBJEXT) timer.$(OBJEXT) \ | |
172 | version.$(OBJEXT) workqueue.$(OBJEXT) \ | |
173 | workqueue-threads.$(OBJEXT) | |
bae7f79e | 174 | am__objects_2 = |
5a6f7e2d ILT |
175 | am__objects_3 = yyscript.$(OBJEXT) |
176 | am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \ | |
0d31c79d | 177 | $(am__objects_3) $(am__objects_2) |
5a6f7e2d | 178 | libgold_a_OBJECTS = $(am_libgold_a_OBJECTS) |
77429909 | 179 | am__installdirs = "$(DESTDIR)$(bindir)" |
e7c5ea40 CC |
180 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__EXEEXT_1 = \ |
181 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ ld3$(EXEEXT) | |
77429909 CC |
182 | PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) |
183 | am_dwp_OBJECTS = dwp.$(OBJEXT) | |
184 | dwp_OBJECTS = $(am_dwp_OBJECTS) | |
185 | am__DEPENDENCIES_1 = | |
186 | dwp_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(dwp_LDFLAGS) \ | |
187 | $(LDFLAGS) -o $@ | |
e2b8f3c4 RÁE |
188 | am_incremental_dump_OBJECTS = incremental-dump.$(OBJEXT) |
189 | incremental_dump_OBJECTS = $(am_incremental_dump_OBJECTS) | |
6df6da4a ILT |
190 | am__objects_4 = main.$(OBJEXT) |
191 | am_ld_new_OBJECTS = $(am__objects_4) | |
bae7f79e | 192 | ld_new_OBJECTS = $(am_ld_new_OBJECTS) |
81ecdfbb RW |
193 | am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a $(LIBIBERTY) \ |
194 | $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ | |
918357b9 L |
195 | $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ |
196 | $(am__DEPENDENCIES_1) | |
dc87f620 ILT |
197 | ld_new_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld_new_LDFLAGS) \ |
198 | $(LDFLAGS) -o $@ | |
6df6da4a | 199 | @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4) |
537b5f51 | 200 | ld1_OBJECTS = $(am_ld1_OBJECTS) |
755ab8af ILT |
201 | @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_r_OBJECTS = $(am__objects_4) |
202 | ld1_r_OBJECTS = $(am_ld1_r_OBJECTS) | |
6df6da4a | 203 | @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4) |
537b5f51 | 204 | ld2_OBJECTS = $(am_ld2_OBJECTS) |
755ab8af ILT |
205 | @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_r_OBJECTS = $(am__objects_4) |
206 | ld2_r_OBJECTS = $(am_ld2_r_OBJECTS) | |
e7c5ea40 CC |
207 | @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld3_OBJECTS = $(am__objects_4) |
208 | ld3_OBJECTS = $(am_ld3_OBJECTS) | |
e7c5ea40 CC |
209 | @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld4_OBJECTS = $(am__objects_4) |
210 | ld4_OBJECTS = $(am_ld4_OBJECTS) | |
d0ac1c44 SM |
211 | AM_V_P = $(am__v_P_@AM_V@) |
212 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
213 | am__v_P_0 = false | |
214 | am__v_P_1 = : | |
215 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
216 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
217 | am__v_GEN_0 = @echo " GEN " $@; | |
218 | am__v_GEN_1 = | |
219 | AM_V_at = $(am__v_at_@AM_V@) | |
220 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
221 | am__v_at_0 = @ | |
222 | am__v_at_1 = | |
81ecdfbb | 223 | DEFAULT_INCLUDES = -I.@am__isrc@ |
bae7f79e ILT |
224 | depcomp = $(SHELL) $(top_srcdir)/../depcomp |
225 | am__depfiles_maybe = depfiles | |
81ecdfbb | 226 | am__mv = mv -f |
dbe717ef ILT |
227 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
228 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
d0ac1c44 SM |
229 | AM_V_CC = $(am__v_CC_@AM_V@) |
230 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | |
231 | am__v_CC_0 = @echo " CC " $@; | |
232 | am__v_CC_1 = | |
dbe717ef ILT |
233 | CCLD = $(CC) |
234 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
d0ac1c44 SM |
235 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) |
236 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | |
237 | am__v_CCLD_0 = @echo " CCLD " $@; | |
238 | am__v_CCLD_1 = | |
bae7f79e ILT |
239 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
240 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) | |
d0ac1c44 SM |
241 | AM_V_CXX = $(am__v_CXX_@AM_V@) |
242 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) | |
243 | am__v_CXX_0 = @echo " CXX " $@; | |
244 | am__v_CXX_1 = | |
bae7f79e ILT |
245 | CXXLD = $(CXX) |
246 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | |
247 | -o $@ | |
d0ac1c44 SM |
248 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) |
249 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) | |
250 | am__v_CXXLD_0 = @echo " CXXLD " $@; | |
251 | am__v_CXXLD_1 = | |
81ecdfbb | 252 | @MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ || |
d0ac1c44 SM |
253 | am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \ |
254 | -e s/c++$$/h++/ -e s/c$$/h/ | |
6fd8e7c2 | 255 | YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS) |
d0ac1c44 SM |
256 | AM_V_YACC = $(am__v_YACC_@AM_V@) |
257 | am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) | |
258 | am__v_YACC_0 = @echo " YACC " $@; | |
259 | am__v_YACC_1 = | |
81ecdfbb | 260 | YLWRAP = $(top_srcdir)/../ylwrap |
77429909 CC |
261 | SOURCES = $(libgold_a_SOURCES) $(dwp_SOURCES) \ |
262 | $(incremental_dump_SOURCES) $(ld_new_SOURCES) \ | |
263 | $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld1_r_SOURCES) \ | |
e7c5ea40 | 264 | $(ld2_SOURCES) $(ld2_r_SOURCES) $(ld3_SOURCES) $(ld4_SOURCES) |
d0ac1c44 SM |
265 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
266 | ctags-recursive dvi-recursive html-recursive info-recursive \ | |
267 | install-data-recursive install-dvi-recursive \ | |
268 | install-exec-recursive install-html-recursive \ | |
269 | install-info-recursive install-pdf-recursive \ | |
270 | install-ps-recursive install-recursive installcheck-recursive \ | |
271 | installdirs-recursive pdf-recursive ps-recursive \ | |
272 | tags-recursive uninstall-recursive | |
6fd8e7c2 L |
273 | am__can_run_installinfo = \ |
274 | case $$AM_UPDATE_INFO_DIR in \ | |
275 | n|no|NO) false;; \ | |
276 | *) (install-info --version) >/dev/null 2>&1;; \ | |
277 | esac | |
81ecdfbb RW |
278 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
279 | distclean-recursive maintainer-clean-recursive | |
d0ac1c44 SM |
280 | am__recursive_targets = \ |
281 | $(RECURSIVE_TARGETS) \ | |
282 | $(RECURSIVE_CLEAN_TARGETS) \ | |
283 | $(am__extra_recursive_targets) | |
284 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | |
285 | cscope check recheck | |
286 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ | |
287 | $(LISP)config.in | |
288 | # Read a list of newline-separated strings from the standard input, | |
289 | # and print each of them once, without duplicates. Input order is | |
290 | # *not* preserved. | |
291 | am__uniquify_input = $(AWK) '\ | |
292 | BEGIN { nonempty = 0; } \ | |
293 | { items[$$0] = 1; nonempty = 1; } \ | |
294 | END { if (nonempty) { for (i in items) print i; }; } \ | |
295 | ' | |
296 | # Make sure the list of sources is unique. This is necessary because, | |
297 | # e.g., the same source file might be shared among _SOURCES variables | |
298 | # for different programs/libraries. | |
299 | am__define_uniq_tagged_files = \ | |
300 | list='$(am__tagged_files)'; \ | |
301 | unique=`for i in $$list; do \ | |
302 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
303 | done | $(am__uniquify_input)` | |
bae7f79e ILT |
304 | ETAGS = etags |
305 | CTAGS = ctags | |
d0ac1c44 SM |
306 | CSCOPE = cscope |
307 | am__tty_colors_dummy = \ | |
308 | mgn= red= grn= lgn= blu= brg= std=; \ | |
309 | am__color_tests=no | |
310 | am__tty_colors = { \ | |
311 | $(am__tty_colors_dummy); \ | |
312 | if test "X$(AM_COLOR_TESTS)" = Xno; then \ | |
313 | am__color_tests=no; \ | |
314 | elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ | |
315 | am__color_tests=yes; \ | |
316 | elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ | |
317 | am__color_tests=yes; \ | |
318 | fi; \ | |
319 | if test $$am__color_tests = yes; then \ | |
320 | red='\e[0;31m'; \ | |
321 | grn='\e[0;32m'; \ | |
322 | lgn='\e[1;32m'; \ | |
323 | blu='\e[1;34m'; \ | |
324 | mgn='\e[0;35m'; \ | |
325 | brg='\e[1m'; \ | |
326 | std='\e[m'; \ | |
327 | fi; \ | |
328 | } | |
6ea55b82 RW |
329 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
330 | am__vpath_adj = case $$p in \ | |
331 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
332 | *) f=$$p;; \ | |
333 | esac; | |
334 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
335 | am__install_max = 40 | |
336 | am__nobase_strip_setup = \ | |
337 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
338 | am__nobase_strip = \ | |
339 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
340 | am__nobase_list = $(am__nobase_strip_setup); \ | |
341 | for p in $$list; do echo "$$p $$p"; done | \ | |
342 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
343 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
344 | if (++n[$$2] == $(am__install_max)) \ | |
345 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
346 | END { for (dir in files) print dir, files[dir] }' | |
347 | am__base_list = \ | |
348 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
349 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
6fd8e7c2 L |
350 | am__uninstall_files_from_dir = { \ |
351 | test -z "$$files" \ | |
352 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
353 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
354 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
355 | } | |
d0ac1c44 SM |
356 | am__recheck_rx = ^[ ]*:recheck:[ ]* |
357 | am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* | |
358 | am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* | |
359 | # A command that, given a newline-separated list of test names on the | |
360 | # standard input, print the name of the tests that are to be re-run | |
361 | # upon "make recheck". | |
362 | am__list_recheck_tests = $(AWK) '{ \ | |
363 | recheck = 1; \ | |
364 | while ((rc = (getline line < ($$0 ".trs"))) != 0) \ | |
365 | { \ | |
366 | if (rc < 0) \ | |
367 | { \ | |
368 | if ((getline line2 < ($$0 ".log")) < 0) \ | |
369 | recheck = 0; \ | |
370 | break; \ | |
371 | } \ | |
372 | else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ | |
373 | { \ | |
374 | recheck = 0; \ | |
375 | break; \ | |
376 | } \ | |
377 | else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ | |
378 | { \ | |
379 | break; \ | |
380 | } \ | |
381 | }; \ | |
382 | if (recheck) \ | |
383 | print $$0; \ | |
384 | close ($$0 ".trs"); \ | |
385 | close ($$0 ".log"); \ | |
6ea55b82 | 386 | }' |
d0ac1c44 SM |
387 | # A command that, given a newline-separated list of test names on the |
388 | # standard input, create the global log from their .trs and .log files. | |
389 | am__create_global_log = $(AWK) ' \ | |
390 | function fatal(msg) \ | |
391 | { \ | |
392 | print "fatal: making $@: " msg | "cat >&2"; \ | |
393 | exit 1; \ | |
394 | } \ | |
395 | function rst_section(header) \ | |
396 | { \ | |
397 | print header; \ | |
398 | len = length(header); \ | |
399 | for (i = 1; i <= len; i = i + 1) \ | |
400 | printf "="; \ | |
401 | printf "\n\n"; \ | |
402 | } \ | |
403 | { \ | |
404 | copy_in_global_log = 1; \ | |
405 | global_test_result = "RUN"; \ | |
406 | while ((rc = (getline line < ($$0 ".trs"))) != 0) \ | |
407 | { \ | |
408 | if (rc < 0) \ | |
409 | fatal("failed to read from " $$0 ".trs"); \ | |
410 | if (line ~ /$(am__global_test_result_rx)/) \ | |
411 | { \ | |
412 | sub("$(am__global_test_result_rx)", "", line); \ | |
413 | sub("[ ]*$$", "", line); \ | |
414 | global_test_result = line; \ | |
415 | } \ | |
416 | else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ | |
417 | copy_in_global_log = 0; \ | |
418 | }; \ | |
419 | if (copy_in_global_log) \ | |
420 | { \ | |
421 | rst_section(global_test_result ": " $$0); \ | |
422 | while ((rc = (getline line < ($$0 ".log"))) != 0) \ | |
423 | { \ | |
424 | if (rc < 0) \ | |
425 | fatal("failed to read from " $$0 ".log"); \ | |
426 | print line; \ | |
427 | }; \ | |
428 | printf "\n"; \ | |
429 | }; \ | |
430 | close ($$0 ".trs"); \ | |
431 | close ($$0 ".log"); \ | |
432 | }' | |
433 | # Restructured Text title. | |
434 | am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } | |
6ea55b82 | 435 | # Solaris 10 'make', and several other traditional 'make' implementations, |
6fd8e7c2 | 436 | # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it |
6ea55b82 RW |
437 | # by disabling -e (using the XSI extension "set +e") if it's set. |
438 | am__sh_e_setup = case $$- in *e*) set +e;; esac | |
d0ac1c44 SM |
439 | # Default flags passed to test drivers. |
440 | am__common_driver_flags = \ | |
441 | --color-tests "$$am__color_tests" \ | |
442 | --enable-hard-errors "$$am__enable_hard_errors" \ | |
443 | --expect-failure "$$am__expect_failure" | |
6ea55b82 RW |
444 | # To be inserted before the command running the test. Creates the |
445 | # directory for the log if needed. Stores in $dir the directory | |
d0ac1c44 SM |
446 | # containing $f, in $tst the test, in $log the log. Executes the |
447 | # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and | |
448 | # passes TESTS_ENVIRONMENT. Set up options for the wrapper that | |
449 | # will run the test scripts (or their associated LOG_COMPILER, if | |
450 | # thy have one). | |
6ea55b82 RW |
451 | am__check_pre = \ |
452 | $(am__sh_e_setup); \ | |
453 | $(am__vpath_adj_setup) $(am__vpath_adj) \ | |
d0ac1c44 | 454 | $(am__tty_colors); \ |
6ea55b82 | 455 | srcdir=$(srcdir); export srcdir; \ |
d0ac1c44 SM |
456 | case "$@" in \ |
457 | */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ | |
458 | *) am__odir=.;; \ | |
459 | esac; \ | |
460 | test "x$$am__odir" = x"." || test -d "$$am__odir" \ | |
461 | || $(MKDIR_P) "$$am__odir" || exit $$?; \ | |
6ea55b82 RW |
462 | if test -f "./$$f"; then dir=./; \ |
463 | elif test -f "$$f"; then dir=; \ | |
464 | else dir="$(srcdir)/"; fi; \ | |
d0ac1c44 SM |
465 | tst=$$dir$$f; log='$@'; \ |
466 | if test -n '$(DISABLE_HARD_ERRORS)'; then \ | |
467 | am__enable_hard_errors=no; \ | |
468 | else \ | |
469 | am__enable_hard_errors=yes; \ | |
470 | fi; \ | |
6fd8e7c2 L |
471 | case " $(XFAIL_TESTS) " in \ |
472 | *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ | |
d0ac1c44 SM |
473 | am__expect_failure=yes;; \ |
474 | *) \ | |
475 | am__expect_failure=no;; \ | |
476 | esac; \ | |
477 | $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) | |
478 | # A shell command to get the names of the tests scripts with any registered | |
479 | # extension removed (i.e., equivalently, the names of the test logs, with | |
480 | # the '.log' extension removed). The result is saved in the shell variable | |
481 | # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, | |
482 | # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", | |
483 | # since that might cause problem with VPATH rewrites for suffix-less tests. | |
484 | # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. | |
485 | am__set_TESTS_bases = \ | |
486 | bases='$(TEST_LOGS)'; \ | |
487 | bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ | |
488 | bases=`echo $$bases` | |
6ea55b82 | 489 | RECHECK_LOGS = $(TEST_LOGS) |
6fd8e7c2 | 490 | TEST_SUITE_LOG = test-suite.log |
6ea55b82 | 491 | TEST_EXTENSIONS = @EXEEXT@ .test |
d0ac1c44 | 492 | LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver |
6ea55b82 | 493 | LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) |
d0ac1c44 SM |
494 | am__set_b = \ |
495 | case '$@' in \ | |
496 | */*) \ | |
497 | case '$*' in \ | |
498 | */*) b='$*';; \ | |
499 | *) b=`echo '$@' | sed 's/\.log$$//'`; \ | |
500 | esac;; \ | |
501 | *) \ | |
502 | b='$*';; \ | |
503 | esac | |
6ea55b82 RW |
504 | am__test_logs1 = $(TESTS:=.log) |
505 | am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) | |
506 | TEST_LOGS = $(am__test_logs2:.test.log=.log) | |
d0ac1c44 | 507 | TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver |
6ea55b82 RW |
508 | TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ |
509 | $(TEST_LOG_FLAGS) | |
bae7f79e | 510 | DIST_SUBDIRS = $(SUBDIRS) |
bae7f79e | 511 | ACLOCAL = @ACLOCAL@ |
bae7f79e | 512 | AMTAR = @AMTAR@ |
d0ac1c44 | 513 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
bae7f79e ILT |
514 | AUTOCONF = @AUTOCONF@ |
515 | AUTOHEADER = @AUTOHEADER@ | |
516 | AUTOMAKE = @AUTOMAKE@ | |
517 | AWK = @AWK@ | |
518 | CATALOGS = @CATALOGS@ | |
519 | CATOBJEXT = @CATOBJEXT@ | |
520 | CC = @CC@ | |
521 | CCDEPMODE = @CCDEPMODE@ | |
522 | CFLAGS = @CFLAGS@ | |
9a0910c3 | 523 | CPP = @CPP@ |
bae7f79e ILT |
524 | CPPFLAGS = @CPPFLAGS@ |
525 | CXX = @CXX@ | |
54dc6425 | 526 | CXXCPP = @CXXCPP@ |
bae7f79e ILT |
527 | CXXDEPMODE = @CXXDEPMODE@ |
528 | CXXFLAGS = @CXXFLAGS@ | |
529 | CYGPATH_W = @CYGPATH_W@ | |
530 | DATADIRNAME = @DATADIRNAME@ | |
9df9de2c | 531 | DEFAULT_TARGET = @DEFAULT_TARGET@ |
bae7f79e ILT |
532 | DEFS = @DEFS@ |
533 | DEPDIR = @DEPDIR@ | |
0bf402d5 | 534 | DLOPEN_LIBS = @DLOPEN_LIBS@ |
bae7f79e ILT |
535 | ECHO_C = @ECHO_C@ |
536 | ECHO_N = @ECHO_N@ | |
537 | ECHO_T = @ECHO_T@ | |
54dc6425 | 538 | EGREP = @EGREP@ |
bae7f79e ILT |
539 | EXEEXT = @EXEEXT@ |
540 | GENCAT = @GENCAT@ | |
541 | GMSGFMT = @GMSGFMT@ | |
dc87f620 ILT |
542 | GOLD_LDADD = @GOLD_LDADD@ |
543 | GOLD_LDFLAGS = @GOLD_LDFLAGS@ | |
81ecdfbb | 544 | GREP = @GREP@ |
bae7f79e | 545 | INCINTL = @INCINTL@ |
81ecdfbb | 546 | INSTALL = @INSTALL@ |
bae7f79e ILT |
547 | INSTALL_DATA = @INSTALL_DATA@ |
548 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
549 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
550 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
551 | INSTOBJEXT = @INSTOBJEXT@ | |
552 | LDFLAGS = @LDFLAGS@ | |
494e05f4 | 553 | LFS_CFLAGS = @LFS_CFLAGS@ |
bae7f79e ILT |
554 | LIBINTL = @LIBINTL@ |
555 | LIBINTL_DEP = @LIBINTL_DEP@ | |
556 | LIBOBJS = @LIBOBJS@ | |
557 | LIBS = @LIBS@ | |
537b5f51 | 558 | LN_S = @LN_S@ |
bae7f79e ILT |
559 | LTLIBOBJS = @LTLIBOBJS@ |
560 | MAINT = @MAINT@ | |
bae7f79e | 561 | MAKEINFO = @MAKEINFO@ |
2b64b551 | 562 | MERGE_CONSTANTS_FLAG = @MERGE_CONSTANTS_FLAG@ |
81ecdfbb | 563 | MKDIR_P = @MKDIR_P@ |
bae7f79e ILT |
564 | MKINSTALLDIRS = @MKINSTALLDIRS@ |
565 | MSGFMT = @MSGFMT@ | |
566 | MSGMERGE = @MSGMERGE@ | |
ebb300b2 | 567 | NM = @NM@ |
bae7f79e ILT |
568 | NO_WERROR = @NO_WERROR@ |
569 | OBJEXT = @OBJEXT@ | |
570 | PACKAGE = @PACKAGE@ | |
571 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
572 | PACKAGE_NAME = @PACKAGE_NAME@ | |
573 | PACKAGE_STRING = @PACKAGE_STRING@ | |
574 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
81ecdfbb | 575 | PACKAGE_URL = @PACKAGE_URL@ |
bae7f79e ILT |
576 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
577 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
578 | POSUB = @POSUB@ | |
c8dc28bc CC |
579 | PTHREAD_CC = @PTHREAD_CC@ |
580 | PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ | |
581 | PTHREAD_LIBS = @PTHREAD_LIBS@ | |
1d1f116d | 582 | RANDOM_SEED_CFLAGS = @RANDOM_SEED_CFLAGS@ |
5a6f7e2d | 583 | RANLIB = @RANLIB@ |
c8dc28bc | 584 | SED = @SED@ |
bae7f79e ILT |
585 | SET_MAKE = @SET_MAKE@ |
586 | SHELL = @SHELL@ | |
587 | STRIP = @STRIP@ | |
6df6da4a | 588 | TARGETOBJS = @TARGETOBJS@ |
bae7f79e ILT |
589 | USE_NLS = @USE_NLS@ |
590 | VERSION = @VERSION@ | |
591 | WARN_CFLAGS = @WARN_CFLAGS@ | |
c5da1932 | 592 | WARN_CFLAGS_FOR_BUILD = @WARN_CFLAGS_FOR_BUILD@ |
bae7f79e | 593 | WARN_CXXFLAGS = @WARN_CXXFLAGS@ |
6fd8e7c2 | 594 | WARN_WRITE_STRINGS = @WARN_WRITE_STRINGS@ |
bae7f79e | 595 | XGETTEXT = @XGETTEXT@ |
dbe717ef | 596 | YACC = @YACC@ |
81ecdfbb RW |
597 | YFLAGS = @YFLAGS@ |
598 | abs_builddir = @abs_builddir@ | |
599 | abs_srcdir = @abs_srcdir@ | |
600 | abs_top_builddir = @abs_top_builddir@ | |
601 | abs_top_srcdir = @abs_top_srcdir@ | |
bae7f79e ILT |
602 | ac_ct_CC = @ac_ct_CC@ |
603 | ac_ct_CXX = @ac_ct_CXX@ | |
bae7f79e ILT |
604 | am__include = @am__include@ |
605 | am__leading_dot = @am__leading_dot@ | |
606 | am__quote = @am__quote@ | |
607 | am__tar = @am__tar@ | |
608 | am__untar = @am__untar@ | |
c8dc28bc | 609 | ax_pthread_config = @ax_pthread_config@ |
bae7f79e ILT |
610 | bindir = @bindir@ |
611 | build = @build@ | |
612 | build_alias = @build_alias@ | |
613 | build_cpu = @build_cpu@ | |
614 | build_os = @build_os@ | |
615 | build_vendor = @build_vendor@ | |
81ecdfbb | 616 | builddir = @builddir@ |
bae7f79e | 617 | datadir = @datadir@ |
81ecdfbb RW |
618 | datarootdir = @datarootdir@ |
619 | docdir = @docdir@ | |
620 | dvidir = @dvidir@ | |
bae7f79e ILT |
621 | exec_prefix = @exec_prefix@ |
622 | host = @host@ | |
623 | host_alias = @host_alias@ | |
624 | host_cpu = @host_cpu@ | |
625 | host_os = @host_os@ | |
626 | host_vendor = @host_vendor@ | |
81ecdfbb | 627 | htmldir = @htmldir@ |
bae7f79e ILT |
628 | includedir = @includedir@ |
629 | infodir = @infodir@ | |
4fda8867 | 630 | install_as_default = @install_as_default@ |
bae7f79e | 631 | install_sh = @install_sh@ |
4fda8867 | 632 | installed_linker = @installed_linker@ |
bae7f79e ILT |
633 | libdir = @libdir@ |
634 | libexecdir = @libexecdir@ | |
81ecdfbb | 635 | localedir = @localedir@ |
bae7f79e ILT |
636 | localstatedir = @localstatedir@ |
637 | mandir = @mandir@ | |
638 | mkdir_p = @mkdir_p@ | |
639 | oldincludedir = @oldincludedir@ | |
81ecdfbb | 640 | pdfdir = @pdfdir@ |
bae7f79e ILT |
641 | prefix = @prefix@ |
642 | program_transform_name = @program_transform_name@ | |
81ecdfbb | 643 | psdir = @psdir@ |
bae7f79e ILT |
644 | sbindir = @sbindir@ |
645 | sharedstatedir = @sharedstatedir@ | |
81ecdfbb | 646 | srcdir = @srcdir@ |
bae7f79e ILT |
647 | sysconfdir = @sysconfdir@ |
648 | target = @target@ | |
649 | target_alias = @target_alias@ | |
650 | target_cpu = @target_cpu@ | |
651 | target_os = @target_os@ | |
652 | target_vendor = @target_vendor@ | |
81ecdfbb RW |
653 | top_build_prefix = @top_build_prefix@ |
654 | top_builddir = @top_builddir@ | |
655 | top_srcdir = @top_srcdir@ | |
918357b9 L |
656 | zlibdir = @zlibdir@ |
657 | zlibinc = @zlibinc@ | |
c462b41b | 658 | AUTOMAKE_OPTIONS = foreign |
5a6f7e2d | 659 | SUBDIRS = po testsuite |
bae7f79e ILT |
660 | tooldir = $(exec_prefix)/$(target_alias) |
661 | ACLOCAL_AMFLAGS = -I ../bfd -I ../config | |
918357b9 L |
662 | |
663 | # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is | |
664 | # -I../zlib, unless we were configured with --with-system-zlib, in which | |
665 | # case both are empty. | |
666 | ZLIB = @zlibdir@ -lz | |
667 | ZLIBINC = @zlibinc@ | |
c8dc28bc CC |
668 | THREADFLAGS = @PTHREAD_CFLAGS@ |
669 | THREADLIBS = @PTHREAD_LIBS@ | |
670 | AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) $(ZLIBINC) $(THREADFLAGS) | |
671 | AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) $(ZLIBINC) $(THREADFLAGS) | |
672 | AM_LDFLAGS = $(THREADFLAGS) | |
14ec8efd | 673 | AM_CPPFLAGS = \ |
bae7f79e ILT |
674 | -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \ |
675 | -DLOCALEDIR="\"$(datadir)/locale\"" \ | |
ad2d6943 | 676 | -DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \ |
3f3cddf1 | 677 | -DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@ |
bae7f79e | 678 | |
ad2d6943 | 679 | LIBIBERTY = ../libiberty/libiberty.a |
0bf402d5 | 680 | @PLUGINS_TRUE@LIBDL = @DLOPEN_LIBS@ |
4991e922 | 681 | AM_YFLAGS = -d |
a15af8e2 RW |
682 | |
683 | # Automake 1.10+ disables lex and yacc output file regeneration if | |
684 | # maintainer mode is disabled. Avoid this. | |
685 | am__skiplex = | |
686 | am__skipyacc = | |
5a6f7e2d | 687 | noinst_LIBRARIES = libgold.a |
14bfc3f5 | 688 | CCFILES = \ |
61ba1cf9 | 689 | archive.cc \ |
4f787271 | 690 | attributes.cc \ |
bc644c6c | 691 | binary.cc \ |
ead1e424 | 692 | common.cc \ |
9a0910c3 | 693 | compressed_output.cc \ |
12c0daef | 694 | copy-relocs.cc \ |
92de84a6 | 695 | cref.cc \ |
ead1e424 | 696 | defstd.cc \ |
2a00e4fb | 697 | descriptors.cc \ |
bae7f79e | 698 | dirsearch.cc \ |
dbe717ef | 699 | dynobj.cc \ |
5c2c6c95 | 700 | dwarf_reader.cc \ |
3151305a | 701 | ehframe.cc \ |
75f2446e | 702 | errors.cc \ |
e5756efb | 703 | expression.cc \ |
bae7f79e | 704 | fileread.cc \ |
6d03d481 | 705 | gc.cc \ |
c1027032 | 706 | gdb-index.cc \ |
bae7f79e ILT |
707 | gold.cc \ |
708 | gold-threads.cc \ | |
ef15dade | 709 | icf.cc \ |
0e879927 | 710 | incremental.cc \ |
4f787271 | 711 | int_encoding.cc \ |
a2fb1b05 | 712 | layout.cc \ |
7d9e3d98 | 713 | mapfile.cc \ |
b8e6aad9 | 714 | merge.cc \ |
2e702c99 | 715 | nacl.cc \ |
bae7f79e ILT |
716 | object.cc \ |
717 | options.cc \ | |
a2fb1b05 | 718 | output.cc \ |
7e1edb90 | 719 | parameters.cc \ |
89fc3421 | 720 | plugin.cc \ |
bae7f79e | 721 | readsyms.cc \ |
62b01cb5 | 722 | reduced_debug_output.cc \ |
61ba1cf9 | 723 | reloc.cc \ |
14bfc3f5 | 724 | resolve.cc \ |
494e05f4 | 725 | script-sections.cc \ |
dbe717ef | 726 | script.cc \ |
14bfc3f5 | 727 | stringpool.cc \ |
c92003e0 | 728 | symtab.cc \ |
bb04269c | 729 | target.cc \ |
14bfc3f5 | 730 | target-select.cc \ |
d675ff46 | 731 | timer.cc \ |
8486ee48 | 732 | version.cc \ |
c7912668 ILT |
733 | workqueue.cc \ |
734 | workqueue-threads.cc | |
bae7f79e ILT |
735 | |
736 | HFILES = \ | |
0d31c79d | 737 | arm-reloc-property.h \ |
9363c7c3 | 738 | aarch64-reloc-property.h \ |
61ba1cf9 | 739 | archive.h \ |
4f787271 | 740 | attributes.h \ |
bc644c6c | 741 | binary.h \ |
ead1e424 | 742 | common.h \ |
9a0910c3 | 743 | compressed_output.h \ |
12c0daef | 744 | copy-relocs.h \ |
92de84a6 | 745 | cref.h \ |
ead1e424 | 746 | defstd.h \ |
bae7f79e | 747 | dirsearch.h \ |
2a00e4fb | 748 | descriptors.h \ |
dbe717ef | 749 | dynobj.h \ |
5c2c6c95 | 750 | dwarf_reader.h \ |
3151305a | 751 | ehframe.h \ |
75f2446e | 752 | errors.h \ |
bae7f79e | 753 | fileread.h \ |
36959681 | 754 | freebsd.h \ |
6d03d481 | 755 | gc.h \ |
c1027032 | 756 | gdb-index.h \ |
bae7f79e ILT |
757 | gold.h \ |
758 | gold-threads.h \ | |
ef15dade | 759 | icf.h \ |
4f787271 | 760 | int_encoding.h \ |
a2fb1b05 | 761 | layout.h \ |
7d9e3d98 | 762 | mapfile.h \ |
b8e6aad9 | 763 | merge.h \ |
2e702c99 | 764 | nacl.h \ |
bae7f79e ILT |
765 | object.h \ |
766 | options.h \ | |
a2fb1b05 | 767 | output.h \ |
7e1edb90 | 768 | parameters.h \ |
89fc3421 | 769 | plugin.h \ |
bae7f79e | 770 | readsyms.h \ |
62b01cb5 | 771 | reduced_debug_output.h \ |
61ba1cf9 | 772 | reloc.h \ |
c06b7b0b | 773 | reloc-types.h \ |
c06b7b0b | 774 | script-c.h \ |
494e05f4 ILT |
775 | script-sections.h \ |
776 | script.h \ | |
14bfc3f5 | 777 | stringpool.h \ |
bae7f79e ILT |
778 | symtab.h \ |
779 | target.h \ | |
61ba1cf9 | 780 | target-reloc.h \ |
14bfc3f5 | 781 | target-select.h \ |
d675ff46 | 782 | timer.h \ |
af6359d5 | 783 | tls.h \ |
17a1d0a9 | 784 | token.h \ |
c7912668 ILT |
785 | workqueue.h \ |
786 | workqueue-internal.h | |
bae7f79e | 787 | |
dbe717ef ILT |
788 | YFILES = \ |
789 | yyscript.y | |
790 | ||
9363c7c3 | 791 | DEFFILES = arm-reloc.def aarch64-reloc.def |
dbe717ef | 792 | EXTRA_DIST = yyscript.c yyscript.h |
6df6da4a | 793 | TARGETSOURCES = \ |
9810d34d | 794 | i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc arm-reloc-property.cc tilegx.cc \ |
e79a4bad | 795 | mips.cc aarch64.cc aarch64-reloc-property.cc s390.cc |
6df6da4a ILT |
796 | |
797 | ALL_TARGETOBJS = \ | |
4a657b0d | 798 | i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \ |
053a4d68 | 799 | arm.$(OBJEXT) arm-reloc-property.$(OBJEXT) tilegx.$(OBJEXT) \ |
e79a4bad MK |
800 | mips.$(OBJEXT) aarch64.$(OBJEXT) aarch64-reloc-property.$(OBJEXT) \ |
801 | s390.$(OBJEXT) | |
6df6da4a | 802 | |
0d31c79d | 803 | libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) $(DEFFILES) |
3d857b98 | 804 | libgold_a_LIBADD = $(LIBOBJS) |
6df6da4a | 805 | sources_var = main.cc |
ad2d6943 | 806 | deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP) |
dc87f620 | 807 | ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) \ |
c8dc28bc | 808 | $(THREADLIBS) $(LIBDL) $(ZLIB) |
89fc3421 | 809 | |
dc87f620 | 810 | ldflags_var = $(GOLD_LDFLAGS) |
537b5f51 | 811 | ld_new_SOURCES = $(sources_var) |
3d857b98 DK |
812 | ld_new_DEPENDENCIES = $(deps_var) |
813 | ld_new_LDADD = $(ldadd_var) | |
dc87f620 | 814 | ld_new_LDFLAGS = $(ldflags_var) |
6df6da4a | 815 | EXTRA_ld_new_SOURCES = $(TARGETSOURCES) |
e2b8f3c4 | 816 | incremental_dump_SOURCES = incremental-dump.cc |
d56962d3 DK |
817 | incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \ |
818 | $(LIBINTL_DEP) | |
819 | ||
820 | incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \ | |
c8dc28bc | 821 | $(THREADLIBS) $(LIBDL) $(ZLIB) |
3b0dd6ac | 822 | |
77429909 CC |
823 | dwp_SOURCES = dwp.cc |
824 | dwp_DEPENDENCIES = libgold.a $(LIBIBERTY) $(LIBINTL_DEP) | |
c8dc28bc | 825 | dwp_LDADD = libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) $(THREADLIBS) \ |
918357b9 | 826 | $(LIBDL) $(ZLIB) |
77429909 CC |
827 | |
828 | dwp_LDFLAGS = $(GOLD_LDFLAGS) | |
270c9937 | 829 | CONFIG_STATUS_DEPENDENCIES = $(srcdir)/../bfd/development.sh |
6df6da4a | 830 | POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES) |
537b5f51 | 831 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var) |
5acaada7 | 832 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld |
537b5f51 | 833 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var) |
5acaada7 AM |
834 | @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc1 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir1\/\2/' |
835 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LINK = `echo $(CXXLD) | sed $(editcc1)`\ | |
836 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) $(LDFLAGS) -o $@ | |
837 | ||
537b5f51 | 838 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var) |
5acaada7 | 839 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld gcctestdir2/collect-ld |
537b5f51 | 840 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var) |
5acaada7 AM |
841 | @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc2 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2\/\2/' |
842 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LINK = `echo $(CXXLD) | sed $(editcc2)`\ | |
843 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) $(LDFLAGS) -o $@ | |
844 | ||
755ab8af | 845 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var) |
5acaada7 | 846 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld |
755ab8af | 847 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var) |
5acaada7 AM |
848 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LINK = `echo $(CXXLD) | sed $(editcc1)`\ |
849 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ | |
850 | ||
755ab8af | 851 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var) |
5acaada7 | 852 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld gcctestdir2-r/collect-ld |
755ab8af | 853 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var) |
5acaada7 AM |
854 | @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc2r = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2-r\/\2/' |
855 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LINK = `echo $(CXXLD) | sed $(editcc2r)`\ | |
856 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ | |
857 | ||
e7c5ea40 CC |
858 | @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r \ |
859 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \ | |
860 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_6) | |
396ce998 AM |
861 | @GCC_TRUE@@NATIVE_LINKER_TRUE@MOSTLYCLEANFILES = bootstrap-test \ |
862 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-r \ | |
863 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \ | |
864 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_7) | |
e7c5ea40 | 865 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_SOURCES = $(sources_var) |
5acaada7 | 866 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_DEPENDENCIES = $(deps_var) gcctestdir3/ld gcctestdir3/collect-ld |
e7c5ea40 | 867 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDADD = $(ldadd_var) |
5acaada7 AM |
868 | @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc3 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir3\/\2/' |
869 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LINK = `echo $(CXXLD) | sed $(editcc3)`\ | |
870 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld3_LDFLAGS) $(LDFLAGS) -o $@ | |
871 | ||
872 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_SOURCES = $(sources_var) | |
873 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_DEPENDENCIES = $(deps_var) gcctestdir4/ld gcctestdir4/collect-ld | |
874 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDADD = $(ldadd_var) | |
875 | @GCC_TRUE@@NATIVE_LINKER_TRUE@editcc4 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir4\/\2/' | |
876 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LINK = `echo $(CXXLD) | sed $(editcc4)`\ | |
877 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld4_LDFLAGS) $(LDFLAGS) -o $@ | |
878 | ||
879 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Wl,--build-id=tree \ | |
880 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \ | |
881 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ | |
882 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_1) | |
883 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Wl,--build-id=tree \ | |
884 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \ | |
885 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ | |
886 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_2) | |
887 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDFLAGS = -Wl,--build-id=tree \ | |
e7c5ea40 CC |
888 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \ |
889 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ | |
890 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_3) | |
5acaada7 | 891 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDFLAGS = -Wl,--build-id=tree \ |
e7c5ea40 CC |
892 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12346 \ |
893 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ | |
894 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_4) | |
bae7f79e ILT |
895 | all: config.h |
896 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |
897 | ||
898 | .SUFFIXES: | |
d0ac1c44 | 899 | .SUFFIXES: .c .cc .log .o .obj .test .test$(EXEEXT) .trs .y |
6fd8e7c2 | 900 | am--refresh: Makefile |
bae7f79e ILT |
901 | @: |
902 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) | |
903 | @for dep in $?; do \ | |
904 | case '$(am__configure_deps)' in \ | |
905 | *$$dep*) \ | |
81ecdfbb RW |
906 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
907 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | |
bae7f79e ILT |
908 | && exit 0; \ |
909 | exit 1;; \ | |
910 | esac; \ | |
911 | done; \ | |
81ecdfbb RW |
912 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
913 | $(am__cd) $(top_srcdir) && \ | |
914 | $(AUTOMAKE) --foreign Makefile | |
bae7f79e ILT |
915 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
916 | @case '$?' in \ | |
917 | *config.status*) \ | |
918 | echo ' $(SHELL) ./config.status'; \ | |
919 | $(SHELL) ./config.status;; \ | |
920 | *) \ | |
921 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
922 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
923 | esac; | |
924 | ||
925 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
926 | $(SHELL) ./config.status --recheck | |
927 | ||
928 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
81ecdfbb | 929 | $(am__cd) $(srcdir) && $(AUTOCONF) |
bae7f79e | 930 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
81ecdfbb RW |
931 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
932 | $(am__aclocal_m4_deps): | |
bae7f79e ILT |
933 | |
934 | config.h: stamp-h1 | |
d0ac1c44 SM |
935 | @test -f $@ || rm -f stamp-h1 |
936 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 | |
bae7f79e ILT |
937 | |
938 | stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status | |
939 | @rm -f stamp-h1 | |
940 | cd $(top_builddir) && $(SHELL) ./config.status config.h | |
941 | $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
81ecdfbb | 942 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
bae7f79e ILT |
943 | rm -f stamp-h1 |
944 | touch $@ | |
945 | ||
946 | distclean-hdr: | |
947 | -rm -f config.h stamp-h1 | |
948 | po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in | |
949 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
950 | ||
5a6f7e2d ILT |
951 | clean-noinstLIBRARIES: |
952 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) | |
dbe717ef | 953 | yyscript.h: yyscript.c |
6fd8e7c2 L |
954 | @if test ! -f $@; then rm -f yyscript.c; else :; fi |
955 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) yyscript.c; else :; fi | |
d0ac1c44 | 956 | |
6fd8e7c2 | 957 | libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES) $(EXTRA_libgold_a_DEPENDENCIES) |
d0ac1c44 SM |
958 | $(AM_V_at)-rm -f libgold.a |
959 | $(AM_V_AR)$(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD) | |
960 | $(AM_V_at)$(RANLIB) libgold.a | |
77429909 CC |
961 | install-binPROGRAMS: $(bin_PROGRAMS) |
962 | @$(NORMAL_INSTALL) | |
77429909 | 963 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
6fd8e7c2 L |
964 | if test -n "$$list"; then \ |
965 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | |
966 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | |
967 | fi; \ | |
77429909 CC |
968 | for p in $$list; do echo "$$p $$p"; done | \ |
969 | sed 's/$(EXEEXT)$$//' | \ | |
d0ac1c44 SM |
970 | while read p p1; do if test -f $$p \ |
971 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | |
77429909 | 972 | done | \ |
d0ac1c44 SM |
973 | sed -e 'p;s,.*/,,;n;h' \ |
974 | -e 's|.*|.|' \ | |
77429909 CC |
975 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
976 | sed 'N;N;N;s,\n, ,g' | \ | |
977 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
978 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
979 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
980 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
981 | END { for (d in files) print "f", d, files[d] }' | \ | |
982 | while read type dir files; do \ | |
983 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
984 | test -z "$$files" || { \ | |
985 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | |
986 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | |
987 | } \ | |
988 | ; done | |
989 | ||
990 | uninstall-binPROGRAMS: | |
991 | @$(NORMAL_UNINSTALL) | |
992 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
993 | files=`for p in $$list; do echo "$$p"; done | \ | |
994 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
d0ac1c44 SM |
995 | -e 's/$$/$(EXEEXT)/' \ |
996 | `; \ | |
77429909 CC |
997 | test -n "$$list" || exit 0; \ |
998 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | |
999 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | |
1000 | ||
1001 | clean-binPROGRAMS: | |
1002 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) | |
5a6f7e2d | 1003 | |
537b5f51 ILT |
1004 | clean-checkPROGRAMS: |
1005 | -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) | |
1006 | ||
5a6f7e2d ILT |
1007 | clean-noinstPROGRAMS: |
1008 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) | |
d0ac1c44 | 1009 | |
6fd8e7c2 | 1010 | dwp$(EXEEXT): $(dwp_OBJECTS) $(dwp_DEPENDENCIES) $(EXTRA_dwp_DEPENDENCIES) |
77429909 | 1011 | @rm -f dwp$(EXEEXT) |
d0ac1c44 SM |
1012 | $(AM_V_CXXLD)$(dwp_LINK) $(dwp_OBJECTS) $(dwp_LDADD) $(LIBS) |
1013 | ||
6fd8e7c2 | 1014 | incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES) $(EXTRA_incremental_dump_DEPENDENCIES) |
e2b8f3c4 | 1015 | @rm -f incremental-dump$(EXEEXT) |
d0ac1c44 SM |
1016 | $(AM_V_CXXLD)$(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS) |
1017 | ||
6fd8e7c2 | 1018 | ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) $(EXTRA_ld_new_DEPENDENCIES) |
bae7f79e | 1019 | @rm -f ld-new$(EXEEXT) |
d0ac1c44 SM |
1020 | $(AM_V_CXXLD)$(ld_new_LINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS) |
1021 | ||
6fd8e7c2 | 1022 | ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES) $(EXTRA_ld1_DEPENDENCIES) |
537b5f51 | 1023 | @rm -f ld1$(EXEEXT) |
5acaada7 | 1024 | $(AM_V_GEN)$(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS) |
d0ac1c44 | 1025 | |
6fd8e7c2 | 1026 | ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES) $(EXTRA_ld1_r_DEPENDENCIES) |
755ab8af | 1027 | @rm -f ld1-r$(EXEEXT) |
5acaada7 | 1028 | $(AM_V_GEN)$(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS) |
d0ac1c44 | 1029 | |
6fd8e7c2 | 1030 | ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES) $(EXTRA_ld2_DEPENDENCIES) |
537b5f51 | 1031 | @rm -f ld2$(EXEEXT) |
5acaada7 | 1032 | $(AM_V_GEN)$(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS) |
d0ac1c44 | 1033 | |
6fd8e7c2 | 1034 | ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES) $(EXTRA_ld2_r_DEPENDENCIES) |
755ab8af | 1035 | @rm -f ld2-r$(EXEEXT) |
5acaada7 | 1036 | $(AM_V_GEN)$(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS) |
d0ac1c44 | 1037 | |
6fd8e7c2 | 1038 | ld3$(EXEEXT): $(ld3_OBJECTS) $(ld3_DEPENDENCIES) $(EXTRA_ld3_DEPENDENCIES) |
e7c5ea40 | 1039 | @rm -f ld3$(EXEEXT) |
5acaada7 | 1040 | $(AM_V_GEN)$(ld3_LINK) $(ld3_OBJECTS) $(ld3_LDADD) $(LIBS) |
d0ac1c44 | 1041 | |
6fd8e7c2 | 1042 | ld4$(EXEEXT): $(ld4_OBJECTS) $(ld4_DEPENDENCIES) $(EXTRA_ld4_DEPENDENCIES) |
e7c5ea40 | 1043 | @rm -f ld4$(EXEEXT) |
5acaada7 | 1044 | $(AM_V_GEN)$(ld4_LINK) $(ld4_OBJECTS) $(ld4_LDADD) $(LIBS) |
bae7f79e ILT |
1045 | |
1046 | mostlyclean-compile: | |
1047 | -rm -f *.$(OBJEXT) | |
1048 | ||
1049 | distclean-compile: | |
1050 | -rm -f *.tab.c | |
1051 | ||
fd03461a | 1052 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@ |
9201d894 | 1053 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@ |
2f35ab9b | 1054 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@ |
82dcae9d | 1055 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@ |
6d610fa7 | 1056 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64-reloc-property.Po@am__quote@ |
053a4d68 | 1057 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64.Po@am__quote@ |
61ba1cf9 | 1058 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@ |
0d31c79d | 1059 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm-reloc-property.Po@am__quote@ |
bb04269c | 1060 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@ |
4f787271 | 1061 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@ |
bc644c6c | 1062 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@ |
ead1e424 | 1063 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@ |
9a0910c3 | 1064 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@ |
12c0daef | 1065 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@ |
92de84a6 | 1066 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@ |
ead1e424 | 1067 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@ |
2a00e4fb | 1068 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@ |
bae7f79e | 1069 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@ |
5c2c6c95 | 1070 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@ |
77429909 | 1071 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwp.Po@am__quote@ |
dbe717ef | 1072 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@ |
3151305a | 1073 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@ |
75f2446e | 1074 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@ |
e5756efb | 1075 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@ |
bae7f79e | 1076 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@ |
401a9a73 | 1077 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@ |
c1027032 | 1078 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-index.Po@am__quote@ |
bae7f79e ILT |
1079 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@ |
1080 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@ | |
14bfc3f5 | 1081 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@ |
ef15dade | 1082 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@ |
e2b8f3c4 | 1083 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@ |
0e879927 | 1084 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@ |
4f787271 | 1085 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@ |
a2fb1b05 | 1086 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@ |
5a6f7e2d | 1087 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ |
7d9e3d98 | 1088 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@ |
b8e6aad9 | 1089 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@ |
9810d34d | 1090 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mips.Po@am__quote@ |
2e702c99 | 1091 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nacl.Po@am__quote@ |
bae7f79e ILT |
1092 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@ |
1093 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@ | |
a2fb1b05 | 1094 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@ |
7e1edb90 | 1095 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@ |
89fc3421 | 1096 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@ |
42cacb20 | 1097 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@ |
bae7f79e | 1098 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@ |
62b01cb5 | 1099 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@ |
61ba1cf9 | 1100 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@ |
14bfc3f5 | 1101 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@ |
e79a4bad | 1102 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s390.Po@am__quote@ |
494e05f4 | 1103 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@ |
dbe717ef | 1104 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@ |
f5314dd5 | 1105 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@ |
14bfc3f5 ILT |
1106 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@ |
1107 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@ | |
1108 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@ | |
bb04269c | 1109 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@ |
77429909 | 1110 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilegx.Po@am__quote@ |
d675ff46 | 1111 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@ |
8486ee48 | 1112 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ |
c7912668 | 1113 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@ |
bae7f79e | 1114 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@ |
2e30d253 | 1115 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@ |
dbe717ef ILT |
1116 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@ |
1117 | ||
1118 | .c.o: | |
d0ac1c44 SM |
1119 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1120 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
1121 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
dbe717ef | 1122 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
d0ac1c44 | 1123 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< |
dbe717ef ILT |
1124 | |
1125 | .c.obj: | |
d0ac1c44 SM |
1126 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
1127 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
1128 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
dbe717ef | 1129 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
d0ac1c44 | 1130 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
bae7f79e ILT |
1131 | |
1132 | .cc.o: | |
d0ac1c44 SM |
1133 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
1134 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
1135 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
bae7f79e | 1136 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
d0ac1c44 | 1137 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< |
bae7f79e ILT |
1138 | |
1139 | .cc.obj: | |
d0ac1c44 SM |
1140 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
1141 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
1142 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
bae7f79e | 1143 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
d0ac1c44 | 1144 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
dbe717ef ILT |
1145 | |
1146 | .y.c: | |
d0ac1c44 | 1147 | $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE) |
bae7f79e ILT |
1148 | |
1149 | # This directory's subdirectories are mostly independent; you can cd | |
d0ac1c44 SM |
1150 | # into them and run 'make' without going through this Makefile. |
1151 | # To change the values of 'make' variables: instead of editing Makefiles, | |
1152 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
1153 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
1154 | # (2) otherwise, pass the desired values on the 'make' command line. | |
1155 | $(am__recursive_targets): | |
1156 | @fail=; \ | |
1157 | if $(am__make_keepgoing); then \ | |
1158 | failcom='fail=yes'; \ | |
1159 | else \ | |
1160 | failcom='exit 1'; \ | |
1161 | fi; \ | |
bae7f79e ILT |
1162 | dot_seen=no; \ |
1163 | target=`echo $@ | sed s/-recursive//`; \ | |
d0ac1c44 SM |
1164 | case "$@" in \ |
1165 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | |
1166 | *) list='$(SUBDIRS)' ;; \ | |
1167 | esac; \ | |
1168 | for subdir in $$list; do \ | |
bae7f79e ILT |
1169 | echo "Making $$target in $$subdir"; \ |
1170 | if test "$$subdir" = "."; then \ | |
1171 | dot_seen=yes; \ | |
1172 | local_target="$$target-am"; \ | |
1173 | else \ | |
1174 | local_target="$$target"; \ | |
1175 | fi; \ | |
81ecdfbb | 1176 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
bae7f79e ILT |
1177 | || eval $$failcom; \ |
1178 | done; \ | |
1179 | if test "$$dot_seen" = "no"; then \ | |
1180 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
1181 | fi; test -z "$$fail" | |
1182 | ||
d0ac1c44 SM |
1183 | ID: $(am__tagged_files) |
1184 | $(am__define_uniq_tagged_files); mkid -fID $$unique | |
1185 | tags: tags-recursive | |
1186 | TAGS: tags | |
bae7f79e | 1187 | |
d0ac1c44 | 1188 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
81ecdfbb | 1189 | set x; \ |
bae7f79e ILT |
1190 | here=`pwd`; \ |
1191 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | |
1192 | include_option=--etags-include; \ | |
1193 | empty_fix=.; \ | |
1194 | else \ | |
1195 | include_option=--include; \ | |
1196 | empty_fix=; \ | |
1197 | fi; \ | |
1198 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
1199 | if test "$$subdir" = .; then :; else \ | |
1200 | test ! -f $$subdir/TAGS || \ | |
81ecdfbb | 1201 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
bae7f79e ILT |
1202 | fi; \ |
1203 | done; \ | |
d0ac1c44 | 1204 | $(am__define_uniq_tagged_files); \ |
81ecdfbb RW |
1205 | shift; \ |
1206 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
bae7f79e | 1207 | test -n "$$unique" || unique=$$empty_fix; \ |
81ecdfbb RW |
1208 | if test $$# -gt 0; then \ |
1209 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
1210 | "$$@" $$unique; \ | |
1211 | else \ | |
1212 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
1213 | $$unique; \ | |
1214 | fi; \ | |
bae7f79e | 1215 | fi |
d0ac1c44 SM |
1216 | ctags: ctags-recursive |
1217 | ||
1218 | CTAGS: ctags | |
1219 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |
1220 | $(am__define_uniq_tagged_files); \ | |
81ecdfbb | 1221 | test -z "$(CTAGS_ARGS)$$unique" \ |
bae7f79e | 1222 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
81ecdfbb | 1223 | $$unique |
bae7f79e ILT |
1224 | |
1225 | GTAGS: | |
1226 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
81ecdfbb RW |
1227 | && $(am__cd) $(top_srcdir) \ |
1228 | && gtags -i $(GTAGS_ARGS) "$$here" | |
d0ac1c44 SM |
1229 | cscope: cscope.files |
1230 | test ! -s cscope.files \ | |
1231 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
1232 | clean-cscope: | |
1233 | -rm -f cscope.files | |
1234 | cscope.files: clean-cscope cscopelist | |
1235 | cscopelist: cscopelist-recursive | |
1236 | ||
1237 | cscopelist-am: $(am__tagged_files) | |
1238 | list='$(am__tagged_files)'; \ | |
1239 | case "$(srcdir)" in \ | |
1240 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
1241 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
1242 | esac; \ | |
1243 | for i in $$list; do \ | |
1244 | if test -f "$$i"; then \ | |
1245 | echo "$(subdir)/$$i"; \ | |
1246 | else \ | |
1247 | echo "$$sdir/$$i"; \ | |
1248 | fi; \ | |
1249 | done >> $(top_builddir)/cscope.files | |
bae7f79e ILT |
1250 | |
1251 | distclean-tags: | |
1252 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
d0ac1c44 SM |
1253 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
1254 | ||
1255 | # Recover from deleted '.trs' file; this should ensure that | |
1256 | # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create | |
1257 | # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells | |
1258 | # to avoid problems with "make -n". | |
1259 | .log.trs: | |
1260 | rm -f $< $@ | |
1261 | $(MAKE) $(AM_MAKEFLAGS) $< | |
1262 | ||
1263 | # Leading 'am--fnord' is there to ensure the list of targets does not | |
1264 | # expand to empty, as could happen e.g. with make check TESTS=''. | |
1265 | am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) | |
1266 | am--force-recheck: | |
1267 | @: | |
bae7f79e | 1268 | |
6ea55b82 | 1269 | $(TEST_SUITE_LOG): $(TEST_LOGS) |
d0ac1c44 SM |
1270 | @$(am__set_TESTS_bases); \ |
1271 | am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ | |
1272 | redo_bases=`for i in $$bases; do \ | |
1273 | am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ | |
1274 | done`; \ | |
1275 | if test -n "$$redo_bases"; then \ | |
1276 | redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ | |
1277 | redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ | |
1278 | if $(am__make_dryrun); then :; else \ | |
1279 | rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ | |
1280 | fi; \ | |
1281 | fi; \ | |
1282 | if test -n "$$am__remaking_logs"; then \ | |
1283 | echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ | |
1284 | "recursion detected" >&2; \ | |
1285 | elif test -n "$$redo_logs"; then \ | |
1286 | am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ | |
1287 | fi; \ | |
1288 | if $(am__make_dryrun); then :; else \ | |
1289 | st=0; \ | |
1290 | errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ | |
1291 | for i in $$redo_bases; do \ | |
1292 | test -f $$i.trs && test -r $$i.trs \ | |
1293 | || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ | |
1294 | test -f $$i.log && test -r $$i.log \ | |
1295 | || { echo "$$errmsg $$i.log" >&2; st=1; }; \ | |
1296 | done; \ | |
1297 | test $$st -eq 0 || exit 1; \ | |
1298 | fi | |
1299 | @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ | |
1300 | ws='[ ]'; \ | |
1301 | results=`for b in $$bases; do echo $$b.trs; done`; \ | |
1302 | test -n "$$results" || results=/dev/null; \ | |
1303 | all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ | |
1304 | pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ | |
1305 | fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ | |
1306 | skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ | |
1307 | xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ | |
1308 | xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ | |
1309 | error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ | |
1310 | if test `expr $$fail + $$xpass + $$error` -eq 0; then \ | |
1311 | success=true; \ | |
1312 | else \ | |
1313 | success=false; \ | |
1314 | fi; \ | |
1315 | br='==================='; br=$$br$$br$$br$$br; \ | |
1316 | result_count () \ | |
1317 | { \ | |
1318 | if test x"$$1" = x"--maybe-color"; then \ | |
1319 | maybe_colorize=yes; \ | |
1320 | elif test x"$$1" = x"--no-color"; then \ | |
1321 | maybe_colorize=no; \ | |
1322 | else \ | |
1323 | echo "$@: invalid 'result_count' usage" >&2; exit 4; \ | |
1324 | fi; \ | |
1325 | shift; \ | |
1326 | desc=$$1 count=$$2; \ | |
1327 | if test $$maybe_colorize = yes && test $$count -gt 0; then \ | |
1328 | color_start=$$3 color_end=$$std; \ | |
1329 | else \ | |
1330 | color_start= color_end=; \ | |
1331 | fi; \ | |
1332 | echo "$${color_start}# $$desc $$count$${color_end}"; \ | |
1333 | }; \ | |
1334 | create_testsuite_report () \ | |
1335 | { \ | |
1336 | result_count $$1 "TOTAL:" $$all "$$brg"; \ | |
1337 | result_count $$1 "PASS: " $$pass "$$grn"; \ | |
1338 | result_count $$1 "SKIP: " $$skip "$$blu"; \ | |
1339 | result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ | |
1340 | result_count $$1 "FAIL: " $$fail "$$red"; \ | |
1341 | result_count $$1 "XPASS:" $$xpass "$$red"; \ | |
1342 | result_count $$1 "ERROR:" $$error "$$mgn"; \ | |
1343 | }; \ | |
6ea55b82 RW |
1344 | { \ |
1345 | echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ | |
1346 | $(am__rst_title); \ | |
d0ac1c44 | 1347 | create_testsuite_report --no-color; \ |
6ea55b82 RW |
1348 | echo; \ |
1349 | echo ".. contents:: :depth: 2"; \ | |
1350 | echo; \ | |
d0ac1c44 SM |
1351 | for b in $$bases; do echo $$b; done \ |
1352 | | $(am__create_global_log); \ | |
1353 | } >$(TEST_SUITE_LOG).tmp || exit 1; \ | |
6ea55b82 | 1354 | mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ |
d0ac1c44 | 1355 | if $$success; then \ |
6fd8e7c2 | 1356 | col="$$grn"; \ |
6ea55b82 | 1357 | else \ |
6fd8e7c2 | 1358 | col="$$red"; \ |
d0ac1c44 | 1359 | test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ |
6ea55b82 | 1360 | fi; \ |
d0ac1c44 SM |
1361 | echo "$${col}$$br$${std}"; \ |
1362 | echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ | |
1363 | echo "$${col}$$br$${std}"; \ | |
1364 | create_testsuite_report --maybe-color; \ | |
1365 | echo "$$col$$br$$std"; \ | |
1366 | if $$success; then :; else \ | |
1367 | echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ | |
1368 | if test -n "$(PACKAGE_BUGREPORT)"; then \ | |
1369 | echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ | |
6ea55b82 | 1370 | fi; \ |
d0ac1c44 | 1371 | echo "$$col$$br$$std"; \ |
6ea55b82 | 1372 | fi; \ |
d0ac1c44 SM |
1373 | $$success || exit 1 |
1374 | ||
1375 | check-TESTS: | |
1376 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list | |
1377 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list | |
1378 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | |
1379 | @set +e; $(am__set_TESTS_bases); \ | |
1380 | log_list=`for i in $$bases; do echo $$i.log; done`; \ | |
1381 | trs_list=`for i in $$bases; do echo $$i.trs; done`; \ | |
1382 | log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ | |
1383 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ | |
1384 | exit $$?; | |
1385 | recheck: all $(check_PROGRAMS) | |
1386 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | |
1387 | @set +e; $(am__set_TESTS_bases); \ | |
1388 | bases=`for i in $$bases; do echo $$i; done \ | |
1389 | | $(am__list_recheck_tests)` || exit 1; \ | |
1390 | log_list=`for i in $$bases; do echo $$i.log; done`; \ | |
1391 | log_list=`echo $$log_list`; \ | |
1392 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ | |
1393 | am__force_recheck=am--force-recheck \ | |
1394 | TEST_LOGS="$$log_list"; \ | |
1395 | exit $$? | |
6ea55b82 | 1396 | bootstrap-test.log: bootstrap-test |
d0ac1c44 SM |
1397 | @p='bootstrap-test'; \ |
1398 | b='bootstrap-test'; \ | |
1399 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1400 | --log-file $$b.log --trs-file $$b.trs \ | |
1401 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1402 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
6ea55b82 | 1403 | bootstrap-test-r.log: bootstrap-test-r |
d0ac1c44 SM |
1404 | @p='bootstrap-test-r'; \ |
1405 | b='bootstrap-test-r'; \ | |
1406 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1407 | --log-file $$b.log --trs-file $$b.trs \ | |
1408 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1409 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
e7c5ea40 | 1410 | bootstrap-test-treehash-chunksize.log: bootstrap-test-treehash-chunksize |
d0ac1c44 SM |
1411 | @p='bootstrap-test-treehash-chunksize'; \ |
1412 | b='bootstrap-test-treehash-chunksize'; \ | |
1413 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |
1414 | --log-file $$b.log --trs-file $$b.trs \ | |
1415 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |
1416 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
6ea55b82 | 1417 | .test.log: |
d0ac1c44 SM |
1418 | @p='$<'; \ |
1419 | $(am__set_b); \ | |
1420 | $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | |
1421 | --log-file $$b.log --trs-file $$b.trs \ | |
1422 | $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ | |
1423 | "$$tst" $(AM_TESTS_FD_REDIRECT) | |
6ea55b82 | 1424 | @am__EXEEXT_TRUE@.test$(EXEEXT).log: |
d0ac1c44 SM |
1425 | @am__EXEEXT_TRUE@ @p='$<'; \ |
1426 | @am__EXEEXT_TRUE@ $(am__set_b); \ | |
1427 | @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | |
1428 | @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ | |
1429 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ | |
1430 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) | |
bae7f79e | 1431 | check-am: all-am |
537b5f51 ILT |
1432 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) |
1433 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS | |
bae7f79e | 1434 | check: check-recursive |
5a6f7e2d | 1435 | all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h |
bae7f79e ILT |
1436 | installdirs: installdirs-recursive |
1437 | installdirs-am: | |
77429909 CC |
1438 | for dir in "$(DESTDIR)$(bindir)"; do \ |
1439 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
1440 | done | |
bae7f79e ILT |
1441 | install: install-recursive |
1442 | install-exec: install-exec-recursive | |
1443 | install-data: install-data-recursive | |
1444 | uninstall: uninstall-recursive | |
1445 | ||
1446 | install-am: all-am | |
1447 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
1448 | ||
1449 | installcheck: installcheck-recursive | |
1450 | install-strip: | |
6fd8e7c2 L |
1451 | if test -z '$(STRIP)'; then \ |
1452 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
1453 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
1454 | install; \ | |
1455 | else \ | |
1456 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
1457 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
1458 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
1459 | fi | |
bae7f79e | 1460 | mostlyclean-generic: |
396ce998 | 1461 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
6ea55b82 | 1462 | -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) |
d0ac1c44 | 1463 | -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) |
6ea55b82 | 1464 | -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
bae7f79e ILT |
1465 | |
1466 | clean-generic: | |
1467 | ||
1468 | distclean-generic: | |
1469 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
81ecdfbb | 1470 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
bae7f79e ILT |
1471 | |
1472 | maintainer-clean-generic: | |
1473 | @echo "This command is intended for maintainers to use" | |
1474 | @echo "it deletes files that may require special tools to rebuild." | |
dbe717ef ILT |
1475 | -rm -f yyscript.c |
1476 | -rm -f yyscript.h | |
bae7f79e ILT |
1477 | clean: clean-recursive |
1478 | ||
77429909 CC |
1479 | clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ |
1480 | clean-noinstLIBRARIES clean-noinstPROGRAMS mostlyclean-am | |
bae7f79e ILT |
1481 | |
1482 | distclean: distclean-recursive | |
1483 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |
82dcae9d | 1484 | -rm -rf $(DEPDIR) ./$(DEPDIR) |
bae7f79e ILT |
1485 | -rm -f Makefile |
1486 | distclean-am: clean-am distclean-compile distclean-generic \ | |
1487 | distclean-hdr distclean-tags | |
1488 | ||
1489 | dvi: dvi-recursive | |
1490 | ||
1491 | dvi-am: | |
1492 | ||
1493 | html: html-recursive | |
1494 | ||
81ecdfbb RW |
1495 | html-am: |
1496 | ||
bae7f79e ILT |
1497 | info: info-recursive |
1498 | ||
1499 | info-am: | |
1500 | ||
1501 | install-data-am: install-data-local | |
1502 | ||
81ecdfbb RW |
1503 | install-dvi: install-dvi-recursive |
1504 | ||
1505 | install-dvi-am: | |
1506 | ||
77429909 | 1507 | install-exec-am: install-binPROGRAMS install-exec-local |
bae7f79e | 1508 | |
81ecdfbb RW |
1509 | install-html: install-html-recursive |
1510 | ||
1511 | install-html-am: | |
1512 | ||
bae7f79e ILT |
1513 | install-info: install-info-recursive |
1514 | ||
81ecdfbb RW |
1515 | install-info-am: |
1516 | ||
bae7f79e ILT |
1517 | install-man: |
1518 | ||
81ecdfbb RW |
1519 | install-pdf: install-pdf-recursive |
1520 | ||
1521 | install-pdf-am: | |
1522 | ||
1523 | install-ps: install-ps-recursive | |
1524 | ||
1525 | install-ps-am: | |
1526 | ||
bae7f79e ILT |
1527 | installcheck-am: |
1528 | ||
1529 | maintainer-clean: maintainer-clean-recursive | |
1530 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |
1531 | -rm -rf $(top_srcdir)/autom4te.cache | |
82dcae9d | 1532 | -rm -rf $(DEPDIR) ./$(DEPDIR) |
bae7f79e ILT |
1533 | -rm -f Makefile |
1534 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
1535 | ||
1536 | mostlyclean: mostlyclean-recursive | |
1537 | ||
d0ac1c44 | 1538 | mostlyclean-am: mostlyclean-compile mostlyclean-generic |
bae7f79e ILT |
1539 | |
1540 | pdf: pdf-recursive | |
1541 | ||
1542 | pdf-am: | |
1543 | ||
1544 | ps: ps-recursive | |
1545 | ||
1546 | ps-am: | |
1547 | ||
77429909 | 1548 | uninstall-am: uninstall-binPROGRAMS |
81ecdfbb | 1549 | |
d0ac1c44 SM |
1550 | .MAKE: $(am__recursive_targets) all check-am install-am install-strip |
1551 | ||
1552 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | |
1553 | am--refresh check check-TESTS check-am clean clean-binPROGRAMS \ | |
1554 | clean-checkPROGRAMS clean-cscope clean-generic \ | |
1555 | clean-noinstLIBRARIES clean-noinstPROGRAMS cscope \ | |
1556 | cscopelist-am ctags ctags-am distclean distclean-compile \ | |
1557 | distclean-generic distclean-hdr distclean-tags dvi dvi-am html \ | |
1558 | html-am info info-am install install-am install-binPROGRAMS \ | |
1559 | install-data install-data-am install-data-local install-dvi \ | |
1560 | install-dvi-am install-exec install-exec-am install-exec-local \ | |
1561 | install-html install-html-am install-info install-info-am \ | |
1562 | install-man install-pdf install-pdf-am install-ps \ | |
1563 | install-ps-am install-strip installcheck installcheck-am \ | |
1564 | installdirs installdirs-am maintainer-clean \ | |
1565 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
1566 | mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \ | |
1567 | uninstall uninstall-am uninstall-binPROGRAMS | |
1568 | ||
1569 | .PRECIOUS: Makefile | |
bae7f79e ILT |
1570 | |
1571 | ||
bdd2d2b7 CC |
1572 | diststuff: $(EXTRA_DIST) |
1573 | ||
dbe717ef | 1574 | # Use an explicit dependency for the bison generated header file. |
7d320313 ILT |
1575 | expression.$(OBJEXT): yyscript.h |
1576 | script-sections.$(OBJEXT): yyscript.h | |
dbe717ef ILT |
1577 | script.$(OBJEXT): yyscript.h |
1578 | ||
5a6f7e2d ILT |
1579 | # We have to build libgold.a before we run the tests. |
1580 | check: libgold.a | |
1581 | ||
bae7f79e ILT |
1582 | .PHONY: install-exec-local |
1583 | ||
1584 | install-exec-local: ld-new$(EXEEXT) | |
1585 | $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin | |
4fda8867 | 1586 | n=`echo $(installed_linker) | sed '$(transform)'`; \ |
f2c7d7ee RM |
1587 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) \ |
1588 | ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \ | |
bae7f79e | 1589 | if test "$(bindir)" != "$(tooldir)/bin"; then \ |
4fda8867 NC |
1590 | rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ |
1591 | ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \ | |
f2c7d7ee | 1592 | || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ |
4fda8867 NC |
1593 | fi; \ |
1594 | if test "x$(install_as_default)" = "xyes"; then \ | |
7ad2014a L |
1595 | ld=`echo ld | sed '$(transform)'`; \ |
1596 | rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \ | |
1597 | ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \ | |
f2c7d7ee | 1598 | || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \ |
4fda8867 NC |
1599 | if test "$(bindir)" != "$(tooldir)/bin"; then \ |
1600 | rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ | |
1601 | ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ | |
f2c7d7ee | 1602 | || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ |
4fda8867 | 1603 | fi; \ |
bae7f79e ILT |
1604 | fi |
1605 | ||
1606 | # We want install to imply install-info as per GNU standards, despite | |
1607 | # the cygnus option. | |
1608 | install-data-local: install-info | |
5a6f7e2d ILT |
1609 | |
1610 | po/POTFILES.in: @MAINT@ Makefile | |
323ee3f4 | 1611 | for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \ |
5a6f7e2d | 1612 | && mv tmp $(srcdir)/po/POTFILES.in |
537b5f51 ILT |
1613 | |
1614 | # Bootstrap test support. We use ld-new to build ld1, then use ld1 to | |
1615 | # build ld2. ld1 and ld2 should be identical. ld-new need not be | |
1616 | # identical to ld1, since it was linked with the host linker. | |
1617 | ||
5acaada7 | 1618 | @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld gcctestdir1/collect-ld: ld-new |
537b5f51 | 1619 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1 |
5acaada7 AM |
1620 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ |
1621 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@ | |
537b5f51 | 1622 | |
5acaada7 | 1623 | @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld gcctestdir2/collect-ld: ld1 |
537b5f51 | 1624 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2 |
5acaada7 AM |
1625 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ |
1626 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld1 $@ | |
537b5f51 ILT |
1627 | |
1628 | @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2 | |
1629 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ | |
1630 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@ | |
e7c5ea40 | 1631 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" >> $@ |
537b5f51 | 1632 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@ |
755ab8af ILT |
1633 | |
1634 | @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a | |
1635 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a | |
1636 | ||
5acaada7 | 1637 | @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld gcctestdir2-r/collect-ld: ld1-r |
755ab8af | 1638 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r |
5acaada7 AM |
1639 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ |
1640 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld1-r $@ | |
755ab8af ILT |
1641 | |
1642 | @GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a | |
1643 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a | |
1644 | ||
1645 | @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r | |
1646 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ | |
1647 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@ | |
e7c5ea40 CC |
1648 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" >> $@ |
1649 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@ | |
1650 | ||
5acaada7 | 1651 | @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir3/ld gcctestdir3/collect-ld: ld-new |
e7c5ea40 | 1652 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir3 || mkdir -p gcctestdir3 |
5acaada7 AM |
1653 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ |
1654 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@ | |
e7c5ea40 | 1655 | |
5acaada7 | 1656 | @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir4/ld gcctestdir4/collect-ld: ld-new |
e7c5ea40 | 1657 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir4 || mkdir -p gcctestdir4 |
5acaada7 AM |
1658 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ |
1659 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@ | |
e7c5ea40 CC |
1660 | |
1661 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@bootstrap-test-treehash: ld1 ld3 | |
1662 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ rm -f $@ | |
1663 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "#!/bin/sh" > $@ | |
1664 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "cmp ld1 ld3" >> $@ | |
1665 | @GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ chmod +x $@ | |
1666 | ||
1667 | @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-treehash-chunksize: ld1 ld4 | |
1668 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ | |
1669 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@ | |
1670 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld4 | grep ." >> $@ | |
755ab8af | 1671 | @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@ |
81ecdfbb | 1672 | |
bae7f79e ILT |
1673 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
1674 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
1675 | .NOEXPORT: |