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