1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # Process this file with automake to generate Makefile.in
21 top_srcdir = @top_srcdir@
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
40 build_triplet = @build@
42 target_triplet = @target@
43 noinst_PROGRAMS = ld-new$(EXEEXT)
44 @GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
45 @GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT)
46 DIST_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 \
51 $(top_srcdir)/configure $(top_srcdir)/po/Make-in pread.c \
54 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55 am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
56 $(top_srcdir)/../config/lead-dot.m4 \
57 $(top_srcdir)/../config/progtest.m4 \
58 $(top_srcdir)/../config/po.m4 $(top_srcdir)/../config/nls.m4 \
59 $(top_srcdir)/../config/gettext-sister.m4 \
60 $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac
61 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
63 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
64 configure.lineno configure.status.lineno
65 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
66 CONFIG_HEADER = config.h
67 CONFIG_CLEAN_FILES = po/Makefile.in
68 LIBRARIES = $(noinst_LIBRARIES)
71 libgold_a_AR = $(AR) $(ARFLAGS)
73 am__objects_1 = archive.$(OBJEXT) common.$(OBJEXT) defstd.$(OBJEXT) \
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)
82 am__objects_3 = yyscript.$(OBJEXT)
83 am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \
85 libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
86 PROGRAMS = $(noinst_PROGRAMS)
87 am__objects_4 = main.$(OBJEXT)
88 am_ld_new_OBJECTS = $(am__objects_4)
89 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
91 am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a \
93 am__DEPENDENCIES_3 = @LIBOBJS@
94 am__ld1_SOURCES_DIST = main.cc
95 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4)
96 ld1_OBJECTS = $(am_ld1_OBJECTS)
97 am__ld2_SOURCES_DIST = main.cc
98 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4)
99 ld2_OBJECTS = $(am_ld2_OBJECTS)
100 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
101 depcomp = $(SHELL) $(top_srcdir)/../depcomp
102 am__depfiles_maybe = depfiles
103 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
104 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
106 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
107 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
108 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
110 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
112 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
113 SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) \
114 $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld2_SOURCES)
115 DIST_SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) \
116 $(EXTRA_ld_new_SOURCES) $(am__ld1_SOURCES_DIST) \
117 $(am__ld2_SOURCES_DIST)
118 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
119 html-recursive info-recursive install-data-recursive \
120 install-exec-recursive install-info-recursive \
121 install-recursive installcheck-recursive installdirs-recursive \
122 pdf-recursive ps-recursive uninstall-info-recursive \
126 DIST_SUBDIRS = $(SUBDIRS)
127 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
128 distdir = $(PACKAGE)-$(VERSION)
129 top_distdir = $(distdir)
130 am__remove_distdir = \
131 { test ! -d $(distdir) \
132 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
133 && rm -fr $(distdir); }; }
134 DIST_ARCHIVES = $(distdir).tar.gz
136 distuninstallcheck_listfiles = find . -type f -print
137 distcleancheck_listfiles = find . -type f -print
139 AMDEP_FALSE = @AMDEP_FALSE@
140 AMDEP_TRUE = @AMDEP_TRUE@
142 AUTOCONF = @AUTOCONF@
143 AUTOHEADER = @AUTOHEADER@
144 AUTOMAKE = @AUTOMAKE@
146 CATALOGS = @CATALOGS@
147 CATOBJEXT = @CATOBJEXT@
149 CCDEPMODE = @CCDEPMODE@
151 CPPFLAGS = @CPPFLAGS@
154 CXXDEPMODE = @CXXDEPMODE@
155 CXXFLAGS = @CXXFLAGS@
156 CYGPATH_W = @CYGPATH_W@
157 DATADIRNAME = @DATADIRNAME@
165 GCC_FALSE = @GCC_FALSE@
166 GCC_TRUE = @GCC_TRUE@
170 INSTALL_DATA = @INSTALL_DATA@
171 INSTALL_PROGRAM = @INSTALL_PROGRAM@
172 INSTALL_SCRIPT = @INSTALL_SCRIPT@
173 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
174 INSTOBJEXT = @INSTOBJEXT@
176 LFS_CXXFLAGS = @LFS_CXXFLAGS@
178 LIBINTL_DEP = @LIBINTL_DEP@
182 LTLIBOBJS = @LTLIBOBJS@
184 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
185 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
186 MAKEINFO = @MAKEINFO@
187 MKINSTALLDIRS = @MKINSTALLDIRS@
189 MSGMERGE = @MSGMERGE@
190 NATIVE_LINKER_FALSE = @NATIVE_LINKER_FALSE@
191 NATIVE_LINKER_TRUE = @NATIVE_LINKER_TRUE@
192 NO_WERROR = @NO_WERROR@
195 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
196 PACKAGE_NAME = @PACKAGE_NAME@
197 PACKAGE_STRING = @PACKAGE_STRING@
198 PACKAGE_TARNAME = @PACKAGE_TARNAME@
199 PACKAGE_VERSION = @PACKAGE_VERSION@
200 PATH_SEPARATOR = @PATH_SEPARATOR@
203 SET_MAKE = @SET_MAKE@
206 TARGETOBJS = @TARGETOBJS@
209 WARN_CFLAGS = @WARN_CFLAGS@
210 WARN_CXXFLAGS = @WARN_CXXFLAGS@
211 XGETTEXT = @XGETTEXT@
213 ac_ct_CC = @ac_ct_CC@
214 ac_ct_CXX = @ac_ct_CXX@
215 ac_ct_RANLIB = @ac_ct_RANLIB@
216 ac_ct_STRIP = @ac_ct_STRIP@
217 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
218 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
219 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
220 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
221 am__include = @am__include@
222 am__leading_dot = @am__leading_dot@
223 am__quote = @am__quote@
225 am__untar = @am__untar@
228 build_alias = @build_alias@
229 build_cpu = @build_cpu@
230 build_os = @build_os@
231 build_vendor = @build_vendor@
233 exec_prefix = @exec_prefix@
235 host_alias = @host_alias@
236 host_cpu = @host_cpu@
238 host_vendor = @host_vendor@
239 includedir = @includedir@
241 install_sh = @install_sh@
243 libexecdir = @libexecdir@
244 localstatedir = @localstatedir@
247 oldincludedir = @oldincludedir@
249 program_transform_name = @program_transform_name@
251 sharedstatedir = @sharedstatedir@
252 sysconfdir = @sysconfdir@
254 target_alias = @target_alias@
255 target_cpu = @target_cpu@
256 target_os = @target_os@
257 target_vendor = @target_vendor@
259 SUBDIRS = po testsuite
260 tooldir = $(exec_prefix)/$(target_alias)
261 ACLOCAL_AMFLAGS = -I ../bfd -I ../config
262 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
263 INCLUDES = -D_GNU_SOURCE \
264 -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
265 -DLOCALEDIR="\"$(datadir)/locale\"" \
269 noinst_LIBRARIES = libgold.a
326 EXTRA_DIST = yyscript.c yyscript.h
331 i386.$(OBJEXT) x86_64.$(OBJEXT)
333 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)
334 sources_var = main.cc
335 deps_var = $(TARGETOBJS) libgold.a $(LIBINTL_DEP)
336 ldadd_var = $(TARGETOBJS) libgold.a $(LIBINTL)
337 ld_new_SOURCES = $(sources_var)
338 ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS)
339 ld_new_LDADD = $(ldadd_var) $(LIBOBJS)
340 EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
341 POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
342 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
343 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
344 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
345 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
346 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
347 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
348 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
349 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
350 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test
352 $(MAKE) $(AM_MAKEFLAGS) all-recursive
355 .SUFFIXES: .c .cc .o .obj .y
358 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
360 case '$(am__configure_deps)' in \
362 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
363 cd $(srcdir) && $(AUTOMAKE) --foreign \
368 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
369 cd $(top_srcdir) && \
370 $(AUTOMAKE) --foreign Makefile
372 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
375 echo ' $(SHELL) ./config.status'; \
376 $(SHELL) ./config.status;; \
378 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
379 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
382 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
383 $(SHELL) ./config.status --recheck
385 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
386 cd $(srcdir) && $(AUTOCONF)
387 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
388 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
391 @if test ! -f $@; then \
396 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
398 cd $(top_builddir) && $(SHELL) ./config.status config.h
399 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
400 cd $(top_srcdir) && $(AUTOHEADER)
405 -rm -f config.h stamp-h1
406 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
407 cd $(top_builddir) && $(SHELL) ./config.status $@
409 clean-noinstLIBRARIES:
410 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
411 yyscript.h: yyscript.c
412 @if test ! -f $@; then \
414 $(MAKE) yyscript.c; \
416 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
418 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
422 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
424 clean-noinstPROGRAMS:
425 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
426 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
427 @rm -f ld-new$(EXEEXT)
428 $(CXXLINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
429 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
431 $(CXXLINK) $(ld1_LDFLAGS) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
432 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
434 $(CXXLINK) $(ld2_LDFLAGS) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
442 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
443 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
444 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
445 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
446 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
447 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
448 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
449 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
450 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
451 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
452 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
453 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
454 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
455 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
456 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
457 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
458 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
459 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
460 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
461 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
462 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
463 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
464 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
465 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
466 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
467 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
468 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
469 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
472 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
473 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
474 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
475 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
476 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
479 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
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 `$(CYGPATH_W) '$<'`
486 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
487 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
488 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
489 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
490 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
493 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
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 $@ `$(CYGPATH_W) '$<'`
501 if test -f y.tab.h; then \
502 to=`echo "$*_H" | sed \
503 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
504 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
505 sed -e "/^#/!b" -e "s/Y_TAB_H/$$to/g" -e "s|y\.tab\.h|$*.h|" \
508 if cmp -s $*.ht $*.h; then \
514 if test -f y.output; then \
515 mv y.output $*.output; \
517 sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@
521 # This directory's subdirectories are mostly independent; you can cd
522 # into them and run `make' without going through this Makefile.
523 # To change the values of `make' variables: instead of editing Makefiles,
524 # (1) if the variable is set in `config.status', edit `config.status'
525 # (which will cause the Makefiles to be regenerated when you run `make');
526 # (2) otherwise, pass the desired values on the `make' command line.
527 $(RECURSIVE_TARGETS):
529 for f in x $$MAKEFLAGS; do \
532 *k*) failcom='fail=yes';; \
536 target=`echo $@ | sed s/-recursive//`; \
537 list='$(SUBDIRS)'; for subdir in $$list; do \
538 echo "Making $$target in $$subdir"; \
539 if test "$$subdir" = "."; then \
541 local_target="$$target-am"; \
543 local_target="$$target"; \
545 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
548 if test "$$dot_seen" = "no"; then \
549 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
552 mostlyclean-recursive clean-recursive distclean-recursive \
553 maintainer-clean-recursive:
555 for f in x $$MAKEFLAGS; do \
558 *k*) failcom='fail=yes';; \
563 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
564 *) list='$(SUBDIRS)' ;; \
566 rev=''; for subdir in $$list; do \
567 if test "$$subdir" = "."; then :; else \
568 rev="$$subdir $$rev"; \
572 target=`echo $@ | sed s/-recursive//`; \
573 for subdir in $$rev; do \
574 echo "Making $$target in $$subdir"; \
575 if test "$$subdir" = "."; then \
576 local_target="$$target-am"; \
578 local_target="$$target"; \
580 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
582 done && test -z "$$fail"
584 list='$(SUBDIRS)'; for subdir in $$list; do \
585 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
588 list='$(SUBDIRS)'; for subdir in $$list; do \
589 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
592 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
593 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
594 unique=`for i in $$list; do \
595 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
597 $(AWK) ' { files[$$0] = 1; } \
598 END { for (i in files) print i; }'`; \
602 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
603 $(TAGS_FILES) $(LISP)
606 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
607 include_option=--etags-include; \
610 include_option=--include; \
613 list='$(SUBDIRS)'; for subdir in $$list; do \
614 if test "$$subdir" = .; then :; else \
615 test ! -f $$subdir/TAGS || \
616 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
619 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
620 unique=`for i in $$list; do \
621 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
623 $(AWK) ' { files[$$0] = 1; } \
624 END { for (i in files) print i; }'`; \
625 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
626 test -n "$$unique" || unique=$$empty_fix; \
627 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
631 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
632 $(TAGS_FILES) $(LISP)
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; \
639 $(AWK) ' { files[$$0] = 1; } \
640 END { for (i in files) print i; }'`; \
641 test -z "$(CTAGS_ARGS)$$tags$$unique" \
642 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
646 here=`$(am__cd) $(top_builddir) && pwd` \
647 && cd $(top_srcdir) \
648 && gtags -i $(GTAGS_ARGS) $$here
651 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
653 check-TESTS: $(TESTS)
654 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
655 srcdir=$(srcdir); export srcdir; \
657 if test -n "$$list"; then \
658 for tst in $$list; do \
659 if test -f ./$$tst; then dir=./; \
660 elif test -f $$tst; then dir=; \
661 else dir="$(srcdir)/"; fi; \
662 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
663 all=`expr $$all + 1`; \
664 case " $(XFAIL_TESTS) " in \
666 xpass=`expr $$xpass + 1`; \
667 failed=`expr $$failed + 1`; \
668 echo "XPASS: $$tst"; \
671 echo "PASS: $$tst"; \
674 elif test $$? -ne 77; then \
675 all=`expr $$all + 1`; \
676 case " $(XFAIL_TESTS) " in \
678 xfail=`expr $$xfail + 1`; \
679 echo "XFAIL: $$tst"; \
682 failed=`expr $$failed + 1`; \
683 echo "FAIL: $$tst"; \
687 skip=`expr $$skip + 1`; \
688 echo "SKIP: $$tst"; \
691 if test "$$failed" -eq 0; then \
692 if test "$$xfail" -eq 0; then \
693 banner="All $$all tests passed"; \
695 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
698 if test "$$xpass" -eq 0; then \
699 banner="$$failed of $$all tests failed"; \
701 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
706 if test "$$skip" -ne 0; then \
707 skipped="($$skip tests were not run)"; \
708 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
709 dashes="$$skipped"; \
712 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
713 report="Please report to $(PACKAGE_BUGREPORT)"; \
714 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
717 dashes=`echo "$$dashes" | sed s/./=/g`; \
720 test -z "$$skipped" || echo "$$skipped"; \
721 test -z "$$report" || echo "$$report"; \
723 test "$$failed" -eq 0; \
726 distdir: $(DISTFILES)
727 $(am__remove_distdir)
729 $(mkdir_p) $(distdir)/.. $(distdir)/../bfd $(distdir)/../config $(distdir)/po
730 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
731 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
732 list='$(DISTFILES)'; for file in $$list; do \
734 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
735 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
737 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
738 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
739 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
741 $(mkdir_p) "$(distdir)$$dir"; \
745 if test -d $$d/$$file; then \
746 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
747 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
749 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
751 test -f $(distdir)/$$file \
752 || cp -p $$d/$$file $(distdir)/$$file \
756 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
757 if test "$$subdir" = .; then :; else \
758 test -d "$(distdir)/$$subdir" \
759 || $(mkdir_p) "$(distdir)/$$subdir" \
761 distdir=`$(am__cd) $(distdir) && pwd`; \
762 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
764 $(MAKE) $(AM_MAKEFLAGS) \
765 top_distdir="$$top_distdir" \
766 distdir="$$distdir/$$subdir" \
771 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
772 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
773 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
774 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
775 || chmod -R a+r $(distdir)
777 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
778 $(am__remove_distdir)
781 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
782 $(am__remove_distdir)
785 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
786 $(am__remove_distdir)
789 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
790 $(am__remove_distdir)
793 -rm -f $(distdir).zip
794 zip -rq $(distdir).zip $(distdir)
795 $(am__remove_distdir)
797 dist dist-all: distdir
798 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
799 $(am__remove_distdir)
801 # This target untars the dist file and tries a VPATH configuration. Then
802 # it guarantees that the distribution is self-contained by making another
805 case '$(DIST_ARCHIVES)' in \
807 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
809 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
811 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
813 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
815 unzip $(distdir).zip ;;\
817 chmod -R a-w $(distdir); chmod a+w $(distdir)
818 mkdir $(distdir)/_build
819 mkdir $(distdir)/_inst
821 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
822 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
823 && cd $(distdir)/_build \
824 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
825 $(DISTCHECK_CONFIGURE_FLAGS) \
826 && $(MAKE) $(AM_MAKEFLAGS) \
827 && $(MAKE) $(AM_MAKEFLAGS) dvi \
828 && $(MAKE) $(AM_MAKEFLAGS) check \
829 && $(MAKE) $(AM_MAKEFLAGS) install \
830 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
831 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
832 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
834 && chmod -R a-w "$$dc_install_base" \
836 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
837 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
838 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
839 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
840 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
841 } || { rm -rf "$$dc_destdir"; exit 1; }) \
842 && rm -rf "$$dc_destdir" \
843 && $(MAKE) $(AM_MAKEFLAGS) dist \
844 && rm -rf $(DIST_ARCHIVES) \
845 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
846 $(am__remove_distdir)
847 @(echo "$(distdir) archives ready for distribution: "; \
848 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
849 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
851 @cd $(distuninstallcheck_dir) \
852 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
853 || { echo "ERROR: files left after uninstall:" ; \
854 if test -n "$(DESTDIR)"; then \
855 echo " (check DESTDIR support)"; \
857 $(distuninstallcheck_listfiles) ; \
859 distcleancheck: distclean
860 @if test '$(srcdir)' = . ; then \
861 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
864 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
865 || { echo "ERROR: files left in build directory after distclean:" ; \
866 $(distcleancheck_listfiles) ; \
869 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
870 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
871 check: check-recursive
872 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
873 installdirs: installdirs-recursive
875 install: install-recursive
876 install-exec: install-exec-recursive
877 install-data: install-data-recursive
878 uninstall: uninstall-recursive
881 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
883 installcheck: installcheck-recursive
885 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
886 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
887 `test -z '$(STRIP)' || \
888 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
894 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
896 maintainer-clean-generic:
897 @echo "This command is intended for maintainers to use"
898 @echo "it deletes files that may require special tools to rebuild."
901 clean: clean-recursive
903 clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
904 clean-noinstPROGRAMS mostlyclean-am
906 distclean: distclean-recursive
907 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
908 -rm -rf $(DEPDIR) ./$(DEPDIR)
910 distclean-am: clean-am distclean-compile distclean-generic \
911 distclean-hdr distclean-tags
923 install-data-am: install-data-local
925 install-exec-am: install-exec-local
927 install-info: install-info-recursive
933 maintainer-clean: maintainer-clean-recursive
934 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
935 -rm -rf $(top_srcdir)/autom4te.cache
936 -rm -rf $(DEPDIR) ./$(DEPDIR)
938 maintainer-clean-am: distclean-am maintainer-clean-generic
940 mostlyclean: mostlyclean-recursive
942 mostlyclean-am: mostlyclean-compile mostlyclean-generic
952 uninstall-am: uninstall-info-am
954 uninstall-info: uninstall-info-recursive
956 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
957 check-TESTS check-am clean clean-checkPROGRAMS clean-generic \
958 clean-noinstLIBRARIES clean-noinstPROGRAMS clean-recursive \
959 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
960 dist-shar dist-tarZ dist-zip distcheck distclean \
961 distclean-compile distclean-generic distclean-hdr \
962 distclean-recursive distclean-tags distcleancheck distdir \
963 distuninstallcheck dvi dvi-am html html-am info info-am \
964 install install-am install-data install-data-am \
965 install-data-local install-exec install-exec-am \
966 install-exec-local install-info install-info-am install-man \
967 install-strip installcheck installcheck-am installdirs \
968 installdirs-am maintainer-clean maintainer-clean-generic \
969 maintainer-clean-recursive mostlyclean mostlyclean-compile \
970 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
971 tags tags-recursive uninstall uninstall-am uninstall-info-am
974 # Use an explicit dependency for the bison generated header file.
975 script.$(OBJEXT): yyscript.h
977 # We have to build libgold.a before we run the tests.
980 .PHONY: install-exec-local
982 install-exec-local: ld-new$(EXEEXT)
983 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
984 n=`echo ld | sed '$(transform)'; \
985 $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
986 if test "$(bindir)" != "$(tooldir)/bin"; then \
987 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
988 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
989 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
992 # We want install to imply install-info as per GNU standards, despite
994 install-data-local: install-info
996 po/POTFILES.in: @MAINT@ Makefile
997 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
998 && mv tmp $(srcdir)/po/POTFILES.in
1000 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
1001 # build ld2. ld1 and ld2 should be identical. ld-new need not be
1002 # identical to ld1, since it was linked with the host linker.
1004 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
1005 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
1006 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1007 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1009 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1010 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1011 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1012 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1014 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1015 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1016 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1017 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
1018 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1019 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1020 # Otherwise a system limit (for SysV at least) may be exceeded.