1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2016 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 #stuff for self hosting (can be overridden in config file).
92 HOSTING_CRT0 = @HOSTING_CRT0@
93 HOSTING_SCRT0 = @HOSTING_SCRT0@
94 HOSTING_LIBS = @HOSTING_LIBS@
95 HOSTING_SLIBS = @HOSTING_SLIBS@
96 HOSTING_EMU = -m $(EMUL)
98 # Setup the testing framework, if you have one
104 if [ -f $$r/../gcc/xgcc ] ; then \
105 if [ -f $$r/../newlib/Makefile ] ; then \
106 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
108 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
111 if [ "@host@" = "@target@" ] ; then \
114 echo gcc | sed '$(transform)'; \
119 if [ -f $$r/../gcc/g++ ] ; then \
120 if [ -f $$r/../newlib/Makefile ] ; then \
121 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
123 echo $$r/../gcc/g++ -B$$r/../gcc/; \
125 elif [ -f $$r/../gcc/xg++ ] ; then \
126 if [ -f $$r/../newlib/Makefile ] ; then \
127 echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
129 echo $$r/../gcc/xg++ -B$$r/../gcc/; \
132 if [ "@host@" = "@target@" ] ; then \
135 echo g++ | sed '$(transform)'; \
139 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
140 bin_PROGRAMS = ld-new
141 info_TEXINFOS = ld.texinfo
142 ld_TEXINFOS = configdoc.texi
143 noinst_TEXINFOS = ldint.texinfo
146 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
147 -I $(top_srcdir)/../libiberty
148 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
149 -I $(top_srcdir)/../libiberty
151 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
152 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
153 -DLOCALEDIR="\"$(datadir)/locale\""
155 BFDLIB = ../bfd/libbfd.la
156 LIBIBERTY = ../libiberty/libiberty.a
158 ALL_EMULATION_SOURCES = \
179 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 \
296 eelf_i386_vxworks.c \
316 eh8300sxelf_linux.c \
422 etic3xcoff_onchip.c \
438 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
440 ALL_64_EMULATION_SOURCES = \
446 eaarch64cloudabib.c \
454 eelf32_x86_64_nacl.c \
460 eelf32btsmip_fbsd.c \
462 eelf32btsmipn32_fbsd.c \
464 eelf32ebmipvxworks.c \
466 eelf32elmipvxworks.c \
473 eelf32ltsmip_fbsd.c \
475 eelf32ltsmipn32_fbsd.c \
476 eelf32mipswindiss.c \
483 eelf64_sparc_fbsd.c \
484 eelf64_sparc_sol2.c \
490 eelf64btsmip_fbsd.c \
494 eelf64ltsmip_fbsd.c \
506 eelf_x86_64_cloudabi.c \
518 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
520 ALL_EMUL_EXTRA_OFILES = \
524 ALL_64_EMUL_EXTRA_OFILES = \
527 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
528 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
529 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
530 $(PLUGIN_C) ldbuildid.c
532 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
533 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
534 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
535 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
537 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
538 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
540 # Require an early dependency on the generated headers, as the dependency
541 # tracking will not cause them to be built beforehand.
542 BUILT_SOURCES = $(GENERATED_HFILES)
544 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
545 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
546 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
547 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
550 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
552 # Disable -Werror, if it has been enabled, since old versions of bison/
553 # yacc will produce working code which contain compile time warnings.
554 ldgram.@OBJEXT@: ldgram.c
556 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
557 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
560 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
561 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
563 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
566 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
568 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
569 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
572 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
573 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
575 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
578 deffilep.@OBJEXT@: deffilep.c
580 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
581 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
584 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
585 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
587 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
590 # At the moment this is just a list of those emulation template files
591 # that contain internationalised strings.
592 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
594 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
596 po/POTFILES.in: @MAINT@ Makefile
597 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
598 && mv tmp $(srcdir)/po/POTFILES.in
600 ldmain.@OBJEXT@: ldmain.c config.status
602 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
603 -DDEFAULT_EMULATION='"$(EMUL)"' \
604 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
605 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
607 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
610 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
611 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
613 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
614 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
615 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
619 ldfile.@OBJEXT@: ldfile.c config.status
621 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
622 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
624 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
627 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
628 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
630 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
631 -DTOOLBINDIR='"$(tooldir)/bin"' \
635 eelf32_spu.@OBJEXT@: eelf32_spu.c
637 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
638 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
639 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
642 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
643 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
645 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
649 ldemul-list.h: Makefile
650 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
651 for f in `echo " " ${EMULATION_OFILES} "" \
652 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
653 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
656 echo "#define EMULATION_LIST \\";\
657 for f in `echo " " ${EMULATION_OFILES} "" \
658 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
659 echo " &ld_$${f}_emulation, \\"; \
661 echo " 0") >ldemul-tmp.h
662 mv ldemul-tmp.h ldemul-list.h
664 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
665 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
667 # These all start with e so 'make clean' can find them.
669 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@
670 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
671 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
672 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
673 ELF_X86_DEPS = $(ELF_DEPS) $(srcdir)/emulparams/plt_unwind.sh \
674 $(srcdir)/emulparams/extern_protected_data.sh \
675 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
676 $(srcdir)/emulparams/reloc_overflow.sh \
677 $(srcdir)/emulparams/call_nop.sh
681 # We can't use pattern rules as we don't want to depend on GNU
682 # make, or else these rules could have been expressed in one
683 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
684 # (The recursive variable expansion is portable.)
687 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
689 .PHONY: run-genscripts
691 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
692 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
693 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
695 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
696 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
698 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
699 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
701 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
702 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
704 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
705 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
707 ealpha.c: $(srcdir)/emulparams/alpha.sh \
708 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
710 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
711 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
712 $(srcdir)/emultempl/needrelax.em \
713 $(srcdir)/scripttempl/alphavms.sc ${GEN_DEPENDS}
715 earcv2elf.c: $(srcdir)/emulparams/arcv2elf.sh \
716 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
718 earcv2elfx.c: $(srcdir)/emulparams/arcv2elfx.sh \
719 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
721 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
722 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
724 earcelf_prof.c: $(srcdir)/emulparams/arcelf_prof.sh \
725 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
728 earclinux.c: $(srcdir)/emulparams/arclinux.sh \
729 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
730 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
732 earclinux_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
733 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
734 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
736 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
737 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
739 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
740 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
742 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
743 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
745 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
746 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
748 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
749 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
751 earmelf.c: $(srcdir)/emulparams/armelf.sh \
752 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
753 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
755 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
756 $(srcdir)/emulparams/armelf.sh \
757 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
758 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
760 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
761 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
762 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
764 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
765 $(srcdir)/emulparams/armelf_linux.sh \
766 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
767 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
769 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
770 $(srcdir)/emulparams/armelf_linux_eabi.sh \
771 $(srcdir)/emulparams/armelf_linux.sh \
772 $(srcdir)/emulparams/elf_nacl.sh \
773 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
774 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
776 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
777 $(srcdir)/emulparams/armelf.sh \
778 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
779 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
781 earmelf_phoenix.c: $(srcdir)/emulparams/armelf_phoenix.sh \
782 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
783 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
785 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
786 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
787 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
788 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
791 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
792 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
793 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
795 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
796 $(srcdir)/emulparams/armelf_fbsd.sh \
797 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
798 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
800 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
801 $(srcdir)/emulparams/armelf_linux.sh \
802 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
803 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
805 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
806 $(srcdir)/emulparams/armelf_linux_eabi.sh \
807 $(srcdir)/emulparams/armelf_linux.sh \
808 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
809 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
811 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
812 $(srcdir)/emulparams/armelf_nacl.sh \
813 $(srcdir)/emulparams/armelf_linux_eabi.sh \
814 $(srcdir)/emulparams/armelf_linux.sh \
815 $(srcdir)/emulparams/elf_nacl.sh \
816 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
817 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
819 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
820 $(srcdir)/emulparams/armelf_nbsd.sh \
821 $(srcdir)/emulparams/armelf.sh \
822 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
823 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
825 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
826 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
828 earmnto.c: $(srcdir)/emulparams/armnto.sh \
829 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
830 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
832 earmpe.c: $(srcdir)/emulparams/armpe.sh \
833 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
835 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
836 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
837 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
840 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
841 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
844 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
845 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
848 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
849 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
852 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
853 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
856 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
857 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
860 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
861 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
864 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
865 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
868 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
869 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
872 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
873 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
876 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
877 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
880 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
881 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
884 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
885 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
888 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
889 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
892 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
893 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
896 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
897 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
900 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
901 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
904 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
905 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
908 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
909 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avrtiny.sc \
912 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
913 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
915 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
916 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
918 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
919 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
921 ecriself.c: $(srcdir)/emulparams/criself.sh \
922 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
924 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
925 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
927 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
928 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
930 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
931 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
933 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
934 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
936 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
937 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
939 edelta68.c: $(srcdir)/emulparams/delta68.sh \
940 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
942 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
943 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
945 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
946 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
948 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
949 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
951 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
952 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
954 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
955 $(srcdir)/emulparams/elf32_sparc.sh \
956 $(srcdir)/emulparams/solaris2.sh \
957 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
958 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
960 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
961 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
962 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
963 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
965 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
966 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
968 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
970 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
971 if ../gas/as-new --version \
972 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
973 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
974 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
975 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
977 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
978 if ../gas/as-new --version \
979 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
980 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
981 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
982 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
984 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
985 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
988 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
989 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
992 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
993 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
996 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
997 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1000 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
1001 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1004 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
1005 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1008 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
1009 $(srcdir)/emulparams/elf32am33lin.sh \
1010 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1012 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1013 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1014 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1016 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
1017 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1018 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1020 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
1021 $(srcdir)/emulparams/elf32bfin.sh \
1022 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1023 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1025 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1026 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1028 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1029 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1030 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1031 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1033 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1034 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
1035 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1037 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1038 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1039 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1041 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
1042 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1043 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1045 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1046 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1047 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1049 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
1050 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1051 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1053 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1054 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1055 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1057 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1058 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1060 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1061 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1062 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1064 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1065 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1066 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1068 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1069 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1070 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1071 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1073 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1074 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1075 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1078 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1079 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1080 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1081 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1083 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1084 $(srcdir)/emulparams/elf32bmip.sh \
1085 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1088 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1089 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1090 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1093 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1094 $(ELF_DEPS) ${GEN_DEPENDS}
1096 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1097 $(srcdir)/emultempl/elf32.em \
1098 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1100 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1101 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1103 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1104 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1106 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1107 $(srcdir)/emulparams/elf32frv.sh \
1108 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1110 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1111 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1113 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1114 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1116 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1117 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1119 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1120 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1122 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1123 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1125 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1126 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1127 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1130 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1131 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1133 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1134 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1135 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1137 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1138 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1139 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1141 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1142 $(srcdir)/emulparams/elf32ppccommon.sh \
1143 $(srcdir)/emulparams/elf32ppc.sh \
1144 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1145 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1147 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1148 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1149 $(srcdir)/emulparams/elf32ppccommon.sh \
1150 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1151 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1153 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1154 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1155 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1156 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1158 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1159 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1160 $(srcdir)/emulparams/elf32ppccommon.sh \
1161 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1162 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1164 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1165 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1166 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1169 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1170 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1171 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1174 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1175 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1176 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1179 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1180 $(srcdir)/emulparams/elf32btsmipn32.sh \
1181 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1182 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1184 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1185 $(srcdir)/emulparams/elf32btsmipn32.sh \
1186 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1187 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1189 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1190 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1191 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1193 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1194 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1196 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1197 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1199 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1200 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1202 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1203 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1205 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1206 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1207 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1209 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1210 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1212 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1213 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1215 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1216 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1218 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1219 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1221 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1222 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1224 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1225 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1227 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1228 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1230 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1231 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1233 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1234 $(srcdir)/emulparams/elf32ppccommon.sh \
1235 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1236 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1238 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1239 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1240 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1241 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1243 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1244 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1245 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1246 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1248 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1249 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1250 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1251 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1253 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1254 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1255 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1256 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1258 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1259 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1260 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1261 $(srcdir)/emultempl/vxworks.em \
1262 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1264 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1265 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1267 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1268 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1270 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1271 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1273 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1274 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1275 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1277 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1278 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1279 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1281 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1282 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1283 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1285 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1286 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1288 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1289 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1291 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1292 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1293 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1295 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1296 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1297 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1299 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1300 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1301 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1303 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1304 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1305 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1307 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1308 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1309 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1310 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1312 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1313 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1315 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1316 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1318 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1319 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1321 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1322 $(srcdir)/emulparams/elf_i386.sh \
1323 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1325 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1326 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1328 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1329 $(srcdir)/emulparams/elf_i386.sh \
1330 $(srcdir)/emulparams/elf_nacl.sh \
1331 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1333 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1334 $(srcdir)/emulparams/solaris2.sh \
1335 $(srcdir)/emultempl/solaris2.em \
1336 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1338 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1339 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1340 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1342 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1343 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1345 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1346 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1348 egld960.c: $(srcdir)/emulparams/gld960.sh \
1349 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1351 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1352 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1354 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1355 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1357 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1358 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1360 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1361 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1363 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1364 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1366 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1367 $(srcdir)/emulparams/h8300elf.sh \
1368 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1370 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1371 $(srcdir)/emulparams/h8300elf_linux.sh \
1372 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1374 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1375 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1377 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1378 $(srcdir)/emulparams/h8300elf.sh \
1379 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1381 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1382 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1384 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1385 $(srcdir)/emulparams/h8300elf.sh \
1386 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1388 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1389 $(srcdir)/emulparams/h8300elf.sh \
1390 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1392 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1393 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1395 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1396 $(srcdir)/emulparams/h8300elf.sh \
1397 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1399 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1400 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1402 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1403 $(srcdir)/emulparams/h8300elf.sh \
1404 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1406 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1407 $(srcdir)/emulparams/h8300elf.sh \
1408 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1410 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1411 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1413 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1414 $(srcdir)/emulparams/h8300elf.sh \
1415 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1417 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1418 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1420 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1421 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1423 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1424 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1426 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1427 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1429 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1430 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1432 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1433 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1435 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1436 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1438 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1439 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1440 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1442 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1443 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1444 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1446 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1447 $(srcdir)/emulparams/hppaelf.sh \
1448 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1449 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1451 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1452 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1453 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1455 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1456 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1458 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1459 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1461 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1462 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1464 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1465 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1467 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1468 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1470 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1471 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1473 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1474 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1476 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1477 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1479 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1480 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1482 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1483 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1485 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1486 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1488 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1489 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1491 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1492 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1494 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1495 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1497 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1498 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1500 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1501 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1503 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1504 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1506 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1507 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1509 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1510 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1512 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1513 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1515 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1516 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1518 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1519 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1520 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1522 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1523 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1524 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1526 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1527 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1528 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1530 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1531 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1532 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1534 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1535 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1537 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1538 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1540 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1541 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1543 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1544 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1546 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1547 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1548 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1550 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1551 $(srcdir)/emulparams/m68kelf.sh \
1552 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1553 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1555 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1556 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1558 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1559 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1561 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1562 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1564 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1565 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1567 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1568 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1570 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1571 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1573 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1574 $(srcdir)/emulparams/mn10200.sh \
1575 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1577 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1578 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1579 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1581 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1582 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1583 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1585 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1586 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1587 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1589 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1590 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1591 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1593 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1594 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1595 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1597 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1598 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1599 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1601 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1602 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1603 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1605 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1606 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1607 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1609 enews.c: $(srcdir)/emulparams/news.sh \
1610 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1612 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1613 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1614 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1616 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1617 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1618 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1620 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1621 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1622 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1624 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1625 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1626 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1628 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1629 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1630 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1632 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1633 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1634 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1636 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1637 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1638 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1640 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1641 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1642 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1644 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1645 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1646 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1648 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1649 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1650 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1652 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1653 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1654 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1656 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1657 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1658 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1660 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1661 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1662 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1664 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1665 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1666 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1668 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1669 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1670 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1672 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1673 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1675 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1676 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1678 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1679 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1681 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1682 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1684 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1685 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1687 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1688 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1690 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1691 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1693 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1694 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1696 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1697 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1699 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1700 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1701 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1703 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1704 $(srcdir)/emulparams/score7_elf.sh \
1705 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1706 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1708 esh.c: $(srcdir)/emulparams/sh.sh \
1709 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1711 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1712 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1714 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1715 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1716 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1717 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1719 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1720 $(srcdir)/emulparams/shelf32.sh \
1721 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1722 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1723 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1725 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1726 $(srcdir)/emulparams/shelf32.sh \
1727 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1728 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1729 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1731 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1732 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1734 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1735 $(srcdir)/emulparams/shlelf_linux.sh \
1736 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1738 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1739 $(srcdir)/emulparams/shelf.sh \
1740 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1742 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1743 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1745 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1746 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1748 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1749 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1750 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1752 eshl.c: $(srcdir)/emulparams/shl.sh \
1753 $(srcdir)/emulparams/sh.sh \
1754 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1756 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1757 $(srcdir)/emulparams/shelf.sh \
1758 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1760 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1761 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1762 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1763 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1765 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1766 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1767 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1768 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1769 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1771 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1772 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1773 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1774 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1775 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1777 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1778 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1780 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1781 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1783 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1784 $(srcdir)/emulparams/shelf_nbsd.sh \
1785 $(srcdir)/emulparams/shelf.sh \
1786 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1788 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1789 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1791 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1792 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1793 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1796 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1797 $(srcdir)/emulparams/shelf.sh \
1798 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1800 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1801 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1803 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1804 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1806 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1807 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1809 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1810 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1812 est2000.c: $(srcdir)/emulparams/st2000.sh \
1813 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1815 esun3.c: $(srcdir)/emulparams/sun3.sh \
1816 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1818 esun4.c: $(srcdir)/emulparams/sun4.sh \
1819 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1821 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1822 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1824 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1825 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1827 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1828 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1830 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1831 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1833 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1834 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1836 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1837 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1839 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1840 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1842 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1843 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1845 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1846 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1848 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1849 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1851 evax.c: $(srcdir)/emulparams/vax.sh \
1852 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1854 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1855 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1857 evsta.c: $(srcdir)/emulparams/vsta.sh \
1858 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1860 ew65.c: $(srcdir)/emulparams/w65.sh \
1861 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1863 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1864 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1865 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1867 ez80.c: $(srcdir)/emulparams/z80.sh \
1868 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1869 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1871 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1872 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1874 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1875 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1877 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1878 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1880 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1881 $(srcdir)/emulparams/elf32_x86_64.sh \
1882 $(srcdir)/emulparams/elf_nacl.sh \
1883 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1885 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1886 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1888 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1889 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1890 $(srcdir)/emultempl/needrelax.em \
1891 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1893 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1894 $(srcdir)/emulparams/elf64_ia64.sh \
1895 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1896 $(srcdir)/emultempl/needrelax.em \
1897 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1899 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1900 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
1901 $(srcdir)/emultempl/needrelax.em \
1902 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1904 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1905 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1907 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1908 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1910 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1911 $(srcdir)/emulparams/elf64_sparc.sh \
1912 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1914 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1915 $(srcdir)/emulparams/elf64_sparc.sh \
1916 $(srcdir)/emulparams/solaris2.sh \
1917 $(srcdir)/emultempl/solaris2.em \
1918 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1920 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1921 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1922 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1924 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1925 $(srcdir)/emulparams/elf64alpha.sh \
1926 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1927 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1929 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1930 $(srcdir)/emulparams/elf64alpha.sh \
1931 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1932 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1934 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1935 $(srcdir)/emulparams/elf64bmip-defs.sh \
1936 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1937 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1938 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1940 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1941 $(srcdir)/emulparams/elf64bmip-defs.sh \
1942 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1943 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1945 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1946 $(srcdir)/emulparams/elf64bmip-defs.sh \
1947 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1948 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1950 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1951 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1953 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1954 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1956 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1958 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1959 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1960 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1961 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1963 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1964 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1965 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1966 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1968 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1969 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1970 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1972 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1974 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1976 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1977 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1978 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1980 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1981 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1983 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1984 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1985 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1987 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1988 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1989 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1991 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1992 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1994 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1995 $(srcdir)/emulparams/elf_l1om.sh \
1996 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1998 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1999 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2001 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
2002 $(srcdir)/emulparams/elf_k1om.sh \
2003 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2005 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
2006 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2008 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
2009 $(srcdir)/emulparams/elf_x86_64.sh \
2010 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2012 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
2013 $(srcdir)/emulparams/elf_x86_64.sh \
2014 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2016 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
2017 $(srcdir)/emulparams/elf_x86_64.sh \
2018 $(srcdir)/emulparams/elf_nacl.sh \
2019 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2021 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
2022 $(srcdir)/emulparams/elf_x86_64.sh \
2023 $(srcdir)/emulparams/solaris2.sh \
2024 $(srcdir)/emultempl/solaris2.em \
2025 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2027 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
2028 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2030 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
2031 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
2032 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
2033 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
2035 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2036 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2038 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
2039 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2040 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2042 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
2043 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2044 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2046 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2047 $(srcdir)/emulparams/shelf64_nbsd.sh \
2048 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2049 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2052 # We need this for automake to use YLWRAP.
2053 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
2054 # Allow dependency tracking to work for these files, too.
2055 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
2057 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
2058 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
2060 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
2061 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
2062 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
2064 # Dependency tracking for the generated emulation files.
2065 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
2067 # This is the real libbfd.a created by libtool.
2068 TESTBFDLIB = @TESTBFDLIB@
2070 check-DEJAGNU: site.exp
2071 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2072 r=`pwd`; export r; \
2073 LC_ALL=C; export LC_ALL; \
2074 EXPECT=$(EXPECT); export EXPECT; \
2075 runtest=$(RUNTEST); \
2076 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2077 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2078 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
2079 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
2080 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2081 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2082 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
2083 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
2085 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2088 # Rules for testing by relinking ld itself.
2089 # A similar test is in the testsuite. This target is for ease of use
2092 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
2093 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
2094 ld1$(EXEEXT): ld-partial.@OBJEXT@
2095 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2097 ld1-full$(EXEEXT): ld-new
2098 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2100 ld2$(EXEEXT): ld1$(EXEEXT)
2101 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2103 ld3$(EXEEXT): ld2$(EXEEXT)
2104 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2106 bootstrap: ld3$(EXEEXT)
2107 cmp ld2$(EXEEXT) ld3$(EXEEXT)
2111 # A test program for C++ constructors and destructors.
2112 # This test is now in the testsuite.
2114 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2115 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2116 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2119 # ./cdtest > cdtest.tmp
2120 # mv cdtest.tmp cdtest.out
2122 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2123 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2124 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2126 #cdtest-ur: cdtest-ur.@OBJEXT@
2127 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2130 #cdtest-ur.out: cdtest-ur
2131 # ./cdtest-ur > cdtest-ur.tmp
2132 # mv cdtest-ur.tmp cdtest-ur.out
2134 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2135 # diff $(srcdir)/cdtest.exp cdtest.out
2136 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2138 #.PHONY: check-cdtest
2140 # END OF CHECK TARGETS
2143 # Build a dummy plugin using libtool.
2146 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \
2147 libldtestplug3.la libldtestplug4.la
2148 libldtestplug_la_SOURCES = testplug.c
2149 libldtestplug_la_CFLAGS= -g -O2
2150 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2151 libldtestplug2_la_SOURCES = testplug2.c
2152 libldtestplug2_la_CFLAGS= -g -O2
2153 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
2154 libldtestplug3_la_SOURCES = testplug3.c
2155 libldtestplug3_la_CFLAGS= -g -O2
2156 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
2157 libldtestplug4_la_SOURCES = testplug4.c
2158 libldtestplug4_la_CFLAGS= -g -O2
2159 libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere
2162 # DOCUMENTATION TARGETS
2163 # Manual configuration file; not usually attached to normal configuration,
2164 # because almost all configs use "gen" version of manual.
2165 # Set DOCVER above to change.
2166 configdoc.texi: ${DOCVER}-doc.texi
2167 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2168 chmod u+w ./configdoc.texi
2170 # Build the man page from the texinfo file
2171 # The sed command removes the no-adjust Nroff command so that
2172 # the man output looks standard.
2173 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2175 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2176 -($(POD2MAN) ld.pod | \
2177 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2178 mv -f $@.T$$$$ $@) || \
2179 (rm -f $@.T$$$$ && exit 1)
2182 MAINTAINERCLEANFILES = configdoc.texi ld.1
2184 # We want to reconfigure if configure.host or configure.tgt changes.
2185 # development.sh is used to determine -Werror default.
2186 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2187 $(BFDDIR)/development.sh
2189 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2190 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2193 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2195 .PHONY: install-exec-local install-data-local
2197 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2198 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2199 n=`echo $(installed_linker) | sed '$(transform)'`; \
2200 if test "$(bindir)" != "$(tooldir)/bin"; then \
2201 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2202 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2203 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2205 if test "x$(install_as_default)" = "xyes"; then \
2206 ld=`echo ld | sed '$(transform)'`; \
2207 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2208 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2209 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2210 if test "$(bindir)" != "$(tooldir)/bin"; then \
2211 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2212 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2213 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2218 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2219 for f in ldscripts/* ; do \
2220 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2223 # Stuff that should be included in a distribution. The diststuff
2224 # target is run by the taz target in ../Makefile.in.
2225 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2226 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2227 diststuff: info $(EXTRA_DIST)
2229 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2230 # But info isn't a direct target. Make info-recursive to depend on
2231 # ld.1 to support parallel build.
2232 info-recursive: ld.1
2234 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2238 MAINTAINERCLEANFILES += ld.info
2240 # Automake 1.9 will only build info files in the objdir if they are
2241 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2242 # though, so we use a bogus condition.
2244 DISTCLEANFILES += ld.info