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 \
172 earmelfb_linux_eabi.c \
211 eelf32_sparc_sol2.c \
212 eelf32_sparc_vxworks.c \
216 eelf32_tic6x_linux_be.c \
217 eelf32_tic6x_linux_le.c \
218 eelf32_tic6x_elf_be.c \
219 eelf32_tic6x_elf_le.c \
227 eelf32epiphany_4x4.c \
247 eelf32microblazeel.c \
279 eelf_i386_vxworks.c \
400 etic3xcoff_onchip.c \
416 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
418 ALL_64_EMULATION_SOURCES = \
428 eelf32_x86_64_nacl.c \
434 eelf32btsmip_fbsd.c \
436 eelf32btsmipn32_fbsd.c \
438 eelf32ebmipvxworks.c \
440 eelf32elmipvxworks.c \
447 eelf32ltsmip_fbsd.c \
449 eelf32ltsmipn32_fbsd.c \
450 eelf32mipswindiss.c \
457 eelf64_sparc_fbsd.c \
458 eelf64_sparc_sol2.c \
464 eelf64btsmip_fbsd.c \
468 eelf64ltsmip_fbsd.c \
491 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
493 ALL_EMUL_EXTRA_OFILES = \
497 ALL_64_EMUL_EXTRA_OFILES = \
500 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
501 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
502 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
503 $(PLUGIN_C) ldbuildid.c
505 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
506 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
507 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
508 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
510 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
511 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
513 # Require an early dependency on the generated headers, as the dependency
514 # tracking will not cause them to be built beforehand.
515 BUILT_SOURCES = $(GENERATED_HFILES)
517 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
518 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
519 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
520 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
523 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
525 # Disable -Werror, if it has been enabled, since old versions of bison/
526 # yacc will produce working code which contain compile time warnings.
527 ldgram.@OBJEXT@: ldgram.c
529 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
530 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
533 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
534 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
536 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
539 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
541 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
542 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
545 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
546 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
548 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
551 deffilep.@OBJEXT@: deffilep.c
553 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
554 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
557 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
558 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
560 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
563 # At the moment this is just a list of those emulation template files
564 # that contain internationalised strings.
565 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
567 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
569 po/POTFILES.in: @MAINT@ Makefile
570 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
571 && mv tmp $(srcdir)/po/POTFILES.in
573 ldmain.@OBJEXT@: ldmain.c config.status
575 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
576 -DDEFAULT_EMULATION='"$(EMUL)"' \
577 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
578 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
580 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
583 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
584 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
586 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
587 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
588 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
592 ldfile.@OBJEXT@: ldfile.c config.status
594 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
595 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
597 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
600 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
601 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
603 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
604 -DTOOLBINDIR='"$(tooldir)/bin"' \
608 eelf32_spu.@OBJEXT@: eelf32_spu.c
610 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
611 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
612 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
615 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
616 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
618 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
622 ldemul-list.h: Makefile
623 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
624 for f in `echo " " ${EMULATION_OFILES} "" \
625 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
626 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
629 echo "#define EMULATION_LIST \\";\
630 for f in `echo " " ${EMULATION_OFILES} "" \
631 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
632 echo " &ld_$${f}_emulation, \\"; \
634 echo " 0") >ldemul-tmp.h
635 mv ldemul-tmp.h ldemul-list.h
637 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
638 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
640 # These all start with e so 'make clean' can find them.
642 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@
643 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
644 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
645 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
649 # We can't use pattern rules as we don't want to depend on GNU
650 # make, or else these rules could have been expressed in one
651 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
652 # (The recursive variable expansion is portable.)
655 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
657 .PHONY: run-genscripts
659 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
660 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
661 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
663 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
664 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
666 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
667 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
669 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
670 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
672 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
673 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
675 ealpha.c: $(srcdir)/emulparams/alpha.sh \
676 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
678 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
679 $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
682 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
683 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
685 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
686 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
688 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
689 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
691 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
692 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
694 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
695 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
697 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
698 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
700 earmelf.c: $(srcdir)/emulparams/armelf.sh \
701 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
702 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
704 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
705 $(srcdir)/emulparams/armelf.sh \
706 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
707 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
709 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
710 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
711 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
713 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
714 $(srcdir)/emulparams/armelf_linux.sh \
715 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
716 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
718 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
719 $(srcdir)/emulparams/armelf_linux_eabi.sh \
720 $(srcdir)/emulparams/armelf_linux.sh \
721 $(srcdir)/emulparams/elf_nacl.sh \
722 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
723 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
725 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
726 $(srcdir)/emulparams/armelf.sh \
727 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
728 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
730 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
731 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
732 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
733 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
736 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
737 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
738 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
740 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
741 $(srcdir)/emulparams/armelf_fbsd.sh \
742 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
743 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
745 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
746 $(srcdir)/emulparams/armelf_linux.sh \
747 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
748 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
750 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
751 $(srcdir)/emulparams/armelf_linux_eabi.sh \
752 $(srcdir)/emulparams/armelf_linux.sh \
753 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
754 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
756 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
757 $(srcdir)/emulparams/armelf_nacl.sh \
758 $(srcdir)/emulparams/armelf_linux_eabi.sh \
759 $(srcdir)/emulparams/armelf_linux.sh \
760 $(srcdir)/emulparams/elf_nacl.sh \
761 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
762 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
764 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
765 $(srcdir)/emulparams/armelf_nbsd.sh \
766 $(srcdir)/emulparams/armelf.sh \
767 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
768 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
770 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
771 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
773 earmnto.c: $(srcdir)/emulparams/armnto.sh \
774 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
775 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
777 earmpe.c: $(srcdir)/emulparams/armpe.sh \
778 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
780 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
781 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
782 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
785 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
786 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
789 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
790 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
793 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
794 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
797 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
798 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
801 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
802 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
805 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
806 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
809 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
810 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
813 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
814 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
817 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
818 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
821 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
822 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
825 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
826 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
829 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
830 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
833 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
834 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
837 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
838 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
841 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
842 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
845 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
846 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
849 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
850 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
853 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
854 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avrtiny.sc \
857 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
858 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
860 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
861 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
863 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
864 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
866 ecriself.c: $(srcdir)/emulparams/criself.sh \
867 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
869 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
870 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
872 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
873 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
875 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
876 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
878 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
879 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
881 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
882 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
884 edelta68.c: $(srcdir)/emulparams/delta68.sh \
885 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
887 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
888 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
890 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
891 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
893 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
894 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
896 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
897 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
899 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
900 $(srcdir)/emulparams/elf32_sparc.sh \
901 $(srcdir)/emulparams/solaris2.sh \
902 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
903 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
905 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
906 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
907 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
908 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
910 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
911 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
913 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
915 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
916 if ../gas/as-new --version \
917 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
918 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
919 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
920 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
922 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
923 if ../gas/as-new --version \
924 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
925 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
926 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
927 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
929 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
930 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
933 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
934 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
937 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
938 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
941 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
942 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
945 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
946 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
949 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
950 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
953 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
954 $(srcdir)/emulparams/elf32am33lin.sh \
955 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
957 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
958 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
959 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
961 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
962 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
963 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
965 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
966 $(srcdir)/emulparams/elf32bfin.sh \
967 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
968 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
970 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
971 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
973 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
974 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
975 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
976 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
978 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
979 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
980 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
982 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
983 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
984 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
986 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
987 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
988 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
990 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
991 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
992 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
994 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
995 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
996 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
998 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
999 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1000 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1002 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1003 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1005 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1006 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1007 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1009 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1010 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1011 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1013 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1014 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1015 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1016 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1018 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1019 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1020 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1023 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1024 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1025 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1026 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1028 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1029 $(srcdir)/emulparams/elf32bmip.sh \
1030 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1033 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1034 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1035 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1038 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1039 $(ELF_DEPS) ${GEN_DEPENDS}
1041 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1042 $(srcdir)/emultempl/elf32.em \
1043 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1045 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1046 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1048 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1049 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1051 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1052 $(srcdir)/emulparams/elf32frv.sh \
1053 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1055 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1056 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1058 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1059 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1061 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1062 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1064 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1065 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1067 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1068 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1069 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1072 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1073 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1075 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1076 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1077 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1079 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1080 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1081 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1083 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1084 $(srcdir)/emulparams/elf32ppccommon.sh \
1085 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1087 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1089 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1090 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1091 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1093 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1095 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1096 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1097 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1099 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1101 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1102 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1103 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1105 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1107 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1108 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1109 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1112 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1113 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1114 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1117 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1118 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1119 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1122 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1123 $(srcdir)/emulparams/elf32btsmipn32.sh \
1124 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1125 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1127 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1128 $(srcdir)/emulparams/elf32btsmipn32.sh \
1129 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1130 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1132 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1133 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1134 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1136 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1137 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1139 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1140 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1142 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1143 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1145 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1146 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1148 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1149 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1150 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1152 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1153 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1155 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1156 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1158 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1159 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1161 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1162 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1164 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1165 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1167 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1168 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1170 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1171 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1173 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1174 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1176 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1177 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1179 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1181 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1182 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1183 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1185 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1187 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1188 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1189 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1191 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1193 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1194 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1195 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1197 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1199 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1200 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1201 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1203 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1205 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1206 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1207 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
1208 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1210 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1211 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1213 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1214 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1216 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1217 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1219 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1220 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1221 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1223 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1224 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1225 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1227 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1228 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1229 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1231 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1232 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1234 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1235 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1236 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1238 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1239 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1240 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1242 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1243 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1244 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1246 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1247 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1248 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1250 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1251 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1252 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1253 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1255 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1256 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1258 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1259 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1261 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1262 $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1264 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1265 $(srcdir)/emulparams/elf_i386.sh \
1266 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1268 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1269 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1271 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1272 $(srcdir)/emulparams/elf_i386.sh \
1273 $(srcdir)/emulparams/elf_nacl.sh \
1274 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1276 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1277 $(srcdir)/emulparams/solaris2.sh \
1278 $(srcdir)/emultempl/solaris2.em \
1279 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1281 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1282 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1283 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1285 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1286 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1288 egld960.c: $(srcdir)/emulparams/gld960.sh \
1289 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1291 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1292 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1294 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1295 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1297 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1298 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1300 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1301 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1303 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1304 $(srcdir)/emulparams/h8300elf.sh \
1305 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1307 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1308 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1310 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1311 $(srcdir)/emulparams/h8300elf.sh \
1312 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1314 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1315 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1317 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1318 $(srcdir)/emulparams/h8300elf.sh \
1319 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1321 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1322 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1324 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1325 $(srcdir)/emulparams/h8300elf.sh \
1326 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1328 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1329 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1331 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1332 $(srcdir)/emulparams/h8300elf.sh \
1333 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1335 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1336 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1338 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1339 $(srcdir)/emulparams/h8300elf.sh \
1340 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1342 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1343 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1345 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1346 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1348 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1349 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1351 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1352 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1354 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1355 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1357 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1358 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1360 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1361 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1363 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1364 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1365 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1367 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1368 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1369 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1371 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1372 $(srcdir)/emulparams/hppaelf.sh \
1373 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1374 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1376 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1377 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1378 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1380 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1381 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1383 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1384 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1386 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1387 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1389 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1390 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1392 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1393 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1395 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1396 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1398 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1399 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1401 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1402 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1404 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1405 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1407 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1408 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1410 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1411 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1413 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1414 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1416 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1417 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1419 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1420 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1422 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1423 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1425 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1426 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1428 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1429 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1431 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1432 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1434 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1435 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1437 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1438 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1440 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1441 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1443 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1444 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1445 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1447 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1448 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1449 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1451 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1452 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1453 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1455 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1456 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1457 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1459 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1460 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1462 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1463 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1465 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1466 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1468 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1469 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1471 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1472 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1473 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1475 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1476 $(srcdir)/emulparams/m68kelf.sh \
1477 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1478 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1480 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1481 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1483 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1484 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1486 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1487 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1489 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1490 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1492 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1493 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1495 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1496 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1498 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1499 $(srcdir)/emulparams/mn10200.sh \
1500 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1502 emsp430.c: $(srcdir)/emulparams/msp430.sh \
1503 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1505 emsp430X.c: $(srcdir)/emulparams/msp430.sh $(srcdir)/emulparams/msp430X.sh \
1506 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1508 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1509 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1510 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1512 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1513 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1514 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1516 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1517 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1518 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1520 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1521 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1522 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1524 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1525 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1526 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1528 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1529 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1530 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1532 enews.c: $(srcdir)/emulparams/news.sh \
1533 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1535 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1536 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1537 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1539 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1540 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1541 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1543 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1544 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1545 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1547 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1548 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1549 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1551 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1552 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1553 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1555 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1556 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1557 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1559 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1560 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1561 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1563 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1564 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1565 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1567 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1568 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1569 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1571 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1572 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1573 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1575 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1576 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1577 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1579 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1580 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1582 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1583 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1585 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1586 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1588 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1589 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1591 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1592 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1594 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1595 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1597 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1598 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1600 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1601 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1603 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1604 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1606 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1607 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1608 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1610 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1611 $(srcdir)/emulparams/score7_elf.sh \
1612 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1613 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1615 esh.c: $(srcdir)/emulparams/sh.sh \
1616 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1618 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1619 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1621 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1622 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1623 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1624 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1626 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1627 $(srcdir)/emulparams/shelf32.sh \
1628 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1629 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1630 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1632 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1633 $(srcdir)/emulparams/shelf32.sh \
1634 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1635 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1636 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1638 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1639 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1641 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1642 $(srcdir)/emulparams/shlelf_linux.sh \
1643 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1645 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1646 $(srcdir)/emulparams/shelf.sh \
1647 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1649 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1650 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1652 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1653 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1655 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1656 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1657 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1659 eshl.c: $(srcdir)/emulparams/shl.sh \
1660 $(srcdir)/emulparams/sh.sh \
1661 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1663 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1664 $(srcdir)/emulparams/shelf.sh \
1665 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1667 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1668 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1669 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1670 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1672 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1673 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1674 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1675 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1676 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1678 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1679 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1680 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1681 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1682 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1684 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1685 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1687 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1688 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1690 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1691 $(srcdir)/emulparams/shelf_nbsd.sh \
1692 $(srcdir)/emulparams/shelf.sh \
1693 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1695 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1696 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1698 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1699 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1700 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1703 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1704 $(srcdir)/emulparams/shelf.sh \
1705 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1707 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1708 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1710 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1711 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1713 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1714 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1716 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1717 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1719 est2000.c: $(srcdir)/emulparams/st2000.sh \
1720 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1722 esun3.c: $(srcdir)/emulparams/sun3.sh \
1723 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1725 esun4.c: $(srcdir)/emulparams/sun4.sh \
1726 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1728 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1729 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1731 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1732 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1734 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1735 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1737 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1738 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1740 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1741 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1743 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1744 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1746 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1747 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1749 ev850.c: $(srcdir)/emulparams/v850.sh \
1750 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1752 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh \
1753 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1755 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1756 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1758 evax.c: $(srcdir)/emulparams/vax.sh \
1759 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1761 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1762 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1764 evsta.c: $(srcdir)/emulparams/vsta.sh \
1765 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1767 ew65.c: $(srcdir)/emulparams/w65.sh \
1768 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1770 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1771 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1772 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1774 ez80.c: $(srcdir)/emulparams/z80.sh \
1775 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1776 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1778 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1779 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1781 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1782 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1784 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1785 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1787 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1788 $(srcdir)/emulparams/elf32_x86_64.sh \
1789 $(srcdir)/emulparams/elf_nacl.sh \
1790 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1792 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1793 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1795 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1796 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1797 $(srcdir)/emultempl/needrelax.em \
1798 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1800 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1801 $(srcdir)/emulparams/elf64_ia64.sh \
1802 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1803 $(srcdir)/emultempl/needrelax.em \
1804 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1806 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1807 $(srcdir)/emultempl/vms.em $(srcdir)/emultempl/elf-generic.em \
1808 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1810 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1811 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1813 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1814 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1816 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1817 $(srcdir)/emulparams/elf64_sparc.sh \
1818 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1820 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1821 $(srcdir)/emulparams/elf64_sparc.sh \
1822 $(srcdir)/emulparams/solaris2.sh \
1823 $(srcdir)/emultempl/solaris2.em \
1824 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1826 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1827 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1828 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1830 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1831 $(srcdir)/emulparams/elf64alpha.sh \
1832 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1833 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1835 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1836 $(srcdir)/emulparams/elf64alpha.sh \
1837 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1838 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1840 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1841 $(srcdir)/emulparams/elf64bmip-defs.sh \
1842 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1843 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1844 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1846 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1847 $(srcdir)/emulparams/elf64bmip-defs.sh \
1848 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1849 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1851 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1852 $(srcdir)/emulparams/elf64bmip-defs.sh \
1853 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1854 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1856 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1857 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1859 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1860 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1862 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1864 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1865 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1866 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1867 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1869 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1870 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1871 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1872 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1874 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1875 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1876 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1878 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1880 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1882 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1883 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1884 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1886 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1887 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1889 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1890 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1891 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1893 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1894 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1895 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1897 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1898 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1900 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1901 $(srcdir)/emulparams/elf_l1om.sh \
1902 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1904 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1905 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1907 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1908 $(srcdir)/emulparams/elf_k1om.sh \
1909 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1911 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1912 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1914 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1915 $(srcdir)/emulparams/elf_x86_64.sh \
1916 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1918 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1919 $(srcdir)/emulparams/elf_x86_64.sh \
1920 $(srcdir)/emulparams/elf_nacl.sh \
1921 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1923 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1924 $(srcdir)/emulparams/elf_x86_64.sh \
1925 $(srcdir)/emulparams/solaris2.sh \
1926 $(srcdir)/emultempl/solaris2.em \
1927 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1929 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1930 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1932 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1933 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1934 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1935 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1937 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1938 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1940 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1941 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1942 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1944 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1945 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1946 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1948 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1949 $(srcdir)/emulparams/shelf64_nbsd.sh \
1950 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1951 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1954 # We need this for automake to use YLWRAP.
1955 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1956 # Allow dependency tracking to work for these files, too.
1957 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1959 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1960 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
1962 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
1963 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1964 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1966 # Dependency tracking for the generated emulation files.
1967 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1969 # This is the real libbfd.a created by libtool.
1970 TESTBFDLIB = @TESTBFDLIB@
1972 check-DEJAGNU: site.exp
1973 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1974 r=`pwd`; export r; \
1975 LC_ALL=C; export LC_ALL; \
1976 EXPECT=$(EXPECT); export EXPECT; \
1977 runtest=$(RUNTEST); \
1978 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1979 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1980 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1981 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1982 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1983 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1984 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1985 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1987 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1990 # Rules for testing by relinking ld itself.
1991 # A similar test is in the testsuite. This target is for ease of use
1994 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
1995 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
1996 ld1$(EXEEXT): ld-partial.@OBJEXT@
1997 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1999 ld1-full$(EXEEXT): ld-new
2000 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2002 ld2$(EXEEXT): ld1$(EXEEXT)
2003 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2005 ld3$(EXEEXT): ld2$(EXEEXT)
2006 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2008 bootstrap: ld3$(EXEEXT)
2009 cmp ld2$(EXEEXT) ld3$(EXEEXT)
2013 # A test program for C++ constructors and destructors.
2014 # This test is now in the testsuite.
2016 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2017 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2018 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2021 # ./cdtest > cdtest.tmp
2022 # mv cdtest.tmp cdtest.out
2024 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2025 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2026 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2028 #cdtest-ur: cdtest-ur.@OBJEXT@
2029 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2032 #cdtest-ur.out: cdtest-ur
2033 # ./cdtest-ur > cdtest-ur.tmp
2034 # mv cdtest-ur.tmp cdtest-ur.out
2036 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2037 # diff $(srcdir)/cdtest.exp cdtest.out
2038 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2040 #.PHONY: check-cdtest
2042 # END OF CHECK TARGETS
2045 # Build a dummy plugin using libtool.
2048 noinst_LTLIBRARIES = libldtestplug.la
2049 libldtestplug_la_SOURCES = testplug.c
2050 libldtestplug_la_CFLAGS= -g -O2
2051 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2054 # DOCUMENTATION TARGETS
2055 # Manual configuration file; not usually attached to normal configuration,
2056 # because almost all configs use "gen" version of manual.
2057 # Set DOCVER above to change.
2058 configdoc.texi: ${DOCVER}-doc.texi
2059 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2060 chmod u+w ./configdoc.texi
2062 # Build the man page from the texinfo file
2063 # The sed command removes the no-adjust Nroff command so that
2064 # the man output looks standard.
2065 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2067 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2068 -($(POD2MAN) ld.pod | \
2069 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2070 mv -f $@.T$$$$ $@) || \
2071 (rm -f $@.T$$$$ && exit 1)
2074 MAINTAINERCLEANFILES = configdoc.texi ld.1
2076 # We want to reconfigure if configure.host or configure.tgt changes.
2077 # development.sh is used to determine -Werror default.
2078 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2079 $(BFDDIR)/development.sh
2081 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2082 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2085 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2087 .PHONY: install-exec-local install-data-local
2089 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2090 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2091 n=`echo $(installed_linker) | sed '$(transform)'`; \
2092 if test "$(bindir)" != "$(tooldir)/bin"; then \
2093 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2094 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2095 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2097 if test "x$(install_as_default)" = "xyes"; then \
2098 ld=`echo ld | sed '$(transform)'`; \
2099 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2100 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2101 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2102 if test "$(bindir)" != "$(tooldir)/bin"; then \
2103 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2104 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2105 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2110 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2111 for f in ldscripts/* ; do \
2112 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2115 # Stuff that should be included in a distribution. The diststuff
2116 # target is run by the taz target in ../Makefile.in.
2117 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2118 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2119 diststuff: info $(EXTRA_DIST)
2121 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2122 # But info isn't a direct target. Make info-recursive to depend on
2123 # ld.1 to support parallel build.
2124 info-recursive: ld.1
2126 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2130 MAINTAINERCLEANFILES += ld.info
2132 # Automake 1.9 will only build info files in the objdir if they are
2133 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2134 # though, so we use a bogus condition.
2136 DISTCLEANFILES += ld.info