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