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 = i386.$(OBJEXT)
88 am__objects_5 = main.$(OBJEXT) $(am__objects_4)
89 am_ld_new_OBJECTS = $(am__objects_5)
90 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
92 am__DEPENDENCIES_2 = libgold.a $(am__DEPENDENCIES_1)
93 am__DEPENDENCIES_3 = @LIBOBJS@
94 am__ld1_SOURCES_DIST = main.cc i386.cc
95 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_5)
96 ld1_OBJECTS = $(am_ld1_OBJECTS)
97 am__ld2_SOURCES_DIST = main.cc i386.cc
98 @GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_5)
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) $(ld1_SOURCES) \
115 DIST_SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) \
116 $(am__ld1_SOURCES_DIST) $(am__ld2_SOURCES_DIST)
117 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
118 html-recursive info-recursive install-data-recursive \
119 install-exec-recursive install-info-recursive \
120 install-recursive installcheck-recursive installdirs-recursive \
121 pdf-recursive ps-recursive uninstall-info-recursive \
125 DIST_SUBDIRS = $(SUBDIRS)
126 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
127 distdir = $(PACKAGE)-$(VERSION)
128 top_distdir = $(distdir)
129 am__remove_distdir = \
130 { test ! -d $(distdir) \
131 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
132 && rm -fr $(distdir); }; }
133 DIST_ARCHIVES = $(distdir).tar.gz
135 distuninstallcheck_listfiles = find . -type f -print
136 distcleancheck_listfiles = find . -type f -print
138 AMDEP_FALSE = @AMDEP_FALSE@
139 AMDEP_TRUE = @AMDEP_TRUE@
141 AUTOCONF = @AUTOCONF@
142 AUTOHEADER = @AUTOHEADER@
143 AUTOMAKE = @AUTOMAKE@
145 CATALOGS = @CATALOGS@
146 CATOBJEXT = @CATOBJEXT@
148 CCDEPMODE = @CCDEPMODE@
150 CPPFLAGS = @CPPFLAGS@
153 CXXDEPMODE = @CXXDEPMODE@
154 CXXFLAGS = @CXXFLAGS@
155 CYGPATH_W = @CYGPATH_W@
156 DATADIRNAME = @DATADIRNAME@
164 GCC_FALSE = @GCC_FALSE@
165 GCC_TRUE = @GCC_TRUE@
169 INSTALL_DATA = @INSTALL_DATA@
170 INSTALL_PROGRAM = @INSTALL_PROGRAM@
171 INSTALL_SCRIPT = @INSTALL_SCRIPT@
172 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
173 INSTOBJEXT = @INSTOBJEXT@
175 LFS_CXXFLAGS = @LFS_CXXFLAGS@
177 LIBINTL_DEP = @LIBINTL_DEP@
181 LTLIBOBJS = @LTLIBOBJS@
183 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
184 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
185 MAKEINFO = @MAKEINFO@
186 MKINSTALLDIRS = @MKINSTALLDIRS@
188 MSGMERGE = @MSGMERGE@
189 NATIVE_LINKER_FALSE = @NATIVE_LINKER_FALSE@
190 NATIVE_LINKER_TRUE = @NATIVE_LINKER_TRUE@
191 NO_WERROR = @NO_WERROR@
194 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
195 PACKAGE_NAME = @PACKAGE_NAME@
196 PACKAGE_STRING = @PACKAGE_STRING@
197 PACKAGE_TARNAME = @PACKAGE_TARNAME@
198 PACKAGE_VERSION = @PACKAGE_VERSION@
199 PATH_SEPARATOR = @PATH_SEPARATOR@
202 SET_MAKE = @SET_MAKE@
207 WARN_CFLAGS = @WARN_CFLAGS@
208 WARN_CXXFLAGS = @WARN_CXXFLAGS@
209 XGETTEXT = @XGETTEXT@
211 ac_ct_CC = @ac_ct_CC@
212 ac_ct_CXX = @ac_ct_CXX@
213 ac_ct_RANLIB = @ac_ct_RANLIB@
214 ac_ct_STRIP = @ac_ct_STRIP@
215 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
216 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
217 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
218 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
219 am__include = @am__include@
220 am__leading_dot = @am__leading_dot@
221 am__quote = @am__quote@
223 am__untar = @am__untar@
226 build_alias = @build_alias@
227 build_cpu = @build_cpu@
228 build_os = @build_os@
229 build_vendor = @build_vendor@
231 exec_prefix = @exec_prefix@
233 host_alias = @host_alias@
234 host_cpu = @host_cpu@
236 host_vendor = @host_vendor@
237 includedir = @includedir@
239 install_sh = @install_sh@
241 libexecdir = @libexecdir@
242 localstatedir = @localstatedir@
245 oldincludedir = @oldincludedir@
247 program_transform_name = @program_transform_name@
249 sharedstatedir = @sharedstatedir@
250 sysconfdir = @sysconfdir@
252 target_alias = @target_alias@
253 target_cpu = @target_cpu@
254 target_os = @target_os@
255 target_vendor = @target_vendor@
257 SUBDIRS = po testsuite
258 tooldir = $(exec_prefix)/$(target_alias)
259 ACLOCAL_AMFLAGS = -I ../bfd -I ../config
260 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
261 INCLUDES = -D_GNU_SOURCE \
262 -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
263 -DLOCALEDIR="\"$(datadir)/locale\"" \
267 noinst_LIBRARIES = libgold.a
327 EXTRA_DIST = yyscript.c yyscript.h
328 libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)
329 sources_var = main.cc $(TARGETFILES)
330 deps_var = libgold.a $(LIBINTL_DEP)
331 ldadd_var = libgold.a $(LIBINTL)
332 ld_new_SOURCES = $(sources_var)
333 ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS)
334 ld_new_LDADD = $(ldadd_var) $(LIBOBJS)
335 POTFILES = $(CCFILES) $(HFILES) $(TARGETFILES)
336 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
337 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
338 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
339 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
340 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
341 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
342 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
343 @GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
344 @GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test
346 $(MAKE) $(AM_MAKEFLAGS) all-recursive
349 .SUFFIXES: .c .cc .o .obj .y
352 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
354 case '$(am__configure_deps)' in \
356 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
357 cd $(srcdir) && $(AUTOMAKE) --foreign \
362 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
363 cd $(top_srcdir) && \
364 $(AUTOMAKE) --foreign Makefile
366 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
369 echo ' $(SHELL) ./config.status'; \
370 $(SHELL) ./config.status;; \
372 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
373 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
376 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
377 $(SHELL) ./config.status --recheck
379 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
380 cd $(srcdir) && $(AUTOCONF)
381 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
382 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
385 @if test ! -f $@; then \
390 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
392 cd $(top_builddir) && $(SHELL) ./config.status config.h
393 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
394 cd $(top_srcdir) && $(AUTOHEADER)
399 -rm -f config.h stamp-h1
400 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
401 cd $(top_builddir) && $(SHELL) ./config.status $@
403 clean-noinstLIBRARIES:
404 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
405 yyscript.h: yyscript.c
406 @if test ! -f $@; then \
408 $(MAKE) yyscript.c; \
410 libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
412 $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
416 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
418 clean-noinstPROGRAMS:
419 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
420 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
421 @rm -f ld-new$(EXEEXT)
422 $(CXXLINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
423 ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
425 $(CXXLINK) $(ld1_LDFLAGS) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
426 ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
428 $(CXXLINK) $(ld2_LDFLAGS) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
436 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
437 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
438 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
439 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
440 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
441 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
442 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
443 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
444 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
445 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
446 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
447 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
448 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
449 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
450 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
451 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
452 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
453 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
454 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
455 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
456 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
457 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
458 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
459 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
460 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
461 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
462 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
465 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
466 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
467 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
468 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
469 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
472 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
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 `$(CYGPATH_W) '$<'`
479 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
480 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
481 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
482 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
483 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
486 @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
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 $@ `$(CYGPATH_W) '$<'`
494 if test -f y.tab.h; then \
495 to=`echo "$*_H" | sed \
496 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
497 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
498 sed -e "/^#/!b" -e "s/Y_TAB_H/$$to/g" -e "s|y\.tab\.h|$*.h|" \
501 if cmp -s $*.ht $*.h; then \
507 if test -f y.output; then \
508 mv y.output $*.output; \
510 sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@
514 # This directory's subdirectories are mostly independent; you can cd
515 # into them and run `make' without going through this Makefile.
516 # To change the values of `make' variables: instead of editing Makefiles,
517 # (1) if the variable is set in `config.status', edit `config.status'
518 # (which will cause the Makefiles to be regenerated when you run `make');
519 # (2) otherwise, pass the desired values on the `make' command line.
520 $(RECURSIVE_TARGETS):
522 for f in x $$MAKEFLAGS; do \
525 *k*) failcom='fail=yes';; \
529 target=`echo $@ | sed s/-recursive//`; \
530 list='$(SUBDIRS)'; for subdir in $$list; do \
531 echo "Making $$target in $$subdir"; \
532 if test "$$subdir" = "."; then \
534 local_target="$$target-am"; \
536 local_target="$$target"; \
538 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
541 if test "$$dot_seen" = "no"; then \
542 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
545 mostlyclean-recursive clean-recursive distclean-recursive \
546 maintainer-clean-recursive:
548 for f in x $$MAKEFLAGS; do \
551 *k*) failcom='fail=yes';; \
556 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
557 *) list='$(SUBDIRS)' ;; \
559 rev=''; for subdir in $$list; do \
560 if test "$$subdir" = "."; then :; else \
561 rev="$$subdir $$rev"; \
565 target=`echo $@ | sed s/-recursive//`; \
566 for subdir in $$rev; do \
567 echo "Making $$target in $$subdir"; \
568 if test "$$subdir" = "."; then \
569 local_target="$$target-am"; \
571 local_target="$$target"; \
573 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
575 done && test -z "$$fail"
577 list='$(SUBDIRS)'; for subdir in $$list; do \
578 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
581 list='$(SUBDIRS)'; for subdir in $$list; do \
582 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
585 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
586 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
587 unique=`for i in $$list; do \
588 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
590 $(AWK) ' { files[$$0] = 1; } \
591 END { for (i in files) print i; }'`; \
595 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
596 $(TAGS_FILES) $(LISP)
599 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
600 include_option=--etags-include; \
603 include_option=--include; \
606 list='$(SUBDIRS)'; for subdir in $$list; do \
607 if test "$$subdir" = .; then :; else \
608 test ! -f $$subdir/TAGS || \
609 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
612 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
613 unique=`for i in $$list; do \
614 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
616 $(AWK) ' { files[$$0] = 1; } \
617 END { for (i in files) print i; }'`; \
618 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
619 test -n "$$unique" || unique=$$empty_fix; \
620 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
624 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
625 $(TAGS_FILES) $(LISP)
628 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
629 unique=`for i in $$list; do \
630 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
632 $(AWK) ' { files[$$0] = 1; } \
633 END { for (i in files) print i; }'`; \
634 test -z "$(CTAGS_ARGS)$$tags$$unique" \
635 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
639 here=`$(am__cd) $(top_builddir) && pwd` \
640 && cd $(top_srcdir) \
641 && gtags -i $(GTAGS_ARGS) $$here
644 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
646 check-TESTS: $(TESTS)
647 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
648 srcdir=$(srcdir); export srcdir; \
650 if test -n "$$list"; then \
651 for tst in $$list; do \
652 if test -f ./$$tst; then dir=./; \
653 elif test -f $$tst; then dir=; \
654 else dir="$(srcdir)/"; fi; \
655 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
656 all=`expr $$all + 1`; \
657 case " $(XFAIL_TESTS) " in \
659 xpass=`expr $$xpass + 1`; \
660 failed=`expr $$failed + 1`; \
661 echo "XPASS: $$tst"; \
664 echo "PASS: $$tst"; \
667 elif test $$? -ne 77; then \
668 all=`expr $$all + 1`; \
669 case " $(XFAIL_TESTS) " in \
671 xfail=`expr $$xfail + 1`; \
672 echo "XFAIL: $$tst"; \
675 failed=`expr $$failed + 1`; \
676 echo "FAIL: $$tst"; \
680 skip=`expr $$skip + 1`; \
681 echo "SKIP: $$tst"; \
684 if test "$$failed" -eq 0; then \
685 if test "$$xfail" -eq 0; then \
686 banner="All $$all tests passed"; \
688 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
691 if test "$$xpass" -eq 0; then \
692 banner="$$failed of $$all tests failed"; \
694 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
699 if test "$$skip" -ne 0; then \
700 skipped="($$skip tests were not run)"; \
701 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
702 dashes="$$skipped"; \
705 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
706 report="Please report to $(PACKAGE_BUGREPORT)"; \
707 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
710 dashes=`echo "$$dashes" | sed s/./=/g`; \
713 test -z "$$skipped" || echo "$$skipped"; \
714 test -z "$$report" || echo "$$report"; \
716 test "$$failed" -eq 0; \
719 distdir: $(DISTFILES)
720 $(am__remove_distdir)
722 $(mkdir_p) $(distdir)/.. $(distdir)/../bfd $(distdir)/../config $(distdir)/po
723 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
724 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
725 list='$(DISTFILES)'; for file in $$list; do \
727 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
728 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
730 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
731 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
732 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
734 $(mkdir_p) "$(distdir)$$dir"; \
738 if test -d $$d/$$file; then \
739 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
740 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
742 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
744 test -f $(distdir)/$$file \
745 || cp -p $$d/$$file $(distdir)/$$file \
749 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
750 if test "$$subdir" = .; then :; else \
751 test -d "$(distdir)/$$subdir" \
752 || $(mkdir_p) "$(distdir)/$$subdir" \
754 distdir=`$(am__cd) $(distdir) && pwd`; \
755 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
757 $(MAKE) $(AM_MAKEFLAGS) \
758 top_distdir="$$top_distdir" \
759 distdir="$$distdir/$$subdir" \
764 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
765 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
766 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
767 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
768 || chmod -R a+r $(distdir)
770 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
771 $(am__remove_distdir)
774 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
775 $(am__remove_distdir)
778 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
779 $(am__remove_distdir)
782 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
783 $(am__remove_distdir)
786 -rm -f $(distdir).zip
787 zip -rq $(distdir).zip $(distdir)
788 $(am__remove_distdir)
790 dist dist-all: distdir
791 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
792 $(am__remove_distdir)
794 # This target untars the dist file and tries a VPATH configuration. Then
795 # it guarantees that the distribution is self-contained by making another
798 case '$(DIST_ARCHIVES)' in \
800 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
802 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
804 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
806 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
808 unzip $(distdir).zip ;;\
810 chmod -R a-w $(distdir); chmod a+w $(distdir)
811 mkdir $(distdir)/_build
812 mkdir $(distdir)/_inst
814 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
815 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
816 && cd $(distdir)/_build \
817 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
818 $(DISTCHECK_CONFIGURE_FLAGS) \
819 && $(MAKE) $(AM_MAKEFLAGS) \
820 && $(MAKE) $(AM_MAKEFLAGS) dvi \
821 && $(MAKE) $(AM_MAKEFLAGS) check \
822 && $(MAKE) $(AM_MAKEFLAGS) install \
823 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
824 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
825 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
827 && chmod -R a-w "$$dc_install_base" \
829 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
830 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
831 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
832 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
833 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
834 } || { rm -rf "$$dc_destdir"; exit 1; }) \
835 && rm -rf "$$dc_destdir" \
836 && $(MAKE) $(AM_MAKEFLAGS) dist \
837 && rm -rf $(DIST_ARCHIVES) \
838 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
839 $(am__remove_distdir)
840 @(echo "$(distdir) archives ready for distribution: "; \
841 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
842 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
844 @cd $(distuninstallcheck_dir) \
845 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
846 || { echo "ERROR: files left after uninstall:" ; \
847 if test -n "$(DESTDIR)"; then \
848 echo " (check DESTDIR support)"; \
850 $(distuninstallcheck_listfiles) ; \
852 distcleancheck: distclean
853 @if test '$(srcdir)' = . ; then \
854 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
857 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
858 || { echo "ERROR: files left in build directory after distclean:" ; \
859 $(distcleancheck_listfiles) ; \
862 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
863 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
864 check: check-recursive
865 all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
866 installdirs: installdirs-recursive
868 install: install-recursive
869 install-exec: install-exec-recursive
870 install-data: install-data-recursive
871 uninstall: uninstall-recursive
874 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
876 installcheck: installcheck-recursive
878 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
879 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
880 `test -z '$(STRIP)' || \
881 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
887 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
889 maintainer-clean-generic:
890 @echo "This command is intended for maintainers to use"
891 @echo "it deletes files that may require special tools to rebuild."
894 clean: clean-recursive
896 clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
897 clean-noinstPROGRAMS mostlyclean-am
899 distclean: distclean-recursive
900 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
901 -rm -rf $(DEPDIR) ./$(DEPDIR)
903 distclean-am: clean-am distclean-compile distclean-generic \
904 distclean-hdr distclean-tags
916 install-data-am: install-data-local
918 install-exec-am: install-exec-local
920 install-info: install-info-recursive
926 maintainer-clean: maintainer-clean-recursive
927 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
928 -rm -rf $(top_srcdir)/autom4te.cache
929 -rm -rf $(DEPDIR) ./$(DEPDIR)
931 maintainer-clean-am: distclean-am maintainer-clean-generic
933 mostlyclean: mostlyclean-recursive
935 mostlyclean-am: mostlyclean-compile mostlyclean-generic
945 uninstall-am: uninstall-info-am
947 uninstall-info: uninstall-info-recursive
949 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
950 check-TESTS check-am clean clean-checkPROGRAMS clean-generic \
951 clean-noinstLIBRARIES clean-noinstPROGRAMS clean-recursive \
952 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
953 dist-shar dist-tarZ dist-zip distcheck distclean \
954 distclean-compile distclean-generic distclean-hdr \
955 distclean-recursive distclean-tags distcleancheck distdir \
956 distuninstallcheck dvi dvi-am html html-am info info-am \
957 install install-am install-data install-data-am \
958 install-data-local install-exec install-exec-am \
959 install-exec-local install-info install-info-am install-man \
960 install-strip installcheck installcheck-am installdirs \
961 installdirs-am maintainer-clean maintainer-clean-generic \
962 maintainer-clean-recursive mostlyclean mostlyclean-compile \
963 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
964 tags tags-recursive uninstall uninstall-am uninstall-info-am
967 # Use an explicit dependency for the bison generated header file.
968 script.$(OBJEXT): yyscript.h
970 # We have to build libgold.a before we run the tests.
973 .PHONY: install-exec-local
975 install-exec-local: ld-new$(EXEEXT)
976 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
977 n=`echo ld | sed '$(transform)'; \
978 $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
979 if test "$(bindir)" != "$(tooldir)/bin"; then \
980 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
981 ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
982 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
985 # We want install to imply install-info as per GNU standards, despite
987 install-data-local: install-info
989 po/POTFILES.in: @MAINT@ Makefile
990 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
991 && mv tmp $(srcdir)/po/POTFILES.in
993 # Bootstrap test support. We use ld-new to build ld1, then use ld1 to
994 # build ld2. ld1 and ld2 should be identical. ld-new need not be
995 # identical to ld1, since it was linked with the host linker.
997 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
998 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
999 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
1000 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
1002 @GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
1003 @GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
1004 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
1005 @GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
1007 @GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
1008 @GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
1009 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
1010 @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
1011 @GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
1012 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1013 # Otherwise a system limit (for SysV at least) may be exceeded.