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