1 ## Process this file with automake to generate Makefile.in
3 # Copyright 2012-2014 Free Software Foundation
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 WARN_CFLAGS = @WARN_CFLAGS@
38 NO_WERROR = @NO_WERROR@
39 AM_CFLAGS = $(WARN_CFLAGS)
41 # Conditionally enable the plugin interface.
45 PLUGIN_OBJECT = plugin.@OBJEXT@
46 PLUGIN_CFLAGS = -DENABLE_PLUGINS
54 # We put the scripts in the directory $(scriptdir)/ldscripts.
55 # We can't put the scripts in $(datadir) because the SEARCH_DIR
56 # directives need to be different for native and cross linkers.
57 scriptdir = $(tooldir)/lib
60 EMULATION_OFILES = @EMULATION_OFILES@
61 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
63 # Search path to override the default search path for -lfoo libraries.
64 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
65 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
66 # a cross-linker, in which case the default is empty. See genscripts.sh.)
67 # Otherwise, they are replaced with the ones given in LIB_PATH,
68 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
69 # when the linker is configured via the --with-lib-path configure switch.
72 BASEDIR = $(srcdir)/..
73 BFDDIR = $(BASEDIR)/bfd
74 INCDIR = $(BASEDIR)/include
76 # What version of the manual to build
79 # Options to extract the man page from ld.texinfo
82 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
84 POD2MAN = pod2man --center="GNU Development Tools" \
85 --release="binutils-$(VERSION)" --section=1
87 #stuff for self hosting (can be overridden in config file).
88 HOSTING_CRT0 = @HOSTING_CRT0@
89 HOSTING_SCRT0 = @HOSTING_SCRT0@
90 HOSTING_LIBS = @HOSTING_LIBS@
91 HOSTING_SLIBS = @HOSTING_SLIBS@
92 HOSTING_EMU = -m $(EMUL)
94 # Setup the testing framework, if you have one
100 if [ -f $$r/../gcc/xgcc ] ; then \
101 if [ -f $$r/../newlib/Makefile ] ; then \
102 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
104 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
107 if [ "@host@" = "@target@" ] ; then \
110 echo gcc | sed '$(transform)'; \
115 if [ -f $$r/../gcc/g++ ] ; then \
116 if [ -f $$r/../newlib/Makefile ] ; then \
117 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
119 echo $$r/../gcc/g++ -B$$r/../gcc/; \
122 if [ "@host@" = "@target@" ] ; then \
125 echo g++ | sed '$(transform)'; \
129 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
130 bin_PROGRAMS = ld-new
131 info_TEXINFOS = ld.texinfo
132 ld_TEXINFOS = configdoc.texi
133 noinst_TEXINFOS = ldint.texinfo
136 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
137 -I $(top_srcdir)/../libiberty
138 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
139 -I $(top_srcdir)/../libiberty
141 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
142 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
143 -DLOCALEDIR="\"$(datadir)/locale\""
145 BFDLIB = ../bfd/libbfd.la
146 LIBIBERTY = ../libiberty/libiberty.a
148 ALL_EMULATION_SOURCES = \
164 earmelf_linux_eabi.c \
170 earmelfb_linux_eabi.c \
208 eelf32_sparc_sol2.c \
209 eelf32_sparc_vxworks.c \
213 eelf32_tic6x_linux_be.c \
214 eelf32_tic6x_linux_le.c \
215 eelf32_tic6x_elf_be.c \
216 eelf32_tic6x_elf_le.c \
224 eelf32epiphany_4x4.c \
243 eelf32microblazeel.c \
273 eelf_i386_vxworks.c \
395 etic3xcoff_onchip.c \
411 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
413 ALL_64_EMULATION_SOURCES = \
423 eelf32_x86_64_nacl.c \
429 eelf32btsmip_fbsd.c \
431 eelf32btsmipn32_fbsd.c \
433 eelf32ebmipvxworks.c \
435 eelf32elmipvxworks.c \
442 eelf32ltsmip_fbsd.c \
444 eelf32ltsmipn32_fbsd.c \
445 eelf32mipswindiss.c \
452 eelf64_sparc_fbsd.c \
453 eelf64_sparc_sol2.c \
459 eelf64btsmip_fbsd.c \
463 eelf64ltsmip_fbsd.c \
485 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
487 ALL_EMUL_EXTRA_OFILES = \
492 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
493 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
494 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
497 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
498 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
499 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
500 elf-hints-local.h $(PLUGIN_H)
502 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
503 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
505 # Require an early dependency on the generated headers, as the dependency
506 # tracking will not cause them to be built beforehand.
507 BUILT_SOURCES = $(GENERATED_HFILES)
509 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
510 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
511 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
512 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
514 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
516 # Disable -Werror, if it has been enabled, since old versions of bison/
517 # yacc will produce working code which contain compile time warnings.
518 ldgram.@OBJEXT@: ldgram.c
520 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
521 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
524 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
525 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
527 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
530 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
532 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
533 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
536 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
537 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
539 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
542 deffilep.@OBJEXT@: deffilep.c
544 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
545 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
548 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
549 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
551 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
554 # At the moment this is just a list of those emulation template files
555 # that contain internationalised strings.
556 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
558 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
560 po/POTFILES.in: @MAINT@ Makefile
561 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
562 && mv tmp $(srcdir)/po/POTFILES.in
564 ldmain.@OBJEXT@: ldmain.c config.status
566 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
567 -DDEFAULT_EMULATION='"$(EMUL)"' \
568 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
569 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
571 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
574 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
575 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
577 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
578 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
579 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
583 ldfile.@OBJEXT@: ldfile.c config.status
585 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
586 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
588 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
591 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
592 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
594 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
595 -DTOOLBINDIR='"$(tooldir)/bin"' \
599 eelf32_spu.@OBJEXT@: eelf32_spu.c
601 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
602 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
603 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
606 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
607 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
609 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
613 ldemul-list.h: Makefile
614 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
615 for f in `echo " " ${EMULATION_OFILES} "" \
616 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
617 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
620 echo "#define EMULATION_LIST \\";\
621 for f in `echo " " ${EMULATION_OFILES} "" \
622 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
623 echo " &ld_$${f}_emulation, \\"; \
625 echo " 0") >ldemul-tmp.h
626 mv ldemul-tmp.h ldemul-list.h
628 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
629 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
631 # These all start with e so 'make clean' can find them.
633 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@
634 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
635 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
636 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
640 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
641 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
642 ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
643 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
644 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
645 ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
646 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
647 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
648 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
649 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
650 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
651 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
652 ealpha.c: $(srcdir)/emulparams/alpha.sh \
653 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
654 ${GENSCRIPTS} alpha "$(tdir_alpha)"
655 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
656 $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
658 ${GENSCRIPTS} alphavms "$(tdir_alphavms)"
659 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
660 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
661 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
662 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
663 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
664 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
665 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
666 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
667 ${GENSCRIPTS} arm_wince_pe "$(tdir_armpe)"
668 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
669 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
670 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
671 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
672 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
673 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
674 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
675 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
676 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
677 earmelf.c: $(srcdir)/emulparams/armelf.sh \
678 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
679 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
680 ${GENSCRIPTS} armelf "$(tdir_armelf)"
681 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
682 $(srcdir)/emulparams/armelf.sh \
683 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
684 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
685 ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
686 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
687 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
688 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
689 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
690 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
691 $(srcdir)/emulparams/armelf_linux.sh \
692 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
693 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
694 ${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)"
695 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
696 $(srcdir)/emulparams/armelf_linux_eabi.sh \
697 $(srcdir)/emulparams/armelf_linux.sh \
698 $(srcdir)/emulparams/elf_nacl.sh \
699 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
700 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
701 ${GENSCRIPTS} armelf_nacl "$(tdir_armelf_nacl)"
702 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
703 $(srcdir)/emulparams/armelf.sh \
704 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
705 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
706 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
707 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
708 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
709 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
710 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
712 ${GENSCRIPTS} armelf_vxworks "$(tdir_armelf)"
713 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
714 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
715 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
716 ${GENSCRIPTS} armelfb "$(tdir_armelfb)"
717 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
718 $(srcdir)/emulparams/armelf_linux.sh \
719 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
720 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
721 ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
722 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
723 $(srcdir)/emulparams/armelf_linux_eabi.sh \
724 $(srcdir)/emulparams/armelf_linux.sh \
725 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
726 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
727 ${GENSCRIPTS} armelfb_linux_eabi "$(tdir_armelfb_linux_abi)"
728 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
729 $(srcdir)/emulparams/armelf_nacl.sh \
730 $(srcdir)/emulparams/armelf_linux_eabi.sh \
731 $(srcdir)/emulparams/armelf_linux.sh \
732 $(srcdir)/emulparams/elf_nacl.sh \
733 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
734 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
735 ${GENSCRIPTS} armelfb_nacl "$(tdir_armelfb_nacl)"
736 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
737 $(srcdir)/emulparams/armelf_nbsd.sh \
738 $(srcdir)/emulparams/armelf.sh \
739 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
740 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
741 ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
742 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
743 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
744 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
745 earmnto.c: $(srcdir)/emulparams/armnto.sh \
746 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
747 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
748 ${GENSCRIPTS} armnto "$(tdir_armnto)"
749 earmpe.c: $(srcdir)/emulparams/armpe.sh \
750 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
751 ${GENSCRIPTS} armpe "$(tdir_armpe)"
752 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
753 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
754 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
756 ${GENSCRIPTS} armsymbian "$(tdir_armelf)"
757 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
758 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
760 ${GENSCRIPTS} avr1 "$(tdir_avr2)"
761 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
762 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
764 ${GENSCRIPTS} avr2 "$(tdir_avr2)"
765 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
766 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
768 ${GENSCRIPTS} avr25 "$(tdir_avr2)"
769 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
770 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
772 ${GENSCRIPTS} avr3 "$(tdir_avr2)"
773 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
774 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
776 ${GENSCRIPTS} avr31 "$(tdir_avr2)"
777 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
778 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
780 ${GENSCRIPTS} avr35 "$(tdir_avr2)"
781 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
782 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
784 ${GENSCRIPTS} avr4 "$(tdir_avr2)"
785 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
786 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
788 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
789 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
790 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
792 ${GENSCRIPTS} avr51 "$(tdir_avr2)"
793 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
794 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
796 ${GENSCRIPTS} avr6 "$(tdir_avr2)"
797 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
798 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
800 ${GENSCRIPTS} avrxmega1 "$(tdir_avr2)"
801 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
802 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
804 ${GENSCRIPTS} avrxmega2 "$(tdir_avr2)"
805 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
806 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
808 ${GENSCRIPTS} avrxmega3 "$(tdir_avr2)"
809 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
810 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
812 ${GENSCRIPTS} avrxmega4 "$(tdir_avr2)"
813 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
814 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
816 ${GENSCRIPTS} avrxmega5 "$(tdir_avr2)"
817 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
818 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
820 ${GENSCRIPTS} avrxmega6 "$(tdir_avr2)"
821 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
822 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
824 ${GENSCRIPTS} avrxmega7 "$(tdir_avr2)"
825 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
826 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
827 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
828 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
829 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
830 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
831 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
832 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
833 ${GENSCRIPTS} crisaout "$(tdir_cris)"
834 ecriself.c: $(srcdir)/emulparams/criself.sh \
835 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
836 ${GENSCRIPTS} criself "$(tdir_cris)"
837 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
838 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
839 ${GENSCRIPTS} crislinux "$(tdir_cris)"
840 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
841 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
842 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
843 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
844 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
845 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
846 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
847 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
848 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
849 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
850 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
851 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
852 edelta68.c: $(srcdir)/emulparams/delta68.sh \
853 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
854 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
855 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
856 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
857 ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
858 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
859 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
860 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
861 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
862 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
863 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
864 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
865 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
866 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
867 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
868 $(srcdir)/emulparams/elf32_sparc.sh \
869 $(srcdir)/emulparams/solaris2.sh \
870 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
871 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
872 ${GENSCRIPTS} elf32_sparc_sol2 "$(tdir_elf32_sparc_sol2)"
873 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
874 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
875 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
876 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
877 ${GENSCRIPTS} elf32_sparc_vxworks "$(tdir_elf32_sparc_vxworks)"
878 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
879 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
881 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
882 ${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)"
883 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
884 if ../gas/as-new --version \
885 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
886 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
887 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
888 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
890 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
891 if ../gas/as-new --version \
892 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
893 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
894 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
895 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
897 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
898 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
900 ${GENSCRIPTS} elf32_tic6x_be "$(tdir_elf32_tic6x_be)"
901 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
902 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
904 ${GENSCRIPTS} elf32_tic6x_elf_be "$(tdir_elf32_tic6x_elf_be)"
905 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
906 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
908 ${GENSCRIPTS} elf32_tic6x_elf_le "$(tdir_elf32_tic6x_elf_le)"
909 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
910 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
912 ${GENSCRIPTS} elf32_tic6x_le "$(tdir_elf32_tic6x_le)"
913 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
914 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
916 ${GENSCRIPTS} elf32_tic6x_linux_be "$(tdir_elf32_tic6x_linux_be)"
917 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
918 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
920 ${GENSCRIPTS} elf32_tic6x_linux_le "$(tdir_elf32_tic6x_linux_le)"
921 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
922 $(srcdir)/emulparams/elf32am33lin.sh \
923 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
924 ${GENSCRIPTS} elf32am33lin "$(tdir_elf32am33lin)"
925 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
926 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
927 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
928 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
929 eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \
930 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
931 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
932 ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin
933 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
934 $(srcdir)/emulparams/bfin.sh \
935 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
936 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
937 ${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd
938 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
939 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
940 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
941 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
942 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
943 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
944 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
945 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
946 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
947 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
948 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
949 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
950 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
951 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
952 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
953 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
954 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
955 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
956 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
957 ${GENSCRIPTS} elf32btsmip_fbsd "$(tdir_elf32btsmip_fbsd)"
958 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
959 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
960 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
961 ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
962 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
963 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
964 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
965 ${GENSCRIPTS} elf32btsmipn32_fbsd "$(tdir_elf32btsmipn32_fbsd)"
966 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
967 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
968 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
969 ${GENSCRIPTS} elf32cr16 "$(tdir_elf32crx)"
970 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
971 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
972 ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
973 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
974 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
975 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
976 ${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
977 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
978 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
979 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
980 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
981 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
982 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
983 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
984 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
985 ${GENSCRIPTS} elf32ebmipvxworks "$(tdir_elf32ebmipvxworks)"
986 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
987 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
988 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
990 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
991 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
992 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
993 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
994 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
995 ${GENSCRIPTS} elf32elmipvxworks "$(tdir_elf32elmipvxworks)"
996 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
997 $(srcdir)/emulparams/elf32bmip.sh \
998 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1000 ${GENSCRIPTS} elf32lr5900 "$(tdir_elf32lr5900)"
1001 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1002 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1003 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1005 ${GENSCRIPTS} elf32lr5900n32 "$(tdir_elf32lr5900n32)"
1006 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1007 $(ELF_DEPS) ${GEN_DEPENDS}
1008 ${GENSCRIPTS} elf32epiphany "$(tdir_epiphany)"
1009 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1010 $(srcdir)/emultempl/elf32.em \
1011 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1012 ${GENSCRIPTS} elf32epiphany_4x4 "$(tdir_epiphany_4x4)"
1013 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1014 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1015 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
1016 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1017 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1018 ${GENSCRIPTS} elf32frv "$(tdir_frv)"
1019 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1020 $(srcdir)/emulparams/elf32frv.sh \
1021 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1022 ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
1023 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1024 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1025 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1026 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1027 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1028 ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1029 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1030 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1031 ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
1032 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1033 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1034 ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
1035 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1036 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1037 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1039 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
1040 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1041 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1042 ${GENSCRIPTS} elf32lm32 "$(tdir_elf32lm32)"
1043 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1044 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1045 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1046 ${GENSCRIPTS} elf32lm32fd "$(tdir_elf32lm32fd)"
1047 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1048 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1049 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1050 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
1051 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1052 $(srcdir)/emulparams/elf32ppccommon.sh \
1053 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1055 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1056 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
1057 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1058 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1059 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1061 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1062 ${GENSCRIPTS} elf32lppclinux "$(tdir_elf32lppclinux)"
1063 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1064 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1065 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1067 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1068 ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
1069 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1070 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1071 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1073 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1074 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
1075 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1076 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1077 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1079 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
1080 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1081 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1082 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1084 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
1085 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1086 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1087 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1089 ${GENSCRIPTS} elf32ltsmip_fbsd "$(tdir_elf32ltsmip_fbsd)"
1090 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1091 $(srcdir)/emulparams/elf32btsmipn32.sh \
1092 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1093 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1094 ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
1095 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1096 $(srcdir)/emulparams/elf32btsmipn32.sh \
1097 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1098 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1099 ${GENSCRIPTS} elf32ltsmipn32_fbsd "$(tdir_elf32ltsmipn32_fbsd)"
1100 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1101 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1102 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1103 ${GENSCRIPTS} elf32m32c "$(tdir_m32c)"
1104 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1105 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1106 ${GENSCRIPTS} elf32mbel_linux "$(tdir_microblazeel)"
1107 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1108 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1109 ${GENSCRIPTS} elf32mb_linux "$(tdir_microblaze)"
1110 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1111 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1112 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
1113 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1114 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1115 ${GENSCRIPTS} elf32mep "$(tdir_mep)"
1116 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1117 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1118 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1119 ${GENSCRIPTS} elf32metag "$(tdir_metag)"
1120 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1121 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1122 ${GENSCRIPTS} elf32microblazeel "$(tdir_microblazeel)"
1123 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1124 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1125 ${GENSCRIPTS} elf32microblaze "$(tdir_microblaze)"
1126 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1127 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1128 ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
1129 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1130 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1131 ${GENSCRIPTS} elf32moxie "$(tdir_moxie)"
1132 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1133 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1134 ${GENSCRIPTS} elf32mt "$(tdir_mt)"
1135 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
1136 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1137 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
1138 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1139 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1141 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1142 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
1143 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1144 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1145 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1147 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1148 ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
1149 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1150 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1151 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1153 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1154 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
1155 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1156 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1157 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1159 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1160 ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
1161 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1162 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1163 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1165 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1166 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
1167 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1168 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1169 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
1170 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1171 ${GENSCRIPTS} elf32ppcvxworks "$(tdir_elf32ppcvxworks)"
1172 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1173 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1174 ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
1175 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1176 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1177 ${GENSCRIPTS} elf32rl78 "$(tdir_elf32rl78)"
1178 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1179 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1180 ${GENSCRIPTS} elf32rx "$(tdir_elf32rx)"
1181 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1182 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1183 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1184 ${GENSCRIPTS} elf32tilegx "$(tdir_tilegx)"
1185 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1186 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1187 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1188 ${GENSCRIPTS} elf32tilegx_be "$(tdir_tilegx_be)"
1189 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1190 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1191 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1192 ${GENSCRIPTS} elf32tilepro "$(tdir_tilepro)"
1193 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1194 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1195 ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
1196 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1197 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1198 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1199 ${GENSCRIPTS} elf32xc16x "$(tdir_xc16x)"
1200 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1201 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1202 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1203 ${GENSCRIPTS} elf32xc16xl "$(tdir_xc16xl)"
1204 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1205 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1206 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1207 ${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)"
1208 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1209 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1210 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1211 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
1212 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1213 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1214 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1215 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1216 ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
1217 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1218 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1219 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
1220 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1221 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1222 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
1223 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1224 $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1225 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
1226 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1227 $(srcdir)/emulparams/elf_i386.sh \
1228 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1229 ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
1230 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1231 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1232 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
1233 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1234 $(srcdir)/emulparams/elf_i386.sh \
1235 $(srcdir)/emulparams/elf_nacl.sh \
1236 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1237 ${GENSCRIPTS} elf_i386_nacl "$(tdir_elf_i386_nacl)"
1238 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1239 $(srcdir)/emulparams/solaris2.sh \
1240 $(srcdir)/emultempl/solaris2.em \
1241 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1242 ${GENSCRIPTS} elf_i386_sol2 "$(tdir_elf_i386_sol2)"
1243 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1244 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1245 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1246 ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)"
1247 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1248 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1249 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
1250 egld960.c: $(srcdir)/emulparams/gld960.sh \
1251 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1252 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
1253 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1254 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1255 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
1256 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1257 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1258 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
1259 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1260 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1261 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
1262 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1263 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1264 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
1265 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1266 $(srcdir)/emulparams/h8300elf.sh \
1267 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1268 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
1269 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1270 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1271 ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
1272 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1273 $(srcdir)/emulparams/h8300elf.sh \
1274 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1275 ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
1276 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1277 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1278 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1279 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1280 $(srcdir)/emulparams/h8300elf.sh \
1281 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1282 ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
1283 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1284 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1285 ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
1286 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1287 $(srcdir)/emulparams/h8300elf.sh \
1288 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1289 ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
1290 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1291 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1292 ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
1293 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1294 $(srcdir)/emulparams/h8300elf.sh \
1295 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1296 ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
1297 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1298 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1299 ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
1300 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1301 $(srcdir)/emulparams/h8300elf.sh \
1302 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1303 ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
1304 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1305 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1306 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
1307 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1308 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1309 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
1310 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1311 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1312 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1313 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1314 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1315 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1316 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1317 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1318 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
1319 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1320 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1321 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
1322 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1323 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1324 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
1325 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1326 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1327 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1328 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
1329 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1330 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1331 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1332 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
1333 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1334 $(srcdir)/emulparams/hppaelf.sh \
1335 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1336 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1337 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1338 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1339 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1340 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1341 ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
1342 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1343 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1344 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
1345 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1346 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1347 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
1348 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1349 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1350 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1351 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1352 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1353 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
1354 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1355 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1356 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1357 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1358 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1359 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1360 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1361 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1362 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1363 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1364 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1365 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1366 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1367 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1368 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1369 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1370 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1371 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1372 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1373 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1374 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1375 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1376 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1377 ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1378 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1379 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1380 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1381 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1382 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1383 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1384 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1385 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1386 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1387 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1388 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1389 ${GENSCRIPTS} i386pep "$(tdir_i386pe)"
1390 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1391 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1392 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1393 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1394 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1395 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
1396 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1397 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1398 ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
1399 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1400 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1401 ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
1402 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1403 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1404 ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
1405 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1406 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1407 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1408 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1409 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1410 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1411 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1412 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1413 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1414 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1415 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1416 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1417 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1418 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1419 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1420 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1421 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1422 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1423 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1424 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1425 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1426 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1427 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1428 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1429 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1430 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1431 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1432 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1433 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1434 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1435 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1436 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1437 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1438 $(srcdir)/emulparams/m68kelf.sh \
1439 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1440 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1441 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1442 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1443 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1444 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1445 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1446 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1447 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1448 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1449 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1450 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1451 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1452 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1453 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1454 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1455 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1456 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1457 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1458 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1459 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1460 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1461 $(srcdir)/emulparams/mn10200.sh \
1462 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1463 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1464 emsp430.c: $(srcdir)/emulparams/msp430all.sh \
1465 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1467 ${GENSCRIPTS} msp430 "$(tdir_msp430)" msp430all
1468 emsp430X.c: $(srcdir)/emulparams/msp430all.sh \
1469 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1471 ${GENSCRIPTS} msp430X "$(tdir_msp430X)" msp430all
1472 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1473 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1474 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1475 ${GENSCRIPTS} nds32elf "$(tdir_nds32)"
1476 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1477 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1478 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1479 ${GENSCRIPTS} nds32elf16m "$(tdir_nds32)"
1480 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1481 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1482 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1483 ${GENSCRIPTS} nds32belf "$(tdir_nds32belf)"
1484 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1485 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1486 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1487 ${GENSCRIPTS} nds32belf16m "$(tdir_nds32belf)"
1488 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1489 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1490 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1491 ${GENSCRIPTS} nds32elf_linux "$(tdir_nds32elf_linux)"
1492 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1493 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1494 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1495 ${GENSCRIPTS} nds32belf_linux "$(tdir_nds32belf_linux)"
1496 enews.c: $(srcdir)/emulparams/news.sh \
1497 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1498 ${GENSCRIPTS} news "$(tdir_news)"
1499 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1500 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1501 ${GENSCRIPTS} nios2elf "$(tdir_nios2elf)"
1502 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1503 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1504 ${GENSCRIPTS} nios2linux "$(tdir_nios2linux)"
1505 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1506 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1507 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1508 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1509 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1510 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1511 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1512 ${GENSCRIPTS} aarch64elf "$(tdir_aarch64elf)"
1513 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1514 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1515 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1516 ${GENSCRIPTS} aarch64elf32 "$(tdir_aarch64elf32)"
1517 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1518 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1519 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1520 ${GENSCRIPTS} aarch64elfb "$(tdir_aarch64elfb)"
1521 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1522 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1523 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1524 ${GENSCRIPTS} aarch64elf32b "$(tdir_aarch64elf32b)"
1525 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1526 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1527 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1528 ${GENSCRIPTS} aarch64linux "$(tdir_aarch64linux)"
1529 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1530 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1531 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1532 ${GENSCRIPTS} aarch64linuxb "$(tdir_aarch64linuxb)"
1533 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1534 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1535 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1536 ${GENSCRIPTS} aarch64linux32 "$(tdir_aarch64linux32)"
1537 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1538 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1539 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1540 ${GENSCRIPTS} aarch64linux32b "$(tdir_aarch64linux32b)"
1541 eor32.c: $(srcdir)/emulparams/or32.sh \
1542 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1543 ${GENSCRIPTS} or32 "$(tdir_or32)"
1544 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1545 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1546 ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1547 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1548 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1549 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1550 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1551 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1552 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1553 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1554 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1555 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1556 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1557 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1558 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1559 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1560 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1561 ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
1562 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1563 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1564 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1565 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1566 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1567 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1568 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1569 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1570 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1571 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1572 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1573 ${GENSCRIPTS} riscix "$(tdir_riscix)"
1574 escore3_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1575 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1576 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1577 ${GENSCRIPTS} score3_elf "$(tdir_score3_elf)" scoreelf
1578 escore7_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1579 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1580 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1581 ${GENSCRIPTS} score7_elf "$(tdir_score7_elf)" scoreelf
1582 esh.c: $(srcdir)/emulparams/sh.sh \
1583 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1584 ${GENSCRIPTS} sh "$(tdir_sh)"
1585 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1586 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1587 ${GENSCRIPTS} shelf "$(tdir_shelf)"
1588 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1589 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1590 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1591 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1592 ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1593 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1594 $(srcdir)/emulparams/shelf32.sh \
1595 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1596 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1597 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1598 ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
1599 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1600 $(srcdir)/emulparams/shelf32.sh \
1601 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1602 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1603 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1604 ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1605 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1606 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1607 ${GENSCRIPTS} shelf_fd "$(tdir_shelf_fd)"
1608 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1609 $(srcdir)/emulparams/shlelf_linux.sh \
1610 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1611 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1612 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1613 $(srcdir)/emulparams/shelf.sh \
1614 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1615 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1616 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1617 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1618 ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
1619 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1620 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1621 ${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)"
1622 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1623 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1624 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1625 ${GENSCRIPTS} shelf_vxworks "$(tdir_shelf_vxworks)"
1626 eshl.c: $(srcdir)/emulparams/shl.sh \
1627 $(srcdir)/emulparams/sh.sh \
1628 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1629 ${GENSCRIPTS} shl "$(tdir_shl)"
1630 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1631 $(srcdir)/emulparams/shelf.sh \
1632 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1633 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1634 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1635 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1636 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1637 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1638 ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1639 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1640 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1641 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1642 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1643 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1644 ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
1645 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1646 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1647 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1648 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1649 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1650 ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1651 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1652 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1653 ${GENSCRIPTS} shlelf_fd "$(tdir_shlelf_fd)"
1654 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1655 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1656 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1657 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1658 $(srcdir)/emulparams/shelf_nbsd.sh \
1659 $(srcdir)/emulparams/shelf.sh \
1660 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1661 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1662 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1663 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1664 ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
1665 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1666 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1667 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1669 ${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)"
1670 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1671 $(srcdir)/emulparams/shelf.sh \
1672 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1673 ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
1674 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1675 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1676 ${GENSCRIPTS} shpe "$(tdir_shl)"
1677 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1678 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1679 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1680 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1681 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1682 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1683 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1684 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1685 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1686 est2000.c: $(srcdir)/emulparams/st2000.sh \
1687 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1688 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1689 esun3.c: $(srcdir)/emulparams/sun3.sh \
1690 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1691 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1692 esun4.c: $(srcdir)/emulparams/sun4.sh \
1693 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1694 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1695 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1696 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1697 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1698 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1699 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1700 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1701 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1702 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1703 ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
1704 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1705 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1706 ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
1707 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1708 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1709 ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
1710 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1711 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1712 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1713 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1714 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1715 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1716 ev850.c: $(srcdir)/emulparams/v850.sh \
1717 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1718 ${GENSCRIPTS} v850 "$(tdir_v850)"
1719 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh \
1720 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1721 ${GENSCRIPTS} v850_rh850 "$(tdir_v850_rh850)"
1722 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1723 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1724 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1725 evax.c: $(srcdir)/emulparams/vax.sh \
1726 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1727 ${GENSCRIPTS} vax "$(tdir_vax)"
1728 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1729 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1730 ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1731 evsta.c: $(srcdir)/emulparams/vsta.sh \
1732 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1733 ${GENSCRIPTS} vsta "$(tdir_vsta)"
1734 ew65.c: $(srcdir)/emulparams/w65.sh \
1735 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1736 ${GENSCRIPTS} w65 "$(tdir_w65)"
1737 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1738 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1739 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1740 ${GENSCRIPTS} xgateelf "$(tdir_xgate)"
1741 ez80.c: $(srcdir)/emulparams/z80.sh \
1742 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1743 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1744 ${GENSCRIPTS} z80 "$(tdir_z80)"
1745 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1746 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1747 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1748 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1749 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1750 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1752 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1753 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1754 ${GENSCRIPTS} elf32_x86_64 "$(tdir_elf32_x86_64)"
1755 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1756 $(srcdir)/emulparams/elf32_x86_64.sh \
1757 $(srcdir)/emulparams/elf_nacl.sh \
1758 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1759 ${GENSCRIPTS} elf32_x86_64_nacl "$(tdir_elf32_x86_64_nacl)"
1760 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1761 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1762 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
1763 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1764 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1765 $(srcdir)/emultempl/needrelax.em \
1766 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1767 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
1768 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1769 $(srcdir)/emulparams/elf64_ia64.sh \
1770 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1771 $(srcdir)/emultempl/needrelax.em \
1772 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1773 ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
1774 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1775 $(srcdir)/emultempl/vms.em $(srcdir)/emultempl/elf-generic.em \
1776 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1777 ${GENSCRIPTS} elf64_ia64_vms "$(tdir_elf64_ia64_vms)"
1778 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1779 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1780 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
1781 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1782 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1783 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
1784 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1785 $(srcdir)/emulparams/elf64_sparc.sh \
1786 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1787 ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
1788 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1789 $(srcdir)/emulparams/elf64_sparc.sh \
1790 $(srcdir)/emulparams/solaris2.sh \
1791 $(srcdir)/emultempl/solaris2.em \
1792 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1793 ${GENSCRIPTS} elf64_sparc_sol2 "$(tdir_elf64_sparc_sol2)"
1794 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1795 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1796 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1797 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
1798 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1799 $(srcdir)/emulparams/elf64alpha.sh \
1800 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1801 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1802 ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
1803 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1804 $(srcdir)/emulparams/elf64alpha.sh \
1805 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1806 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1807 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
1808 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1809 $(srcdir)/emulparams/elf64bmip-defs.sh \
1810 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1811 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1812 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1813 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
1814 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1815 $(srcdir)/emulparams/elf64bmip-defs.sh \
1816 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1817 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1818 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
1819 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1820 $(srcdir)/emulparams/elf64bmip-defs.sh \
1821 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1822 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1823 ${GENSCRIPTS} elf64btsmip_fbsd "$(tdir_elf64btsmip_fbsd)"
1824 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1825 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1826 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
1827 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1828 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1830 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1831 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
1832 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1833 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1834 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1835 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1836 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
1837 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1838 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1839 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1840 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1841 ${GENSCRIPTS} elf64ltsmip_fbsd "$(tdir_elf64ltsmip_fbsd)"
1842 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1843 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1844 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1845 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
1846 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1848 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1849 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
1850 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1851 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1852 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1853 ${GENSCRIPTS} elf64ppc_fbsd "$(tdir_elf64ppc_fbsd)"
1854 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1855 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1856 ${GENSCRIPTS} elf64rdos "$(tdir_elf64rdos)"
1857 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1858 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1859 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1860 ${GENSCRIPTS} elf64tilegx "$(tdir_tilegx)"
1861 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1862 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1863 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1864 ${GENSCRIPTS} elf64tilegx_be "$(tdir_tilegx_be)"
1865 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1866 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1867 ${GENSCRIPTS} elf_l1om "$(tdir_elf_l1om)"
1868 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1869 $(srcdir)/emulparams/elf_l1om.sh \
1870 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1871 ${GENSCRIPTS} elf_l1om_fbsd "$(tdir_elf_l1om_fbsd)"
1872 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1873 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1874 ${GENSCRIPTS} elf_k1om "$(tdir_elf_k1om)"
1875 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1876 $(srcdir)/emulparams/elf_k1om.sh \
1877 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1878 ${GENSCRIPTS} elf_k1om_fbsd "$(tdir_elf_k1om_fbsd)"
1879 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1880 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1881 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
1882 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1883 $(srcdir)/emulparams/elf_x86_64.sh \
1884 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1885 ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
1886 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1887 $(srcdir)/emulparams/elf_x86_64.sh \
1888 $(srcdir)/emulparams/elf_nacl.sh \
1889 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1890 ${GENSCRIPTS} elf_x86_64_nacl "$(tdir_elf_x86_64_nacl)"
1891 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1892 $(srcdir)/emulparams/elf_x86_64.sh \
1893 $(srcdir)/emulparams/solaris2.sh \
1894 $(srcdir)/emultempl/solaris2.em \
1895 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1896 ${GENSCRIPTS} elf_x86_64_sol2 "$(tdir_elf_x86_64_sol2)"
1897 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1898 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1899 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
1900 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1901 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1902 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1903 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1904 ${GENSCRIPTS} mmo "$(tdir_mmo)"
1905 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1906 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1907 ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1908 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1909 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1910 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1911 ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
1912 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1913 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1914 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1915 ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1916 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1917 $(srcdir)/emulparams/shelf64_nbsd.sh \
1918 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1919 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1920 ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1922 # We need this for automake to use YLWRAP.
1923 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1924 # Allow dependency tracking to work for these files, too.
1925 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1927 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1928 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C)
1929 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1930 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1932 # Dependency tracking for the generated emulation files.
1933 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1935 # This is the real libbfd.a created by libtool.
1936 TESTBFDLIB = @TESTBFDLIB@
1938 check-DEJAGNU: site.exp
1939 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1940 r=`pwd`; export r; \
1941 LC_ALL=C; export LC_ALL; \
1942 EXPECT=$(EXPECT); export EXPECT; \
1943 runtest=$(RUNTEST); \
1944 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1945 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1946 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1947 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1948 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1949 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1950 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1951 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1953 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1956 # Rules for testing by relinking ld itself.
1957 # A similar test is in the testsuite. This target is for ease of use
1960 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
1961 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
1962 ld1$(EXEEXT): ld-partial.@OBJEXT@
1963 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1965 ld1-full$(EXEEXT): ld-new
1966 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1968 ld2$(EXEEXT): ld1$(EXEEXT)
1969 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1971 ld3$(EXEEXT): ld2$(EXEEXT)
1972 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1974 bootstrap: ld3$(EXEEXT)
1975 cmp ld2$(EXEEXT) ld3$(EXEEXT)
1979 # A test program for C++ constructors and destructors.
1980 # This test is now in the testsuite.
1982 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
1983 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1984 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
1987 # ./cdtest > cdtest.tmp
1988 # mv cdtest.tmp cdtest.out
1990 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
1991 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
1992 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
1994 #cdtest-ur: cdtest-ur.@OBJEXT@
1995 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
1998 #cdtest-ur.out: cdtest-ur
1999 # ./cdtest-ur > cdtest-ur.tmp
2000 # mv cdtest-ur.tmp cdtest-ur.out
2002 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2003 # diff $(srcdir)/cdtest.exp cdtest.out
2004 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2006 #.PHONY: check-cdtest
2008 # END OF CHECK TARGETS
2011 # Build a dummy plugin using libtool.
2014 noinst_LTLIBRARIES = libldtestplug.la
2015 libldtestplug_la_SOURCES = testplug.c
2016 libldtestplug_la_CFLAGS= -g -O2
2017 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2020 # DOCUMENTATION TARGETS
2021 # Manual configuration file; not usually attached to normal configuration,
2022 # because almost all configs use "gen" version of manual.
2023 # Set DOCVER above to change.
2024 configdoc.texi: ${DOCVER}-doc.texi
2025 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2026 chmod u+w ./configdoc.texi
2028 # Build the man page from the texinfo file
2029 # The sed command removes the no-adjust Nroff command so that
2030 # the man output looks standard.
2031 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2033 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2034 -($(POD2MAN) ld.pod | \
2035 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2036 mv -f $@.T$$$$ $@) || \
2037 (rm -f $@.T$$$$ && exit 1)
2040 MAINTAINERCLEANFILES = configdoc.texi ld.1
2042 # We want to reconfigure if configure.host or configure.tgt changes. We
2043 # extract version from bfd/configure.in, so we must depend on that also.
2044 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2045 $(srcdir)/../bfd/configure.in
2047 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2048 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2051 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2053 .PHONY: install-exec-local install-data-local
2055 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2056 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2057 n=`echo $(installed_linker) | sed '$(transform)'`; \
2058 if test "$(bindir)" != "$(tooldir)/bin"; then \
2059 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2060 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2061 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2063 if test "x$(install_as_default)" = "xyes"; then \
2064 ld=`echo ld | sed '$(transform)'`; \
2065 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2066 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2067 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2068 if test "$(bindir)" != "$(tooldir)/bin"; then \
2069 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2070 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2071 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2076 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2077 for f in ldscripts/*; do \
2078 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2081 # Stuff that should be included in a distribution. The diststuff
2082 # target is run by the taz target in ../Makefile.in.
2083 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2084 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2085 diststuff: info $(EXTRA_DIST)
2087 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2088 # But info isn't a direct target. Make info-recursive to depend on
2089 # ld.1 to support parallel build.
2090 info-recursive: ld.1
2092 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2096 MAINTAINERCLEANFILES += ld.info
2098 # Automake 1.9 will only build info files in the objdir if they are
2099 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2100 # though, so we use a bogus condition.
2102 DISTCLEANFILES += ld.info