1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2015 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 ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
38 -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
39 -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
40 WARN_CFLAGS = @WARN_CFLAGS@
41 NO_WERROR = @NO_WERROR@
42 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
44 # Conditionally enable the plugin interface.
48 PLUGIN_OBJECT = plugin.@OBJEXT@
49 PLUGIN_CFLAGS = -DENABLE_PLUGINS
57 # We put the scripts in the directory $(scriptdir)/ldscripts.
58 # We can't put the scripts in $(datadir) because the SEARCH_DIR
59 # directives need to be different for native and cross linkers.
60 scriptdir = $(tooldir)/lib
63 EMULATION_OFILES = @EMULATION_OFILES@
64 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
67 # Search path to override the default search path for -lfoo libraries.
68 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
69 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
70 # a cross-linker, in which case the default is empty. See genscripts.sh.)
71 # Otherwise, they are replaced with the ones given in LIB_PATH,
72 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
73 # when the linker is configured via the --with-lib-path configure switch.
76 BASEDIR = $(srcdir)/..
77 BFDDIR = $(BASEDIR)/bfd
78 INCDIR = $(BASEDIR)/include
80 # What version of the manual to build
83 # Options to extract the man page from ld.texinfo
86 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
88 POD2MAN = pod2man --center="GNU Development Tools" \
89 --release="binutils-$(VERSION)" --section=1
91 #stuff for self hosting (can be overridden in config file).
92 HOSTING_CRT0 = @HOSTING_CRT0@
93 HOSTING_SCRT0 = @HOSTING_SCRT0@
94 HOSTING_LIBS = @HOSTING_LIBS@
95 HOSTING_SLIBS = @HOSTING_SLIBS@
96 HOSTING_EMU = -m $(EMUL)
98 # Setup the testing framework, if you have one
104 if [ -f $$r/../gcc/xgcc ] ; then \
105 if [ -f $$r/../newlib/Makefile ] ; then \
106 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
108 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
111 if [ "@host@" = "@target@" ] ; then \
114 echo gcc | sed '$(transform)'; \
119 if [ -f $$r/../gcc/g++ ] ; then \
120 if [ -f $$r/../newlib/Makefile ] ; then \
121 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
123 echo $$r/../gcc/g++ -B$$r/../gcc/; \
126 if [ "@host@" = "@target@" ] ; then \
129 echo g++ | sed '$(transform)'; \
133 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
134 bin_PROGRAMS = ld-new
135 info_TEXINFOS = ld.texinfo
136 ld_TEXINFOS = configdoc.texi
137 noinst_TEXINFOS = ldint.texinfo
140 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
141 -I $(top_srcdir)/../libiberty
142 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
143 -I $(top_srcdir)/../libiberty
145 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
146 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
147 -DLOCALEDIR="\"$(datadir)/locale\""
149 BFDLIB = ../bfd/libbfd.la
150 LIBIBERTY = ../libiberty/libiberty.a
152 ALL_EMULATION_SOURCES = \
168 earmelf_linux_eabi.c \
175 earmelfb_linux_eabi.c \
214 eelf32_sparc_sol2.c \
215 eelf32_sparc_vxworks.c \
219 eelf32_tic6x_linux_be.c \
220 eelf32_tic6x_linux_le.c \
221 eelf32_tic6x_elf_be.c \
222 eelf32_tic6x_elf_le.c \
230 eelf32epiphany_4x4.c \
251 eelf32microblazeel.c \
284 eelf_i386_vxworks.c \
303 eh8300sxelf_linux.c \
409 etic3xcoff_onchip.c \
425 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
427 ALL_64_EMULATION_SOURCES = \
439 eelf32_x86_64_nacl.c \
445 eelf32btsmip_fbsd.c \
447 eelf32btsmipn32_fbsd.c \
449 eelf32ebmipvxworks.c \
451 eelf32elmipvxworks.c \
458 eelf32ltsmip_fbsd.c \
460 eelf32ltsmipn32_fbsd.c \
461 eelf32mipswindiss.c \
468 eelf64_sparc_fbsd.c \
469 eelf64_sparc_sol2.c \
475 eelf64btsmip_fbsd.c \
479 eelf64ltsmip_fbsd.c \
491 eelf_x86_64_cloudabi.c \
503 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
505 ALL_EMUL_EXTRA_OFILES = \
509 ALL_64_EMUL_EXTRA_OFILES = \
512 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
513 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
514 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
515 $(PLUGIN_C) ldbuildid.c
517 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
518 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
519 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
520 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
522 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
523 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
525 # Require an early dependency on the generated headers, as the dependency
526 # tracking will not cause them to be built beforehand.
527 BUILT_SOURCES = $(GENERATED_HFILES)
529 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
530 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
531 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
532 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
535 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
537 # Disable -Werror, if it has been enabled, since old versions of bison/
538 # yacc will produce working code which contain compile time warnings.
539 ldgram.@OBJEXT@: ldgram.c
541 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
542 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
545 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
546 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
548 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
551 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
553 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
554 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
557 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
558 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
560 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
563 deffilep.@OBJEXT@: deffilep.c
565 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
566 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
569 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
570 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
572 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
575 # At the moment this is just a list of those emulation template files
576 # that contain internationalised strings.
577 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
579 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
581 po/POTFILES.in: @MAINT@ Makefile
582 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
583 && mv tmp $(srcdir)/po/POTFILES.in
585 ldmain.@OBJEXT@: ldmain.c config.status
587 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
588 -DDEFAULT_EMULATION='"$(EMUL)"' \
589 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
590 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
592 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
595 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
596 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
598 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
599 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
600 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
604 ldfile.@OBJEXT@: ldfile.c config.status
606 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
607 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
609 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
612 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
613 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
615 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
616 -DTOOLBINDIR='"$(tooldir)/bin"' \
620 eelf32_spu.@OBJEXT@: eelf32_spu.c
622 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
623 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
624 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
627 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
628 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
630 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
634 ldemul-list.h: Makefile
635 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
636 for f in `echo " " ${EMULATION_OFILES} "" \
637 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
638 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
641 echo "#define EMULATION_LIST \\";\
642 for f in `echo " " ${EMULATION_OFILES} "" \
643 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
644 echo " &ld_$${f}_emulation, \\"; \
646 echo " 0") >ldemul-tmp.h
647 mv ldemul-tmp.h ldemul-list.h
649 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
650 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
652 # These all start with e so 'make clean' can find them.
654 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@
655 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
656 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
657 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
661 # We can't use pattern rules as we don't want to depend on GNU
662 # make, or else these rules could have been expressed in one
663 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
664 # (The recursive variable expansion is portable.)
667 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
669 .PHONY: run-genscripts
671 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
672 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
673 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
675 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
676 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
678 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
679 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
681 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
682 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
684 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
685 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
687 ealpha.c: $(srcdir)/emulparams/alpha.sh \
688 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
690 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
691 $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
694 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
695 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
697 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
698 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
700 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
701 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
703 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
704 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
706 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
707 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
709 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
710 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
712 earmelf.c: $(srcdir)/emulparams/armelf.sh \
713 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
714 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
716 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
717 $(srcdir)/emulparams/armelf.sh \
718 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
719 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
721 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
722 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
723 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
725 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
726 $(srcdir)/emulparams/armelf_linux.sh \
727 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
728 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
730 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
731 $(srcdir)/emulparams/armelf_linux_eabi.sh \
732 $(srcdir)/emulparams/armelf_linux.sh \
733 $(srcdir)/emulparams/elf_nacl.sh \
734 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
735 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
737 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
738 $(srcdir)/emulparams/armelf.sh \
739 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
740 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
742 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
743 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
744 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
745 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
748 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
749 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
750 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
752 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
753 $(srcdir)/emulparams/armelf_fbsd.sh \
754 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
755 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
757 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
758 $(srcdir)/emulparams/armelf_linux.sh \
759 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
760 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
762 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
763 $(srcdir)/emulparams/armelf_linux_eabi.sh \
764 $(srcdir)/emulparams/armelf_linux.sh \
765 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
766 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
768 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
769 $(srcdir)/emulparams/armelf_nacl.sh \
770 $(srcdir)/emulparams/armelf_linux_eabi.sh \
771 $(srcdir)/emulparams/armelf_linux.sh \
772 $(srcdir)/emulparams/elf_nacl.sh \
773 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
774 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
776 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
777 $(srcdir)/emulparams/armelf_nbsd.sh \
778 $(srcdir)/emulparams/armelf.sh \
779 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
780 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
782 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
783 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
785 earmnto.c: $(srcdir)/emulparams/armnto.sh \
786 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
787 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
789 earmpe.c: $(srcdir)/emulparams/armpe.sh \
790 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
792 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
793 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
794 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
797 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
798 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
801 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
802 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
805 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
806 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
809 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
810 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
813 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
814 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
817 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
818 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
821 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
822 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
825 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
826 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
829 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
830 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
833 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
834 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
837 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
838 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
841 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
842 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
845 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
846 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
849 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
850 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
853 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
854 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
857 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
858 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
861 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
862 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
865 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
866 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avrtiny.sc \
869 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
870 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
872 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
873 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
875 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
876 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
878 ecriself.c: $(srcdir)/emulparams/criself.sh \
879 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
881 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
882 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
884 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
885 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
887 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
888 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
890 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
891 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
893 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
894 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
896 edelta68.c: $(srcdir)/emulparams/delta68.sh \
897 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
899 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
900 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
902 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
903 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
905 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
906 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
908 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
909 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
911 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
912 $(srcdir)/emulparams/elf32_sparc.sh \
913 $(srcdir)/emulparams/solaris2.sh \
914 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
915 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
917 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
918 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
919 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
920 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
922 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
923 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
925 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
927 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
928 if ../gas/as-new --version \
929 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
930 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
931 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
932 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
934 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
935 if ../gas/as-new --version \
936 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
937 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
938 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
939 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
941 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
942 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
945 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
946 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
949 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
950 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
953 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
954 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
957 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
958 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
961 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
962 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
965 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
966 $(srcdir)/emulparams/elf32am33lin.sh \
967 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
969 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
970 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
971 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
973 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
974 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
975 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
977 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
978 $(srcdir)/emulparams/elf32bfin.sh \
979 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
980 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
982 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
983 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
985 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
986 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
987 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
988 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
990 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
991 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
992 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
994 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
995 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
996 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
998 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
999 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1000 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1002 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1003 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1004 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1006 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
1007 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1008 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1010 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1011 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1012 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1014 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1015 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1017 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1018 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1019 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1021 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1022 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1023 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1025 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1026 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1027 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1028 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1030 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1031 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1032 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1035 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1036 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1037 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1038 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1040 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1041 $(srcdir)/emulparams/elf32bmip.sh \
1042 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1045 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1046 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1047 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1050 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1051 $(ELF_DEPS) ${GEN_DEPENDS}
1053 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1054 $(srcdir)/emultempl/elf32.em \
1055 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1057 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1058 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1060 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1061 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1063 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1064 $(srcdir)/emulparams/elf32frv.sh \
1065 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1067 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1068 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1070 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1071 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1073 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1074 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1076 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1077 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1079 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1080 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1082 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1083 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1084 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1087 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1088 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1090 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1091 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1092 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1094 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1095 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1096 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1098 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1099 $(srcdir)/emulparams/elf32ppccommon.sh \
1100 $(srcdir)/emulparams/elf32ppc.sh \
1101 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1102 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1104 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1105 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1106 $(srcdir)/emulparams/elf32ppccommon.sh \
1107 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1108 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1110 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1111 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1112 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1113 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1115 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1116 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1117 $(srcdir)/emulparams/elf32ppccommon.sh \
1118 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1119 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1121 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1122 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1123 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1126 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1127 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1128 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1131 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1132 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1133 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1136 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1137 $(srcdir)/emulparams/elf32btsmipn32.sh \
1138 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1139 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1141 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1142 $(srcdir)/emulparams/elf32btsmipn32.sh \
1143 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1144 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1146 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1147 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1148 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1150 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1151 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1153 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1154 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1156 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1157 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1159 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1160 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1162 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1163 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1164 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1166 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1167 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1169 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1170 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1172 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1173 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1175 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1176 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1178 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1179 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1181 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1182 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1184 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1185 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1187 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1188 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1190 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1191 $(srcdir)/emulparams/elf32ppccommon.sh \
1192 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1193 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1195 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1196 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1197 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1198 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1200 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1201 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1202 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1203 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1205 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1206 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1207 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1208 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1210 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1211 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1212 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1213 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1215 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1216 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1217 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1218 $(srcdir)/emultempl/vxworks.em \
1219 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1221 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1222 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1224 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1225 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1227 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1228 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1230 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1231 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1232 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1234 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1235 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1236 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1238 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1239 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1240 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1242 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1243 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1245 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1246 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1248 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1249 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1250 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1252 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1253 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1254 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1256 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1257 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1258 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1260 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1261 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1262 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1264 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1265 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1266 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1267 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1269 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1270 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1272 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1273 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1275 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1276 $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1278 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1279 $(srcdir)/emulparams/elf_i386.sh \
1280 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1282 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1283 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1285 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1286 $(srcdir)/emulparams/elf_i386.sh \
1287 $(srcdir)/emulparams/elf_nacl.sh \
1288 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1290 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1291 $(srcdir)/emulparams/solaris2.sh \
1292 $(srcdir)/emultempl/solaris2.em \
1293 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1295 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1296 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1297 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1299 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1300 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1302 egld960.c: $(srcdir)/emulparams/gld960.sh \
1303 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1305 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1306 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1308 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1309 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1311 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1312 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1314 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1315 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1317 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1318 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1320 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1321 $(srcdir)/emulparams/h8300elf.sh \
1322 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1324 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1325 $(srcdir)/emulparams/h8300elf_linux.sh \
1326 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1328 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1329 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1331 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1332 $(srcdir)/emulparams/h8300elf.sh \
1333 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1335 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1336 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1338 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1339 $(srcdir)/emulparams/h8300elf.sh \
1340 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1342 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1343 $(srcdir)/emulparams/h8300elf.sh \
1344 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1346 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1347 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1349 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1350 $(srcdir)/emulparams/h8300elf.sh \
1351 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1353 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1354 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1356 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1357 $(srcdir)/emulparams/h8300elf.sh \
1358 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1360 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1361 $(srcdir)/emulparams/h8300elf.sh \
1362 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1364 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1365 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1367 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1368 $(srcdir)/emulparams/h8300elf.sh \
1369 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1371 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1372 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1374 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1375 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1377 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1378 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1380 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1381 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1383 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1384 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1386 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1387 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1389 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1390 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1392 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1393 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1394 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1396 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1397 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1398 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1400 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1401 $(srcdir)/emulparams/hppaelf.sh \
1402 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1403 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1405 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1406 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1407 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1409 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1410 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1412 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1413 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1415 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1416 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1418 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1419 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1421 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1422 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1424 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1425 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1427 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1428 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1430 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1431 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1433 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1434 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1436 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1437 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1439 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1440 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1442 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1443 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1445 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1446 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1448 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1449 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1451 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1452 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1454 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1455 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1457 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1458 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1460 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1461 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1463 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1464 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1466 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1467 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1469 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1470 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1472 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1473 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1474 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1476 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1477 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1478 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1480 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1481 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1482 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1484 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1485 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1486 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1488 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1489 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1491 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1492 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1494 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1495 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1497 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1498 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1500 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1501 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1502 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1504 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1505 $(srcdir)/emulparams/m68kelf.sh \
1506 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1507 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1509 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1510 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1512 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1513 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1515 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1516 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1518 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1519 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1521 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1522 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1524 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1525 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1527 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1528 $(srcdir)/emulparams/mn10200.sh \
1529 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1531 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1532 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1534 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1535 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1537 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1538 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1539 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1541 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1542 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1543 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1545 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1546 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1547 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1549 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1550 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1551 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1553 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1554 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1555 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1557 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1558 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1559 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1561 enews.c: $(srcdir)/emulparams/news.sh \
1562 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1564 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1565 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1566 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1568 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1569 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1570 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1572 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1573 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1574 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1576 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1577 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1578 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1580 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1581 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1582 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1584 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1585 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1586 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1588 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1589 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1590 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1592 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1593 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1594 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1596 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1597 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1598 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1600 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1601 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1602 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1604 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1605 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1606 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1608 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1609 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1610 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1612 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1613 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1614 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1616 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1617 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1619 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1620 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1622 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1623 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1625 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1626 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1628 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1629 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1631 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1632 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1634 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1635 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1637 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1638 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1640 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1641 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1643 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1644 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1645 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1647 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1648 $(srcdir)/emulparams/score7_elf.sh \
1649 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1650 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1652 esh.c: $(srcdir)/emulparams/sh.sh \
1653 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1655 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1656 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1658 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1659 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1660 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1661 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1663 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1664 $(srcdir)/emulparams/shelf32.sh \
1665 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1666 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1667 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1669 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1670 $(srcdir)/emulparams/shelf32.sh \
1671 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1672 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1673 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1675 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1676 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1678 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1679 $(srcdir)/emulparams/shlelf_linux.sh \
1680 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1682 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1683 $(srcdir)/emulparams/shelf.sh \
1684 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1686 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1687 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1689 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1690 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1692 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1693 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1694 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1696 eshl.c: $(srcdir)/emulparams/shl.sh \
1697 $(srcdir)/emulparams/sh.sh \
1698 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1700 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1701 $(srcdir)/emulparams/shelf.sh \
1702 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1704 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1705 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1706 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1707 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1709 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1710 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1711 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1712 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1713 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1715 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1716 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1717 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1718 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1719 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1721 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1722 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1724 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1725 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1727 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1728 $(srcdir)/emulparams/shelf_nbsd.sh \
1729 $(srcdir)/emulparams/shelf.sh \
1730 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1732 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1733 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1735 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1736 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1737 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1740 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1741 $(srcdir)/emulparams/shelf.sh \
1742 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1744 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1745 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1747 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1748 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1750 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1751 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1753 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1754 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1756 est2000.c: $(srcdir)/emulparams/st2000.sh \
1757 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1759 esun3.c: $(srcdir)/emulparams/sun3.sh \
1760 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1762 esun4.c: $(srcdir)/emulparams/sun4.sh \
1763 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1765 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1766 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1768 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1769 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1771 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1772 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1774 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1775 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1777 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1778 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1780 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1781 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1783 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1784 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1786 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1787 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1789 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1790 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1792 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1793 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1795 evax.c: $(srcdir)/emulparams/vax.sh \
1796 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1798 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1799 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1801 evsta.c: $(srcdir)/emulparams/vsta.sh \
1802 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1804 ew65.c: $(srcdir)/emulparams/w65.sh \
1805 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1807 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1808 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1809 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1811 ez80.c: $(srcdir)/emulparams/z80.sh \
1812 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1813 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1815 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1816 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1818 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1819 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1821 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1822 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1824 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1825 $(srcdir)/emulparams/elf32_x86_64.sh \
1826 $(srcdir)/emulparams/elf_nacl.sh \
1827 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1829 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1830 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1832 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1833 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1834 $(srcdir)/emultempl/needrelax.em \
1835 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1837 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1838 $(srcdir)/emulparams/elf64_ia64.sh \
1839 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1840 $(srcdir)/emultempl/needrelax.em \
1841 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1843 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1844 $(srcdir)/emultempl/vms.em $(srcdir)/emultempl/elf-generic.em \
1845 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1847 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1848 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1850 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1851 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1853 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1854 $(srcdir)/emulparams/elf64_sparc.sh \
1855 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1857 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1858 $(srcdir)/emulparams/elf64_sparc.sh \
1859 $(srcdir)/emulparams/solaris2.sh \
1860 $(srcdir)/emultempl/solaris2.em \
1861 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1863 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1864 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1865 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1867 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1868 $(srcdir)/emulparams/elf64alpha.sh \
1869 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1870 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1872 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1873 $(srcdir)/emulparams/elf64alpha.sh \
1874 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1875 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1877 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1878 $(srcdir)/emulparams/elf64bmip-defs.sh \
1879 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1880 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1881 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1883 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1884 $(srcdir)/emulparams/elf64bmip-defs.sh \
1885 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1886 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1888 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1889 $(srcdir)/emulparams/elf64bmip-defs.sh \
1890 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1891 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1893 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1894 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1896 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1897 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1899 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1901 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1902 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1903 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1904 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1906 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1907 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1908 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1909 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1911 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1912 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1913 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1915 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1917 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1919 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1920 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1921 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1923 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1924 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1926 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1927 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1928 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1930 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1931 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1932 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1934 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1935 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1937 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1938 $(srcdir)/emulparams/elf_l1om.sh \
1939 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1941 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1942 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1944 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1945 $(srcdir)/emulparams/elf_k1om.sh \
1946 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1948 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1949 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1951 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
1952 $(srcdir)/emulparams/elf_x86_64.sh \
1953 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1955 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1956 $(srcdir)/emulparams/elf_x86_64.sh \
1957 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1959 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1960 $(srcdir)/emulparams/elf_x86_64.sh \
1961 $(srcdir)/emulparams/elf_nacl.sh \
1962 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1964 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1965 $(srcdir)/emulparams/elf_x86_64.sh \
1966 $(srcdir)/emulparams/solaris2.sh \
1967 $(srcdir)/emultempl/solaris2.em \
1968 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1970 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1971 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1973 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1974 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1975 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1976 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1978 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1979 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1981 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1982 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1983 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1985 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1986 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1987 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1989 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1990 $(srcdir)/emulparams/shelf64_nbsd.sh \
1991 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1992 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1995 # We need this for automake to use YLWRAP.
1996 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1997 # Allow dependency tracking to work for these files, too.
1998 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
2000 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
2001 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
2003 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
2004 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
2005 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
2007 # Dependency tracking for the generated emulation files.
2008 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
2010 # This is the real libbfd.a created by libtool.
2011 TESTBFDLIB = @TESTBFDLIB@
2013 check-DEJAGNU: site.exp
2014 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2015 r=`pwd`; export r; \
2016 LC_ALL=C; export LC_ALL; \
2017 EXPECT=$(EXPECT); export EXPECT; \
2018 runtest=$(RUNTEST); \
2019 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2020 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2021 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
2022 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
2023 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2024 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2025 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
2026 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
2028 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2031 # Rules for testing by relinking ld itself.
2032 # A similar test is in the testsuite. This target is for ease of use
2035 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
2036 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
2037 ld1$(EXEEXT): ld-partial.@OBJEXT@
2038 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2040 ld1-full$(EXEEXT): ld-new
2041 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2043 ld2$(EXEEXT): ld1$(EXEEXT)
2044 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2046 ld3$(EXEEXT): ld2$(EXEEXT)
2047 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2049 bootstrap: ld3$(EXEEXT)
2050 cmp ld2$(EXEEXT) ld3$(EXEEXT)
2054 # A test program for C++ constructors and destructors.
2055 # This test is now in the testsuite.
2057 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2058 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2059 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2062 # ./cdtest > cdtest.tmp
2063 # mv cdtest.tmp cdtest.out
2065 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2066 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2067 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2069 #cdtest-ur: cdtest-ur.@OBJEXT@
2070 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2073 #cdtest-ur.out: cdtest-ur
2074 # ./cdtest-ur > cdtest-ur.tmp
2075 # mv cdtest-ur.tmp cdtest-ur.out
2077 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2078 # diff $(srcdir)/cdtest.exp cdtest.out
2079 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2081 #.PHONY: check-cdtest
2083 # END OF CHECK TARGETS
2086 # Build a dummy plugin using libtool.
2089 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la libldtestplug3.la
2090 libldtestplug_la_SOURCES = testplug.c
2091 libldtestplug_la_CFLAGS= -g -O2
2092 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2093 libldtestplug2_la_SOURCES = testplug2.c
2094 libldtestplug2_la_CFLAGS= -g -O2
2095 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
2096 libldtestplug3_la_SOURCES = testplug3.c
2097 libldtestplug3_la_CFLAGS= -g -O2
2098 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
2101 # DOCUMENTATION TARGETS
2102 # Manual configuration file; not usually attached to normal configuration,
2103 # because almost all configs use "gen" version of manual.
2104 # Set DOCVER above to change.
2105 configdoc.texi: ${DOCVER}-doc.texi
2106 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2107 chmod u+w ./configdoc.texi
2109 # Build the man page from the texinfo file
2110 # The sed command removes the no-adjust Nroff command so that
2111 # the man output looks standard.
2112 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2114 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2115 -($(POD2MAN) ld.pod | \
2116 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2117 mv -f $@.T$$$$ $@) || \
2118 (rm -f $@.T$$$$ && exit 1)
2121 MAINTAINERCLEANFILES = configdoc.texi ld.1
2123 # We want to reconfigure if configure.host or configure.tgt changes.
2124 # development.sh is used to determine -Werror default.
2125 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2126 $(BFDDIR)/development.sh
2128 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2129 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2132 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2134 .PHONY: install-exec-local install-data-local
2136 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2137 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2138 n=`echo $(installed_linker) | sed '$(transform)'`; \
2139 if test "$(bindir)" != "$(tooldir)/bin"; then \
2140 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2141 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2142 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2144 if test "x$(install_as_default)" = "xyes"; then \
2145 ld=`echo ld | sed '$(transform)'`; \
2146 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2147 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2148 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2149 if test "$(bindir)" != "$(tooldir)/bin"; then \
2150 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2151 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2152 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2157 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2158 for f in ldscripts/* ; do \
2159 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2162 # Stuff that should be included in a distribution. The diststuff
2163 # target is run by the taz target in ../Makefile.in.
2164 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2165 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2166 diststuff: info $(EXTRA_DIST)
2168 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2169 # But info isn't a direct target. Make info-recursive to depend on
2170 # ld.1 to support parallel build.
2171 info-recursive: ld.1
2173 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2177 MAINTAINERCLEANFILES += ld.info
2179 # Automake 1.9 will only build info files in the objdir if they are
2180 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2181 # though, so we use a bogus condition.
2183 DISTCLEANFILES += ld.info