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 # Strip out sanitization options as we want to test building binaries without any extra paraphernalia
140 CFLAGS_FOR_TARGET = `echo $(CFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
141 CXXFLAGS_FOR_TARGET = `echo $(CXXFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
143 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
144 bin_PROGRAMS = ld-new
145 info_TEXINFOS = ld.texinfo
146 ld_TEXINFOS = configdoc.texi
147 noinst_TEXINFOS = ldint.texinfo
150 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
151 -I $(top_srcdir)/../libiberty
152 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
153 -I $(top_srcdir)/../libiberty
155 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
156 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
157 -DLOCALEDIR="\"$(datadir)/locale\""
159 BFDLIB = ../bfd/libbfd.la
160 LIBIBERTY = ../libiberty/libiberty.a
162 ALL_EMULATION_SOURCES = \
183 earmelf_linux_eabi.c \
191 earmelfb_linux_eabi.c \
230 eelf32_sparc_sol2.c \
231 eelf32_sparc_vxworks.c \
235 eelf32_tic6x_linux_be.c \
236 eelf32_tic6x_linux_le.c \
237 eelf32_tic6x_elf_be.c \
238 eelf32_tic6x_elf_le.c \
246 eelf32epiphany_4x4.c \
267 eelf32microblazeel.c \
300 eelf_i386_vxworks.c \
320 eh8300sxelf_linux.c \
426 etic3xcoff_onchip.c \
442 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
444 ALL_64_EMULATION_SOURCES = \
450 eaarch64cloudabib.c \
458 eelf32_x86_64_nacl.c \
464 eelf32btsmip_fbsd.c \
466 eelf32btsmipn32_fbsd.c \
468 eelf32ebmipvxworks.c \
470 eelf32elmipvxworks.c \
477 eelf32ltsmip_fbsd.c \
479 eelf32ltsmipn32_fbsd.c \
480 eelf32mipswindiss.c \
487 eelf64_sparc_fbsd.c \
488 eelf64_sparc_sol2.c \
494 eelf64btsmip_fbsd.c \
498 eelf64ltsmip_fbsd.c \
510 eelf_x86_64_cloudabi.c \
522 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
524 ALL_EMUL_EXTRA_OFILES = \
528 ALL_64_EMUL_EXTRA_OFILES = \
531 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
532 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
533 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
534 $(PLUGIN_C) ldbuildid.c
536 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
537 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
538 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
539 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
541 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
542 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
544 # Require an early dependency on the generated headers, as the dependency
545 # tracking will not cause them to be built beforehand.
546 BUILT_SOURCES = $(GENERATED_HFILES)
548 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
549 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
550 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
551 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
554 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
556 # Disable -Werror, if it has been enabled, since old versions of bison/
557 # yacc will produce working code which contain compile time warnings.
558 ldgram.@OBJEXT@: ldgram.c
560 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
561 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
564 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
565 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
567 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
570 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
572 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
573 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
576 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
577 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
579 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
582 deffilep.@OBJEXT@: deffilep.c
584 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
585 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
588 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
589 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
591 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
594 # At the moment this is just a list of those emulation template files
595 # that contain internationalised strings.
596 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
598 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
600 po/POTFILES.in: @MAINT@ Makefile
601 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
602 && mv tmp $(srcdir)/po/POTFILES.in
604 ldmain.@OBJEXT@: ldmain.c config.status
606 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
607 -DDEFAULT_EMULATION='"$(EMUL)"' \
608 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
609 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
611 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
614 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
615 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
617 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
618 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
619 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
623 ldfile.@OBJEXT@: ldfile.c config.status
625 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
626 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
628 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
631 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
632 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
634 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
635 -DTOOLBINDIR='"$(tooldir)/bin"' \
639 eelf32_spu.@OBJEXT@: eelf32_spu.c
641 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
642 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
643 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
646 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
647 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
649 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
653 ldemul-list.h: Makefile
654 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
655 for f in `echo " " ${EMULATION_OFILES} "" \
656 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
657 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
660 echo "#define EMULATION_LIST \\";\
661 for f in `echo " " ${EMULATION_OFILES} "" \
662 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
663 echo " &ld_$${f}_emulation, \\"; \
665 echo " 0") >ldemul-tmp.h
666 mv ldemul-tmp.h ldemul-list.h
668 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
669 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
671 # These all start with e so 'make clean' can find them.
673 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@
674 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
675 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
676 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
677 ELF_X86_DEPS = $(ELF_DEPS) $(srcdir)/emulparams/plt_unwind.sh \
678 $(srcdir)/emulparams/extern_protected_data.sh \
679 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
680 $(srcdir)/emulparams/reloc_overflow.sh \
681 $(srcdir)/emulparams/call_nop.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_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
737 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
738 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
740 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
741 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
743 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
744 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
746 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
747 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
749 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
750 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
752 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
753 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
755 earmelf.c: $(srcdir)/emulparams/armelf.sh \
756 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
757 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
759 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
760 $(srcdir)/emulparams/armelf.sh \
761 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
762 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
764 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
765 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
766 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
768 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
769 $(srcdir)/emulparams/armelf_linux.sh \
770 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
771 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
773 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
774 $(srcdir)/emulparams/armelf_linux_eabi.sh \
775 $(srcdir)/emulparams/armelf_linux.sh \
776 $(srcdir)/emulparams/elf_nacl.sh \
777 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
778 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
780 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
781 $(srcdir)/emulparams/armelf.sh \
782 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
783 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
785 earmelf_phoenix.c: $(srcdir)/emulparams/armelf_phoenix.sh \
786 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
787 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
789 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
790 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
791 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
792 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
795 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
796 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
797 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
799 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
800 $(srcdir)/emulparams/armelf_fbsd.sh \
801 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
802 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
804 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
805 $(srcdir)/emulparams/armelf_linux.sh \
806 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
807 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
809 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
810 $(srcdir)/emulparams/armelf_linux_eabi.sh \
811 $(srcdir)/emulparams/armelf_linux.sh \
812 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
813 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
815 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
816 $(srcdir)/emulparams/armelf_nacl.sh \
817 $(srcdir)/emulparams/armelf_linux_eabi.sh \
818 $(srcdir)/emulparams/armelf_linux.sh \
819 $(srcdir)/emulparams/elf_nacl.sh \
820 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
821 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
823 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
824 $(srcdir)/emulparams/armelf_nbsd.sh \
825 $(srcdir)/emulparams/armelf.sh \
826 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
827 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
829 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
830 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
832 earmnto.c: $(srcdir)/emulparams/armnto.sh \
833 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
834 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
836 earmpe.c: $(srcdir)/emulparams/armpe.sh \
837 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
839 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
840 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
841 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
844 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
845 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
848 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
849 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
852 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
853 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
856 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
857 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
860 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
861 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
864 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
865 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
868 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
869 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
872 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
873 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
876 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
877 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
880 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
881 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
884 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
885 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
888 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
889 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
892 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
893 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
896 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
897 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
900 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
901 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
904 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
905 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
908 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
909 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
912 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
913 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avrtiny.sc \
916 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
917 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
919 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
920 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
922 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
923 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
925 ecriself.c: $(srcdir)/emulparams/criself.sh \
926 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
928 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
929 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
931 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
932 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
934 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
935 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
937 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
938 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
940 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
941 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
943 edelta68.c: $(srcdir)/emulparams/delta68.sh \
944 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
946 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
947 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
949 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
950 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
952 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
953 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
955 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
956 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
958 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
959 $(srcdir)/emulparams/elf32_sparc.sh \
960 $(srcdir)/emulparams/solaris2.sh \
961 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
962 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
964 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
965 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
966 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
967 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
969 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
970 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
972 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
974 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
975 if ../gas/as-new --version \
976 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
977 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
978 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
979 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
981 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
982 if ../gas/as-new --version \
983 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
984 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
985 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
986 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
988 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
989 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
992 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
993 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
996 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
997 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1000 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
1001 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1004 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
1005 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1008 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
1009 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1012 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
1013 $(srcdir)/emulparams/elf32am33lin.sh \
1014 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1016 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1017 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1018 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1020 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
1021 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1022 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1024 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
1025 $(srcdir)/emulparams/elf32bfin.sh \
1026 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1027 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1029 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1030 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1032 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1033 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1034 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1035 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1037 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1038 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
1039 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1041 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1042 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1043 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1045 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
1046 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1047 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1049 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1050 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1051 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1053 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
1054 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1055 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1057 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1058 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1059 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1061 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1062 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1064 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1065 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1066 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1068 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1069 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1070 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1072 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1073 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1074 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1075 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1077 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1078 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1079 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1082 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1083 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1084 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1085 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1087 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1088 $(srcdir)/emulparams/elf32bmip.sh \
1089 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1092 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1093 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1094 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1097 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1098 $(ELF_DEPS) ${GEN_DEPENDS}
1100 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1101 $(srcdir)/emultempl/elf32.em \
1102 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1104 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1105 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1107 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1108 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1110 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1111 $(srcdir)/emulparams/elf32frv.sh \
1112 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1114 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1115 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1117 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1118 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1120 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1121 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1123 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1124 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1126 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1127 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1129 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1130 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1131 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1134 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1135 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1137 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1138 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1139 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1141 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1142 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1143 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1145 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1146 $(srcdir)/emulparams/elf32ppccommon.sh \
1147 $(srcdir)/emulparams/elf32ppc.sh \
1148 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1149 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1151 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1152 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1153 $(srcdir)/emulparams/elf32ppccommon.sh \
1154 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1155 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1157 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1158 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1159 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1160 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1162 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1163 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1164 $(srcdir)/emulparams/elf32ppccommon.sh \
1165 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1166 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1168 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1169 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1170 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1173 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1174 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1175 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1178 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1179 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1180 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1183 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1184 $(srcdir)/emulparams/elf32btsmipn32.sh \
1185 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1186 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1188 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1189 $(srcdir)/emulparams/elf32btsmipn32.sh \
1190 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1191 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1193 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1194 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1195 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1197 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1198 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1200 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1201 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1203 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1204 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1206 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1207 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1209 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1210 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1211 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1213 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1214 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1216 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1217 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1219 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1220 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1222 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1223 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1225 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1226 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1228 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1229 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1231 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1232 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1234 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1235 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1237 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1238 $(srcdir)/emulparams/elf32ppccommon.sh \
1239 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1240 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1242 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1243 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1244 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1245 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1247 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1248 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1249 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1250 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1252 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1253 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1254 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1255 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1257 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1258 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1259 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1260 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1262 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1263 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1264 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1265 $(srcdir)/emultempl/vxworks.em \
1266 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1268 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1269 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1271 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1272 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1274 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1275 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1277 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1278 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1279 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1281 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1282 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1283 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1285 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1286 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1287 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1289 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1290 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1292 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1293 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1295 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1296 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1297 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1299 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1300 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1301 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1303 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1304 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1305 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1307 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1308 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1309 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1311 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1312 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1313 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/xtensa.h \
1314 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1316 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1317 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1319 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1320 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1322 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1323 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1325 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1326 $(srcdir)/emulparams/elf_i386.sh \
1327 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1329 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1330 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1332 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1333 $(srcdir)/emulparams/elf_i386.sh \
1334 $(srcdir)/emulparams/elf_nacl.sh \
1335 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1337 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1338 $(srcdir)/emulparams/solaris2.sh \
1339 $(srcdir)/emultempl/solaris2.em \
1340 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1342 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1343 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1344 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1346 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1347 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1349 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1350 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1352 egld960.c: $(srcdir)/emulparams/gld960.sh \
1353 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1355 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1356 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1358 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1359 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1361 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1362 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1364 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1365 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1367 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1368 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1370 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1371 $(srcdir)/emulparams/h8300elf.sh \
1372 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1374 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1375 $(srcdir)/emulparams/h8300elf_linux.sh \
1376 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1378 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1379 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1381 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1382 $(srcdir)/emulparams/h8300elf.sh \
1383 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1385 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1386 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1388 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1389 $(srcdir)/emulparams/h8300elf.sh \
1390 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1392 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1393 $(srcdir)/emulparams/h8300elf.sh \
1394 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1396 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1397 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1399 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1400 $(srcdir)/emulparams/h8300elf.sh \
1401 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1403 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1404 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1406 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1407 $(srcdir)/emulparams/h8300elf.sh \
1408 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1410 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1411 $(srcdir)/emulparams/h8300elf.sh \
1412 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1414 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1415 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1417 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1418 $(srcdir)/emulparams/h8300elf.sh \
1419 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1421 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1422 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1424 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1425 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1427 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1428 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1430 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1431 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1433 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1434 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1436 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1437 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1439 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1440 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1442 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1443 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1444 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1446 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1447 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1448 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1450 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1451 $(srcdir)/emulparams/hppaelf.sh \
1452 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1453 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1455 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1456 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1457 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1459 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1460 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1462 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1463 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1465 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1466 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1468 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1469 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1471 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1472 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1474 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1475 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1477 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1478 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1480 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1481 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1483 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1484 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1486 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1487 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1489 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1490 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1492 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1493 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1495 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1496 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1498 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1499 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1501 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1502 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1504 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1505 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1507 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1508 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1510 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1511 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1513 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1514 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1516 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1517 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1519 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1520 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1522 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1523 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1524 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1526 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1527 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1528 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1530 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1531 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1532 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1534 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1535 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1536 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1538 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1539 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1541 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1542 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1544 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1545 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1547 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1548 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1550 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1551 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1552 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1554 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1555 $(srcdir)/emulparams/m68kelf.sh \
1556 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1557 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1559 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1560 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1562 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1563 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1565 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1566 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1568 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1569 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1571 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1572 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1574 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1575 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1577 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1578 $(srcdir)/emulparams/mn10200.sh \
1579 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1581 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1582 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1583 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1585 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1586 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1587 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1589 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1590 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1591 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1593 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1594 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1595 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1597 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1598 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1599 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1601 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1602 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1603 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1605 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1606 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1607 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1609 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1610 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1611 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1613 enews.c: $(srcdir)/emulparams/news.sh \
1614 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1616 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1617 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1618 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1620 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1621 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1622 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1624 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1625 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1626 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1628 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1629 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1630 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1632 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1633 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1634 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1636 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1637 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1638 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1640 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1641 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1642 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1644 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1645 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1646 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1648 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1649 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1650 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1652 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1653 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1654 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1656 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1657 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1658 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1660 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1661 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1662 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1664 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1665 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1666 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1668 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1669 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1670 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1672 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1673 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1674 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1676 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1677 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1679 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1680 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1682 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1683 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1685 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1686 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1688 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1689 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1691 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1692 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1694 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1695 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1697 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1698 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1700 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1701 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1703 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1704 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1705 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1707 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1708 $(srcdir)/emulparams/score7_elf.sh \
1709 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1710 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1712 esh.c: $(srcdir)/emulparams/sh.sh \
1713 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1715 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1716 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1718 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1719 $(INCDIR)/libiberty.h \
1720 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1721 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1723 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1724 $(srcdir)/emulparams/shelf32.sh \
1725 $(INCDIR)/libiberty.h \
1726 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1727 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1729 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1730 $(srcdir)/emulparams/shelf32.sh \
1731 $(INCDIR)/libiberty.h \
1732 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1733 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1735 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1736 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1738 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1739 $(srcdir)/emulparams/shlelf_linux.sh \
1740 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1742 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1743 $(srcdir)/emulparams/shelf.sh \
1744 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1746 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1747 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1749 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1750 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1752 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1753 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1754 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1756 eshl.c: $(srcdir)/emulparams/shl.sh \
1757 $(srcdir)/emulparams/sh.sh \
1758 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1760 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1761 $(srcdir)/emulparams/shelf.sh \
1762 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1764 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1765 $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1766 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1767 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1769 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1770 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1771 $(INCDIR)/libiberty.h \
1772 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1773 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1775 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1776 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1777 $(INCDIR)/libiberty.h \
1778 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1779 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1781 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1782 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1784 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1785 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1787 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1788 $(srcdir)/emulparams/shelf_nbsd.sh \
1789 $(srcdir)/emulparams/shelf.sh \
1790 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1792 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1793 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1795 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1796 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1797 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1800 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1801 $(srcdir)/emulparams/shelf.sh \
1802 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1804 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1805 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1807 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1808 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1810 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1811 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1813 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1814 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1816 est2000.c: $(srcdir)/emulparams/st2000.sh \
1817 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1819 esun3.c: $(srcdir)/emulparams/sun3.sh \
1820 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1822 esun4.c: $(srcdir)/emulparams/sun4.sh \
1823 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1825 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1826 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1828 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1829 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1831 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1832 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1834 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1835 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1837 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1838 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1840 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1841 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1843 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1844 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1846 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1847 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1849 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1850 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1852 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1853 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1855 evax.c: $(srcdir)/emulparams/vax.sh \
1856 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1858 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1859 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1861 evsta.c: $(srcdir)/emulparams/vsta.sh \
1862 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1864 ew65.c: $(srcdir)/emulparams/w65.sh \
1865 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1867 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1868 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1869 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1871 ez80.c: $(srcdir)/emulparams/z80.sh \
1872 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1873 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1875 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1876 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1878 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1879 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1881 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1882 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1884 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1885 $(srcdir)/emulparams/elf32_x86_64.sh \
1886 $(srcdir)/emulparams/elf_nacl.sh \
1887 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1889 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1890 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1892 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1893 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1894 $(srcdir)/emultempl/needrelax.em \
1895 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1897 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1898 $(srcdir)/emulparams/elf64_ia64.sh \
1899 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1900 $(srcdir)/emultempl/needrelax.em \
1901 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1903 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1904 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
1905 $(srcdir)/emultempl/needrelax.em \
1906 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1908 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1909 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1911 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1912 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1914 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1915 $(srcdir)/emulparams/elf64_sparc.sh \
1916 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1918 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1919 $(srcdir)/emulparams/elf64_sparc.sh \
1920 $(srcdir)/emulparams/solaris2.sh \
1921 $(srcdir)/emultempl/solaris2.em \
1922 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1924 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1925 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1926 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1928 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1929 $(srcdir)/emulparams/elf64alpha.sh \
1930 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1931 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1933 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1934 $(srcdir)/emulparams/elf64alpha.sh \
1935 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1936 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1938 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1939 $(srcdir)/emulparams/elf64bmip-defs.sh \
1940 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1941 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1942 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1944 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1945 $(srcdir)/emulparams/elf64bmip-defs.sh \
1946 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1947 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1949 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1950 $(srcdir)/emulparams/elf64bmip-defs.sh \
1951 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1952 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1954 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1955 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1957 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1958 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1960 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1962 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1963 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1964 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1965 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1967 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1968 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1969 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1970 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1972 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1973 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1974 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1976 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1978 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1980 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1981 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1982 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1984 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1985 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1987 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1988 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1989 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1991 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1992 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1993 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1995 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1996 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1998 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1999 $(srcdir)/emulparams/elf_l1om.sh \
2000 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2002 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
2003 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2005 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
2006 $(srcdir)/emulparams/elf_k1om.sh \
2007 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2009 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
2010 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2012 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
2013 $(srcdir)/emulparams/elf_x86_64.sh \
2014 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2016 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
2017 $(srcdir)/emulparams/elf_x86_64.sh \
2018 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2020 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
2021 $(srcdir)/emulparams/elf_x86_64.sh \
2022 $(srcdir)/emulparams/elf_nacl.sh \
2023 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2025 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
2026 $(srcdir)/emulparams/elf_x86_64.sh \
2027 $(srcdir)/emulparams/solaris2.sh \
2028 $(srcdir)/emultempl/solaris2.em \
2029 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2031 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
2032 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2034 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
2035 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
2036 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
2037 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
2039 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2040 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2042 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
2043 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2044 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2046 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
2047 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2048 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2050 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2051 $(srcdir)/emulparams/shelf64_nbsd.sh \
2052 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2053 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2056 # We need this for automake to use YLWRAP.
2057 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
2058 # Allow dependency tracking to work for these files, too.
2059 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
2061 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
2062 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
2064 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
2065 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
2066 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
2068 # Dependency tracking for the generated emulation files.
2069 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
2071 # This is the real libbfd.a created by libtool.
2072 TESTBFDLIB = @TESTBFDLIB@
2074 check-DEJAGNU: site.exp
2075 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2076 r=`pwd`; export r; \
2077 LC_ALL=C; export LC_ALL; \
2078 EXPECT=$(EXPECT); export EXPECT; \
2079 runtest=$(RUNTEST); \
2080 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2081 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2082 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS_FOR_TARGET)" \
2083 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
2084 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2085 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2086 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
2087 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
2089 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2092 # Rules for testing by relinking ld itself.
2093 # A similar test is in the testsuite. This target is for ease of use
2096 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
2097 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
2098 ld1$(EXEEXT): ld-partial.@OBJEXT@
2099 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2101 ld1-full$(EXEEXT): ld-new
2102 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2104 ld2$(EXEEXT): ld1$(EXEEXT)
2105 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2107 ld3$(EXEEXT): ld2$(EXEEXT)
2108 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2110 bootstrap: ld3$(EXEEXT)
2111 cmp ld2$(EXEEXT) ld3$(EXEEXT)
2115 # A test program for C++ constructors and destructors.
2116 # This test is now in the testsuite.
2118 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2119 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2120 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2123 # ./cdtest > cdtest.tmp
2124 # mv cdtest.tmp cdtest.out
2126 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2127 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2128 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2130 #cdtest-ur: cdtest-ur.@OBJEXT@
2131 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2134 #cdtest-ur.out: cdtest-ur
2135 # ./cdtest-ur > cdtest-ur.tmp
2136 # mv cdtest-ur.tmp cdtest-ur.out
2138 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2139 # diff $(srcdir)/cdtest.exp cdtest.out
2140 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2142 #.PHONY: check-cdtest
2144 # END OF CHECK TARGETS
2147 # Build a dummy plugin using libtool.
2150 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \
2151 libldtestplug3.la libldtestplug4.la
2152 libldtestplug_la_SOURCES = testplug.c
2153 libldtestplug_la_CFLAGS= -g -O2
2154 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2155 libldtestplug2_la_SOURCES = testplug2.c
2156 libldtestplug2_la_CFLAGS= -g -O2
2157 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
2158 libldtestplug3_la_SOURCES = testplug3.c
2159 libldtestplug3_la_CFLAGS= -g -O2
2160 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
2161 libldtestplug4_la_SOURCES = testplug4.c
2162 libldtestplug4_la_CFLAGS= -g -O2
2163 libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere
2166 # DOCUMENTATION TARGETS
2167 # Manual configuration file; not usually attached to normal configuration,
2168 # because almost all configs use "gen" version of manual.
2169 # Set DOCVER above to change.
2170 configdoc.texi: ${DOCVER}-doc.texi
2171 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2172 chmod u+w ./configdoc.texi
2174 # Build the man page from the texinfo file
2175 # The sed command removes the no-adjust Nroff command so that
2176 # the man output looks standard.
2177 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2179 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2180 -($(POD2MAN) ld.pod | \
2181 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2182 mv -f $@.T$$$$ $@) || \
2183 (rm -f $@.T$$$$ && exit 1)
2186 MAINTAINERCLEANFILES = configdoc.texi ld.1
2188 # We want to reconfigure if configure.host or configure.tgt changes.
2189 # development.sh is used to determine -Werror default.
2190 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2191 $(BFDDIR)/development.sh
2193 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2194 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2197 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2199 .PHONY: install-exec-local install-data-local
2201 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2202 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2203 n=`echo $(installed_linker) | sed '$(transform)'`; \
2204 if test "$(bindir)" != "$(tooldir)/bin"; then \
2205 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2206 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2207 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2209 if test "x$(install_as_default)" = "xyes"; then \
2210 ld=`echo ld | sed '$(transform)'`; \
2211 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2212 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2213 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2214 if test "$(bindir)" != "$(tooldir)/bin"; then \
2215 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2216 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2217 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2222 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2223 for f in ldscripts/* ; do \
2224 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2227 # Stuff that should be included in a distribution. The diststuff
2228 # target is run by the taz target in ../Makefile.in.
2229 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2230 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2231 diststuff: info $(EXTRA_DIST)
2233 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2234 # But info isn't a direct target. Make info-recursive to depend on
2235 # ld.1 to support parallel build.
2236 info-recursive: ld.1
2238 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2242 MAINTAINERCLEANFILES += ld.info
2244 # Automake 1.9 will only build info files in the objdir if they are
2245 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2246 # though, so we use a bogus condition.
2248 DISTCLEANFILES += ld.info