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