1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2018 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
20 AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
21 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
22 TEXINFO_TEX = ../texinfo/texinfo.tex
26 tooldir = $(exec_prefix)/$(target_alias)
28 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
30 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
32 # Automake 1.10+ disables lex and yacc output file regeneration if
33 # maintainer mode is disabled. Avoid this.
37 ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
38 -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
39 -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
40 WARN_CFLAGS = @WARN_CFLAGS@
41 NO_WERROR = @NO_WERROR@
42 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
44 # Conditionally enable the plugin interface.
48 PLUGIN_OBJECT = plugin.@OBJEXT@
49 PLUGIN_CFLAGS = -DENABLE_PLUGINS
57 # We put the scripts in the directory $(scriptdir)/ldscripts.
58 # We can't put the scripts in $(datadir) because the SEARCH_DIR
59 # directives need to be different for native and cross linkers.
60 scriptdir = $(tooldir)/lib
63 EMULATION_OFILES = @EMULATION_OFILES@
64 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
67 # Search path to override the default search path for -lfoo libraries.
68 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
69 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
70 # a cross-linker, in which case the default is empty. See genscripts.sh.)
71 # Otherwise, they are replaced with the ones given in LIB_PATH,
72 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
73 # when the linker is configured via the --with-lib-path configure switch.
76 BASEDIR = $(srcdir)/..
77 BFDDIR = $(BASEDIR)/bfd
78 INCDIR = $(BASEDIR)/include
80 # What version of the manual to build
83 # Options to extract the man page from ld.texinfo
86 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
88 POD2MAN = pod2man --center="GNU Development Tools" \
89 --release="binutils-$(VERSION)" --section=1
91 # Setup the testing framework, if you have one
97 if [ -f $$r/../gcc/xgcc ] ; then \
98 if [ -f $$r/../newlib/Makefile ] ; then \
99 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
101 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
104 if [ "@host@" = "@target@" ] ; then \
107 echo gcc | sed '$(transform)'; \
112 if [ -f $$r/../gcc/g++ ] ; then \
113 if [ -f $$r/../newlib/Makefile ] ; then \
114 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
116 echo $$r/../gcc/g++ -B$$r/../gcc/; \
118 elif [ -f $$r/../gcc/xg++ ] ; then \
119 if [ -f $$r/../newlib/Makefile ] ; then \
120 echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
122 echo $$r/../gcc/xg++ -B$$r/../gcc/; \
125 if [ "@host@" = "@target@" ] ; then \
128 echo g++ | sed '$(transform)'; \
132 # Strip out sanitization options as we want to test building binaries without any extra paraphernalia
133 CFLAGS_FOR_TARGET = `echo $(CFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
134 CXXFLAGS_FOR_TARGET = `echo $(CXXFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
136 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
137 bin_PROGRAMS = ld-new
138 info_TEXINFOS = ld.texinfo
139 ld_TEXINFOS = configdoc.texi
140 noinst_TEXINFOS = ldint.texinfo
143 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
144 -I $(top_srcdir)/../libiberty
145 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
146 -I $(top_srcdir)/../libiberty
148 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
149 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
150 -DLOCALEDIR="\"$(datadir)/locale\""
152 BFDLIB = ../bfd/libbfd.la
153 LIBIBERTY = ../libiberty/libiberty.a
155 ALL_EMULATION_SOURCES = \
178 earmelf_linux_eabi.c \
187 earmelfb_linux_eabi.c \
226 eelf32_sparc_sol2.c \
227 eelf32_sparc_vxworks.c \
231 eelf32_tic6x_linux_be.c \
232 eelf32_tic6x_linux_le.c \
233 eelf32_tic6x_elf_be.c \
234 eelf32_tic6x_elf_le.c \
242 eelf32epiphany_4x4.c \
263 eelf32microblazeel.c \
297 eelf_i386_vxworks.c \
317 eh8300sxelf_linux.c \
424 etic3xcoff_onchip.c \
440 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
442 ALL_64_EMULATION_SOURCES = \
448 eaarch64cloudabib.c \
456 eelf32_x86_64_nacl.c \
462 eelf32btsmip_fbsd.c \
464 eelf32btsmipn32_fbsd.c \
466 eelf32ebmipvxworks.c \
468 eelf32elmipvxworks.c \
475 eelf32ltsmip_fbsd.c \
477 eelf32ltsmipn32_fbsd.c \
478 eelf32mipswindiss.c \
485 eelf64_sparc_fbsd.c \
486 eelf64_sparc_sol2.c \
492 eelf64btsmip_fbsd.c \
497 eelf64ltsmip_fbsd.c \
509 eelf_x86_64_cloudabi.c \
521 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
523 ALL_EMUL_EXTRA_OFILES = \
527 ALL_64_EMUL_EXTRA_OFILES = \
530 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
531 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
532 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
533 $(PLUGIN_C) ldbuildid.c
535 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
536 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
537 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
538 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
540 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
541 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
543 # Require an early dependency on the generated headers, as the dependency
544 # tracking will not cause them to be built beforehand.
545 BUILT_SOURCES = $(GENERATED_HFILES)
547 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
548 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
549 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
550 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
553 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
555 # Disable -Werror, if it has been enabled, since old versions of bison/
556 # yacc will produce working code which contain compile time warnings.
557 ldgram.@OBJEXT@: ldgram.c
559 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
560 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
563 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
564 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
566 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
569 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
571 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
572 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
575 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
576 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
578 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
581 deffilep.@OBJEXT@: deffilep.c
583 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
584 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
587 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
588 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
590 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
593 # At the moment this is just a list of those emulation template files
594 # that contain internationalised strings.
595 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
597 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
599 po/POTFILES.in: @MAINT@ Makefile
600 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
601 && mv tmp $(srcdir)/po/POTFILES.in
603 ldmain.@OBJEXT@: ldmain.c config.status
605 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
606 -DDEFAULT_EMULATION='"$(EMUL)"' \
607 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
608 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
610 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
613 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
614 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
616 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
617 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
618 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
622 ldfile.@OBJEXT@: ldfile.c config.status
624 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
625 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
627 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
630 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
631 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
633 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
634 -DTOOLBINDIR='"$(tooldir)/bin"' \
638 eelf32_spu.@OBJEXT@: eelf32_spu.c
640 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
641 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
642 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
645 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
646 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
648 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
652 ldemul-list.h: Makefile
653 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
654 for f in `echo " " ${EMULATION_OFILES} "" \
655 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
656 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
659 echo "#define EMULATION_LIST \\";\
660 for f in `echo " " ${EMULATION_OFILES} "" \
661 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
662 echo " &ld_$${f}_emulation, \\"; \
664 echo " 0") >ldemul-tmp.h
665 mv ldemul-tmp.h ldemul-list.h
667 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
668 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
670 # These all start with e so 'make clean' can find them.
672 GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@
673 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
674 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
675 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
676 ELF_X86_DEPS = $(ELF_DEPS) $(srcdir)/emulparams/plt_unwind.sh \
677 $(srcdir)/emulparams/extern_protected_data.sh \
678 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
679 $(srcdir)/emulparams/reloc_overflow.sh \
680 $(srcdir)/emulparams/call_nop.sh \
681 $(srcdir)/emulparams/cet.sh
685 # We can't use pattern rules as we don't want to depend on GNU
686 # make, or else these rules could have been expressed in one
687 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
688 # (The recursive variable expansion is portable.)
691 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
693 .PHONY: run-genscripts
695 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
696 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
697 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
699 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
700 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
702 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
703 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
705 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
706 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
708 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
709 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
711 ealpha.c: $(srcdir)/emulparams/alpha.sh \
712 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
714 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
715 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
716 $(srcdir)/emultempl/needrelax.em \
717 $(srcdir)/scripttempl/alphavms.sc ${GEN_DEPENDS}
719 earcv2elf.c: $(srcdir)/emulparams/arcv2elf.sh \
720 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
722 earcv2elfx.c: $(srcdir)/emulparams/arcv2elfx.sh \
723 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
725 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
726 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
728 earcelf_prof.c: $(srcdir)/emulparams/arcelf_prof.sh \
729 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
732 earclinux.c: $(srcdir)/emulparams/arclinux.sh \
733 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
734 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
736 earclinux_nps.c: $(srcdir)/emulparams/arclinux_nps.sh \
737 $(srcdir)/emulparams/arc-nps.sh \
738 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
739 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
741 earclinux_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
742 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
743 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
745 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
746 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
748 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
749 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
751 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
752 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
754 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
755 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
757 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
758 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
760 earmelf.c: $(srcdir)/emulparams/armelf.sh \
761 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
762 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
764 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
765 $(srcdir)/emulparams/armelf.sh \
766 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
767 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
769 earmelf_fuchsia.c: $(srcdir)/emulparams/armelf_fuchsia.sh \
770 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
771 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
773 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
774 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
775 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
777 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
778 $(srcdir)/emulparams/armelf_linux.sh \
779 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
780 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
782 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
783 $(srcdir)/emulparams/armelf_linux_eabi.sh \
784 $(srcdir)/emulparams/armelf_linux.sh \
785 $(srcdir)/emulparams/elf_nacl.sh \
786 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
787 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
789 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
790 $(srcdir)/emulparams/armelf.sh \
791 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
792 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
794 earmelf_phoenix.c: $(srcdir)/emulparams/armelf_phoenix.sh \
795 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
796 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
798 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
799 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
800 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
801 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
804 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
805 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
806 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
808 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
809 $(srcdir)/emulparams/armelf_fbsd.sh \
810 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
811 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
813 earmelfb_fuchsia.c: $(srcdir)/emulparams/armelfb_fuchsia.sh \
814 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
815 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
817 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
818 $(srcdir)/emulparams/armelf_linux.sh \
819 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
820 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
822 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
823 $(srcdir)/emulparams/armelf_linux_eabi.sh \
824 $(srcdir)/emulparams/armelf_linux.sh \
825 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
826 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
828 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
829 $(srcdir)/emulparams/armelf_nacl.sh \
830 $(srcdir)/emulparams/armelf_linux_eabi.sh \
831 $(srcdir)/emulparams/armelf_linux.sh \
832 $(srcdir)/emulparams/elf_nacl.sh \
833 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
834 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
836 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
837 $(srcdir)/emulparams/armelf_nbsd.sh \
838 $(srcdir)/emulparams/armelf.sh \
839 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
840 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
842 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
843 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
845 earmnto.c: $(srcdir)/emulparams/armnto.sh \
846 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
847 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
849 earmpe.c: $(srcdir)/emulparams/armpe.sh \
850 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
852 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
853 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
854 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
857 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
858 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
861 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
862 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
865 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
866 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
869 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
870 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
873 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
874 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
877 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
878 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
881 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
882 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
885 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
886 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
889 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
890 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
893 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
894 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
897 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
898 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
901 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
902 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
905 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
906 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
909 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
910 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
913 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
914 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
917 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
918 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
921 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
922 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
925 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
926 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
929 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
930 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
932 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
933 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
935 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
936 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
938 ecriself.c: $(srcdir)/emulparams/criself.sh \
939 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
941 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
942 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
944 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
945 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
947 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
948 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
950 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
951 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
953 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
954 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
956 edelta68.c: $(srcdir)/emulparams/delta68.sh \
957 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
959 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
960 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
962 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
963 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
965 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
966 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
968 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
969 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
971 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
972 $(srcdir)/emulparams/elf32_sparc.sh \
973 $(srcdir)/emulparams/solaris2.sh \
974 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
975 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
977 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
978 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
979 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
980 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
982 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
983 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
985 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
987 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
988 if ../gas/as-new --version \
989 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
990 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
991 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
992 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
994 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
995 if ../gas/as-new --version \
996 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
997 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
998 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
999 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
1001 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
1002 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1005 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
1006 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1009 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
1010 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1013 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
1014 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1017 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
1018 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1021 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
1022 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1025 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
1026 $(srcdir)/emulparams/elf32am33lin.sh \
1027 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1029 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1030 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1031 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1033 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
1034 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1035 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1037 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
1038 $(srcdir)/emulparams/elf32bfin.sh \
1039 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1040 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1042 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1043 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1045 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1046 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1047 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1048 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1050 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1051 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
1052 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1054 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1055 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1056 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1058 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
1059 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1060 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1062 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1063 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1064 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1066 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
1067 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1068 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1070 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1071 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1072 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1074 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1075 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1077 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1078 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1079 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1081 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1082 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1083 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1085 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1086 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1087 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1088 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1090 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1091 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1092 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1095 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1096 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1097 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1098 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1100 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1101 $(srcdir)/emulparams/elf32bmip.sh \
1102 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1105 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1106 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1107 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1110 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1111 $(ELF_DEPS) ${GEN_DEPENDS}
1113 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1114 $(srcdir)/emultempl/elf32.em \
1115 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1117 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1118 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1120 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1121 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1123 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1124 $(srcdir)/emulparams/elf32frv.sh \
1125 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1127 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1128 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1130 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1131 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1133 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1134 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1136 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1137 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1139 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1140 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1142 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1143 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1144 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1147 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1148 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1150 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1151 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1152 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1154 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1155 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1156 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1158 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1159 $(srcdir)/emulparams/elf32ppccommon.sh \
1160 $(srcdir)/emulparams/elf32ppc.sh \
1161 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1162 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1163 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1165 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1166 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1167 $(srcdir)/emulparams/elf32ppccommon.sh \
1168 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1169 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1170 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1172 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1173 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1174 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1175 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1176 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1178 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1179 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1180 $(srcdir)/emulparams/elf32ppccommon.sh \
1181 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1182 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1183 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1185 eelf32lriscv.c: $(srcdir)/emulparams/elf32lriscv.sh \
1186 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1187 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1190 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1191 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1192 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1195 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1196 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1197 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1200 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1201 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1202 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1205 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1206 $(srcdir)/emulparams/elf32btsmipn32.sh \
1207 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1208 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1210 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1211 $(srcdir)/emulparams/elf32btsmipn32.sh \
1212 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1213 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1215 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1216 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1217 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1219 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1220 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1222 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1223 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1225 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1226 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1228 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1229 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1231 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1232 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1233 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1235 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1236 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1238 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1239 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1241 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1242 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1244 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1245 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1247 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1248 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1250 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1251 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1253 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1254 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1256 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1257 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1259 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1260 $(srcdir)/emulparams/elf32ppccommon.sh \
1261 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1262 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1263 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1265 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1266 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1267 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1268 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1269 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1271 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1272 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1273 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1274 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1275 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1277 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1278 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1279 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1280 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1281 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1283 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1284 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1285 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1286 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1287 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1289 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1290 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1291 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1292 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1293 $(srcdir)/emultempl/vxworks.em \
1294 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1296 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1297 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1299 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1300 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1302 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1303 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1305 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1306 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1307 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1309 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1310 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1311 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1313 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1314 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1315 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1317 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1318 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1320 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1321 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1323 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1324 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1325 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1327 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1328 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1329 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1331 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1332 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1333 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1335 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1336 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1337 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1339 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1340 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1341 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/xtensa.h \
1342 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1344 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1345 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1347 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1348 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1350 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1351 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1353 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1354 $(srcdir)/emulparams/elf_i386.sh \
1355 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1357 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1358 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1360 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1361 $(srcdir)/emulparams/elf_i386.sh \
1362 $(srcdir)/emulparams/elf_nacl.sh \
1363 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1365 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1366 $(srcdir)/emulparams/solaris2.sh \
1367 $(srcdir)/emultempl/solaris2.em \
1368 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1370 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1371 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1372 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1374 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1375 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1377 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1378 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1380 egld960.c: $(srcdir)/emulparams/gld960.sh \
1381 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1383 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1384 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1386 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1387 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1389 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1390 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1392 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1393 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1395 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1396 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1398 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1399 $(srcdir)/emulparams/h8300elf.sh \
1400 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1402 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1403 $(srcdir)/emulparams/h8300elf_linux.sh \
1404 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1406 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1407 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1409 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1410 $(srcdir)/emulparams/h8300elf.sh \
1411 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1413 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1414 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1416 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1417 $(srcdir)/emulparams/h8300elf.sh \
1418 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1420 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1421 $(srcdir)/emulparams/h8300elf.sh \
1422 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1424 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1425 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1427 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1428 $(srcdir)/emulparams/h8300elf.sh \
1429 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1431 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1432 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1434 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1435 $(srcdir)/emulparams/h8300elf.sh \
1436 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1438 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1439 $(srcdir)/emulparams/h8300elf.sh \
1440 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1442 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1443 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1445 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1446 $(srcdir)/emulparams/h8300elf.sh \
1447 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1449 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1450 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1452 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1453 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1455 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1456 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1458 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1459 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1461 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1462 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1464 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1465 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1467 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1468 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1470 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1471 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1472 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1474 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1475 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1476 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1478 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1479 $(srcdir)/emulparams/hppaelf.sh \
1480 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1481 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1483 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1484 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1485 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1487 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1488 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1490 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1491 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1493 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1494 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1496 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1497 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1499 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1500 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1502 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1503 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1505 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1506 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1508 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1509 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1511 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1512 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1514 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1515 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1517 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1518 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1520 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1521 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1523 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1524 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1526 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1527 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1529 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1530 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1532 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1533 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1535 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1536 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1538 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1539 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1541 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1542 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1544 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1545 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1547 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1548 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1550 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1551 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1552 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1554 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1555 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1556 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1558 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1559 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1560 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1562 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1563 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1564 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1566 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1567 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1569 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1570 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1572 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1573 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1575 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1576 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1578 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1579 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1580 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1582 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1583 $(srcdir)/emulparams/m68kelf.sh \
1584 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1585 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1587 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1588 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1590 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1591 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1593 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1594 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1596 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1597 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1599 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1600 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1602 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1603 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1605 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1606 $(srcdir)/emulparams/mn10200.sh \
1607 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1609 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1610 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1611 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1613 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1614 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1615 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1617 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1618 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1619 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1621 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1622 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1623 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1625 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1626 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1627 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1629 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1630 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1631 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1633 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1634 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1635 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1637 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1638 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1639 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1641 enews.c: $(srcdir)/emulparams/news.sh \
1642 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1644 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1645 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1646 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1648 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1649 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1650 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1652 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1653 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1654 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1656 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1657 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1658 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1660 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1661 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1662 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1664 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1665 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1666 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1668 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1669 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1670 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1672 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1673 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1674 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1676 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1677 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1678 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1680 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1681 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1682 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1684 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1685 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1686 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1688 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1689 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1690 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1692 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1693 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1694 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1696 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1697 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1698 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1700 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1701 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1702 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1704 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1705 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1707 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1708 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1710 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1711 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1713 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1714 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1716 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1717 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1719 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1720 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1722 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1723 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1725 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1726 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1728 epruelf.c: $(srcdir)/emulparams/pruelf.sh \
1729 $(ELF_DEPS) $(srcdir)/scripttempl/pru.sc \
1730 $(srcdir)/emultempl/pruelf.em ${GEN_DEPENDS}
1732 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1733 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1735 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1736 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1737 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1739 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1740 $(srcdir)/emulparams/score7_elf.sh \
1741 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1742 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1744 esh.c: $(srcdir)/emulparams/sh.sh \
1745 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1747 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1748 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1750 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1751 $(INCDIR)/libiberty.h \
1752 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1753 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1755 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1756 $(srcdir)/emulparams/shelf32.sh \
1757 $(INCDIR)/libiberty.h \
1758 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1759 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1761 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1762 $(srcdir)/emulparams/shelf32.sh \
1763 $(INCDIR)/libiberty.h \
1764 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1765 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1767 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1768 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1770 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1771 $(srcdir)/emulparams/shlelf_linux.sh \
1772 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1774 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1775 $(srcdir)/emulparams/shelf.sh \
1776 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1778 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1779 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1781 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1782 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1784 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1785 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1786 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1788 eshl.c: $(srcdir)/emulparams/shl.sh \
1789 $(srcdir)/emulparams/sh.sh \
1790 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1792 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1793 $(srcdir)/emulparams/shelf.sh \
1794 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1796 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1797 $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1798 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1799 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1801 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1802 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1803 $(INCDIR)/libiberty.h \
1804 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1805 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1807 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1808 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1809 $(INCDIR)/libiberty.h \
1810 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1811 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1813 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1814 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1816 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1817 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1819 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1820 $(srcdir)/emulparams/shelf_nbsd.sh \
1821 $(srcdir)/emulparams/shelf.sh \
1822 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1824 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1825 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1827 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1828 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1829 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1832 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1833 $(srcdir)/emulparams/shelf.sh \
1834 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1836 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1837 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1839 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1840 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1842 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1843 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1845 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1846 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1848 est2000.c: $(srcdir)/emulparams/st2000.sh \
1849 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1851 esun3.c: $(srcdir)/emulparams/sun3.sh \
1852 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1854 esun4.c: $(srcdir)/emulparams/sun4.sh \
1855 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1857 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1858 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1860 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1861 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1863 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1864 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1866 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1867 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1869 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1870 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1872 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1873 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1875 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1876 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1878 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1879 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1881 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1882 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1884 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1885 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1887 evax.c: $(srcdir)/emulparams/vax.sh \
1888 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1890 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1891 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1893 evsta.c: $(srcdir)/emulparams/vsta.sh \
1894 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1896 ew65.c: $(srcdir)/emulparams/w65.sh \
1897 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1899 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1900 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1901 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1903 ez80.c: $(srcdir)/emulparams/z80.sh \
1904 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1905 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1907 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1908 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1910 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1911 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1913 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1914 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1916 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1917 $(srcdir)/emulparams/elf32_x86_64.sh \
1918 $(srcdir)/emulparams/elf_nacl.sh \
1919 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1921 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1922 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1924 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1925 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1926 $(srcdir)/emultempl/needrelax.em \
1927 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1929 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1930 $(srcdir)/emulparams/elf64_ia64.sh \
1931 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1932 $(srcdir)/emultempl/needrelax.em \
1933 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1935 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1936 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
1937 $(srcdir)/emultempl/needrelax.em \
1938 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1940 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1941 $(srcdir)/emultempl/s390.em \
1942 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1944 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1945 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1947 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1948 $(srcdir)/emulparams/elf64_sparc.sh \
1949 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1951 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1952 $(srcdir)/emulparams/elf64_sparc.sh \
1953 $(srcdir)/emulparams/solaris2.sh \
1954 $(srcdir)/emultempl/solaris2.em \
1955 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1957 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1958 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1959 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1961 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1962 $(srcdir)/emulparams/elf64alpha.sh \
1963 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1964 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1966 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1967 $(srcdir)/emulparams/elf64alpha.sh \
1968 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1969 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1971 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1972 $(srcdir)/emulparams/elf64bmip-defs.sh \
1973 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1974 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1975 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1977 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1978 $(srcdir)/emulparams/elf64bmip-defs.sh \
1979 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1980 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1982 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1983 $(srcdir)/emulparams/elf64bmip-defs.sh \
1984 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1985 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1987 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1988 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1990 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1991 $(srcdir)/emulparams/elf64ppc.sh \
1992 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1993 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1994 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1996 eelf64lriscv.c: $(srcdir)/emulparams/elf64lriscv.sh \
1997 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1998 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1999 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
2002 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
2003 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
2004 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
2005 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2007 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
2008 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
2009 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
2010 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2012 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
2013 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
2014 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2016 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh \
2017 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
2018 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
2019 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2021 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
2022 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
2023 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
2024 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2026 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
2027 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2029 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
2030 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
2031 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2033 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
2034 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
2035 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2037 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
2038 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2040 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
2041 $(srcdir)/emulparams/elf_l1om.sh \
2042 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2044 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
2045 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2047 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
2048 $(srcdir)/emulparams/elf_k1om.sh \
2049 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2051 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
2052 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2054 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
2055 $(srcdir)/emulparams/elf_x86_64.sh \
2056 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2058 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
2059 $(srcdir)/emulparams/elf_x86_64.sh \
2060 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2062 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
2063 $(srcdir)/emulparams/elf_x86_64.sh \
2064 $(srcdir)/emulparams/elf_nacl.sh \
2065 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2067 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
2068 $(srcdir)/emulparams/elf_x86_64.sh \
2069 $(srcdir)/emulparams/solaris2.sh \
2070 $(srcdir)/emultempl/solaris2.em \
2071 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2073 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
2074 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2076 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
2077 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
2078 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
2079 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
2081 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2082 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2084 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
2085 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2086 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2088 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
2089 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2090 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2092 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2093 $(srcdir)/emulparams/shelf64_nbsd.sh \
2094 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2095 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2098 # We need this for automake to use YLWRAP.
2099 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
2100 # Allow dependency tracking to work for these files, too.
2101 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
2103 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
2104 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
2106 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
2107 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
2108 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
2110 # Dependency tracking for the generated emulation files.
2111 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
2113 # This is the real libbfd.a created by libtool.
2114 TESTBFDLIB = @TESTBFDLIB@
2116 check-DEJAGNU: site.exp
2117 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2118 r=`pwd`; export r; \
2119 LC_ALL=C; export LC_ALL; \
2120 EXPECT=$(EXPECT); export EXPECT; \
2121 runtest=$(RUNTEST); \
2122 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2123 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2124 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS_FOR_TARGET)" \
2125 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
2126 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2127 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2128 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
2129 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
2131 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2135 # Build a dummy plugin using libtool.
2138 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \
2139 libldtestplug3.la libldtestplug4.la
2140 libldtestplug_la_SOURCES = testplug.c
2141 libldtestplug_la_CFLAGS= -g -O2
2142 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2143 libldtestplug2_la_SOURCES = testplug2.c
2144 libldtestplug2_la_CFLAGS= -g -O2
2145 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
2146 libldtestplug3_la_SOURCES = testplug3.c
2147 libldtestplug3_la_CFLAGS= -g -O2
2148 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
2149 libldtestplug4_la_SOURCES = testplug4.c
2150 libldtestplug4_la_CFLAGS= -g -O2
2151 libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere
2154 # DOCUMENTATION TARGETS
2155 # Manual configuration file; not usually attached to normal configuration,
2156 # because almost all configs use "gen" version of manual.
2157 # Set DOCVER above to change.
2158 configdoc.texi: ${DOCVER}-doc.texi
2159 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2160 chmod u+w ./configdoc.texi
2162 # Build the man page from the texinfo file
2163 # The sed command removes the no-adjust Nroff command so that
2164 # the man output looks standard.
2165 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2167 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2168 -($(POD2MAN) ld.pod | \
2169 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2170 mv -f $@.T$$$$ $@) || \
2171 (rm -f $@.T$$$$ && exit 1)
2174 MAINTAINERCLEANFILES = configdoc.texi ld.1
2176 # We want to reconfigure if configure.host or configure.tgt changes.
2177 # development.sh is used to determine -Werror default.
2178 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2179 $(BFDDIR)/development.sh
2181 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2182 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2185 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2187 .PHONY: install-exec-local install-data-local
2189 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2190 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2191 n=`echo $(installed_linker) | sed '$(transform)'`; \
2192 if test "$(bindir)" != "$(tooldir)/bin"; then \
2193 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2194 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2195 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2197 if test "x$(install_as_default)" = "xyes"; then \
2198 ld=`echo ld | sed '$(transform)'`; \
2199 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2200 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2201 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2202 if test "$(bindir)" != "$(tooldir)/bin"; then \
2203 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2204 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2205 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2210 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2211 for f in ldscripts/* ; do \
2212 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2215 # Stuff that should be included in a distribution. The diststuff
2216 # target is run by the taz target in ../Makefile.in.
2217 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2218 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2219 diststuff: info $(EXTRA_DIST)
2221 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2222 # But info isn't a direct target. Make info-recursive to depend on
2223 # ld.1 to support parallel build.
2224 info-recursive: ld.1
2226 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2230 MAINTAINERCLEANFILES += ld.info
2232 # Automake 1.9 will only build info files in the objdir if they are
2233 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2234 # though, so we use a bogus condition.
2236 DISTCLEANFILES += ld.info