1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
4 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
5 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
9 tooldir = $(exec_prefix)/$(target_alias)
11 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
13 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
15 # Automake 1.10+ disables lex and yacc output file regeneration if
16 # maintainer mode is disabled. Avoid this.
20 WARN_CFLAGS = @WARN_CFLAGS@
21 NO_WERROR = @NO_WERROR@
22 AM_CFLAGS = $(WARN_CFLAGS)
24 # Conditionally enable the plugin interface.
28 PLUGIN_OBJECT = plugin.@OBJEXT@
29 PLUGIN_CFLAGS = -DENABLE_PLUGINS
37 # We put the scripts in the directory $(scriptdir)/ldscripts.
38 # We can't put the scripts in $(datadir) because the SEARCH_DIR
39 # directives need to be different for native and cross linkers.
40 scriptdir = $(tooldir)/lib
43 EMULATION_OFILES = @EMULATION_OFILES@
44 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
46 # Search path to override the default search path for -lfoo libraries.
47 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
48 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
49 # a cross-linker, in which case the default is empty. See genscripts.sh.)
50 # Otherwise, they are replaced with the ones given in LIB_PATH,
51 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
52 # when the linker is configured via the --with-lib-path configure switch.
55 BASEDIR = $(srcdir)/..
56 BFDDIR = $(BASEDIR)/bfd
57 INCDIR = $(BASEDIR)/include
59 # What version of the manual to build
62 # Options to extract the man page from ld.texinfo
65 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
67 POD2MAN = pod2man --center="GNU Development Tools" \
68 --release="binutils-$(VERSION)" --section=1
70 #stuff for self hosting (can be overridden in config file).
71 HOSTING_CRT0 = @HOSTING_CRT0@
72 HOSTING_LIBS = @HOSTING_LIBS@
73 HOSTING_EMU = -m $(EMUL)
75 # Setup the testing framework, if you have one
81 if [ -f $$r/../gcc/xgcc ] ; then \
82 if [ -f $$r/../newlib/Makefile ] ; then \
83 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
85 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
88 if [ "@host@" = "@target@" ] ; then \
91 echo gcc | sed '$(transform)'; \
97 if [ -f $$r/../gcc/g++ ] ; then \
98 if [ -f $$r/../newlib/Makefile ] ; then \
99 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
101 echo $$r/../gcc/g++ -B$$r/../gcc/; \
104 if [ "@host@" = "@target@" ] ; then \
107 echo g++ | sed '$(transform)'; \
111 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
112 bin_PROGRAMS = ld-new
113 info_TEXINFOS = ld.texinfo
114 ld_TEXINFOS = configdoc.texi
115 noinst_TEXINFOS = ldint.texinfo
118 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
119 -I $(top_srcdir)/../libiberty
120 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
121 -I $(top_srcdir)/../libiberty
123 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
124 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
125 -DLOCALEDIR="\"$(datadir)/locale\""
127 BFDLIB = ../bfd/libbfd.la
128 LIBIBERTY = ../libiberty/libiberty.a
130 ALL_EMULATION_SOURCES = \
145 earmelf_linux_eabi.c \
147 earmelfb_linux_eabi.c \
180 eelf32_sparc_sol2.c \
181 eelf32_sparc_vxworks.c \
192 eelf32btsmip_fbsd.c \
195 eelf32btsmipn32_fbsd.c \
197 eelf32ltsmip_fbsd.c \
199 eelf32ltsmipn32_fbsd.c \
201 eelf32ebmipvxworks.c \
203 eelf32elmipvxworks.c \
223 eelf32mipswindiss.c \
246 eelf_i386_vxworks.c \
424 etic3xcoff_onchip.c \
438 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
440 ALL_64_EMULATION_SOURCES = \
456 eelf64_sparc_fbsd.c \
457 eelf64_sparc_sol2.c \
463 eelf64btsmip_fbsd.c \
465 eelf64ltsmip_fbsd.c \
473 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
475 ALL_EMUL_EXTRA_OFILES = \
480 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
481 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
482 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
485 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
486 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
487 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
488 elf-hints-local.h $(PLUGIN_H)
490 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
491 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
493 # Require an early dependency on the generated headers, as the dependency
494 # tracking will not cause them to be built beforehand.
495 BUILT_SOURCES = $(GENERATED_HFILES)
497 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
498 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
499 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
500 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
502 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
504 # Disable -Werror, if it has been enabled, since old versions of bison/
505 # yacc will produce working code which contain compile time warnings.
506 ldgram.@OBJEXT@: ldgram.c
508 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
509 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
512 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
513 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
515 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
518 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
520 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
521 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
524 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
525 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
527 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
530 deffilep.@OBJEXT@: deffilep.c
532 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
533 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
536 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
537 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
539 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
542 # At the moment this is just a list of those emulation template files
543 # that contain internationalised strings.
544 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
546 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
548 po/POTFILES.in: @MAINT@ Makefile
549 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
550 && mv tmp $(srcdir)/po/POTFILES.in
552 ldmain.@OBJEXT@: ldmain.c config.status
554 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
555 -DDEFAULT_EMULATION='"$(EMUL)"' \
556 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
557 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
559 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
562 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
563 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
565 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
566 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
567 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
571 ldfile.@OBJEXT@: ldfile.c config.status
573 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
574 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
576 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
579 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
580 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
582 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
583 -DTOOLBINDIR='"$(tooldir)/bin"' \
587 eelf32_spu.@OBJEXT@: eelf32_spu.c
589 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
590 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
591 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
594 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
595 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
597 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
601 ldemul-list.h: Makefile
602 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
603 for f in `echo " " ${EMULATION_OFILES} "" \
604 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
605 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
608 echo "#define EMULATION_LIST \\";\
609 for f in `echo " " ${EMULATION_OFILES} "" \
610 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
611 echo " &ld_$${f}_emulation, \\"; \
613 echo " 0") >ldemul-tmp.h
614 mv ldemul-tmp.h ldemul-list.h
616 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
617 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
619 # These all start with e so 'make clean' can find them.
621 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@
622 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
623 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em
624 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em
628 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
629 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
630 ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
631 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
632 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
633 ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
634 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
635 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
636 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
637 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
638 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
639 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
640 ealpha.c: $(srcdir)/emulparams/alpha.sh \
641 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
642 ${GENSCRIPTS} alpha "$(tdir_alpha)"
643 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
644 $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
646 ${GENSCRIPTS} alphavms "$(tdir_alphavms)"
647 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
648 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
649 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
650 earmelf.c: $(srcdir)/emulparams/armelf.sh \
651 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
652 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
653 ${GENSCRIPTS} armelf "$(tdir_armelf)"
654 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
655 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
656 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
657 ${GENSCRIPTS} armelfb "$(tdir_armelfb)"
658 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
659 $(srcdir)/emulparams/armelf.sh \
660 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
661 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
662 ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
663 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
664 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
665 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
666 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
667 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
668 $(srcdir)/emulparams/armelf_linux.sh \
669 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
670 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
671 ${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)"
672 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
673 $(srcdir)/emulparams/armelf_linux.sh \
674 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
675 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
676 ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
677 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
678 $(srcdir)/emulparams/armelf_linux_eabi.sh \
679 $(srcdir)/emulparams/armelf_linux.sh \
680 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
681 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
682 ${GENSCRIPTS} armelfb_linux_eabi "$(tdir_armelfb_linux_abi)"
683 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
684 $(srcdir)/emulparams/armelf.sh \
685 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
686 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
687 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
688 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
689 $(srcdir)/emulparams/armelf_nbsd.sh \
690 $(srcdir)/emulparams/armelf.sh \
691 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
692 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
693 ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
694 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
695 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
696 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
697 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
699 ${GENSCRIPTS} armelf_vxworks "$(tdir_armelf)"
700 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
701 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
702 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
703 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
704 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
705 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
706 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
707 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
708 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
709 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
710 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
711 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
712 earmnto.c: $(srcdir)/emulparams/armnto.sh \
713 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
714 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
715 ${GENSCRIPTS} armnto "$(tdir_armnto)"
716 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
717 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
718 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
719 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
720 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
721 ${GENSCRIPTS} arm_wince_pe "$(tdir_armpe)"
722 earmpe.c: $(srcdir)/emulparams/armpe.sh \
723 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
724 ${GENSCRIPTS} armpe "$(tdir_armpe)"
725 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
726 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
727 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
729 ${GENSCRIPTS} armsymbian "$(tdir_armelf)"
730 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
731 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
733 ${GENSCRIPTS} avr2 "$(tdir_avr2)"
734 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
735 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
737 ${GENSCRIPTS} avr1 "$(tdir_avr2)"
738 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
739 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
741 ${GENSCRIPTS} avr25 "$(tdir_avr2)"
742 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
743 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
745 ${GENSCRIPTS} avr3 "$(tdir_avr2)"
746 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
747 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
749 ${GENSCRIPTS} avr31 "$(tdir_avr2)"
750 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
751 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
753 ${GENSCRIPTS} avr35 "$(tdir_avr2)"
754 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
755 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
757 ${GENSCRIPTS} avr4 "$(tdir_avr2)"
758 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
759 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
761 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
762 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
763 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
765 ${GENSCRIPTS} avr51 "$(tdir_avr2)"
766 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
767 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
769 ${GENSCRIPTS} avr6 "$(tdir_avr2)"
770 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
771 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
772 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
773 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
774 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
775 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
776 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
777 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
778 ${GENSCRIPTS} crisaout "$(tdir_cris)"
779 ecriself.c: $(srcdir)/emulparams/criself.sh \
780 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
781 ${GENSCRIPTS} criself "$(tdir_cris)"
782 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
783 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
784 ${GENSCRIPTS} crislinux "$(tdir_cris)"
785 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
786 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
787 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
788 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
789 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
790 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
791 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
792 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
793 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
794 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
795 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
796 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
797 edelta68.c: $(srcdir)/emulparams/delta68.sh \
798 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
799 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
800 eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \
801 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
802 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
803 ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin
804 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
805 $(srcdir)/emulparams/bfin.sh \
806 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
807 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
808 ${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd
809 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
810 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
811 ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
812 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
813 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
814 ${GENSCRIPTS} elf32_tic6x_be "$(tdir_elf32_tic6x_be)"
815 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
816 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
817 ${GENSCRIPTS} elf32_tic6x_le "$(tdir_elf32_tic6x_le)"
818 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
819 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
820 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
821 ${GENSCRIPTS} elf32xc16x "$(tdir_xc16x)"
822 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
823 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
824 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
825 ${GENSCRIPTS} elf32xc16xl "$(tdir_xc16xl)"
826 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
827 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
828 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
829 ${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)"
830 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
831 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
832 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
833 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
834 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
835 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
836 ${GENSCRIPTS} elf32am33lin "$(tdir_mn10300)"
837 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
838 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
839 ${GENSCRIPTS} elf32rx "$(tdir_elf32rx)"
840 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
841 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
842 ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
843 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
844 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
845 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
846 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
847 ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
848 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
849 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
850 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
851 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
852 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
853 ${GENSCRIPTS} elf32frv "$(tdir_frv)"
854 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
855 $(srcdir)/emulparams/elf32frv.sh \
856 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
857 ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
858 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
859 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
860 ${GENSCRIPTS} elf32moxie "$(tdir_moxie)"
861 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
862 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
863 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
864 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
865 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
866 ${GENSCRIPTS} elf32mep "$(tdir_mep)"
867 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
868 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
869 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
870 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
871 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
872 ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
873 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
874 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
875 ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
876 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
877 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
878 ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
879 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
880 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
881 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
882 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
883 $(srcdir)/emulparams/elf32_sparc.sh \
884 $(srcdir)/emulparams/solaris2.sh \
885 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
886 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
887 ${GENSCRIPTS} elf32_sparc_sol2 "$(tdir_elf32_sparc_sol2)"
888 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
889 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
890 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
891 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
892 ${GENSCRIPTS} elf32_sparc_vxworks "$(tdir_elf32_sparc_vxworks)"
893 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
894 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
896 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
897 ${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)"
898 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
899 if ../gas/as-new --version \
900 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
901 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
902 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
903 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
905 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
906 if ../gas/as-new --version \
907 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
908 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
909 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
910 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
912 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
913 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
914 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
915 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
916 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
917 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
918 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
919 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
920 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
921 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
922 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
923 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/cr16elf.em \
924 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
925 ${GENSCRIPTS} elf32cr16 "$(tdir_elf32crx)"
926 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
928 $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
929 ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
930 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
931 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
932 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
933 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
934 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
935 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
936 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
937 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
938 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
939 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
940 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
941 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
942 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
943 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
944 ${GENSCRIPTS} elf32btsmip_fbsd "$(tdir_elf32btsmip_fbsd)"
945 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
946 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
947 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
948 ${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
949 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
950 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
951 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
952 ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
953 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
954 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
955 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
956 ${GENSCRIPTS} elf32btsmipn32_fbsd "$(tdir_elf32btsmipn32_fbsd)"
957 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
958 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
959 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
961 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
962 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
963 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
964 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
966 ${GENSCRIPTS} elf32ltsmip_fbsd "$(tdir_elf32ltsmip_fbsd)"
967 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
968 $(srcdir)/emulparams/elf32btsmipn32.sh \
969 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
970 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
971 ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
972 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
973 $(srcdir)/emulparams/elf32btsmipn32.sh \
974 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
975 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
976 ${GENSCRIPTS} elf32ltsmipn32_fbsd "$(tdir_elf32ltsmipn32_fbsd)"
977 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
978 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
979 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
980 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
981 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
982 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
983 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
984 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
985 ${GENSCRIPTS} elf32ebmipvxworks "$(tdir_elf32ebmipvxworks)"
986 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
987 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
988 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
990 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
991 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
992 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
993 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
994 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
995 ${GENSCRIPTS} elf32elmipvxworks "$(tdir_elf32elmipvxworks)"
996 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
997 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
998 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
999 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1000 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
1001 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1002 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1003 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1005 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
1006 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1007 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1008 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1009 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
1010 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1011 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1012 ${GENSCRIPTS} elf32mb_linux "$(tdir_microblaze)"
1013 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1014 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1015 ${GENSCRIPTS} elf32microblaze "$(tdir_microblaze)"
1016 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1017 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1018 ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
1019 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1020 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1021 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1022 ${GENSCRIPTS} elf32m32c "$(tdir_m32c)"
1023 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1024 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1025 ${GENSCRIPTS} elf32mt "$(tdir_mt)"
1026 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1027 $(srcdir)/emulparams/elf32ppccommon.sh \
1028 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1030 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1031 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
1032 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1033 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1034 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1036 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1037 ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
1038 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1039 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1040 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1042 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1043 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
1044 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1045 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1046 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1048 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1049 ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
1050 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1051 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1052 ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
1053 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1054 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1055 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
1056 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1057 ${GENSCRIPTS} elf32ppcvxworks "$(tdir_elf32ppcvxworks)"
1058 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1059 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1060 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1062 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
1063 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
1064 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1065 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
1066 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1067 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1069 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1070 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
1071 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1072 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1073 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1075 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1076 ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
1077 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1078 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1079 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1081 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1082 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
1083 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1084 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1085 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1087 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1088 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
1089 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1091 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1092 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
1093 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1094 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1096 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1097 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
1098 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1099 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1100 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1101 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1102 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1103 ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1104 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1105 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1106 ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
1107 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1108 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1109 ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
1110 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1111 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1112 ${GENSCRIPTS} elf32lm32 "$(tdir_elf32lm32)"
1113 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1114 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1115 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1116 ${GENSCRIPTS} elf32lm32fd "$(tdir_elf32lm32fd)"
1117 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1118 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1119 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1120 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
1121 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1122 $(srcdir)/emulparams/elf64alpha.sh \
1123 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1124 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1125 ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
1126 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1127 $(srcdir)/emulparams/elf64alpha.sh \
1128 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1129 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1130 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
1131 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1132 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1133 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
1134 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1135 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1136 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
1137 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1138 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1139 $(srcdir)/emultempl/needrelax.em \
1140 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1141 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
1142 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1143 $(srcdir)/emulparams/elf64_ia64.sh \
1144 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1145 $(srcdir)/emultempl/needrelax.em \
1146 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1147 ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
1148 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1149 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1150 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
1151 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1152 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1153 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
1154 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1155 $(srcdir)/emulparams/elf64_sparc.sh \
1156 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1157 ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
1158 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1159 $(srcdir)/emulparams/elf64_sparc.sh \
1160 $(srcdir)/emulparams/solaris2.sh \
1161 $(srcdir)/emultempl/solaris2.em \
1162 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1163 ${GENSCRIPTS} elf64_sparc_sol2 "$(tdir_elf64_sparc_sol2)"
1164 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1165 $(srcdir)/emulparams/elf64bmip-defs.sh \
1166 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1167 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1168 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1169 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
1170 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1171 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1172 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1173 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
1174 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1175 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1176 $(srcdir)/emultempl/mmo.em \
1177 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1178 ${GENSCRIPTS} mmo "$(tdir_mmo)"
1179 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1180 $(srcdir)/emulparams/elf64bmip-defs.sh \
1181 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1182 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1183 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
1184 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1185 $(srcdir)/emulparams/elf64bmip-defs.sh \
1186 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1187 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1188 ${GENSCRIPTS} elf64btsmip_fbsd "$(tdir_elf64btsmip_fbsd)"
1189 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1190 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1191 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1192 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1193 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
1194 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1195 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1196 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1197 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1198 ${GENSCRIPTS} elf64ltsmip_fbsd "$(tdir_elf64ltsmip_fbsd)"
1199 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1200 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1201 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
1202 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1203 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1204 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
1205 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1206 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1207 ${GENSCRIPTS} elf32_x86_64 "$(tdir_elf32_x86_64)"
1208 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1209 $(srcdir)/emulparams/elf_x86_64.sh \
1210 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1211 ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
1212 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1213 $(srcdir)/emulparams/elf_x86_64.sh \
1214 $(srcdir)/emulparams/solaris2.sh \
1215 $(srcdir)/emultempl/solaris2.em \
1216 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1217 ${GENSCRIPTS} elf_x86_64_sol2 "$(tdir_elf_x86_64_sol2)"
1218 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1219 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1220 ${GENSCRIPTS} elf_l1om "$(tdir_elf_l1om)"
1221 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1222 $(srcdir)/emulparams/elf_l1om.sh \
1223 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1224 ${GENSCRIPTS} elf_l1om_fbsd "$(tdir_elf_l1om_fbsd)"
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_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1239 $(srcdir)/emulparams/solaris2.sh \
1240 $(srcdir)/emultempl/solaris2.em \
1241 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1242 ${GENSCRIPTS} elf_i386_sol2 "$(tdir_elf_i386_sol2)"
1243 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1244 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1245 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1246 ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)"
1247 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1248 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1249 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
1250 egld960.c: $(srcdir)/emulparams/gld960.sh \
1251 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1252 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
1253 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1254 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1255 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
1256 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1257 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1258 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
1259 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1260 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1261 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
1262 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1263 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1264 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1265 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1266 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1267 ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
1268 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1269 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1270 ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
1271 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1272 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1273 ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
1274 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1275 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1276 ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
1277 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1278 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1279 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
1280 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1281 $(srcdir)/emulparams/h8300elf.sh \
1282 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1283 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
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 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1289 $(srcdir)/emulparams/h8300elf.sh \
1290 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1291 ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
1292 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1293 $(srcdir)/emulparams/h8300elf.sh \
1294 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1295 ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
1296 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1297 $(srcdir)/emulparams/h8300elf.sh \
1298 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1299 ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
1300 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1301 $(srcdir)/emulparams/h8300elf.sh \
1302 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1303 ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
1304 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1305 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1306 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
1307 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1308 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1309 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
1310 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1311 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1312 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1313 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1314 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1315 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1316 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1317 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1318 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
1319 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1320 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1321 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
1322 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1323 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1324 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
1325 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1326 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1327 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1328 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
1329 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1330 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1331 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1332 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
1333 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1334 $(srcdir)/emulparams/hppaelf.sh \
1335 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1336 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1337 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1338 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1339 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1340 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1341 ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
1342 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1343 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1344 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
1345 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1346 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1347 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
1348 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1349 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1350 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
1351 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1352 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1353 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1354 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1355 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1356 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
1357 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1358 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1359 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1360 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1361 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1362 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1363 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1364 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1365 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1366 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1367 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1368 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1369 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1370 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1371 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1372 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1373 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1374 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1375 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1376 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1377 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1378 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1379 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1380 ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1381 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1382 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1383 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1384 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1385 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1386 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1387 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1388 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1389 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1390 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1391 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1392 ${GENSCRIPTS} i386pep "$(tdir_i386pe)"
1393 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1394 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1395 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1396 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1397 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1398 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1399 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1400 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1401 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1402 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1403 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1404 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1405 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1406 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1407 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1408 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1409 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1410 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1411 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1412 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1413 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1414 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1415 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1416 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1417 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1418 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1419 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1420 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1421 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1422 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1423 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1424 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1425 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1426 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1427 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1428 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1429 $(srcdir)/emulparams/m68kelf.sh \
1430 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1431 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1432 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1433 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1434 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1435 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1436 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1437 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1438 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1439 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1440 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1441 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1442 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1443 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1444 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1445 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1446 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1447 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1448 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh $(srcdir)/emultempl/generic.em \
1449 $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1450 ${GENSCRIPTS} mipsbig "$(tdir_mipsbig)"
1451 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh $(srcdir)/emultempl/generic.em \
1452 $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1453 ${GENSCRIPTS} mipsbsd "$(tdir_mipsbsd)"
1454 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh $(srcdir)/emultempl/generic.em \
1455 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
1457 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1458 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh $(srcdir)/emultempl/generic.em \
1459 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
1461 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1462 emipslit.c: $(srcdir)/emulparams/mipslit.sh $(srcdir)/emultempl/generic.em \
1463 $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1464 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1465 emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
1466 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1467 ${GENSCRIPTS} mipslnews "$(tdir_mipslnews)"
1468 emipspe.c: $(srcdir)/emulparams/mipspe.sh $(srcdir)/emultempl/pe.em \
1469 $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1470 ${GENSCRIPTS} mipspe "$(tdir_mipspe)"
1471 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1472 $(srcdir)/emulparams/mn10200.sh \
1473 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1474 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1475 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1476 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1477 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1478 emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
1479 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1481 ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
1482 emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
1483 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1485 ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
1486 emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
1487 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1489 ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
1490 emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
1491 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1493 ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
1494 emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
1495 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1497 ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
1498 emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
1499 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1501 ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
1502 emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
1503 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1505 ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
1506 emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
1507 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1509 ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
1510 emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
1511 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1513 ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
1514 emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
1515 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1517 ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
1518 emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
1519 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1521 ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
1522 emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
1523 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1525 ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
1526 emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
1527 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1529 ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
1530 emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
1531 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1533 ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
1534 emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
1535 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1537 ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
1538 emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
1539 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1541 ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
1542 emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
1543 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1545 ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
1546 emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
1547 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1549 ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
1550 emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
1551 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1553 ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
1554 emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
1555 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1557 ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
1558 emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
1559 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1561 ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
1562 emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
1563 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1565 ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
1566 emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
1567 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1569 ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
1570 emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
1571 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1573 ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
1574 emsp430x1610.c: $(srcdir)/emulparams/msp430all.sh \
1575 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1577 ${GENSCRIPTS} msp430x1610 "$(tdir_msp430x1610)" msp430all
1578 emsp430x1611.c: $(srcdir)/emulparams/msp430all.sh \
1579 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1581 ${GENSCRIPTS} msp430x1611 "$(tdir_msp430x1611)" msp430all
1582 emsp430x1612.c: $(srcdir)/emulparams/msp430all.sh \
1583 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1585 ${GENSCRIPTS} msp430x1612 "$(tdir_msp430x1612)" msp430all
1586 emsp430x2101.c: $(srcdir)/emulparams/msp430all.sh \
1587 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1589 ${GENSCRIPTS} msp430x2101 "$(tdir_msp430x2101)" msp430all
1590 emsp430x2111.c: $(srcdir)/emulparams/msp430all.sh \
1591 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1593 ${GENSCRIPTS} msp430x2111 "$(tdir_msp430x2111)" msp430all
1594 emsp430x2121.c: $(srcdir)/emulparams/msp430all.sh \
1595 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1597 ${GENSCRIPTS} msp430x2121 "$(tdir_msp430x2121)" msp430all
1598 emsp430x2131.c: $(srcdir)/emulparams/msp430all.sh \
1599 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1601 ${GENSCRIPTS} msp430x2131 "$(tdir_msp430x2131)" msp430all
1602 emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
1603 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1605 ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
1606 emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
1607 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1609 ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
1610 emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
1611 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1613 ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
1614 emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
1615 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1617 ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
1618 emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
1619 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1621 ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
1622 emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
1623 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1625 ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
1626 emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
1627 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1629 ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
1630 emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
1631 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1633 ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
1634 emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
1635 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1637 ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
1638 emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
1639 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1641 ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
1642 emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
1643 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1645 ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
1646 emsp430x415.c: $(srcdir)/emulparams/msp430all.sh \
1647 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1649 ${GENSCRIPTS} msp430x415 "$(tdir_msp430x415)" msp430all
1650 emsp430x417.c: $(srcdir)/emulparams/msp430all.sh \
1651 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1653 ${GENSCRIPTS} msp430x417 "$(tdir_msp430x417)" msp430all
1654 emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
1655 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1657 ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
1658 emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
1659 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1661 ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
1662 emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
1663 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1665 ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
1666 emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
1667 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1669 ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
1670 emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
1671 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1673 ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
1674 emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
1675 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1677 ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
1678 emsp430xG437.c: $(srcdir)/emulparams/msp430all.sh \
1679 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1681 ${GENSCRIPTS} msp430xG437 "$(tdir_msp430xG437)" msp430all
1682 emsp430xG438.c: $(srcdir)/emulparams/msp430all.sh \
1683 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1685 ${GENSCRIPTS} msp430xG438 "$(tdir_msp430xG438)" msp430all
1686 emsp430xG439.c: $(srcdir)/emulparams/msp430all.sh \
1687 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1689 ${GENSCRIPTS} msp430xG439 "$(tdir_msp430xG439)" msp430all
1690 emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
1691 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1693 ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
1694 emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
1695 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1697 ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
1698 emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
1699 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1701 ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
1702 emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
1703 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1705 ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
1706 emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
1707 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1709 ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
1710 emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
1711 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1713 ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
1714 enews.c: $(srcdir)/emulparams/news.sh \
1715 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1716 ${GENSCRIPTS} news "$(tdir_news)"
1717 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1718 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1719 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1720 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1721 eor32.c: $(srcdir)/emulparams/or32.sh \
1722 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1723 ${GENSCRIPTS} or32 "$(tdir_or32)"
1724 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1725 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1726 ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1727 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1728 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1729 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1730 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1731 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1732 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1733 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1734 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1735 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1736 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1737 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1738 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1739 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1740 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1741 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1742 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1743 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1744 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1745 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1746 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1747 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1748 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1749 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1750 ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
1751 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1752 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1753 ${GENSCRIPTS} riscix "$(tdir_riscix)"
1754 escore3_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1755 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1756 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1757 ${GENSCRIPTS} score3_elf "$(tdir_score3_elf)" scoreelf
1758 escore7_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1759 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1760 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1761 ${GENSCRIPTS} score7_elf "$(tdir_score7_elf)" scoreelf
1762 esh.c: $(srcdir)/emulparams/sh.sh \
1763 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1764 ${GENSCRIPTS} sh "$(tdir_sh)"
1765 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1766 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1767 ${GENSCRIPTS} shelf "$(tdir_shelf)"
1768 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1769 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1770 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1771 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1772 ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1773 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1774 $(srcdir)/emulparams/shelf32.sh \
1775 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1776 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1777 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1778 ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
1779 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1780 $(srcdir)/emulparams/shelf32.sh \
1781 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1782 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1783 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1784 ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1785 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1786 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1787 ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1788 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1789 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1790 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1791 ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
1792 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1793 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1794 ${GENSCRIPTS} shelf_fd "$(tdir_shelf_fd)"
1795 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1796 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1797 ${GENSCRIPTS} shlelf_fd "$(tdir_shlelf_fd)"
1798 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1799 $(srcdir)/emulparams/shlelf_linux.sh \
1800 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1801 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1802 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1803 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1804 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1805 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1806 $(srcdir)/emulparams/shelf.sh \
1807 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1808 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1809 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1810 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1811 ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
1812 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1813 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1814 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1815 ${GENSCRIPTS} shelf_vxworks "$(tdir_shelf_vxworks)"
1816 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1817 $(srcdir)/emulparams/shelf_nbsd.sh \
1818 $(srcdir)/emulparams/shelf.sh \
1819 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1820 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1821 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1822 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1823 ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
1824 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1825 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1826 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1828 ${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)"
1829 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1830 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1831 ${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)"
1832 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1833 $(srcdir)/emulparams/shelf.sh \
1834 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1835 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1836 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1837 $(srcdir)/emulparams/shelf.sh \
1838 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1839 ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
1840 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1841 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1842 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1843 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1844 ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1845 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1846 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1847 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1848 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1849 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1850 ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
1851 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1852 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1853 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1854 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1855 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1856 ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1857 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1858 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1859 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1860 ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1861 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1862 $(srcdir)/emulparams/shelf64_nbsd.sh \
1863 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1864 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1865 ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1866 eshl.c: $(srcdir)/emulparams/shl.sh \
1867 $(srcdir)/emulparams/sh.sh \
1868 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1869 ${GENSCRIPTS} shl "$(tdir_shl)"
1870 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1871 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1872 ${GENSCRIPTS} shpe "$(tdir_shl)"
1873 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1874 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1875 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1876 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1877 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1878 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1879 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1880 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1881 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1882 est2000.c: $(srcdir)/emulparams/st2000.sh \
1883 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1884 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1885 esun3.c: $(srcdir)/emulparams/sun3.sh \
1886 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1887 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1888 esun4.c: $(srcdir)/emulparams/sun4.sh \
1889 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1890 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1891 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1892 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1893 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1894 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1895 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1896 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1897 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1898 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1899 ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
1900 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1901 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1902 ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
1903 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1904 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1905 ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
1906 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1907 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1908 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1909 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1910 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1911 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1912 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1913 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1914 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1915 evax.c: $(srcdir)/emulparams/vax.sh \
1916 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1917 ${GENSCRIPTS} vax "$(tdir_vax)"
1918 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1919 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1920 ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1921 evsta.c: $(srcdir)/emulparams/vsta.sh \
1922 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1923 ${GENSCRIPTS} vsta "$(tdir_vsta)"
1924 ev850.c: $(srcdir)/emulparams/v850.sh \
1925 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1926 ${GENSCRIPTS} v850 "$(tdir_v850)"
1927 ew65.c: $(srcdir)/emulparams/w65.sh \
1928 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1929 ${GENSCRIPTS} w65 "$(tdir_w65)"
1930 ez80.c: $(srcdir)/emulparams/z80.sh \
1931 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1932 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1933 ${GENSCRIPTS} z80 "$(tdir_z80)"
1934 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1935 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1936 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1937 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1938 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1939 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1941 # We need this for automake to use YLWRAP.
1942 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1943 # Allow dependency tracking to work for these files, too.
1944 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1946 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1947 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C)
1948 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1949 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1951 # Dependency tracking for the generated emulation files.
1952 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1954 # This is the real libbfd.a created by libtool.
1955 TESTBFDLIB = @TESTBFDLIB@
1957 check-DEJAGNU: site.exp
1958 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1959 r=`pwd`; export r; \
1960 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
1961 EXPECT=$(EXPECT); export EXPECT; \
1962 runtest=$(RUNTEST); \
1963 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1964 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1965 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1966 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1967 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1968 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1969 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1970 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1972 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1975 # Rules for testing by relinking ld itself.
1976 # A similar test is in the testsuite. This target is for ease of use
1979 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
1980 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
1981 ld1$(EXEEXT): ld-partial.@OBJEXT@
1982 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1984 ld1-full$(EXEEXT): ld-new
1985 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1987 ld2$(EXEEXT): ld1$(EXEEXT)
1988 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1990 ld3$(EXEEXT): ld2$(EXEEXT)
1991 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1993 bootstrap: ld3$(EXEEXT)
1994 cmp ld2$(EXEEXT) ld3$(EXEEXT)
1998 # A test program for C++ constructors and destructors.
1999 # This test is now in the testsuite.
2001 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2002 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2003 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2006 # ./cdtest > cdtest.tmp
2007 # mv cdtest.tmp cdtest.out
2009 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2010 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2011 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2013 #cdtest-ur: cdtest-ur.@OBJEXT@
2014 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2017 #cdtest-ur.out: cdtest-ur
2018 # ./cdtest-ur > cdtest-ur.tmp
2019 # mv cdtest-ur.tmp cdtest-ur.out
2021 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2022 # diff $(srcdir)/cdtest.exp cdtest.out
2023 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2025 #.PHONY: check-cdtest
2027 # END OF CHECK TARGETS
2030 # Build a dummy plugin using libtool.
2033 noinst_LTLIBRARIES = libldtestplug.la
2034 libldtestplug_la_SOURCES = testplug.c
2035 libldtestplug_la_CFLAGS= -g -O2
2036 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2039 # DOCUMENTATION TARGETS
2040 # Manual configuration file; not usually attached to normal configuration,
2041 # because almost all configs use "gen" version of manual.
2042 # Set DOCVER above to change.
2043 configdoc.texi: ${DOCVER}-doc.texi
2044 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2045 chmod u+w ./configdoc.texi
2047 # Build the man page from the texinfo file
2048 # The sed command removes the no-adjust Nroff command so that
2049 # the man output looks standard.
2050 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2052 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2053 -($(POD2MAN) ld.pod | \
2054 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2055 mv -f $@.T$$$$ $@) || \
2056 (rm -f $@.T$$$$ && exit 1)
2059 MAINTAINERCLEANFILES = configdoc.texi ld.1
2061 # We want to reconfigure if configure.host or configure.tgt changes. We
2062 # extract version from bfd/configure.in, so we must depend on that also.
2063 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2064 $(srcdir)/../bfd/configure.in
2066 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2067 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2070 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2072 .PHONY: install-exec-local install-data-local
2074 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2075 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2076 n=`echo $(installed_linker) | sed '$(transform)'`; \
2077 if test "$(bindir)" != "$(tooldir)/bin"; then \
2078 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2079 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2080 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2082 if test "x$(install_as_default)" = "xyes"; then \
2083 ld=`echo ld | sed '$(transform)'`; \
2084 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2085 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2086 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2087 if test "$(bindir)" != "$(tooldir)/bin"; then \
2088 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2089 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2090 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2095 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2096 for f in ldscripts/*; do \
2097 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2100 # Stuff that should be included in a distribution. The diststuff
2101 # target is run by the taz target in ../Makefile.in.
2102 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2103 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2104 diststuff: info $(EXTRA_DIST)
2106 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2107 # But info isn't a direct target. Make info-recursive to depend on
2108 # ld.1 to support parallel build.
2109 info-recursive: ld.1
2111 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2115 MAINTAINERCLEANFILES += ld.info
2117 # Automake 1.9 will only build info files in the objdir if they are
2118 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2119 # though, so we use a bogus condition.
2121 DISTCLEANFILES += ld.info