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