1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2019 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 info-in-builddir
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.texi
86 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
88 POD2MAN = pod2man --center="GNU Development Tools" \
89 --release="binutils-$(VERSION)" --section=1
91 # Setup the testing framework, if you have one
97 if [ -f $$r/../gcc/xgcc ] ; then \
98 if [ -f $$r/../newlib/Makefile ] ; then \
99 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
101 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
104 if [ "@host@" = "@target@" ] ; then \
107 echo gcc | sed '$(transform)'; \
112 if [ -f $$r/../gcc/g++ ] ; then \
113 if [ -f $$r/../newlib/Makefile ] ; then \
114 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
116 echo $$r/../gcc/g++ -B$$r/../gcc/; \
118 elif [ -f $$r/../gcc/xg++ ] ; then \
119 if [ -f $$r/../newlib/Makefile ] ; then \
120 echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
122 echo $$r/../gcc/xg++ -B$$r/../gcc/; \
125 if [ "@host@" = "@target@" ] ; then \
128 echo g++ | sed '$(transform)'; \
132 # Strip out sanitization options as we want to test building binaries without any extra paraphernalia
133 CFLAGS_FOR_TARGET = `echo $(CFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
134 CXXFLAGS_FOR_TARGET = `echo $(CXXFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
136 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
137 bin_PROGRAMS = ld-new
138 info_TEXINFOS = ld.texi
139 ld_TEXINFOS = configdoc.texi
140 noinst_TEXINFOS = ldint.texi
143 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
144 -I $(top_srcdir)/../libiberty
145 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
146 -I $(top_srcdir)/../libiberty
148 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
149 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
150 -DLOCALEDIR="\"$(datadir)/locale\""
152 BFDLIB = ../bfd/libbfd.la
153 LIBIBERTY = ../libiberty/libiberty.a
155 ALL_EMULATION_SOURCES = \
174 earmelf_linux_eabi.c \
175 earmelf_linux_fdpiceabi.c \
184 earmelfb_linux_eabi.c \
185 earmelfb_linux_fdpiceabi.c \
220 eelf32_sparc_sol2.c \
221 eelf32_sparc_vxworks.c \
225 eelf32_tic6x_linux_be.c \
226 eelf32_tic6x_linux_le.c \
227 eelf32_tic6x_elf_be.c \
228 eelf32_tic6x_elf_le.c \
236 eelf32epiphany_4x4.c \
256 eelf32microblazeel.c \
271 eelf32lriscv_ilp32f.c \
272 eelf32lriscv_ilp32.c \
291 eelf_i386_vxworks.c \
303 eh8300sxelf_linux.c \
372 etic3xcoff_onchip.c \
385 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
387 ALL_64_EMULATION_SOURCES = \
393 eaarch64cloudabib.c \
401 eelf32_x86_64_nacl.c \
407 eelf32btsmip_fbsd.c \
409 eelf32btsmipn32_fbsd.c \
411 eelf32ebmipvxworks.c \
413 eelf32elmipvxworks.c \
420 eelf32ltsmip_fbsd.c \
422 eelf32ltsmipn32_fbsd.c \
423 eelf32mipswindiss.c \
430 eelf64_sparc_fbsd.c \
431 eelf64_sparc_sol2.c \
437 eelf64btsmip_fbsd.c \
441 eelf64lriscv_lp64f.c \
442 eelf64lriscv_lp64.c \
444 eelf64ltsmip_fbsd.c \
456 eelf_x86_64_cloudabi.c \
464 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
466 ALL_EMUL_EXTRA_OFILES = \
470 ALL_64_EMUL_EXTRA_OFILES = \
473 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
474 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
475 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
476 $(PLUGIN_C) ldbuildid.c
478 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
479 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
480 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
481 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
483 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
484 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
486 # Require an early dependency on the generated headers, as the dependency
487 # tracking will not cause them to be built beforehand.
488 BUILT_SOURCES = $(GENERATED_HFILES)
490 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
491 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
492 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
493 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
496 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
498 # Disable -Werror, if it has been enabled, since old versions of bison/
499 # yacc will produce working code which contain compile time warnings.
500 ldgram.@OBJEXT@: ldgram.c
502 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
503 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
506 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
507 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
509 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
512 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
514 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
515 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
518 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
519 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
521 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
524 deffilep.@OBJEXT@: deffilep.c
526 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
527 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
530 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
531 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
533 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
536 SRC_POTFILES = $(CFILES) $(HFILES)
537 BLD_POTFILES = $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
539 po/SRC-POTFILES.in: @MAINT@ Makefile
540 for f in $(SRC_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \
541 && mv $@-tmp $(srcdir)/po/SRC-POTFILES.in
543 po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
544 for f in $(BLD_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \
545 && mv $@-tmp $(srcdir)/po/BLD-POTFILES.in
547 ldmain.@OBJEXT@: ldmain.c config.status
549 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
550 -DDEFAULT_EMULATION='"$(EMUL)"' \
551 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
552 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
554 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
557 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
558 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
560 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
561 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
562 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
566 ldfile.@OBJEXT@: ldfile.c config.status
568 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
569 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
571 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
574 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
575 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
577 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
578 -DTOOLBINDIR='"$(tooldir)/bin"' \
582 eelf32_spu.@OBJEXT@: eelf32_spu.c
584 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
585 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
586 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
589 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
590 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
592 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
596 ldemul-list.h: Makefile
597 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
598 for f in `echo " " ${EMULATION_OFILES} "" \
599 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
600 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
603 echo "#define EMULATION_LIST \\";\
604 for f in `echo " " ${EMULATION_OFILES} "" \
605 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
606 echo " &ld_$${f}_emulation, \\"; \
608 echo " 0") >ldemul-tmp.h
609 mv ldemul-tmp.h ldemul-list.h
611 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
612 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
614 # These all start with e so 'make clean' can find them.
616 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@
617 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
618 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
619 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
620 ELF_X86_DEPS = $(ELF_DEPS) $(srcdir)/emultempl/elf-x86.em \
621 $(srcdir)/emulparams/plt_unwind.sh \
622 $(srcdir)/emulparams/extern_protected_data.sh \
623 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
624 $(srcdir)/emulparams/reloc_overflow.sh \
625 $(srcdir)/emulparams/call_nop.sh \
626 $(srcdir)/emulparams/cet.sh
630 # We can't use pattern rules as we don't want to depend on GNU
631 # make, or else these rules could have been expressed in one
632 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
633 # (The recursive variable expansion is portable.)
636 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
638 .PHONY: run-genscripts
640 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
641 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
642 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
644 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
645 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
647 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
648 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
650 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
651 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
653 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
654 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
656 ealpha.c: $(srcdir)/emulparams/alpha.sh \
657 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
659 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
660 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
661 $(srcdir)/emultempl/needrelax.em \
662 $(srcdir)/scripttempl/alphavms.sc ${GEN_DEPENDS}
664 earcv2elf.c: $(srcdir)/emulparams/arcv2elf.sh \
665 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
667 earcv2elfx.c: $(srcdir)/emulparams/arcv2elfx.sh \
668 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
670 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
671 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
673 earcelf_prof.c: $(srcdir)/emulparams/arcelf_prof.sh \
674 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
677 earclinux.c: $(srcdir)/emulparams/arclinux.sh \
678 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
679 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
681 earclinux_nps.c: $(srcdir)/emulparams/arclinux_nps.sh \
682 $(srcdir)/emulparams/arc-nps.sh \
683 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
684 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
686 earclinux_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
687 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
688 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
690 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
691 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.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 $(srcdir)/emulparams/elf_fbsd.sh \
699 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
700 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
702 earmelf_fuchsia.c: $(srcdir)/emulparams/armelf_fuchsia.sh \
703 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
704 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
706 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
707 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
708 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
710 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
711 $(srcdir)/emulparams/armelf_linux.sh \
712 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
713 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
715 earmelf_linux_fdpiceabi.c: $(srcdir)/emulparams/armelf_linux_fdpiceabi.sh \
716 $(srcdir)/emulparams/armelf_linux.sh \
717 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
718 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
720 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
721 $(srcdir)/emulparams/armelf_linux_eabi.sh \
722 $(srcdir)/emulparams/armelf_linux.sh \
723 $(srcdir)/emulparams/elf_nacl.sh \
724 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
725 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
727 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
728 $(srcdir)/emulparams/armelf.sh \
729 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
730 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
732 earmelf_phoenix.c: $(srcdir)/emulparams/armelf_phoenix.sh \
733 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
734 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
736 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
737 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
738 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
739 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
742 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
743 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
744 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
746 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
747 $(srcdir)/emulparams/armelf_fbsd.sh \
748 $(srcdir)/emulparams/armelf.sh $(srcdir)/emulparams/elf_fbsd.sh \
749 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
750 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
752 earmelfb_fuchsia.c: $(srcdir)/emulparams/armelfb_fuchsia.sh \
753 $(srcdir)/emulparams/armelf_fuchsia.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_linux_fdpiceabi.c: $(srcdir)/emulparams/armelfb_linux_fdpiceabi.sh \
769 $(srcdir)/emulparams/armelf_linux_fdpiceabi.sh \
770 $(srcdir)/emulparams/armelf_linux.sh \
771 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
772 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
774 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
775 $(srcdir)/emulparams/armelf_nacl.sh \
776 $(srcdir)/emulparams/armelf_linux_eabi.sh \
777 $(srcdir)/emulparams/armelf_linux.sh \
778 $(srcdir)/emulparams/elf_nacl.sh \
779 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
780 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
782 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
783 $(srcdir)/emulparams/armelf_nbsd.sh \
784 $(srcdir)/emulparams/armelf.sh \
785 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
786 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
788 earmnto.c: $(srcdir)/emulparams/armnto.sh \
789 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
790 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
792 earmpe.c: $(srcdir)/emulparams/armpe.sh \
793 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
795 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
796 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
797 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
800 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
801 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
804 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
805 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
808 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
809 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
812 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
813 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
816 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
817 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
820 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
821 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
824 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
825 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
828 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
829 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
832 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
833 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
836 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
837 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
840 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
841 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
844 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
845 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
848 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
849 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
852 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
853 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
856 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
857 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
860 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
861 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
864 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
865 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
868 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
869 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
872 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
873 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
875 ecriself.c: $(srcdir)/emulparams/criself.sh \
876 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
878 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
879 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
881 ecskyelf.c: $(srcdir)/emulparams/cskyelf.sh \
882 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
884 ecskyelf_linux.c: $(srcdir)/emulparams/cskyelf_linux.sh \
885 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
887 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
888 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
890 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
891 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
893 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
894 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
896 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
897 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
899 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
900 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
902 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
903 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
905 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
906 $(srcdir)/emulparams/elf32_sparc.sh \
907 $(srcdir)/emulparams/solaris2.sh \
908 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
909 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
911 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
912 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
913 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
914 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
916 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
917 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
919 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
921 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
922 if ../gas/as-new --version \
923 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
924 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
925 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
926 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
928 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
929 if ../gas/as-new --version \
930 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
931 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
932 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
933 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
935 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
936 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
939 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
940 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
943 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
944 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
947 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
948 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
951 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
952 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
955 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
956 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
959 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
960 $(srcdir)/emulparams/elf32am33lin.sh \
961 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
963 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
964 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
965 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
967 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
968 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
969 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
971 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
972 $(srcdir)/emulparams/elf32bfin.sh \
973 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
974 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
976 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
977 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
979 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
980 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
981 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
982 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
984 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
985 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
986 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
988 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
989 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
990 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
992 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
993 ${srcdir}/emulparams/elf32btsmip.sh ${srcdir}/emulparams/elf_fbsd.sh \
994 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
995 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
997 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
998 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
999 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1001 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
1002 ${srcdir}/emulparams/elf32ltsmipn32.sh ${srcdir}/emulparams/elf_fbsd.sh \
1003 ${srcdir}/emulparams/elf32btsmipn32.sh \
1004 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1005 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1007 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1008 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1009 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1011 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1012 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1014 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1015 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1016 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1018 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1019 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1020 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1022 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1023 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1024 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1025 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1027 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1028 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1029 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1032 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1033 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1034 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1035 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1037 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1038 $(srcdir)/emulparams/elf32bmip.sh \
1039 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1042 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1043 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1044 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1047 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1048 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1050 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1051 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1053 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1054 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1056 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1057 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1059 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1060 $(srcdir)/emulparams/elf32frv.sh \
1061 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1063 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1064 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/ft32.sc ${GEN_DEPENDS}
1066 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1067 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1069 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1070 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1072 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1073 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1075 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1076 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1077 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1080 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1081 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1083 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1084 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1085 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1087 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1088 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1089 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1091 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1092 $(srcdir)/emulparams/elf32ppccommon.sh \
1093 $(srcdir)/emulparams/elf32ppc.sh \
1094 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1095 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1096 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1098 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1099 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1100 $(srcdir)/emulparams/elf32ppccommon.sh \
1101 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1102 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1103 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1105 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1106 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1107 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1108 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1109 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1111 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1112 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1113 $(srcdir)/emulparams/elf32ppccommon.sh \
1114 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1115 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1116 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1118 eelf32lriscv.c: $(srcdir)/emulparams/elf32lriscv.sh \
1119 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1120 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1123 eelf32lriscv_ilp32f.c: $(srcdir)/emulparams/elf32lriscv_ilp32f.sh \
1124 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1125 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1128 eelf32lriscv_ilp32.c: $(srcdir)/emulparams/elf32lriscv_ilp32.sh \
1129 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1130 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1133 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1134 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1135 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1138 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1139 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1140 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1143 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1144 ${srcdir}/emulparams/elf32ltsmip.sh ${srcdir}/emulparams/elf_fbsd.sh \
1145 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1146 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1149 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1150 $(srcdir)/emulparams/elf32btsmipn32.sh \
1151 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1152 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1154 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1155 ${srcdir}/emulparams/elf32ltsmipn32.sh ${srcdir}/emulparams/elf_fbsd.sh \
1156 $(srcdir)/emulparams/elf32btsmipn32.sh \
1157 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1158 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1160 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1161 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1162 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1164 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1165 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1167 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1168 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1170 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1171 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1173 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1174 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1176 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1177 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1178 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1180 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1181 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1183 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1184 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1186 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1187 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1189 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1190 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1192 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1193 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1195 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1196 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1198 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1199 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1201 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1202 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1204 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1205 $(srcdir)/emulparams/elf32ppccommon.sh \
1206 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1207 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1208 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1210 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1211 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1212 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1213 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1214 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1216 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1217 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1218 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1219 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1220 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1222 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1223 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1224 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1225 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1226 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1228 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1229 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1230 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1231 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1232 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1234 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1235 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1236 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1237 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1238 $(srcdir)/emultempl/vxworks.em \
1239 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1241 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1242 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1244 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1245 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1247 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1248 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1250 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1251 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1252 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1254 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1255 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1256 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1258 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1259 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1260 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1262 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1263 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1265 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1266 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1268 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1269 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1270 $(srcdir)/scripttempl/elf32xc16x.sc ${GEN_DEPENDS}
1272 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1273 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1274 $(srcdir)/scripttempl/elf32xc16xl.sc ${GEN_DEPENDS}
1276 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1277 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1278 $(srcdir)/scripttempl/elf32xc16xs.sc ${GEN_DEPENDS}
1280 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1281 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1282 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1284 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1285 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1286 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/xtensa.h \
1287 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1289 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1290 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1292 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1293 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1295 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1296 $(srcdir)/emulparams/elf_i386.sh \
1297 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1299 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1300 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1302 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1303 $(srcdir)/emulparams/elf_i386.sh \
1304 $(srcdir)/emulparams/elf_nacl.sh \
1305 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1307 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1308 $(srcdir)/emulparams/solaris2.sh \
1309 $(srcdir)/emultempl/solaris2.em \
1310 $(srcdir)/emultempl/solaris2-x86.em \
1311 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1313 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1314 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1315 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1317 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1318 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1320 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1321 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1323 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1324 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1326 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1327 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1329 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1330 $(srcdir)/emulparams/h8300elf.sh \
1331 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1333 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1334 $(srcdir)/emulparams/h8300elf_linux.sh \
1335 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1337 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1338 $(srcdir)/emulparams/h8300elf.sh \
1339 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1341 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1342 $(srcdir)/emulparams/h8300elf.sh \
1343 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1345 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1346 $(srcdir)/emulparams/h8300elf.sh \
1347 $(ELF_DEPS) $(srcdir)/scripttempl/elf.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 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1354 $(srcdir)/emulparams/h8300elf.sh \
1355 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1357 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1358 $(srcdir)/emulparams/h8300elf.sh \
1359 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1361 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1362 $(srcdir)/emulparams/h8300elf.sh \
1363 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1365 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1366 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1367 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1369 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1370 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1371 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1373 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1374 $(srcdir)/emulparams/hppaelf.sh \
1375 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1376 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1378 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1379 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1380 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1382 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1383 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc \
1384 $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1386 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1387 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1389 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1390 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc \
1391 $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1393 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1394 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1396 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1397 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1399 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1400 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1402 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1403 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1405 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1406 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1408 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1409 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1411 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1412 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1414 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1415 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1417 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1418 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1420 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1421 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1423 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1424 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1426 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1427 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1428 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1430 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1431 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1432 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1434 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1435 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1436 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1438 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1439 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1440 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1442 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1443 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1444 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1446 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1447 $(srcdir)/emulparams/m68kelf.sh \
1448 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1449 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1451 em9s12zelf.c: $(srcdir)/emulparams/m9s12zelf.sh \
1452 $(ELF_DEPS) $(srcdir)/emultempl/generic.em \
1453 $(srcdir)/scripttempl/elfm9s12z.sc ${GEN_DEPENDS}
1455 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1456 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/mcorepe.sc ${GEN_DEPENDS}
1458 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1459 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1461 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1462 $(srcdir)/emulparams/mn10200.sh \
1463 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1465 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1466 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1467 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1469 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1470 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1471 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1473 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1474 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1475 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1477 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1478 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1479 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1481 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1482 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1483 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1485 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1486 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1487 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1489 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1490 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1491 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1493 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1494 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1495 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1497 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1498 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1499 $(srcdir)/scripttempl/elf.sc $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1501 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1502 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1503 $(srcdir)/scripttempl/elf.sc $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1505 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1506 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1507 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1509 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1510 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1511 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1513 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1514 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1515 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1517 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1518 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1519 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1521 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1522 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1523 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1525 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1526 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1527 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1529 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1530 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1531 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1533 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1534 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1535 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1537 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1538 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1539 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1541 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1542 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1543 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1545 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1546 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1547 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1549 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1550 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1551 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1553 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1554 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1555 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1557 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1558 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1560 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1561 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1563 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1564 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1566 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1567 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1569 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1570 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1572 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1573 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1575 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1576 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1578 epruelf.c: $(srcdir)/emulparams/pruelf.sh \
1579 $(ELF_DEPS) $(srcdir)/scripttempl/pru.sc \
1580 $(srcdir)/emultempl/pruelf.em ${GEN_DEPENDS}
1582 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1583 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1584 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1586 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1587 $(srcdir)/emulparams/score7_elf.sh \
1588 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1589 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1591 esh.c: $(srcdir)/emulparams/sh.sh \
1592 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1594 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1595 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1597 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1598 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1600 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1601 $(srcdir)/emulparams/shlelf_linux.sh \
1602 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1604 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1605 $(srcdir)/emulparams/shelf.sh \
1606 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1608 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1609 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1611 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1612 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1614 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1615 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1616 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1618 eshl.c: $(srcdir)/emulparams/shl.sh \
1619 $(srcdir)/emulparams/sh.sh \
1620 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1622 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1623 $(srcdir)/emulparams/shelf.sh \
1624 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1626 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1627 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1629 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1630 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1632 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1633 $(srcdir)/emulparams/shelf_nbsd.sh \
1634 $(srcdir)/emulparams/shelf.sh \
1635 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1637 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1638 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1640 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1641 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1642 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1645 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1646 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1648 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1649 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1651 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1652 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1654 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1655 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1657 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1658 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1660 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1661 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1663 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1664 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1666 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1667 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1669 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1670 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1672 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1673 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1675 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1676 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1678 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1679 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1681 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1682 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1683 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1685 ez80.c: $(srcdir)/emulparams/z80.sh \
1686 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1687 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1689 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1690 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1692 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1693 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1695 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1696 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1698 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1699 $(srcdir)/emulparams/elf32_x86_64.sh \
1700 $(srcdir)/emulparams/elf_nacl.sh \
1701 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1703 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1704 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1706 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1707 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1708 $(srcdir)/emultempl/needrelax.em \
1709 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1711 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1712 $(srcdir)/emulparams/elf64_ia64.sh \
1713 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1714 $(srcdir)/emultempl/needrelax.em \
1715 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1717 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1718 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
1719 $(srcdir)/emultempl/needrelax.em \
1720 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1722 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1723 $(srcdir)/emultempl/s390.em \
1724 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1726 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1727 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1729 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1730 $(srcdir)/emulparams/elf64_sparc.sh \
1731 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1733 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1734 $(srcdir)/emulparams/elf64_sparc.sh \
1735 $(srcdir)/emulparams/solaris2.sh \
1736 $(srcdir)/emultempl/solaris2.em \
1737 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1739 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1740 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1741 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1743 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1744 $(srcdir)/emulparams/elf64alpha.sh \
1745 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1746 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1748 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1749 $(srcdir)/emulparams/elf64alpha.sh \
1750 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1751 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1753 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1754 $(srcdir)/emulparams/elf64bmip-defs.sh \
1755 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1756 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1757 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1759 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1760 $(srcdir)/emulparams/elf64bmip-defs.sh \
1761 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1762 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1764 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1765 ${srcdir}/emulparams/elf64btsmip.sh ${srcdir}/emulparams/elf_fbsd.sh \
1766 $(srcdir)/emulparams/elf64bmip-defs.sh \
1767 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1768 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1770 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1771 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1773 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1774 $(srcdir)/emulparams/elf64ppc.sh \
1775 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1776 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1777 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1779 eelf64lriscv.c: $(srcdir)/emulparams/elf64lriscv.sh \
1780 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1781 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1782 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1785 eelf64lriscv_lp64f.c: $(srcdir)/emulparams/elf64lriscv_lp64f.sh \
1786 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1787 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1788 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1791 eelf64lriscv_lp64.c: $(srcdir)/emulparams/elf64lriscv_lp64.sh \
1792 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1793 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1794 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1797 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1798 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1799 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1800 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1802 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1803 ${srcdir}/emulparams/elf64ltsmip.sh ${srcdir}/emulparams/elf_fbsd.sh \
1804 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1805 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1806 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1808 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1809 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1810 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1812 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh \
1813 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1814 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1815 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1817 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1818 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1819 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1820 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1822 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1823 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1825 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1826 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1827 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1829 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1830 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1831 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1833 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1834 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1836 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1837 $(srcdir)/emulparams/elf_l1om.sh \
1838 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1840 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1841 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1843 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1844 $(srcdir)/emulparams/elf_k1om.sh \
1845 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1847 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1848 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1850 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
1851 $(srcdir)/emulparams/elf_x86_64.sh \
1852 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1854 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1855 $(srcdir)/emulparams/elf_x86_64.sh \
1856 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1858 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1859 $(srcdir)/emulparams/elf_x86_64.sh \
1860 $(srcdir)/emulparams/elf_nacl.sh \
1861 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1863 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1864 $(srcdir)/emulparams/elf_x86_64.sh \
1865 $(srcdir)/emulparams/solaris2.sh \
1866 $(srcdir)/emultempl/solaris2.em \
1867 $(srcdir)/emultempl/solaris2-x86.em \
1868 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1870 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1871 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1873 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1874 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1875 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1876 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1879 # We need this for automake to use YLWRAP.
1880 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1881 # Allow dependency tracking to work for these files, too.
1882 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1884 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1885 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
1887 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
1888 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1889 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1891 # Dependency tracking for the generated emulation files.
1892 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1894 # This is the real libbfd.a created by libtool.
1895 TESTBFDLIB = @TESTBFDLIB@
1897 check-DEJAGNU: site.exp
1898 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1899 r=`pwd`; export r; \
1900 LC_ALL=C; export LC_ALL; \
1901 EXPECT=$(EXPECT); export EXPECT; \
1902 runtest=$(RUNTEST); \
1903 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1904 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1905 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS_FOR_TARGET)" \
1906 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
1907 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1908 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1909 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1910 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1912 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1915 development.exp: $(BFDDIR)/development.sh
1916 $(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh \
1917 | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
1920 # Build a dummy plugin using libtool.
1923 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \
1924 libldtestplug3.la libldtestplug4.la
1925 libldtestplug_la_SOURCES = testplug.c
1926 libldtestplug_la_CFLAGS= -g -O2
1927 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
1928 libldtestplug2_la_SOURCES = testplug2.c
1929 libldtestplug2_la_CFLAGS= -g -O2
1930 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
1931 libldtestplug3_la_SOURCES = testplug3.c
1932 libldtestplug3_la_CFLAGS= -g -O2
1933 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
1934 libldtestplug4_la_SOURCES = testplug4.c
1935 libldtestplug4_la_CFLAGS= -g -O2
1936 libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere
1939 # DOCUMENTATION TARGETS
1940 # Manual configuration file; not usually attached to normal configuration,
1941 # because almost all configs use "gen" version of manual.
1942 # Set DOCVER above to change.
1943 configdoc.texi: ${DOCVER}-doc.texi
1944 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1945 chmod u+w ./configdoc.texi
1947 # Build the man page from the texinfo file
1948 # The sed command removes the no-adjust Nroff command so that
1949 # the man output looks standard.
1950 ld.1: $(srcdir)/ld.texi configdoc.texi
1952 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod
1953 -($(POD2MAN) ld.pod | \
1954 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1955 mv -f $@.T$$$$ $@) || \
1956 (rm -f $@.T$$$$ && exit 1)
1959 MAINTAINERCLEANFILES = configdoc.texi ld.1
1961 # We want to reconfigure if configure.host or configure.tgt changes.
1962 # development.sh is used to determine -Werror default.
1963 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
1964 $(BFDDIR)/development.sh
1966 EXTRA_DEJAGNU_SITE_CONFIG = development.exp
1968 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1969 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
1972 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
1974 .PHONY: install-exec-local install-data-local
1976 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
1977 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
1978 n=`echo $(installed_linker) | sed '$(transform)'`; \
1979 if test "$(bindir)" != "$(tooldir)/bin"; then \
1980 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1981 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1982 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1984 if test "x$(install_as_default)" = "xyes"; then \
1985 ld=`echo ld | sed '$(transform)'`; \
1986 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1987 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
1988 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1989 if test "$(bindir)" != "$(tooldir)/bin"; then \
1990 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1991 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1992 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1997 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1998 for f in ldscripts/* ; do \
1999 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2002 # Stuff that should be included in a distribution. The diststuff
2003 # target is run by the taz target in ../Makefile.in.
2004 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2005 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2006 diststuff: info $(EXTRA_DIST)
2008 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2009 # But info isn't a direct target. Make info-recursive to depend on
2010 # ld.1 to support parallel build.
2011 info-recursive: ld.1
2013 DISTCLEANFILES = tdirs site.exp development.exp site.bak stringify.sed
2017 MAINTAINERCLEANFILES += ld.info