1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2018 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 \
292 eelf_i386_vxworks.c \
304 eh8300sxelf_linux.c \
373 etic3xcoff_onchip.c \
386 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
388 ALL_64_EMULATION_SOURCES = \
394 eaarch64cloudabib.c \
402 eelf32_x86_64_nacl.c \
408 eelf32btsmip_fbsd.c \
410 eelf32btsmipn32_fbsd.c \
412 eelf32ebmipvxworks.c \
414 eelf32elmipvxworks.c \
421 eelf32ltsmip_fbsd.c \
423 eelf32ltsmipn32_fbsd.c \
424 eelf32mipswindiss.c \
431 eelf64_sparc_fbsd.c \
432 eelf64_sparc_sol2.c \
438 eelf64btsmip_fbsd.c \
442 eelf64lriscv_lp64f.c \
443 eelf64lriscv_lp64.c \
445 eelf64ltsmip_fbsd.c \
457 eelf_x86_64_cloudabi.c \
465 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
467 ALL_EMUL_EXTRA_OFILES = \
471 ALL_64_EMUL_EXTRA_OFILES = \
474 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
475 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
476 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
477 $(PLUGIN_C) ldbuildid.c
479 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
480 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
481 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
482 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
484 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
485 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
487 # Require an early dependency on the generated headers, as the dependency
488 # tracking will not cause them to be built beforehand.
489 BUILT_SOURCES = $(GENERATED_HFILES)
491 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
492 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
493 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
494 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
497 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
499 # Disable -Werror, if it has been enabled, since old versions of bison/
500 # yacc will produce working code which contain compile time warnings.
501 ldgram.@OBJEXT@: ldgram.c
503 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
504 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
507 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
508 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
510 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
513 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
515 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
516 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
519 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
520 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
522 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
525 deffilep.@OBJEXT@: deffilep.c
527 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
528 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
531 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
532 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
534 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
537 SRC_POTFILES = $(CFILES) $(HFILES)
538 BLD_POTFILES = $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
540 po/SRC-POTFILES.in: @MAINT@ Makefile
541 for f in $(SRC_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \
542 && mv $@-tmp $(srcdir)/po/SRC-POTFILES.in
544 po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
545 for f in $(BLD_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \
546 && mv $@-tmp $(srcdir)/po/BLD-POTFILES.in
548 ldmain.@OBJEXT@: ldmain.c config.status
550 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
551 -DDEFAULT_EMULATION='"$(EMUL)"' \
552 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
553 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
555 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
558 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
559 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
561 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
562 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
563 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
567 ldfile.@OBJEXT@: ldfile.c config.status
569 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
570 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
572 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
575 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
576 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
578 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
579 -DTOOLBINDIR='"$(tooldir)/bin"' \
583 eelf32_spu.@OBJEXT@: eelf32_spu.c
585 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
586 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
587 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
590 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
591 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
593 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
597 ldemul-list.h: Makefile
598 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
599 for f in `echo " " ${EMULATION_OFILES} "" \
600 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
601 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
604 echo "#define EMULATION_LIST \\";\
605 for f in `echo " " ${EMULATION_OFILES} "" \
606 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
607 echo " &ld_$${f}_emulation, \\"; \
609 echo " 0") >ldemul-tmp.h
610 mv ldemul-tmp.h ldemul-list.h
612 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
613 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
615 # These all start with e so 'make clean' can find them.
617 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@
618 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
619 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
620 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
621 ELF_X86_DEPS = $(ELF_DEPS) $(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_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1296 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1298 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1299 $(srcdir)/emulparams/elf_i386.sh \
1300 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1302 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1303 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1305 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1306 $(srcdir)/emulparams/elf_i386.sh \
1307 $(srcdir)/emulparams/elf_nacl.sh \
1308 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1310 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1311 $(srcdir)/emulparams/solaris2.sh \
1312 $(srcdir)/emultempl/solaris2.em \
1313 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1315 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1316 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1317 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1319 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1320 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1322 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1323 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1325 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1326 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1328 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1329 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1331 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1332 $(srcdir)/emulparams/h8300elf.sh \
1333 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1335 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1336 $(srcdir)/emulparams/h8300elf_linux.sh \
1337 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1339 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1340 $(srcdir)/emulparams/h8300elf.sh \
1341 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1343 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1344 $(srcdir)/emulparams/h8300elf.sh \
1345 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1347 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1348 $(srcdir)/emulparams/h8300elf.sh \
1349 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1351 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1352 $(srcdir)/emulparams/h8300elf.sh \
1353 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1355 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1356 $(srcdir)/emulparams/h8300elf.sh \
1357 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1359 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1360 $(srcdir)/emulparams/h8300elf.sh \
1361 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1363 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1364 $(srcdir)/emulparams/h8300elf.sh \
1365 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1367 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1368 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1369 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1371 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1372 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1373 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1375 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1376 $(srcdir)/emulparams/hppaelf.sh \
1377 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1378 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1380 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1381 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1382 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1384 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1385 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc \
1386 $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1388 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1389 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1391 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1392 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc \
1393 $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1395 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1396 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1398 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1399 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1401 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1402 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1404 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1405 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1407 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1408 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1410 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1411 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1413 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1414 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1416 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1417 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1419 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1420 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1422 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1423 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1425 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1426 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1428 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1429 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1430 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1432 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1433 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1434 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1436 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1437 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1438 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1440 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1441 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1442 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1444 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1445 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1446 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1448 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1449 $(srcdir)/emulparams/m68kelf.sh \
1450 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1451 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1453 em9s12zelf.c: $(srcdir)/emulparams/m9s12zelf.sh \
1454 $(ELF_DEPS) $(srcdir)/emultempl/generic.em \
1455 $(srcdir)/scripttempl/elfm9s12z.sc ${GEN_DEPENDS}
1457 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1458 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/mcorepe.sc ${GEN_DEPENDS}
1460 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1461 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1463 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1464 $(srcdir)/emulparams/mn10200.sh \
1465 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1467 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1468 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1469 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1471 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1472 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1473 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1475 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1476 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1477 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1479 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1480 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1481 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1483 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1484 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1485 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1487 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1488 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1489 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1491 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1492 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1493 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1495 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1496 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1497 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1499 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1500 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1501 $(srcdir)/scripttempl/elf.sc $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1503 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1504 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1505 $(srcdir)/scripttempl/elf.sc $(srcdir)/scripttempl/DWARF.sc ${GEN_DEPENDS}
1507 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1508 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1509 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1511 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1512 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1513 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1515 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1516 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1517 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1519 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1520 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1521 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1523 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1524 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1525 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1527 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1528 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1529 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1531 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1532 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1533 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1535 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1536 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1537 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1539 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1540 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1541 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1543 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1544 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1545 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1547 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1548 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1549 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1551 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1552 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1553 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1555 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1556 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1557 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1559 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1560 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1562 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1563 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1565 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1566 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1568 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1569 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1571 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1572 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1574 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1575 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1577 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1578 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1580 epruelf.c: $(srcdir)/emulparams/pruelf.sh \
1581 $(ELF_DEPS) $(srcdir)/scripttempl/pru.sc \
1582 $(srcdir)/emultempl/pruelf.em ${GEN_DEPENDS}
1584 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1585 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1586 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1588 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1589 $(srcdir)/emulparams/score7_elf.sh \
1590 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1591 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1593 esh.c: $(srcdir)/emulparams/sh.sh \
1594 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1596 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1597 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1599 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1600 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1602 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1603 $(srcdir)/emulparams/shlelf_linux.sh \
1604 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1606 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1607 $(srcdir)/emulparams/shelf.sh \
1608 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1610 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1611 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1613 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1614 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1616 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1617 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1618 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1620 eshl.c: $(srcdir)/emulparams/shl.sh \
1621 $(srcdir)/emulparams/sh.sh \
1622 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1624 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1625 $(srcdir)/emulparams/shelf.sh \
1626 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1628 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1629 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1631 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1632 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1634 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1635 $(srcdir)/emulparams/shelf_nbsd.sh \
1636 $(srcdir)/emulparams/shelf.sh \
1637 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1639 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1640 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1642 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1643 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1644 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1647 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1648 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1650 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1651 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1653 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1654 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1656 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1657 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1659 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1660 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1662 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1663 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1665 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1666 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1668 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1669 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1671 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1672 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1674 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1675 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1677 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1678 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1680 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1681 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1683 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1684 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1685 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1687 ez80.c: $(srcdir)/emulparams/z80.sh \
1688 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1689 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1691 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1692 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1694 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1695 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1697 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1698 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1700 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1701 $(srcdir)/emulparams/elf32_x86_64.sh \
1702 $(srcdir)/emulparams/elf_nacl.sh \
1703 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1705 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1706 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1708 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1709 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1710 $(srcdir)/emultempl/needrelax.em \
1711 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1713 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1714 $(srcdir)/emulparams/elf64_ia64.sh \
1715 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1716 $(srcdir)/emultempl/needrelax.em \
1717 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1719 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1720 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
1721 $(srcdir)/emultempl/needrelax.em \
1722 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1724 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1725 $(srcdir)/emultempl/s390.em \
1726 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1728 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1729 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1731 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1732 $(srcdir)/emulparams/elf64_sparc.sh \
1733 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1735 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1736 $(srcdir)/emulparams/elf64_sparc.sh \
1737 $(srcdir)/emulparams/solaris2.sh \
1738 $(srcdir)/emultempl/solaris2.em \
1739 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1741 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1742 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1743 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1745 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1746 $(srcdir)/emulparams/elf64alpha.sh \
1747 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1748 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1750 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1751 $(srcdir)/emulparams/elf64alpha.sh \
1752 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1753 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1755 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1756 $(srcdir)/emulparams/elf64bmip-defs.sh \
1757 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1758 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1759 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1761 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1762 $(srcdir)/emulparams/elf64bmip-defs.sh \
1763 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1764 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1766 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1767 ${srcdir}/emulparams/elf64btsmip.sh ${srcdir}/emulparams/elf_fbsd.sh \
1768 $(srcdir)/emulparams/elf64bmip-defs.sh \
1769 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1770 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1772 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1773 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1775 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1776 $(srcdir)/emulparams/elf64ppc.sh \
1777 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1778 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1779 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1781 eelf64lriscv.c: $(srcdir)/emulparams/elf64lriscv.sh \
1782 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1783 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1784 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1787 eelf64lriscv_lp64f.c: $(srcdir)/emulparams/elf64lriscv_lp64f.sh \
1788 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1789 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1790 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1793 eelf64lriscv_lp64.c: $(srcdir)/emulparams/elf64lriscv_lp64.sh \
1794 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1795 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1796 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1799 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1800 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1801 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1802 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1804 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1805 ${srcdir}/emulparams/elf64ltsmip.sh ${srcdir}/emulparams/elf_fbsd.sh \
1806 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1807 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1808 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1810 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1811 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1812 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1814 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh \
1815 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1816 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1817 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1819 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1820 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1821 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1822 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1824 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1825 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1827 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1828 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1829 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1831 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1832 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1833 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1835 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1836 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1838 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1839 $(srcdir)/emulparams/elf_l1om.sh \
1840 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1842 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1843 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1845 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1846 $(srcdir)/emulparams/elf_k1om.sh \
1847 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1849 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1850 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1852 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
1853 $(srcdir)/emulparams/elf_x86_64.sh \
1854 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1856 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1857 $(srcdir)/emulparams/elf_x86_64.sh \
1858 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1860 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1861 $(srcdir)/emulparams/elf_x86_64.sh \
1862 $(srcdir)/emulparams/elf_nacl.sh \
1863 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1865 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1866 $(srcdir)/emulparams/elf_x86_64.sh \
1867 $(srcdir)/emulparams/solaris2.sh \
1868 $(srcdir)/emultempl/solaris2.em \
1869 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1871 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1872 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1874 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1875 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1876 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1877 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1880 # We need this for automake to use YLWRAP.
1881 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1882 # Allow dependency tracking to work for these files, too.
1883 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1885 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1886 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
1888 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
1889 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1890 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1892 # Dependency tracking for the generated emulation files.
1893 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1895 # This is the real libbfd.a created by libtool.
1896 TESTBFDLIB = @TESTBFDLIB@
1898 check-DEJAGNU: site.exp
1899 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1900 r=`pwd`; export r; \
1901 LC_ALL=C; export LC_ALL; \
1902 EXPECT=$(EXPECT); export EXPECT; \
1903 runtest=$(RUNTEST); \
1904 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1905 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1906 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS_FOR_TARGET)" \
1907 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
1908 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1909 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1910 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1911 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1913 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1916 development.exp: $(BFDDIR)/development.sh
1917 $(EGREP) "[development|experimental]=" $(BFDDIR)/development.sh \
1918 | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@
1921 # Build a dummy plugin using libtool.
1924 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \
1925 libldtestplug3.la libldtestplug4.la
1926 libldtestplug_la_SOURCES = testplug.c
1927 libldtestplug_la_CFLAGS= -g -O2
1928 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
1929 libldtestplug2_la_SOURCES = testplug2.c
1930 libldtestplug2_la_CFLAGS= -g -O2
1931 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
1932 libldtestplug3_la_SOURCES = testplug3.c
1933 libldtestplug3_la_CFLAGS= -g -O2
1934 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
1935 libldtestplug4_la_SOURCES = testplug4.c
1936 libldtestplug4_la_CFLAGS= -g -O2
1937 libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere
1940 # DOCUMENTATION TARGETS
1941 # Manual configuration file; not usually attached to normal configuration,
1942 # because almost all configs use "gen" version of manual.
1943 # Set DOCVER above to change.
1944 configdoc.texi: ${DOCVER}-doc.texi
1945 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1946 chmod u+w ./configdoc.texi
1948 # Build the man page from the texinfo file
1949 # The sed command removes the no-adjust Nroff command so that
1950 # the man output looks standard.
1951 ld.1: $(srcdir)/ld.texi configdoc.texi
1953 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod
1954 -($(POD2MAN) ld.pod | \
1955 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1956 mv -f $@.T$$$$ $@) || \
1957 (rm -f $@.T$$$$ && exit 1)
1960 MAINTAINERCLEANFILES = configdoc.texi ld.1
1962 # We want to reconfigure if configure.host or configure.tgt changes.
1963 # development.sh is used to determine -Werror default.
1964 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
1965 $(BFDDIR)/development.sh
1967 EXTRA_DEJAGNU_SITE_CONFIG = development.exp
1969 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1970 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
1973 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
1975 .PHONY: install-exec-local install-data-local
1977 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
1978 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
1979 n=`echo $(installed_linker) | sed '$(transform)'`; \
1980 if test "$(bindir)" != "$(tooldir)/bin"; then \
1981 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1982 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1983 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1985 if test "x$(install_as_default)" = "xyes"; then \
1986 ld=`echo ld | sed '$(transform)'`; \
1987 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1988 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
1989 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1990 if test "$(bindir)" != "$(tooldir)/bin"; then \
1991 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1992 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1993 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1998 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1999 for f in ldscripts/* ; do \
2000 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2003 # Stuff that should be included in a distribution. The diststuff
2004 # target is run by the taz target in ../Makefile.in.
2005 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2006 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2007 diststuff: info $(EXTRA_DIST)
2009 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2010 # But info isn't a direct target. Make info-recursive to depend on
2011 # ld.1 to support parallel build.
2012 info-recursive: ld.1
2014 DISTCLEANFILES = tdirs site.exp development.exp site.bak stringify.sed
2018 MAINTAINERCLEANFILES += ld.info