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