1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2016 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
20 AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
21 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
22 TEXINFO_TEX = ../texinfo/texinfo.tex
26 tooldir = $(exec_prefix)/$(target_alias)
28 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
30 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
32 # Automake 1.10+ disables lex and yacc output file regeneration if
33 # maintainer mode is disabled. Avoid this.
37 ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
38 -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
39 -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
40 WARN_CFLAGS = @WARN_CFLAGS@
41 NO_WERROR = @NO_WERROR@
42 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
44 # Conditionally enable the plugin interface.
48 PLUGIN_OBJECT = plugin.@OBJEXT@
49 PLUGIN_CFLAGS = -DENABLE_PLUGINS
57 # We put the scripts in the directory $(scriptdir)/ldscripts.
58 # We can't put the scripts in $(datadir) because the SEARCH_DIR
59 # directives need to be different for native and cross linkers.
60 scriptdir = $(tooldir)/lib
63 EMULATION_OFILES = @EMULATION_OFILES@
64 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
67 # Search path to override the default search path for -lfoo libraries.
68 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
69 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
70 # a cross-linker, in which case the default is empty. See genscripts.sh.)
71 # Otherwise, they are replaced with the ones given in LIB_PATH,
72 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
73 # when the linker is configured via the --with-lib-path configure switch.
76 BASEDIR = $(srcdir)/..
77 BFDDIR = $(BASEDIR)/bfd
78 INCDIR = $(BASEDIR)/include
80 # What version of the manual to build
83 # Options to extract the man page from ld.texinfo
86 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
88 POD2MAN = pod2man --center="GNU Development Tools" \
89 --release="binutils-$(VERSION)" --section=1
91 #stuff for self hosting (can be overridden in config file).
92 HOSTING_CRT0 = @HOSTING_CRT0@
93 HOSTING_SCRT0 = @HOSTING_SCRT0@
94 HOSTING_LIBS = @HOSTING_LIBS@
95 HOSTING_SLIBS = @HOSTING_SLIBS@
96 HOSTING_EMU = -m $(EMUL)
98 # Setup the testing framework, if you have one
104 if [ -f $$r/../gcc/xgcc ] ; then \
105 if [ -f $$r/../newlib/Makefile ] ; then \
106 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
108 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
111 if [ "@host@" = "@target@" ] ; then \
114 echo gcc | sed '$(transform)'; \
119 if [ -f $$r/../gcc/g++ ] ; then \
120 if [ -f $$r/../newlib/Makefile ] ; then \
121 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
123 echo $$r/../gcc/g++ -B$$r/../gcc/; \
125 elif [ -f $$r/../gcc/xg++ ] ; then \
126 if [ -f $$r/../newlib/Makefile ] ; then \
127 echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
129 echo $$r/../gcc/xg++ -B$$r/../gcc/; \
132 if [ "@host@" = "@target@" ] ; then \
135 echo g++ | sed '$(transform)'; \
139 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
140 bin_PROGRAMS = ld-new
141 info_TEXINFOS = ld.texinfo
142 ld_TEXINFOS = configdoc.texi
143 noinst_TEXINFOS = ldint.texinfo
146 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
147 -I $(top_srcdir)/../libiberty
148 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
149 -I $(top_srcdir)/../libiberty
151 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
152 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
153 -DLOCALEDIR="\"$(datadir)/locale\""
155 BFDLIB = ../bfd/libbfd.la
156 LIBIBERTY = ../libiberty/libiberty.a
158 ALL_EMULATION_SOURCES = \
179 earmelf_linux_eabi.c \
186 earmelfb_linux_eabi.c \
225 eelf32_sparc_sol2.c \
226 eelf32_sparc_vxworks.c \
230 eelf32_tic6x_linux_be.c \
231 eelf32_tic6x_linux_le.c \
232 eelf32_tic6x_elf_be.c \
233 eelf32_tic6x_elf_le.c \
241 eelf32epiphany_4x4.c \
262 eelf32microblazeel.c \
295 eelf_i386_vxworks.c \
315 eh8300sxelf_linux.c \
421 etic3xcoff_onchip.c \
437 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
439 ALL_64_EMULATION_SOURCES = \
445 eaarch64cloudabib.c \
453 eelf32_x86_64_nacl.c \
459 eelf32btsmip_fbsd.c \
461 eelf32btsmipn32_fbsd.c \
463 eelf32ebmipvxworks.c \
465 eelf32elmipvxworks.c \
472 eelf32ltsmip_fbsd.c \
474 eelf32ltsmipn32_fbsd.c \
475 eelf32mipswindiss.c \
482 eelf64_sparc_fbsd.c \
483 eelf64_sparc_sol2.c \
489 eelf64btsmip_fbsd.c \
493 eelf64ltsmip_fbsd.c \
505 eelf_x86_64_cloudabi.c \
517 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
519 ALL_EMUL_EXTRA_OFILES = \
523 ALL_64_EMUL_EXTRA_OFILES = \
526 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
527 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
528 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
529 $(PLUGIN_C) ldbuildid.c
531 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
532 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
533 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
534 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
536 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
537 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
539 # Require an early dependency on the generated headers, as the dependency
540 # tracking will not cause them to be built beforehand.
541 BUILT_SOURCES = $(GENERATED_HFILES)
543 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
544 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
545 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
546 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
549 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
551 # Disable -Werror, if it has been enabled, since old versions of bison/
552 # yacc will produce working code which contain compile time warnings.
553 ldgram.@OBJEXT@: ldgram.c
555 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
556 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
559 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
560 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
562 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
565 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
567 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
568 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
571 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
572 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
574 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
577 deffilep.@OBJEXT@: deffilep.c
579 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
580 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
583 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
584 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
586 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
589 # At the moment this is just a list of those emulation template files
590 # that contain internationalised strings.
591 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
593 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
595 po/POTFILES.in: @MAINT@ Makefile
596 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
597 && mv tmp $(srcdir)/po/POTFILES.in
599 ldmain.@OBJEXT@: ldmain.c config.status
601 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
602 -DDEFAULT_EMULATION='"$(EMUL)"' \
603 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
604 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
606 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
609 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
610 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
612 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
613 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
614 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
618 ldfile.@OBJEXT@: ldfile.c config.status
620 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
621 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
623 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
626 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
627 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
629 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
630 -DTOOLBINDIR='"$(tooldir)/bin"' \
634 eelf32_spu.@OBJEXT@: eelf32_spu.c
636 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
637 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
638 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
641 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
642 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
644 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
648 ldemul-list.h: Makefile
649 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
650 for f in `echo " " ${EMULATION_OFILES} "" \
651 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
652 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
655 echo "#define EMULATION_LIST \\";\
656 for f in `echo " " ${EMULATION_OFILES} "" \
657 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
658 echo " &ld_$${f}_emulation, \\"; \
660 echo " 0") >ldemul-tmp.h
661 mv ldemul-tmp.h ldemul-list.h
663 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
664 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
666 # These all start with e so 'make clean' can find them.
668 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@
669 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
670 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
671 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
672 ELF_X86_DEPS = $(ELF_DEPS) $(srcdir)/emulparams/plt_unwind.sh \
673 $(srcdir)/emulparams/extern_protected_data.sh \
674 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
675 $(srcdir)/emulparams/reloc_overflow.sh \
676 $(srcdir)/emulparams/call_nop.sh
680 # We can't use pattern rules as we don't want to depend on GNU
681 # make, or else these rules could have been expressed in one
682 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
683 # (The recursive variable expansion is portable.)
686 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
688 .PHONY: run-genscripts
690 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
691 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
692 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
694 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
695 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
697 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
698 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
700 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
701 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
703 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
704 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
706 ealpha.c: $(srcdir)/emulparams/alpha.sh \
707 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
709 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
710 $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
713 earcv2elf.c: $(srcdir)/emulparams/arcv2elf.sh \
714 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
716 earcv2elfx.c: $(srcdir)/emulparams/arcv2elfx.sh \
717 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
719 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
720 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
722 earcelf_prof.c: $(srcdir)/emulparams/arcelf_prof.sh \
723 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
726 earclinux.c: $(srcdir)/emulparams/arclinux.sh \
727 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
728 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
730 earclinux_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
731 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
732 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
734 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
735 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
737 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
738 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
740 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
741 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
743 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
744 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
746 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
747 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
749 earmelf.c: $(srcdir)/emulparams/armelf.sh \
750 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
751 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
753 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
754 $(srcdir)/emulparams/armelf.sh \
755 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
756 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
758 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
759 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
760 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
762 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
763 $(srcdir)/emulparams/armelf_linux.sh \
764 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
765 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
767 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
768 $(srcdir)/emulparams/armelf_linux_eabi.sh \
769 $(srcdir)/emulparams/armelf_linux.sh \
770 $(srcdir)/emulparams/elf_nacl.sh \
771 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
772 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
774 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
775 $(srcdir)/emulparams/armelf.sh \
776 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
777 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
779 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
780 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
781 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
782 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
785 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
786 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
787 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
789 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
790 $(srcdir)/emulparams/armelf_fbsd.sh \
791 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
792 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
794 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
795 $(srcdir)/emulparams/armelf_linux.sh \
796 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
797 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
799 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
800 $(srcdir)/emulparams/armelf_linux_eabi.sh \
801 $(srcdir)/emulparams/armelf_linux.sh \
802 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
803 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
805 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
806 $(srcdir)/emulparams/armelf_nacl.sh \
807 $(srcdir)/emulparams/armelf_linux_eabi.sh \
808 $(srcdir)/emulparams/armelf_linux.sh \
809 $(srcdir)/emulparams/elf_nacl.sh \
810 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
811 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
813 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
814 $(srcdir)/emulparams/armelf_nbsd.sh \
815 $(srcdir)/emulparams/armelf.sh \
816 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
817 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
819 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
820 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
822 earmnto.c: $(srcdir)/emulparams/armnto.sh \
823 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
824 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
826 earmpe.c: $(srcdir)/emulparams/armpe.sh \
827 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
829 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
830 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
831 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
834 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
835 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
838 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
839 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
842 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
843 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
846 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
847 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
850 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
851 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
854 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
855 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
858 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
859 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
862 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
863 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
866 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
867 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
870 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
871 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
874 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
875 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
878 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
879 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
882 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
883 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
886 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
887 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
890 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
891 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
894 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
895 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
898 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
899 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
902 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
903 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avrtiny.sc \
906 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
907 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
909 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
910 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
912 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
913 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
915 ecriself.c: $(srcdir)/emulparams/criself.sh \
916 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
918 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
919 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
921 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
922 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
924 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
925 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
927 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
928 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
930 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
931 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
933 edelta68.c: $(srcdir)/emulparams/delta68.sh \
934 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
936 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
937 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
939 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
940 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
942 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
943 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
945 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
946 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
948 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
949 $(srcdir)/emulparams/elf32_sparc.sh \
950 $(srcdir)/emulparams/solaris2.sh \
951 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
952 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
954 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
955 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
956 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
957 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
959 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
960 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
962 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
964 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
965 if ../gas/as-new --version \
966 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
967 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
968 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
969 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
971 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
972 if ../gas/as-new --version \
973 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
974 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
975 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
976 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
978 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
979 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
982 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
983 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
986 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
987 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
990 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
991 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
994 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
995 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
998 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
999 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
1002 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
1003 $(srcdir)/emulparams/elf32am33lin.sh \
1004 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1006 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1007 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1008 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1010 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
1011 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1012 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1014 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
1015 $(srcdir)/emulparams/elf32bfin.sh \
1016 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
1017 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1019 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1020 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1022 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1023 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1024 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1025 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1027 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1028 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
1029 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1031 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1032 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1033 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1035 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
1036 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1037 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1039 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1040 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1041 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1043 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
1044 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1045 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1047 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1048 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
1049 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
1051 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1052 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1054 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1055 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1056 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
1058 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1059 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1060 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1062 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1063 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1064 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1065 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1067 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1068 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1069 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1072 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1073 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1074 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1075 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1077 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1078 $(srcdir)/emulparams/elf32bmip.sh \
1079 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1082 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1083 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1084 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1087 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1088 $(ELF_DEPS) ${GEN_DEPENDS}
1090 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1091 $(srcdir)/emultempl/elf32.em \
1092 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1094 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1095 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1097 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1098 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1100 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1101 $(srcdir)/emulparams/elf32frv.sh \
1102 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1104 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1105 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1107 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1108 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1110 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1111 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1113 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1114 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1116 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1117 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1119 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1120 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1121 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1124 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1125 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1127 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1128 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1129 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1131 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1132 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1133 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1135 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1136 $(srcdir)/emulparams/elf32ppccommon.sh \
1137 $(srcdir)/emulparams/elf32ppc.sh \
1138 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1139 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1141 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1142 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1143 $(srcdir)/emulparams/elf32ppccommon.sh \
1144 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1145 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1147 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1148 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1149 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1150 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1152 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1153 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1154 $(srcdir)/emulparams/elf32ppccommon.sh \
1155 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1156 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1158 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1159 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1160 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1163 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1164 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1165 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1168 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1169 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1170 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1173 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1174 $(srcdir)/emulparams/elf32btsmipn32.sh \
1175 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1176 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1178 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1179 $(srcdir)/emulparams/elf32btsmipn32.sh \
1180 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1181 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1183 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1184 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1185 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1187 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1188 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1190 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1191 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1193 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1194 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1196 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1197 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1199 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1200 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1201 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1203 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1204 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1206 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1207 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1209 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1210 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1212 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1213 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1215 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1216 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1218 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1219 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1221 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1222 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1224 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1225 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1227 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1228 $(srcdir)/emulparams/elf32ppccommon.sh \
1229 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1230 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1232 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1233 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1234 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1235 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1237 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1238 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1239 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1240 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1242 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1243 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1244 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1245 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1247 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1248 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1249 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1250 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1252 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1253 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1254 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1255 $(srcdir)/emultempl/vxworks.em \
1256 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1258 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1259 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1261 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1262 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1264 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1265 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1267 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1268 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1269 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1271 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1272 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1273 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1275 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1276 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1277 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1279 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1280 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1282 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1283 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1285 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1286 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1287 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1289 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1290 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1291 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1293 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1294 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1295 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1297 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1298 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1299 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1301 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1302 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1303 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1304 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1306 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1307 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1309 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1310 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1312 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1313 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1315 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1316 $(srcdir)/emulparams/elf_i386.sh \
1317 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1319 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1320 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1322 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1323 $(srcdir)/emulparams/elf_i386.sh \
1324 $(srcdir)/emulparams/elf_nacl.sh \
1325 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1327 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1328 $(srcdir)/emulparams/solaris2.sh \
1329 $(srcdir)/emultempl/solaris2.em \
1330 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1332 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1333 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1334 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1336 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1337 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1339 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1340 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1342 egld960.c: $(srcdir)/emulparams/gld960.sh \
1343 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1345 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1346 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1348 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1349 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1351 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1352 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1354 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1355 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1357 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1358 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1360 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1361 $(srcdir)/emulparams/h8300elf.sh \
1362 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1364 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1365 $(srcdir)/emulparams/h8300elf_linux.sh \
1366 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1368 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1369 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1371 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1372 $(srcdir)/emulparams/h8300elf.sh \
1373 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1375 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1376 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1378 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1379 $(srcdir)/emulparams/h8300elf.sh \
1380 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1382 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1383 $(srcdir)/emulparams/h8300elf.sh \
1384 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1386 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1387 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1389 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1390 $(srcdir)/emulparams/h8300elf.sh \
1391 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1393 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1394 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1396 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1397 $(srcdir)/emulparams/h8300elf.sh \
1398 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1400 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1401 $(srcdir)/emulparams/h8300elf.sh \
1402 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1404 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1405 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1407 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1408 $(srcdir)/emulparams/h8300elf.sh \
1409 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1411 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1412 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1414 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1415 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1417 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1418 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1420 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1421 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1423 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1424 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1426 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1427 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1429 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1430 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1432 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1433 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1434 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1436 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1437 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1438 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1440 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1441 $(srcdir)/emulparams/hppaelf.sh \
1442 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1443 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1445 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1446 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1447 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1449 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1450 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1452 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1453 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1455 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1456 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1458 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1459 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1461 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1462 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1464 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1465 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1467 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1468 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1470 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1471 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1473 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1474 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1476 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1477 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1479 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1480 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1482 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1483 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1485 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1486 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1488 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1489 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1491 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1492 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1494 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1495 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1497 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1498 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1500 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1501 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1503 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1504 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1506 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1507 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1509 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1510 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1512 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1513 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1514 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1516 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1517 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1518 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1520 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1521 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1522 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1524 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1525 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1526 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1528 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1529 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1531 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1532 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1534 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1535 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1537 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1538 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1540 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1541 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1542 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1544 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1545 $(srcdir)/emulparams/m68kelf.sh \
1546 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1547 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1549 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1550 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1552 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1553 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1555 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1556 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1558 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1559 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1561 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1562 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1564 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1565 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1567 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1568 $(srcdir)/emulparams/mn10200.sh \
1569 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1571 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1572 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1573 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1575 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1576 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1577 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1579 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1580 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1581 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1583 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1584 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1585 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1587 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1588 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1589 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1591 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1592 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1593 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1595 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1596 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1597 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1599 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1600 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1601 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1603 enews.c: $(srcdir)/emulparams/news.sh \
1604 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1606 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1607 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1608 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1610 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1611 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1612 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1614 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1615 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1616 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1618 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1619 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1620 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1622 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1623 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1624 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1626 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1627 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1628 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1630 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1631 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1632 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1634 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1635 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1636 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1638 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1639 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1640 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1642 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1643 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1644 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1646 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1647 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1648 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1650 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1651 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1652 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1654 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1655 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1656 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1658 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1659 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1660 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1662 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1663 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1664 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1666 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1667 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1669 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1670 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1672 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1673 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1675 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1676 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1678 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1679 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1681 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1682 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1684 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1685 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1687 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1688 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1690 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1691 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1693 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1694 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1695 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1697 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1698 $(srcdir)/emulparams/score7_elf.sh \
1699 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1700 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1702 esh.c: $(srcdir)/emulparams/sh.sh \
1703 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1705 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1706 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1708 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1709 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1710 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1711 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1713 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1714 $(srcdir)/emulparams/shelf32.sh \
1715 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1716 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1717 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1719 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1720 $(srcdir)/emulparams/shelf32.sh \
1721 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1722 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1723 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1725 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1726 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1728 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1729 $(srcdir)/emulparams/shlelf_linux.sh \
1730 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1732 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1733 $(srcdir)/emulparams/shelf.sh \
1734 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1736 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1737 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1739 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1740 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1742 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1743 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1744 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1746 eshl.c: $(srcdir)/emulparams/shl.sh \
1747 $(srcdir)/emulparams/sh.sh \
1748 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1750 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1751 $(srcdir)/emulparams/shelf.sh \
1752 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1754 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1755 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1756 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1757 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1759 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1760 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1761 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1762 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1763 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1765 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1766 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1767 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1768 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1769 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1771 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1772 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1774 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1775 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1777 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1778 $(srcdir)/emulparams/shelf_nbsd.sh \
1779 $(srcdir)/emulparams/shelf.sh \
1780 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1782 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1783 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1785 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1786 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1787 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1790 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1791 $(srcdir)/emulparams/shelf.sh \
1792 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1794 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1795 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1797 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1798 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1800 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1801 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1803 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1804 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1806 est2000.c: $(srcdir)/emulparams/st2000.sh \
1807 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1809 esun3.c: $(srcdir)/emulparams/sun3.sh \
1810 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1812 esun4.c: $(srcdir)/emulparams/sun4.sh \
1813 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1815 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1816 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1818 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1819 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1821 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1822 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1824 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1825 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1827 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1828 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1830 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1831 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1833 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1834 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1836 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1837 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1839 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1840 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1842 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1843 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1845 evax.c: $(srcdir)/emulparams/vax.sh \
1846 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1848 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1849 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1851 evsta.c: $(srcdir)/emulparams/vsta.sh \
1852 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1854 ew65.c: $(srcdir)/emulparams/w65.sh \
1855 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1857 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1858 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1859 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1861 ez80.c: $(srcdir)/emulparams/z80.sh \
1862 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1863 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1865 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1866 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1868 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1869 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1871 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1872 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1874 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1875 $(srcdir)/emulparams/elf32_x86_64.sh \
1876 $(srcdir)/emulparams/elf_nacl.sh \
1877 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1879 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1880 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1882 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1883 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1884 $(srcdir)/emultempl/needrelax.em \
1885 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1887 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1888 $(srcdir)/emulparams/elf64_ia64.sh \
1889 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1890 $(srcdir)/emultempl/needrelax.em \
1891 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1893 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1894 $(srcdir)/emultempl/vms.em $(srcdir)/emultempl/elf-generic.em \
1895 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1897 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1898 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1900 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1901 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1903 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1904 $(srcdir)/emulparams/elf64_sparc.sh \
1905 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1907 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1908 $(srcdir)/emulparams/elf64_sparc.sh \
1909 $(srcdir)/emulparams/solaris2.sh \
1910 $(srcdir)/emultempl/solaris2.em \
1911 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1913 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1914 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1915 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1917 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1918 $(srcdir)/emulparams/elf64alpha.sh \
1919 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1920 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1922 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1923 $(srcdir)/emulparams/elf64alpha.sh \
1924 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1925 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1927 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1928 $(srcdir)/emulparams/elf64bmip-defs.sh \
1929 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1930 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1931 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1933 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1934 $(srcdir)/emulparams/elf64bmip-defs.sh \
1935 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1936 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1938 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1939 $(srcdir)/emulparams/elf64bmip-defs.sh \
1940 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1941 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1943 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1944 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1946 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1947 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1949 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1951 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1952 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1953 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1954 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1956 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1957 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1958 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1959 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1961 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1962 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1963 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1965 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1967 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1969 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1970 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1971 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1973 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1974 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1976 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1977 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1978 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1980 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1981 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1982 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1984 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1985 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1987 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1988 $(srcdir)/emulparams/elf_l1om.sh \
1989 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1991 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1992 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1994 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1995 $(srcdir)/emulparams/elf_k1om.sh \
1996 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1998 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1999 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2001 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
2002 $(srcdir)/emulparams/elf_x86_64.sh \
2003 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2005 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
2006 $(srcdir)/emulparams/elf_x86_64.sh \
2007 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2009 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
2010 $(srcdir)/emulparams/elf_x86_64.sh \
2011 $(srcdir)/emulparams/elf_nacl.sh \
2012 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2014 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
2015 $(srcdir)/emulparams/elf_x86_64.sh \
2016 $(srcdir)/emulparams/solaris2.sh \
2017 $(srcdir)/emultempl/solaris2.em \
2018 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2020 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
2021 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2023 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
2024 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
2025 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
2026 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
2028 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2029 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2031 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
2032 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2033 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2035 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
2036 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2037 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2039 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2040 $(srcdir)/emulparams/shelf64_nbsd.sh \
2041 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2042 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2045 # We need this for automake to use YLWRAP.
2046 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
2047 # Allow dependency tracking to work for these files, too.
2048 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
2050 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
2051 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
2053 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
2054 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
2055 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
2057 # Dependency tracking for the generated emulation files.
2058 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
2060 # This is the real libbfd.a created by libtool.
2061 TESTBFDLIB = @TESTBFDLIB@
2063 check-DEJAGNU: site.exp
2064 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2065 r=`pwd`; export r; \
2066 LC_ALL=C; export LC_ALL; \
2067 EXPECT=$(EXPECT); export EXPECT; \
2068 runtest=$(RUNTEST); \
2069 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2070 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2071 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
2072 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
2073 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2074 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2075 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
2076 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
2078 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2081 # Rules for testing by relinking ld itself.
2082 # A similar test is in the testsuite. This target is for ease of use
2085 ld-partial.@OBJEXT@: ld-new$(EXEEXT)
2086 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
2087 ld1$(EXEEXT): ld-partial.@OBJEXT@
2088 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2090 ld1-full$(EXEEXT): ld-new
2091 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2093 ld2$(EXEEXT): ld1$(EXEEXT)
2094 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2096 ld3$(EXEEXT): ld2$(EXEEXT)
2097 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2099 bootstrap: ld3$(EXEEXT)
2100 cmp ld2$(EXEEXT) ld3$(EXEEXT)
2104 # A test program for C++ constructors and destructors.
2105 # This test is now in the testsuite.
2107 #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2108 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2109 # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2112 # ./cdtest > cdtest.tmp
2113 # mv cdtest.tmp cdtest.out
2115 #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2116 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2117 # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2119 #cdtest-ur: cdtest-ur.@OBJEXT@
2120 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2123 #cdtest-ur.out: cdtest-ur
2124 # ./cdtest-ur > cdtest-ur.tmp
2125 # mv cdtest-ur.tmp cdtest-ur.out
2127 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2128 # diff $(srcdir)/cdtest.exp cdtest.out
2129 # diff $(srcdir)/cdtest.exp cdtest-ur.out
2131 #.PHONY: check-cdtest
2133 # END OF CHECK TARGETS
2136 # Build a dummy plugin using libtool.
2139 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la libldtestplug3.la
2140 libldtestplug_la_SOURCES = testplug.c
2141 libldtestplug_la_CFLAGS= -g -O2
2142 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2143 libldtestplug2_la_SOURCES = testplug2.c
2144 libldtestplug2_la_CFLAGS= -g -O2
2145 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
2146 libldtestplug3_la_SOURCES = testplug3.c
2147 libldtestplug3_la_CFLAGS= -g -O2
2148 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
2151 # DOCUMENTATION TARGETS
2152 # Manual configuration file; not usually attached to normal configuration,
2153 # because almost all configs use "gen" version of manual.
2154 # Set DOCVER above to change.
2155 configdoc.texi: ${DOCVER}-doc.texi
2156 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2157 chmod u+w ./configdoc.texi
2159 # Build the man page from the texinfo file
2160 # The sed command removes the no-adjust Nroff command so that
2161 # the man output looks standard.
2162 ld.1: $(srcdir)/ld.texinfo configdoc.texi
2164 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2165 -($(POD2MAN) ld.pod | \
2166 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2167 mv -f $@.T$$$$ $@) || \
2168 (rm -f $@.T$$$$ && exit 1)
2171 MAINTAINERCLEANFILES = configdoc.texi ld.1
2173 # We want to reconfigure if configure.host or configure.tgt changes.
2174 # development.sh is used to determine -Werror default.
2175 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2176 $(BFDDIR)/development.sh
2178 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2179 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2182 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2184 .PHONY: install-exec-local install-data-local
2186 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2187 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2188 n=`echo $(installed_linker) | sed '$(transform)'`; \
2189 if test "$(bindir)" != "$(tooldir)/bin"; then \
2190 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2191 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2192 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2194 if test "x$(install_as_default)" = "xyes"; then \
2195 ld=`echo ld | sed '$(transform)'`; \
2196 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2197 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2198 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2199 if test "$(bindir)" != "$(tooldir)/bin"; then \
2200 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2201 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2202 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2207 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2208 for f in ldscripts/* ; do \
2209 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2212 # Stuff that should be included in a distribution. The diststuff
2213 # target is run by the taz target in ../Makefile.in.
2214 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2215 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2216 diststuff: info $(EXTRA_DIST)
2218 # Both info (ld.info) and ld.1 depend on configdoc.texi.
2219 # But info isn't a direct target. Make info-recursive to depend on
2220 # ld.1 to support parallel build.
2221 info-recursive: ld.1
2223 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2227 MAINTAINERCLEANFILES += ld.info
2229 # Automake 1.9 will only build info files in the objdir if they are
2230 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
2231 # though, so we use a bogus condition.
2233 DISTCLEANFILES += ld.info