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