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