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/elf32bmip.sh $(ELF_DEPS) \
994 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
996 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
997 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
998 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1000 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
1001 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1002 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1004 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1005 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1006 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1008 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1009 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1011 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1012 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1013 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1015 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1016 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1017 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1019 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1020 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1021 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1022 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1024 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1025 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1026 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1029 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1030 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1031 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1032 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1034 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1035 $(srcdir)/emulparams/elf32bmip.sh \
1036 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1039 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1040 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1041 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1044 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1045 $(ELF_DEPS) ${GEN_DEPENDS}
1047 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1048 $(srcdir)/emultempl/elf32.em \
1049 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1051 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1052 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1054 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1055 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1057 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1058 $(srcdir)/emulparams/elf32frv.sh \
1059 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1061 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1062 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1064 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1065 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1067 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1068 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1070 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1071 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1073 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1074 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1075 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1078 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1079 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1081 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1082 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1083 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1085 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1086 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1087 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1089 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1090 $(srcdir)/emulparams/elf32ppccommon.sh \
1091 $(srcdir)/emulparams/elf32ppc.sh \
1092 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1093 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1094 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1096 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1097 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1098 $(srcdir)/emulparams/elf32ppccommon.sh \
1099 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1100 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1101 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1103 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1104 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1105 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1106 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1107 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1109 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1110 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1111 $(srcdir)/emulparams/elf32ppccommon.sh \
1112 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1113 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1114 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1116 eelf32lriscv.c: $(srcdir)/emulparams/elf32lriscv.sh \
1117 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1118 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1121 eelf32lriscv_ilp32f.c: $(srcdir)/emulparams/elf32lriscv_ilp32f.sh \
1122 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1123 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1126 eelf32lriscv_ilp32.c: $(srcdir)/emulparams/elf32lriscv_ilp32.sh \
1127 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1128 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1131 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1132 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1133 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1136 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1137 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1138 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1141 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1142 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1143 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1146 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1147 $(srcdir)/emulparams/elf32btsmipn32.sh \
1148 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1149 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1151 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1152 $(srcdir)/emulparams/elf32btsmipn32.sh \
1153 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1154 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1156 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1157 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1158 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1160 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1161 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1163 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1164 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1166 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1167 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1169 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1170 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1172 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1173 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1174 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1176 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1177 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1179 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1180 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1182 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1183 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1185 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1186 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1188 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1189 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1191 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1192 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1194 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1195 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1197 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1198 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1200 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1201 $(srcdir)/emulparams/elf32ppccommon.sh \
1202 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1203 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1204 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1206 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1207 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1208 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1209 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1210 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1212 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1213 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1214 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1215 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1216 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1218 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1219 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1220 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1221 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1222 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1224 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1225 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1226 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1227 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1228 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1230 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1231 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1232 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1233 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1234 $(srcdir)/emultempl/vxworks.em \
1235 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1237 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1238 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1240 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1241 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1243 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1244 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1246 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1247 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1248 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1250 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1251 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1252 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1254 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1255 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1256 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1258 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1259 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1261 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1262 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1264 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1265 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1266 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1268 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1269 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1270 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1272 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1273 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1274 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1276 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1277 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1278 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1280 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1281 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1282 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/xtensa.h \
1283 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1285 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1286 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1288 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1289 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1291 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1292 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1294 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1295 $(srcdir)/emulparams/elf_i386.sh \
1296 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1298 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1299 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1301 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1302 $(srcdir)/emulparams/elf_i386.sh \
1303 $(srcdir)/emulparams/elf_nacl.sh \
1304 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1306 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1307 $(srcdir)/emulparams/solaris2.sh \
1308 $(srcdir)/emultempl/solaris2.em \
1309 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1311 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1312 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1313 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1315 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1316 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1318 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1319 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1321 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1322 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1324 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1325 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1327 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1328 $(srcdir)/emulparams/h8300elf.sh \
1329 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1331 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1332 $(srcdir)/emulparams/h8300elf_linux.sh \
1333 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1335 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1336 $(srcdir)/emulparams/h8300elf.sh \
1337 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1339 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1340 $(srcdir)/emulparams/h8300elf.sh \
1341 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1343 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1344 $(srcdir)/emulparams/h8300elf.sh \
1345 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1347 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1348 $(srcdir)/emulparams/h8300elf.sh \
1349 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1351 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1352 $(srcdir)/emulparams/h8300elf.sh \
1353 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1355 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1356 $(srcdir)/emulparams/h8300elf.sh \
1357 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1359 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1360 $(srcdir)/emulparams/h8300elf.sh \
1361 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1363 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1364 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1365 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1367 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1368 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1369 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1371 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1372 $(srcdir)/emulparams/hppaelf.sh \
1373 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1374 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1376 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1377 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1378 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1380 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1381 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1383 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1384 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1386 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1387 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1389 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1390 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1392 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1393 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1395 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1396 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1398 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1399 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1401 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1402 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1404 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1405 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1407 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1408 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1410 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1411 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1413 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1414 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1416 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1417 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1419 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1420 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1422 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1423 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1424 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1426 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1427 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1428 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1430 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1431 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1432 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1434 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1435 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1436 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1438 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1439 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1440 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1442 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1443 $(srcdir)/emulparams/m68kelf.sh \
1444 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1445 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1447 em9s12zelf.c: $(srcdir)/emulparams/m9s12zelf.sh \
1448 $(ELF_DEPS) $(srcdir)/emultempl/generic.em \
1449 $(srcdir)/scripttempl/elfm9s12z.sc ${GEN_DEPENDS}
1451 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1452 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1454 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1455 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1457 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1458 $(srcdir)/emulparams/mn10200.sh \
1459 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1461 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1462 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1463 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1465 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1466 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1467 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1469 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1470 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1471 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1473 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1474 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1475 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1477 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1478 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1479 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1481 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1482 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1483 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1485 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1486 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1487 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1489 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1490 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1491 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1493 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1494 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1495 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1497 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1498 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1499 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1501 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1502 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1503 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1505 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1506 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1507 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1509 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1510 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1511 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1513 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1514 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1515 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1517 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1518 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1519 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1521 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1522 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1523 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1525 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1526 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1527 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1529 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1530 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1531 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1533 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1534 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1535 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1537 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1538 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1539 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1541 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1542 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1543 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1545 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1546 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1547 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1549 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1550 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1551 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1553 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1554 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1556 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1557 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1559 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1560 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1562 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1563 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1565 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1566 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1568 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1569 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1571 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1572 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1574 epruelf.c: $(srcdir)/emulparams/pruelf.sh \
1575 $(ELF_DEPS) $(srcdir)/scripttempl/pru.sc \
1576 $(srcdir)/emultempl/pruelf.em ${GEN_DEPENDS}
1578 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1579 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1580 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1582 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1583 $(srcdir)/emulparams/score7_elf.sh \
1584 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1585 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1587 esh.c: $(srcdir)/emulparams/sh.sh \
1588 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1590 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1591 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1593 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1594 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1596 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1597 $(srcdir)/emulparams/shlelf_linux.sh \
1598 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1600 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1601 $(srcdir)/emulparams/shelf.sh \
1602 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1604 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1605 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1607 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1608 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1610 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1611 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1612 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1614 eshl.c: $(srcdir)/emulparams/shl.sh \
1615 $(srcdir)/emulparams/sh.sh \
1616 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1618 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1619 $(srcdir)/emulparams/shelf.sh \
1620 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1622 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1623 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1625 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1626 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1628 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1629 $(srcdir)/emulparams/shelf_nbsd.sh \
1630 $(srcdir)/emulparams/shelf.sh \
1631 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1633 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1634 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1636 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1637 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1638 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1641 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1642 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1644 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1645 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1647 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1648 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1650 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1651 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1653 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1654 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1656 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1657 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1659 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1660 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1662 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1663 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1665 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1666 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1668 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1669 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1671 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1672 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1674 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1675 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1677 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1678 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1679 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1681 ez80.c: $(srcdir)/emulparams/z80.sh \
1682 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1683 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1685 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1686 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1688 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1689 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1691 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1692 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1694 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1695 $(srcdir)/emulparams/elf32_x86_64.sh \
1696 $(srcdir)/emulparams/elf_nacl.sh \
1697 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1699 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1700 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1702 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1703 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1704 $(srcdir)/emultempl/needrelax.em \
1705 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1707 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1708 $(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_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1714 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
1715 $(srcdir)/emultempl/needrelax.em \
1716 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1718 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1719 $(srcdir)/emultempl/s390.em \
1720 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1722 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1723 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1725 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1726 $(srcdir)/emulparams/elf64_sparc.sh \
1727 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1729 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1730 $(srcdir)/emulparams/elf64_sparc.sh \
1731 $(srcdir)/emulparams/solaris2.sh \
1732 $(srcdir)/emultempl/solaris2.em \
1733 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1735 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1736 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1737 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1739 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1740 $(srcdir)/emulparams/elf64alpha.sh \
1741 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1742 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1744 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1745 $(srcdir)/emulparams/elf64alpha.sh \
1746 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1747 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1749 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1750 $(srcdir)/emulparams/elf64bmip-defs.sh \
1751 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1752 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1753 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1755 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1756 $(srcdir)/emulparams/elf64bmip-defs.sh \
1757 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1758 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1760 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1761 $(srcdir)/emulparams/elf64bmip-defs.sh \
1762 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1763 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1765 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1766 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1768 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1769 $(srcdir)/emulparams/elf64ppc.sh \
1770 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1771 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1772 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1774 eelf64lriscv.c: $(srcdir)/emulparams/elf64lriscv.sh \
1775 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1776 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1777 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1780 eelf64lriscv_lp64f.c: $(srcdir)/emulparams/elf64lriscv_lp64f.sh \
1781 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1782 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1783 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1786 eelf64lriscv_lp64.c: $(srcdir)/emulparams/elf64lriscv_lp64.sh \
1787 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1788 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1789 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1792 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1793 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1794 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1795 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1797 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1798 $(srcdir)/emulparams/elf64btsmip_fbsd.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 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1803 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1804 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1806 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh \
1807 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1808 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1809 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1811 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1812 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1813 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1814 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1816 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1817 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1819 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1820 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1821 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1823 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1824 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1825 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1827 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1828 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1830 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1831 $(srcdir)/emulparams/elf_l1om.sh \
1832 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1834 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1835 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1837 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1838 $(srcdir)/emulparams/elf_k1om.sh \
1839 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1841 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1842 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1844 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
1845 $(srcdir)/emulparams/elf_x86_64.sh \
1846 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1848 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1849 $(srcdir)/emulparams/elf_x86_64.sh \
1850 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1852 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1853 $(srcdir)/emulparams/elf_x86_64.sh \
1854 $(srcdir)/emulparams/elf_nacl.sh \
1855 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1857 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1858 $(srcdir)/emulparams/elf_x86_64.sh \
1859 $(srcdir)/emulparams/solaris2.sh \
1860 $(srcdir)/emultempl/solaris2.em \
1861 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1863 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1864 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1866 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1867 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1868 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1869 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1872 # We need this for automake to use YLWRAP.
1873 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1874 # Allow dependency tracking to work for these files, too.
1875 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1877 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1878 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
1880 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
1881 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1882 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1884 # Dependency tracking for the generated emulation files.
1885 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1887 # This is the real libbfd.a created by libtool.
1888 TESTBFDLIB = @TESTBFDLIB@
1890 check-DEJAGNU: site.exp
1891 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1892 r=`pwd`; export r; \
1893 LC_ALL=C; export LC_ALL; \
1894 EXPECT=$(EXPECT); export EXPECT; \
1895 runtest=$(RUNTEST); \
1896 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1897 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1898 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS_FOR_TARGET)" \
1899 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
1900 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1901 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1902 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1903 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1905 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1909 # Build a dummy plugin using libtool.
1912 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \
1913 libldtestplug3.la libldtestplug4.la
1914 libldtestplug_la_SOURCES = testplug.c
1915 libldtestplug_la_CFLAGS= -g -O2
1916 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
1917 libldtestplug2_la_SOURCES = testplug2.c
1918 libldtestplug2_la_CFLAGS= -g -O2
1919 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
1920 libldtestplug3_la_SOURCES = testplug3.c
1921 libldtestplug3_la_CFLAGS= -g -O2
1922 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
1923 libldtestplug4_la_SOURCES = testplug4.c
1924 libldtestplug4_la_CFLAGS= -g -O2
1925 libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere
1928 # DOCUMENTATION TARGETS
1929 # Manual configuration file; not usually attached to normal configuration,
1930 # because almost all configs use "gen" version of manual.
1931 # Set DOCVER above to change.
1932 configdoc.texi: ${DOCVER}-doc.texi
1933 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1934 chmod u+w ./configdoc.texi
1936 # Build the man page from the texinfo file
1937 # The sed command removes the no-adjust Nroff command so that
1938 # the man output looks standard.
1939 ld.1: $(srcdir)/ld.texi configdoc.texi
1941 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod
1942 -($(POD2MAN) ld.pod | \
1943 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1944 mv -f $@.T$$$$ $@) || \
1945 (rm -f $@.T$$$$ && exit 1)
1948 MAINTAINERCLEANFILES = configdoc.texi ld.1
1950 # We want to reconfigure if configure.host or configure.tgt changes.
1951 # development.sh is used to determine -Werror default.
1952 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
1953 $(BFDDIR)/development.sh
1955 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1956 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
1959 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
1961 .PHONY: install-exec-local install-data-local
1963 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
1964 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
1965 n=`echo $(installed_linker) | sed '$(transform)'`; \
1966 if test "$(bindir)" != "$(tooldir)/bin"; then \
1967 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1968 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1969 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1971 if test "x$(install_as_default)" = "xyes"; then \
1972 ld=`echo ld | sed '$(transform)'`; \
1973 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1974 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
1975 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1976 if test "$(bindir)" != "$(tooldir)/bin"; then \
1977 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1978 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1979 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1984 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1985 for f in ldscripts/* ; do \
1986 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1989 # Stuff that should be included in a distribution. The diststuff
1990 # target is run by the taz target in ../Makefile.in.
1991 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
1992 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
1993 diststuff: info $(EXTRA_DIST)
1995 # Both info (ld.info) and ld.1 depend on configdoc.texi.
1996 # But info isn't a direct target. Make info-recursive to depend on
1997 # ld.1 to support parallel build.
1998 info-recursive: ld.1
2000 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2004 MAINTAINERCLEANFILES += ld.info