1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2014 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
20 AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
21 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
22 TEXINFO_TEX = ../texinfo/texinfo.tex
26 tooldir = $(exec_prefix)/$(target_alias)
28 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
30 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
32 # Automake 1.10+ disables lex and yacc output file regeneration if
33 # maintainer mode is disabled. Avoid this.
37 WARN_CFLAGS = @WARN_CFLAGS@
38 NO_WERROR = @NO_WERROR@
39 AM_CFLAGS = $(WARN_CFLAGS)
41 # Conditionally enable the plugin interface.
45 PLUGIN_OBJECT = plugin.@OBJEXT@
46 PLUGIN_CFLAGS = -DENABLE_PLUGINS
54 # We put the scripts in the directory $(scriptdir)/ldscripts.
55 # We can't put the scripts in $(datadir) because the SEARCH_DIR
56 # directives need to be different for native and cross linkers.
57 scriptdir = $(tooldir)/lib
60 EMULATION_OFILES = @EMULATION_OFILES@
61 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
64 # Search path to override the default search path for -lfoo libraries.
65 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
66 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
67 # a cross-linker, in which case the default is empty. See genscripts.sh.)
68 # Otherwise, they are replaced with the ones given in LIB_PATH,
69 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
70 # when the linker is configured via the --with-lib-path configure switch.
73 BASEDIR = $(srcdir)/..
74 BFDDIR = $(BASEDIR)/bfd
75 INCDIR = $(BASEDIR)/include
77 # What version of the manual to build
80 # Options to extract the man page from ld.texinfo
83 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
85 POD2MAN = pod2man --center="GNU Development Tools" \
86 --release="binutils-$(VERSION)" --section=1
88 #stuff for self hosting (can be overridden in config file).
89 HOSTING_CRT0 = @HOSTING_CRT0@
90 HOSTING_SCRT0 = @HOSTING_SCRT0@
91 HOSTING_LIBS = @HOSTING_LIBS@
92 HOSTING_SLIBS = @HOSTING_SLIBS@
93 HOSTING_EMU = -m $(EMUL)
95 # Setup the testing framework, if you have one
101 if [ -f $$r/../gcc/xgcc ] ; then \
102 if [ -f $$r/../newlib/Makefile ] ; then \
103 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
105 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
108 if [ "@host@" = "@target@" ] ; then \
111 echo gcc | sed '$(transform)'; \
116 if [ -f $$r/../gcc/g++ ] ; then \
117 if [ -f $$r/../newlib/Makefile ] ; then \
118 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
120 echo $$r/../gcc/g++ -B$$r/../gcc/; \
123 if [ "@host@" = "@target@" ] ; then \
126 echo g++ | sed '$(transform)'; \
130 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
131 bin_PROGRAMS = ld-new
132 info_TEXINFOS = ld.texinfo
133 ld_TEXINFOS = configdoc.texi
134 noinst_TEXINFOS = ldint.texinfo
137 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
138 -I $(top_srcdir)/../libiberty
139 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
140 -I $(top_srcdir)/../libiberty
142 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
143 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
144 -DLOCALEDIR="\"$(datadir)/locale\""
146 BFDLIB = ../bfd/libbfd.la
147 LIBIBERTY = ../libiberty/libiberty.a
149 ALL_EMULATION_SOURCES = \
165 earmelf_linux_eabi.c \
171 earmelfb_linux_eabi.c \
209 eelf32_sparc_sol2.c \
210 eelf32_sparc_vxworks.c \
214 eelf32_tic6x_linux_be.c \
215 eelf32_tic6x_linux_le.c \
216 eelf32_tic6x_elf_be.c \
217 eelf32_tic6x_elf_le.c \
225 eelf32epiphany_4x4.c \
245 eelf32microblazeel.c \
276 eelf_i386_vxworks.c \
396 etic3xcoff_onchip.c \
412 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
414 ALL_64_EMULATION_SOURCES = \
424 eelf32_x86_64_nacl.c \
430 eelf32btsmip_fbsd.c \
432 eelf32btsmipn32_fbsd.c \
434 eelf32ebmipvxworks.c \
436 eelf32elmipvxworks.c \
443 eelf32ltsmip_fbsd.c \
445 eelf32ltsmipn32_fbsd.c \
446 eelf32mipswindiss.c \
453 eelf64_sparc_fbsd.c \
454 eelf64_sparc_sol2.c \
460 eelf64btsmip_fbsd.c \
464 eelf64ltsmip_fbsd.c \
486 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
488 ALL_EMUL_EXTRA_OFILES = \
493 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
494 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
495 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
496 $(PLUGIN_C) ldbuildid.c
498 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
499 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
500 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
501 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
503 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
504 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
506 # Require an early dependency on the generated headers, as the dependency
507 # tracking will not cause them to be built beforehand.
508 BUILT_SOURCES = $(GENERATED_HFILES)
510 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
511 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
512 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
513 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
516 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
518 # Disable -Werror, if it has been enabled, since old versions of bison/
519 # yacc will produce working code which contain compile time warnings.
520 ldgram.@OBJEXT@: ldgram.c
522 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
523 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
526 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
527 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
529 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
532 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
534 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
535 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
538 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
539 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
541 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
544 deffilep.@OBJEXT@: deffilep.c
546 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
547 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
550 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
551 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
553 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
556 # At the moment this is just a list of those emulation template files
557 # that contain internationalised strings.
558 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
560 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
562 po/POTFILES.in: @MAINT@ Makefile
563 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
564 && mv tmp $(srcdir)/po/POTFILES.in
566 ldmain.@OBJEXT@: ldmain.c config.status
568 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
569 -DDEFAULT_EMULATION='"$(EMUL)"' \
570 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
571 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
573 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
576 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
577 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
579 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
580 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
581 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
585 ldfile.@OBJEXT@: ldfile.c config.status
587 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
588 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
590 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
593 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
594 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
596 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
597 -DTOOLBINDIR='"$(tooldir)/bin"' \
601 eelf32_spu.@OBJEXT@: eelf32_spu.c
603 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
604 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
605 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
608 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
609 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
611 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
615 ldemul-list.h: Makefile
616 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
617 for f in `echo " " ${EMULATION_OFILES} "" \
618 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
619 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
622 echo "#define EMULATION_LIST \\";\
623 for f in `echo " " ${EMULATION_OFILES} "" \
624 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
625 echo " &ld_$${f}_emulation, \\"; \
627 echo " 0") >ldemul-tmp.h
628 mv ldemul-tmp.h ldemul-list.h
630 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
631 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
633 # These all start with e so 'make clean' can find them.
635 GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@
636 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
637 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
638 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
642 # We can't use pattern rules as we don't want to depend on GNU
643 # make, or else these rules could have been expressed in one
644 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
645 # (The recursive variable expansion is portable.)
648 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
650 .PHONY: run-genscripts
652 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
653 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
654 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
656 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
657 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
659 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
660 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
662 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
663 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
665 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
666 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
668 ealpha.c: $(srcdir)/emulparams/alpha.sh \
669 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
671 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
672 $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
675 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
676 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
678 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
679 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
681 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
682 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
684 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
685 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
687 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
688 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
690 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
691 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
693 earmelf.c: $(srcdir)/emulparams/armelf.sh \
694 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
695 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
697 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
698 $(srcdir)/emulparams/armelf.sh \
699 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
700 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
702 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
703 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
704 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
706 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
707 $(srcdir)/emulparams/armelf_linux.sh \
708 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
709 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
711 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
712 $(srcdir)/emulparams/armelf_linux_eabi.sh \
713 $(srcdir)/emulparams/armelf_linux.sh \
714 $(srcdir)/emulparams/elf_nacl.sh \
715 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
716 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
718 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
719 $(srcdir)/emulparams/armelf.sh \
720 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
721 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
723 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
724 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
725 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
726 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
729 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
730 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
731 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
733 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
734 $(srcdir)/emulparams/armelf_linux.sh \
735 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
736 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
738 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
739 $(srcdir)/emulparams/armelf_linux_eabi.sh \
740 $(srcdir)/emulparams/armelf_linux.sh \
741 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
742 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
744 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
745 $(srcdir)/emulparams/armelf_nacl.sh \
746 $(srcdir)/emulparams/armelf_linux_eabi.sh \
747 $(srcdir)/emulparams/armelf_linux.sh \
748 $(srcdir)/emulparams/elf_nacl.sh \
749 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
750 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
752 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
753 $(srcdir)/emulparams/armelf_nbsd.sh \
754 $(srcdir)/emulparams/armelf.sh \
755 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
756 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
758 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
759 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
761 earmnto.c: $(srcdir)/emulparams/armnto.sh \
762 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
763 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
765 earmpe.c: $(srcdir)/emulparams/armpe.sh \
766 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
768 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
769 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
770 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
773 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
774 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
777 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
778 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
781 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
782 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
785 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
786 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
789 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
790 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
793 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
794 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
797 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
798 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
801 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
802 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
805 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
806 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
809 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
810 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
813 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
814 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
817 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
818 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
821 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
822 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
825 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
826 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
829 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
830 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
833 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
834 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
837 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
838 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
841 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
842 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
844 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
845 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
847 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
848 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
850 ecriself.c: $(srcdir)/emulparams/criself.sh \
851 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
853 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
854 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
856 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
857 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
859 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
860 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
862 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
863 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
865 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
866 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
868 edelta68.c: $(srcdir)/emulparams/delta68.sh \
869 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
871 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
872 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
874 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
875 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
877 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
878 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
880 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
881 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
883 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
884 $(srcdir)/emulparams/elf32_sparc.sh \
885 $(srcdir)/emulparams/solaris2.sh \
886 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
887 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
889 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
890 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
891 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
892 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
894 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
895 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
897 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
899 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
900 if ../gas/as-new --version \
901 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
902 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
903 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
904 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
906 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
907 if ../gas/as-new --version \
908 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
909 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
910 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
911 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
913 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
914 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
917 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
918 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
921 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
922 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
925 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
926 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
929 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
930 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
933 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
934 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
937 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
938 $(srcdir)/emulparams/elf32am33lin.sh \
939 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
941 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
942 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
943 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
945 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
946 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
947 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
949 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
950 $(srcdir)/emulparams/elf32bfin.sh \
951 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
952 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
954 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
955 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
957 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
958 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
959 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
960 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
962 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
963 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
964 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
966 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
967 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
968 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
970 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
971 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
972 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
974 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
975 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
976 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
978 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
979 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
980 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
982 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
983 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
984 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
986 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
987 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
989 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
990 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
991 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
993 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
994 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
995 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
997 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
998 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
999 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1000 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1002 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1003 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1004 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1007 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1008 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1009 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1010 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1012 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1013 $(srcdir)/emulparams/elf32bmip.sh \
1014 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1017 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1018 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1019 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1022 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1023 $(ELF_DEPS) ${GEN_DEPENDS}
1025 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1026 $(srcdir)/emultempl/elf32.em \
1027 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1029 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1030 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1032 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1033 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1035 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1036 $(srcdir)/emulparams/elf32frv.sh \
1037 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1039 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1040 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1042 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1043 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1045 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1046 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1048 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1049 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1051 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1052 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1053 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1056 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1057 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1059 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1060 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1061 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1063 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1064 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1065 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1067 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1068 $(srcdir)/emulparams/elf32ppccommon.sh \
1069 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1071 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1073 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1074 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1075 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1077 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1079 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1080 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1081 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1083 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1085 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1086 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1087 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1089 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1091 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1092 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1093 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1096 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1097 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1098 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1101 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1102 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1103 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1106 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1107 $(srcdir)/emulparams/elf32btsmipn32.sh \
1108 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1109 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1111 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1112 $(srcdir)/emulparams/elf32btsmipn32.sh \
1113 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1114 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1116 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1117 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1118 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1120 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1121 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1123 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1124 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1126 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1127 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1129 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1130 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1132 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1133 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1134 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1136 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1137 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1139 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1140 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1142 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1143 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1145 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1146 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1148 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1149 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1151 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1152 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1154 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1155 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1157 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1158 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1160 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1162 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1163 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1164 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1166 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1168 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1169 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1170 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1172 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1174 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1175 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1176 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1178 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1180 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1181 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1182 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1184 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1186 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1187 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1188 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
1189 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1191 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1192 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1194 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1195 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1197 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1198 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1200 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1201 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1202 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1204 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1205 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1206 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1208 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1209 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1210 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1212 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1213 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1215 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1216 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1217 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1219 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1220 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1221 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1223 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1224 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1225 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1227 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1228 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1229 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1231 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1232 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1233 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1234 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1236 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1237 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1239 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1240 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1242 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1243 $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1245 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1246 $(srcdir)/emulparams/elf_i386.sh \
1247 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1249 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1250 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1252 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1253 $(srcdir)/emulparams/elf_i386.sh \
1254 $(srcdir)/emulparams/elf_nacl.sh \
1255 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1257 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1258 $(srcdir)/emulparams/solaris2.sh \
1259 $(srcdir)/emultempl/solaris2.em \
1260 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1262 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1263 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1264 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1266 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1267 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1269 egld960.c: $(srcdir)/emulparams/gld960.sh \
1270 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1272 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1273 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1275 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1276 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1278 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1279 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1281 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1282 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1284 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1285 $(srcdir)/emulparams/h8300elf.sh \
1286 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1288 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1289 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1291 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1292 $(srcdir)/emulparams/h8300elf.sh \
1293 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1295 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1296 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1298 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1299 $(srcdir)/emulparams/h8300elf.sh \
1300 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1302 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1303 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1305 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1306 $(srcdir)/emulparams/h8300elf.sh \
1307 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1309 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1310 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1312 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1313 $(srcdir)/emulparams/h8300elf.sh \
1314 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1316 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1317 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1319 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1320 $(srcdir)/emulparams/h8300elf.sh \
1321 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1323 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1324 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1326 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1327 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1329 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1330 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1332 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1333 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1335 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1336 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1338 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1339 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1341 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1342 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1344 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1345 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1346 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1348 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1349 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1350 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1352 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1353 $(srcdir)/emulparams/hppaelf.sh \
1354 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1355 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1357 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1358 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1359 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1361 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1362 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1364 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1365 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1367 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1368 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1370 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1371 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1373 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1374 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1376 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1377 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1379 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1380 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1382 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1383 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1385 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1386 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1388 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1389 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1391 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1392 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1394 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1395 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1397 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1398 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1400 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1401 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1403 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1404 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1406 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1407 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1409 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1410 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1412 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1413 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1415 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1416 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1418 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1419 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1421 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1422 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1424 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1425 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1426 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1428 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1429 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1430 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1432 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1433 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1434 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1436 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1437 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1438 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1440 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1441 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1443 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1444 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1446 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1447 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1449 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1450 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1452 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1453 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1454 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1456 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1457 $(srcdir)/emulparams/m68kelf.sh \
1458 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1459 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1461 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1462 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1464 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1465 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1467 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1468 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1470 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1471 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1473 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1474 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1476 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1477 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1479 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1480 $(srcdir)/emulparams/mn10200.sh \
1481 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1483 emsp430.c: $(srcdir)/emulparams/msp430.sh \
1484 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1486 emsp430X.c: $(srcdir)/emulparams/msp430.sh $(srcdir)/emulparams/msp430X.sh \
1487 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1489 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1490 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1491 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1493 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1494 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1495 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1497 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1498 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1499 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1501 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1502 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1503 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1505 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1506 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1507 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1509 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1510 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1511 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1513 enews.c: $(srcdir)/emulparams/news.sh \
1514 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1516 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1517 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1518 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1520 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1521 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1522 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1524 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1525 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1526 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1528 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1529 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1530 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1532 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1533 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1534 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1536 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1537 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1538 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1540 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1541 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1542 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1544 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1545 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1546 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1548 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1549 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1550 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1552 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1553 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1554 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1556 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1557 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1558 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1560 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1561 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1563 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1564 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1566 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1567 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1569 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1570 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1572 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1573 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1575 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1576 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1578 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1579 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1581 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1582 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1584 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1585 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1587 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1588 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1589 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1591 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1592 $(srcdir)/emulparams/score7_elf.sh \
1593 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1594 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1596 esh.c: $(srcdir)/emulparams/sh.sh \
1597 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1599 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1600 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1602 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1603 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1604 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1605 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1607 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1608 $(srcdir)/emulparams/shelf32.sh \
1609 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1610 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1611 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1613 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1614 $(srcdir)/emulparams/shelf32.sh \
1615 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1616 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1617 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1619 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1620 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1622 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1623 $(srcdir)/emulparams/shlelf_linux.sh \
1624 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1626 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1627 $(srcdir)/emulparams/shelf.sh \
1628 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1630 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1631 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1633 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1634 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1636 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1637 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1638 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1640 eshl.c: $(srcdir)/emulparams/shl.sh \
1641 $(srcdir)/emulparams/sh.sh \
1642 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1644 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1645 $(srcdir)/emulparams/shelf.sh \
1646 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1648 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1649 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1650 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1651 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1653 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1654 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1655 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1656 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1657 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1659 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1660 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1661 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1662 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1663 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1665 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1666 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1668 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1669 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1671 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1672 $(srcdir)/emulparams/shelf_nbsd.sh \
1673 $(srcdir)/emulparams/shelf.sh \
1674 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1676 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1677 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1679 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1680 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1681 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1684 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1685 $(srcdir)/emulparams/shelf.sh \
1686 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1688 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1689 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1691 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1692 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1694 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1695 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1697 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1698 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1700 est2000.c: $(srcdir)/emulparams/st2000.sh \
1701 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1703 esun3.c: $(srcdir)/emulparams/sun3.sh \
1704 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1706 esun4.c: $(srcdir)/emulparams/sun4.sh \
1707 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1709 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1710 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1712 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1713 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1715 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1716 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1718 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1719 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1721 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1722 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1724 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1725 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1727 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1728 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1730 ev850.c: $(srcdir)/emulparams/v850.sh \
1731 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1733 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh \
1734 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1736 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1737 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1739 evax.c: $(srcdir)/emulparams/vax.sh \
1740 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1742 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1743 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1745 evsta.c: $(srcdir)/emulparams/vsta.sh \
1746 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1748 ew65.c: $(srcdir)/emulparams/w65.sh \
1749 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1751 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1752 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1753 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1755 ez80.c: $(srcdir)/emulparams/z80.sh \
1756 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1757 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1759 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1760 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1762 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1763 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1765 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1766 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1768 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1769 $(srcdir)/emulparams/elf32_x86_64.sh \
1770 $(srcdir)/emulparams/elf_nacl.sh \
1771 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1773 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1774 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1776 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1777 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1778 $(srcdir)/emultempl/needrelax.em \
1779 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1781 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1782 $(srcdir)/emulparams/elf64_ia64.sh \
1783 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1784 $(srcdir)/emultempl/needrelax.em \
1785 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1787 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1788 $(srcdir)/emultempl/vms.em $(srcdir)/emultempl/elf-generic.em \
1789 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1791 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1792 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1794 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1795 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1797 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1798 $(srcdir)/emulparams/elf64_sparc.sh \
1799 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1801 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1802 $(srcdir)/emulparams/elf64_sparc.sh \
1803 $(srcdir)/emulparams/solaris2.sh \
1804 $(srcdir)/emultempl/solaris2.em \
1805 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1807 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1808 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1809 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1811 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1812 $(srcdir)/emulparams/elf64alpha.sh \
1813 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1814 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1816 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1817 $(srcdir)/emulparams/elf64alpha.sh \
1818 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1819 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1821 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1822 $(srcdir)/emulparams/elf64bmip-defs.sh \
1823 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1824 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1825 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1827 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1828 $(srcdir)/emulparams/elf64bmip-defs.sh \
1829 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1830 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1832 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1833 $(srcdir)/emulparams/elf64bmip-defs.sh \
1834 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1835 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1837 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1838 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1840 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1841 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1843 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1845 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1846 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1847 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1848 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1850 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1851 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1852 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1853 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1855 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1856 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1857 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1859 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1861 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1863 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1864 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1865 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1867 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1868 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1870 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1871 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1872 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1874 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1875 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1876 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1878 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1879 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1881 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1882 $(srcdir)/emulparams/elf_l1om.sh \
1883 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1885 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1886 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1888 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1889 $(srcdir)/emulparams/elf_k1om.sh \
1890 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1892 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1893 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1895 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1896 $(srcdir)/emulparams/elf_x86_64.sh \
1897 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1899 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1900 $(srcdir)/emulparams/elf_x86_64.sh \
1901 $(srcdir)/emulparams/elf_nacl.sh \
1902 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1904 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1905 $(srcdir)/emulparams/elf_x86_64.sh \
1906 $(srcdir)/emulparams/solaris2.sh \
1907 $(srcdir)/emultempl/solaris2.em \
1908 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1910 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1911 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1913 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1914 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1915 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1916 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1918 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1919 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1921 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1922 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1923 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1925 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1926 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1927 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1929 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1930 $(srcdir)/emulparams/shelf64_nbsd.sh \
1931 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1932 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1935 # We need this for automake to use YLWRAP.
1936 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1937 # Allow dependency tracking to work for these files, too.
1938 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1940 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1941 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
1943 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
1944 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1945 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1947 # Dependency tracking for the generated emulation files.
1948 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1950 # This is the real libbfd.a created by libtool.
1951 TESTBFDLIB = @TESTBFDLIB@
1953 check-DEJAGNU: site.exp
1954 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1955 r=`pwd`; export r; \
1956 LC_ALL=C; export LC_ALL; \
1957 EXPECT=$(EXPECT); export EXPECT; \
1958 runtest=$(RUNTEST); \
1959 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1960 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1961 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1962 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1963 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1964 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1965 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1966 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1968 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1971 # Rules for testing by relinking ld itself.
1972 # A similar test is in the testsuite. This target is for ease of use
1975 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
1976 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
1977 ld1$(EXEEXT): ld-partial.@OBJEXT@
1978 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1980 ld1-full$(EXEEXT): ld-new
1981 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1983 ld2$(EXEEXT): ld1$(EXEEXT)
1984 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1986 ld3$(EXEEXT): ld2$(EXEEXT)
1987 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1989 bootstrap: ld3$(EXEEXT)
1990 cmp ld2$(EXEEXT) ld3$(EXEEXT)
1994 # A test program for C++ constructors and destructors.
1995 # This test is now in the testsuite.
1997 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
1998 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1999 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2002 # ./cdtest > cdtest.tmp
2003 # mv cdtest.tmp cdtest.out
2005 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2006 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2007 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2009 #cdtest-ur: cdtest-ur.@OBJEXT@
2010 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2013 #cdtest-ur.out: cdtest-ur
2014 # ./cdtest-ur > cdtest-ur.tmp
2015 # mv cdtest-ur.tmp cdtest-ur.out
2017 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2018 # diff $(srcdir)/cdtest.exp cdtest.out
2019 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2021 #.PHONY: check-cdtest
2023 # END OF CHECK TARGETS
2026 # Build a dummy plugin using libtool.
2029 noinst_LTLIBRARIES = libldtestplug.la
2030 libldtestplug_la_SOURCES = testplug.c
2031 libldtestplug_la_CFLAGS= -g -O2
2032 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2035 # DOCUMENTATION TARGETS
2036 # Manual configuration file; not usually attached to normal configuration,
2037 # because almost all configs use "gen" version of manual.
2038 # Set DOCVER above to change.
2039 configdoc.texi: ${DOCVER}-doc.texi
2040 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2041 chmod u+w ./configdoc.texi
2043 # Build the man page from the texinfo file
2044 # The sed command removes the no-adjust Nroff command so that
2045 # the man output looks standard.
2046 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2048 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2049 -($(POD2MAN) ld.pod | \
2050 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2051 mv -f $@.T$$$$ $@) || \
2052 (rm -f $@.T$$$$ && exit 1)
2055 MAINTAINERCLEANFILES = configdoc.texi ld.1
2057 # We want to reconfigure if configure.host or configure.tgt changes. We
2058 # extract version from bfd/configure.in, so we must depend on that also.
2059 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2060 $(srcdir)/../bfd/configure.in
2062 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2063 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2066 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2068 .PHONY: install-exec-local install-data-local
2070 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2071 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2072 n=`echo $(installed_linker) | sed '$(transform)'`; \
2073 if test "$(bindir)" != "$(tooldir)/bin"; then \
2074 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2075 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2076 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2078 if test "x$(install_as_default)" = "xyes"; then \
2079 ld=`echo ld | sed '$(transform)'`; \
2080 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2081 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2082 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2083 if test "$(bindir)" != "$(tooldir)/bin"; then \
2084 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2085 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2086 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2091 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2092 for f in ldscripts/* ; do \
2093 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2096 # Stuff that should be included in a distribution. The diststuff
2097 # target is run by the taz target in ../Makefile.in.
2098 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2099 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2100 diststuff: info $(EXTRA_DIST)
2102 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2103 # But info isn't a direct target. Make info-recursive to depend on
2104 # ld.1 to support parallel build.
2105 info-recursive: ld.1
2107 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2111 MAINTAINERCLEANFILES += ld.info
2113 # Automake 1.9 will only build info files in the objdir if they are
2114 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2115 # though, so we use a bogus condition.
2117 DISTCLEANFILES += ld.info