1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
4 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
5 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
9 tooldir = $(exec_prefix)/$(target_alias)
11 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
13 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
15 # Automake 1.10+ disables lex and yacc output file regeneration if
16 # maintainer mode is disabled. Avoid this.
20 WARN_CFLAGS = @WARN_CFLAGS@
21 NO_WERROR = @NO_WERROR@
22 AM_CFLAGS = $(WARN_CFLAGS)
24 # We put the scripts in the directory $(scriptdir)/ldscripts.
25 # We can't put the scripts in $(datadir) because the SEARCH_DIR
26 # directives need to be different for native and cross linkers.
27 scriptdir = $(tooldir)/lib
30 EMULATION_OFILES = @EMULATION_OFILES@
31 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
33 # Search path to override the default search path for -lfoo libraries.
34 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
35 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
36 # a cross-linker, in which case the default is empty. See genscripts.sh.)
37 # Otherwise, they are replaced with the ones given in LIB_PATH,
38 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
39 # when the linker is configured via the --with-lib-path configure switch.
42 BASEDIR = $(srcdir)/..
43 BFDDIR = $(BASEDIR)/bfd
44 INCDIR = $(BASEDIR)/include
46 # What version of the manual to build
49 # Options to extract the man page from ld.texinfo
52 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
54 POD2MAN = pod2man --center="GNU Development Tools" \
55 --release="binutils-$(VERSION)" --section=1
57 #stuff for self hosting (can be overridden in config file).
58 HOSTING_CRT0 = @HOSTING_CRT0@
59 HOSTING_LIBS = @HOSTING_LIBS@
60 HOSTING_EMU = -m $(EMUL)
62 # Setup the testing framework, if you have one
68 if [ -f $$r/../gcc/xgcc ] ; then \
69 if [ -f $$r/../newlib/Makefile ] ; then \
70 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
72 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
75 if [ "@host@" = "@target@" ] ; then \
78 echo gcc | sed '$(transform)'; \
84 if [ -f $$r/../gcc/g++ ] ; then \
85 if [ -f $$r/../newlib/Makefile ] ; then \
86 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
88 echo $$r/../gcc/g++ -B$$r/../gcc/; \
91 if [ "@host@" = "@target@" ] ; then \
94 echo g++ | sed '$(transform)'; \
98 transform = s/^ld-new$$/ld/;@program_transform_name@
100 info_TEXINFOS = ld.texinfo
101 ld_TEXINFOS = configdoc.texi
102 noinst_TEXINFOS = ldint.texinfo
105 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
106 -I $(top_srcdir)/../libiberty
107 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
108 -I $(top_srcdir)/../libiberty
110 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
111 @INCINTL@ $(HDEFINES) $(CFLAGS) \
112 -DLOCALEDIR="\"$(datadir)/locale\""
114 BFDLIB = ../bfd/libbfd.la
115 LIBIBERTY = ../libiberty/libiberty.a
131 earmelf_linux_eabi.o \
133 earmelfb_linux_eabi.o \
166 eelf32_sparc_vxworks.o \
180 eelf32ebmipvxworks.o \
182 eelf32elmipvxworks.o \
202 eelf32mipswindiss.o \
223 eelf_i386_vxworks.o \
400 etic3xcoff_onchip.o \
414 ALL_64_EMULATIONS = \
428 eelf64_sparc_fbsd.o \
442 ALL_EMUL_EXTRA_OFILES = \
447 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
448 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
449 mri.c ldcref.c pe-dll.c pep-dll.c
451 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
452 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
453 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h elf-hints-local.h
455 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
456 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
458 # Require an early dependency on the generated headers, as the dependency
459 # tracking will not cause them to be built beforehand.
460 BUILT_SOURCES = $(GENERATED_HFILES)
462 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
463 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
464 ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
466 STAGESTUFF = *.o ldscripts/* e*.c
468 # Disable -Werror, if it has been enabled, since old versions of bison/
469 # yacc will produce working code which contain compile time warnings.
472 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
473 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
476 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
477 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
479 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
484 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldlex.c || echo $(srcdir)/`ldlex.c $(NO_WERROR)
485 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
488 source='ldlex.c' object='$@' libtool=no @AMDEPBACKSLASH@
489 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
491 $(COMPILE) -c `test -f ldlex.c || echo $(srcdir)/`ldlex.c $(NO_WERROR)
494 deffilep.o: deffilep.c
496 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
497 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
500 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
501 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
503 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
506 # At the moment this is just a list of those emulation template files
507 # that contain internationalised strings.
508 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
510 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
512 po/POTFILES.in: @MAINT@ Makefile
513 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
514 && mv tmp $(srcdir)/po/POTFILES.in
516 ldmain.o: ldmain.c config.status
518 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
519 -DDEFAULT_EMULATION='"$(EMUL)"' \
520 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
521 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
523 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
526 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
527 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
529 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
530 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
531 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
535 ldfile.o: ldfile.c config.status
537 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
538 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
540 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
543 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
544 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
546 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
547 -DTOOLBINDIR='"$(tooldir)/bin"' \
551 eelf32_spu.o: eelf32_spu.c
553 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
554 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
555 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
558 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
559 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
561 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
565 ldemul-list.h: Makefile
566 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
567 for f in `echo " " ${EMULATION_OFILES} "" \
568 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
569 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
572 echo "#define EMULATION_LIST \\";\
573 for f in `echo " " ${EMULATION_OFILES} "" \
574 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
575 echo " &ld_$${f}_emulation, \\"; \
577 echo " 0") >ldemul-tmp.h
578 mv ldemul-tmp.h ldemul-list.h
580 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
581 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
583 # These all start with e so 'make clean' can find them.
585 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@
586 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
587 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em
588 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em
592 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
593 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
594 ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
595 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
596 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
597 ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
598 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
599 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
600 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
601 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
602 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
603 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
604 ealpha.c: $(srcdir)/emulparams/alpha.sh \
605 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
606 ${GENSCRIPTS} alpha "$(tdir_alpha)"
607 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
608 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
609 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
610 earmelf.c: $(srcdir)/emulparams/armelf.sh \
611 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
612 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
613 ${GENSCRIPTS} armelf "$(tdir_armelf)"
614 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
615 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
616 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
617 ${GENSCRIPTS} armelfb "$(tdir_armelfb)"
618 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
619 $(srcdir)/emulparams/armelf.sh \
620 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
621 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
622 ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
623 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
624 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
625 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
626 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
627 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
628 $(srcdir)/emulparams/armelf_linux.sh \
629 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
630 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
631 ${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)"
632 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
633 $(srcdir)/emulparams/armelf_linux.sh \
634 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
635 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
636 ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
637 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
638 $(srcdir)/emulparams/armelf_linux_eabi.sh \
639 $(srcdir)/emulparams/armelf_linux.sh \
640 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
641 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
642 ${GENSCRIPTS} armelfb_linux_eabi "$(tdir_armelfb_linux_abi)"
643 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
644 $(srcdir)/emulparams/armelf.sh \
645 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
646 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
647 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
648 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
649 $(srcdir)/emulparams/armelf_nbsd.sh \
650 $(srcdir)/emulparams/armelf.sh \
651 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
652 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
653 ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
654 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
655 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
656 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
657 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
659 ${GENSCRIPTS} armelf_vxworks "$(tdir_armelf)"
660 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
661 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
662 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
663 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
664 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
665 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
666 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
667 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
668 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
669 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
670 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
671 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
672 earmnto.c: $(srcdir)/emulparams/armnto.sh \
673 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
674 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
675 ${GENSCRIPTS} armnto "$(tdir_armnto)"
676 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
677 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
678 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
679 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
680 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
681 ${GENSCRIPTS} arm_wince_pe "$(tdir_armpe)"
682 earmpe.c: $(srcdir)/emulparams/armpe.sh \
683 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
684 ${GENSCRIPTS} armpe "$(tdir_armpe)"
685 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
686 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
687 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
689 ${GENSCRIPTS} armsymbian "$(tdir_armelf)"
690 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
691 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
693 ${GENSCRIPTS} avr2 "$(tdir_avr2)"
694 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
695 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
697 ${GENSCRIPTS} avr1 "$(tdir_avr2)"
698 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
699 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
701 ${GENSCRIPTS} avr25 "$(tdir_avr2)"
702 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
703 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
705 ${GENSCRIPTS} avr3 "$(tdir_avr2)"
706 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
707 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
709 ${GENSCRIPTS} avr31 "$(tdir_avr2)"
710 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
711 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
713 ${GENSCRIPTS} avr35 "$(tdir_avr2)"
714 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
715 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
717 ${GENSCRIPTS} avr4 "$(tdir_avr2)"
718 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
719 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
721 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
722 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
723 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
725 ${GENSCRIPTS} avr51 "$(tdir_avr2)"
726 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
727 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
729 ${GENSCRIPTS} avr6 "$(tdir_avr2)"
730 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
731 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
732 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
733 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
734 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
735 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
736 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
737 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
738 ${GENSCRIPTS} crisaout "$(tdir_cris)"
739 ecriself.c: $(srcdir)/emulparams/criself.sh \
740 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
741 ${GENSCRIPTS} criself "$(tdir_cris)"
742 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
743 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
744 ${GENSCRIPTS} crislinux "$(tdir_cris)"
745 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
746 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
747 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
748 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
749 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
750 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
751 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
752 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
753 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
754 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
755 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
756 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
757 edelta68.c: $(srcdir)/emulparams/delta68.sh \
758 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
759 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
760 eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \
762 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
763 ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin
764 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh $(srcdir)/emulparams/bfin.sh \
766 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
767 ${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd
768 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
769 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
770 ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
771 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
772 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
773 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
774 ${GENSCRIPTS} elf32xc16x "$(tdir_xc16x)"
775 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
776 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
777 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
778 ${GENSCRIPTS} elf32xc16xl "$(tdir_xc16xl)"
779 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
780 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
781 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
782 ${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)"
783 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
784 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
785 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
786 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
787 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
788 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
789 ${GENSCRIPTS} elf32am33lin "$(tdir_mn10300)"
790 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
791 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
792 ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
793 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
794 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
795 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
796 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
797 ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
798 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
799 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
800 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
801 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
802 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
803 ${GENSCRIPTS} elf32frv "$(tdir_frv)"
804 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
805 $(srcdir)/emulparams/elf32frv.sh \
806 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
807 ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
808 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
809 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
810 ${GENSCRIPTS} elf32moxie "$(tdir_moxie)"
811 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
812 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
813 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
814 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
815 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
816 ${GENSCRIPTS} elf32mep "$(tdir_mep)"
817 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
818 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
819 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
820 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
821 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
822 ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
823 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
824 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
825 ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
826 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
827 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
828 ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
829 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
830 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
831 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
832 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
833 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
834 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
835 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
836 ${GENSCRIPTS} elf32_sparc_vxworks "$(tdir_elf32_sparc_vxworks)"
837 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
838 $(srcdir)/emultempl/spu_ovl.o_c $(srcdir)/emultempl/spu_icache.o_c \
840 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
841 ${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)"
842 $(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
843 if ../gas/as-new --version \
844 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
845 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
846 ../gas/as-new -o spu_ovl.o spu_ovl.s; \
847 ../binutils/bin2c <spu_ovl.o >$@; \
849 $(srcdir)/emultempl/spu_icache.o_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
850 if ../gas/as-new --version \
851 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
852 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
853 ../gas/as-new -o spu_icache.o spu_icache.s; \
854 ../binutils/bin2c <spu_icache.o >$@; \
856 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
857 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
858 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
859 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
860 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
861 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
862 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
863 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
864 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
865 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
866 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
867 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/cr16elf.em \
868 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
869 ${GENSCRIPTS} elf32cr16 "$(tdir_elf32crx)"
870 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
872 $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
873 ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
874 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
875 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
876 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
877 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
878 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
879 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
880 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
881 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
882 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
883 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
884 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
885 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
886 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
887 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
888 ${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
889 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
890 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
891 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
892 ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
893 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
894 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
895 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
897 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
898 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
899 $(srcdir)/emulparams/elf32btsmipn32.sh \
900 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
901 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
902 ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
903 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
904 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
905 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
906 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
907 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
908 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
909 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
910 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
911 ${GENSCRIPTS} elf32ebmipvxworks "$(tdir_elf32ebmipvxworks)"
912 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
913 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
914 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
916 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
917 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
918 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
919 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
920 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
921 ${GENSCRIPTS} elf32elmipvxworks "$(tdir_elf32elmipvxworks)"
922 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
923 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
924 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
925 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
926 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
927 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
928 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
929 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
931 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
932 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
933 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
934 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
935 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
936 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
937 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
938 ${GENSCRIPTS} elf32mb_linux "$(tdir_microblaze)"
939 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
940 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
941 ${GENSCRIPTS} elf32microblaze "$(tdir_microblaze)"
942 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
943 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
944 ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
945 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
946 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
947 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
948 ${GENSCRIPTS} elf32m32c "$(tdir_m32c)"
949 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
950 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
951 ${GENSCRIPTS} elf32mt "$(tdir_mt)"
952 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
953 $(srcdir)/emulparams/elf32ppccommon.sh \
954 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
956 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
957 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
958 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
959 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
960 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
962 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
963 ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
964 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
965 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
966 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
968 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
969 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
970 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
971 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
972 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
974 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
975 ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
976 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
977 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
978 ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
979 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
980 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
981 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
982 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
983 ${GENSCRIPTS} elf32ppcvxworks "$(tdir_elf32ppcvxworks)"
984 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
985 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
986 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
988 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
989 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
990 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
991 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
992 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
993 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
995 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
996 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
997 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
998 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
999 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1001 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1002 ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
1003 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1004 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1005 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1007 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1008 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
1009 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1010 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1011 $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1013 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1014 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
1015 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1017 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1018 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
1019 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1020 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1022 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1023 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
1024 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1025 $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1026 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1027 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1028 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1029 ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1030 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1031 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1032 ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
1033 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1034 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1035 ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
1036 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1037 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1038 ${GENSCRIPTS} elf32lm32 "$(tdir_elf32lm32)"
1039 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1040 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1041 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1042 ${GENSCRIPTS} elf32lm32fd "$(tdir_elf32lm32fd)"
1043 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1044 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1045 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1046 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
1047 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1048 $(srcdir)/emulparams/elf64alpha.sh \
1049 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1050 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1051 ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
1052 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1053 $(srcdir)/emulparams/elf64alpha.sh \
1054 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1055 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1056 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
1057 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1058 $(srcdir)/emulparams/hppa64linux.sh \
1059 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1060 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
1061 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1062 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1063 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
1064 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1065 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1066 $(srcdir)/emultempl/needrelax.em \
1067 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1068 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
1069 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1070 $(srcdir)/emulparams/elf64_ia64.sh \
1071 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1072 $(srcdir)/emultempl/needrelax.em \
1073 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1074 ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
1075 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1076 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1077 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
1078 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1079 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1080 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
1081 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1082 $(srcdir)/emulparams/elf64_sparc.sh \
1083 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1084 ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
1085 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1086 $(srcdir)/emulparams/elf64bmip-defs.sh \
1087 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1088 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1089 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1090 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
1091 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1092 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1093 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1094 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
1095 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1096 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1097 $(srcdir)/emultempl/mmo.em \
1098 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1099 ${GENSCRIPTS} mmo "$(tdir_mmo)"
1100 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1101 $(srcdir)/emulparams/elf64bmip-defs.sh \
1102 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1103 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1104 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
1105 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1106 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1107 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1108 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1109 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
1110 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1111 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1112 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
1113 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1114 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1115 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
1116 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1117 $(srcdir)/emulparams/elf_x86_64.sh \
1118 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1119 ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
1120 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1121 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1122 ${GENSCRIPTS} elf_l1om "$(tdir_elf_l1om)"
1123 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1124 $(srcdir)/emulparams/elf_l1om.sh \
1125 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1126 ${GENSCRIPTS} elf_l1om_fbsd "$(tdir_elf_l1om_fbsd)"
1127 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1128 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1129 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
1130 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1131 $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1132 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
1133 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1134 $(srcdir)/emulparams/elf_i386.sh \
1135 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1136 ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
1137 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1138 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1139 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
1140 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1141 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1142 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1143 ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)"
1144 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1145 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1146 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
1147 egld960.c: $(srcdir)/emulparams/gld960.sh \
1148 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1149 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
1150 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1151 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1152 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
1153 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1154 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1155 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
1156 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1157 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1158 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
1159 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1160 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1161 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1162 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1163 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1164 ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
1165 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1166 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1167 ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
1168 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1169 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1170 ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
1171 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1172 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1173 ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
1174 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1175 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1176 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
1177 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1178 $(srcdir)/emulparams/h8300elf.sh \
1179 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1180 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
1181 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1182 $(srcdir)/emulparams/h8300elf.sh \
1183 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1184 ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
1185 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1186 $(srcdir)/emulparams/h8300elf.sh \
1187 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1188 ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
1189 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1190 $(srcdir)/emulparams/h8300elf.sh \
1191 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1192 ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
1193 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1194 $(srcdir)/emulparams/h8300elf.sh \
1195 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1196 ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
1197 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1198 $(srcdir)/emulparams/h8300elf.sh \
1199 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1200 ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
1201 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1202 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1203 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
1204 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1205 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1206 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
1207 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1208 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1209 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1210 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1211 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1212 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1213 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1214 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1215 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
1216 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1217 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1218 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
1219 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1220 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1221 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
1222 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1223 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1224 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1225 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
1226 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1227 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1228 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1229 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
1230 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1231 $(srcdir)/emulparams/hppaelf.sh \
1232 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1233 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1234 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1235 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1236 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1237 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1238 ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
1239 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1240 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1241 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
1242 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1243 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1244 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
1245 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1246 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1247 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
1248 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1249 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1250 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1251 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1252 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1253 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
1254 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1255 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1256 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1257 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1258 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1259 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1260 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1261 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1262 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1263 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1264 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1265 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1266 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1267 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1268 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1269 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1270 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1271 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1272 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1273 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1274 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1275 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1276 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1277 ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1278 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1279 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1280 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1281 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1282 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1283 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1284 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1285 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1286 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1287 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1288 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1289 ${GENSCRIPTS} i386pep "$(tdir_i386pe)"
1290 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1291 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1292 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1293 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1294 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1295 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1296 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1297 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1298 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1299 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1300 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1301 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1302 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1303 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1304 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1305 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1306 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1307 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1308 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1309 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1310 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1311 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1312 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1313 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1314 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1315 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1316 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1317 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1318 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1319 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1320 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1321 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1322 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1323 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1324 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1325 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1326 $(srcdir)/emulparams/m68kelf.sh \
1327 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1328 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1329 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1330 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1331 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1332 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1333 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1334 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1335 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1336 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1337 $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1338 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1339 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1340 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1341 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1342 emaxqcoff.c: $(srcdir)/emulparams/maxqcoff.sh \
1343 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/maxqcoff.sc ${GEN_DEPENDS}
1344 ${GENSCRIPTS} maxqcoff "$(tdir_maxqcoff)"
1345 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1346 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1347 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1348 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh $(srcdir)/emultempl/generic.em \
1349 $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1350 ${GENSCRIPTS} mipsbig "$(tdir_mipsbig)"
1351 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh $(srcdir)/emultempl/generic.em \
1352 $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1353 ${GENSCRIPTS} mipsbsd "$(tdir_mipsbsd)"
1354 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh $(srcdir)/emultempl/generic.em \
1355 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
1357 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1358 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh $(srcdir)/emultempl/generic.em \
1359 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
1361 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1362 emipslit.c: $(srcdir)/emulparams/mipslit.sh $(srcdir)/emultempl/generic.em \
1363 $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1364 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1365 emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
1366 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1367 ${GENSCRIPTS} mipslnews "$(tdir_mipslnews)"
1368 emipspe.c: $(srcdir)/emulparams/mipspe.sh $(srcdir)/emultempl/pe.em \
1369 $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1370 ${GENSCRIPTS} mipspe "$(tdir_mipspe)"
1371 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1372 $(srcdir)/emulparams/mn10200.sh \
1373 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1374 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1375 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1376 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1377 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1378 emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
1379 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1381 ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
1382 emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
1383 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1385 ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
1386 emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
1387 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1389 ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
1390 emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
1391 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1393 ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
1394 emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
1395 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1397 ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
1398 emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
1399 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1401 ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
1402 emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
1403 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1405 ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
1406 emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
1407 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1409 ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
1410 emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
1411 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1413 ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
1414 emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
1415 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1417 ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
1418 emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
1419 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1421 ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
1422 emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
1423 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1425 ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
1426 emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
1427 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1429 ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
1430 emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
1431 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1433 ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
1434 emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
1435 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1437 ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
1438 emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
1439 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1441 ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
1442 emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
1443 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1445 ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
1446 emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
1447 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1449 ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
1450 emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
1451 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1453 ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
1454 emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
1455 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1457 ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
1458 emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
1459 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1461 ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
1462 emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
1463 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1465 ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
1466 emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
1467 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1469 ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
1470 emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
1471 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1473 ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
1474 emsp430x1610.c: $(srcdir)/emulparams/msp430all.sh \
1475 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1477 ${GENSCRIPTS} msp430x1610 "$(tdir_msp430x1610)" msp430all
1478 emsp430x1611.c: $(srcdir)/emulparams/msp430all.sh \
1479 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1481 ${GENSCRIPTS} msp430x1611 "$(tdir_msp430x1611)" msp430all
1482 emsp430x1612.c: $(srcdir)/emulparams/msp430all.sh \
1483 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1485 ${GENSCRIPTS} msp430x1612 "$(tdir_msp430x1612)" msp430all
1486 emsp430x2101.c: $(srcdir)/emulparams/msp430all.sh \
1487 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1489 ${GENSCRIPTS} msp430x2101 "$(tdir_msp430x2101)" msp430all
1490 emsp430x2111.c: $(srcdir)/emulparams/msp430all.sh \
1491 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1493 ${GENSCRIPTS} msp430x2111 "$(tdir_msp430x2111)" msp430all
1494 emsp430x2121.c: $(srcdir)/emulparams/msp430all.sh \
1495 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1497 ${GENSCRIPTS} msp430x2121 "$(tdir_msp430x2121)" msp430all
1498 emsp430x2131.c: $(srcdir)/emulparams/msp430all.sh \
1499 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1501 ${GENSCRIPTS} msp430x2131 "$(tdir_msp430x2131)" msp430all
1502 emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
1503 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1505 ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
1506 emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
1507 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1509 ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
1510 emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
1511 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1513 ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
1514 emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
1515 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1517 ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
1518 emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
1519 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1521 ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
1522 emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
1523 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1525 ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
1526 emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
1527 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1529 ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
1530 emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
1531 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1533 ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
1534 emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
1535 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1537 ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
1538 emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
1539 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1541 ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
1542 emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
1543 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1545 ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
1546 emsp430x415.c: $(srcdir)/emulparams/msp430all.sh \
1547 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1549 ${GENSCRIPTS} msp430x415 "$(tdir_msp430x415)" msp430all
1550 emsp430x417.c: $(srcdir)/emulparams/msp430all.sh \
1551 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1553 ${GENSCRIPTS} msp430x417 "$(tdir_msp430x417)" msp430all
1554 emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
1555 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1557 ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
1558 emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
1559 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1561 ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
1562 emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
1563 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1565 ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
1566 emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
1567 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1569 ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
1570 emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
1571 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1573 ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
1574 emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
1575 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1577 ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
1578 emsp430xG437.c: $(srcdir)/emulparams/msp430all.sh \
1579 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1581 ${GENSCRIPTS} msp430xG437 "$(tdir_msp430xG437)" msp430all
1582 emsp430xG438.c: $(srcdir)/emulparams/msp430all.sh \
1583 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1585 ${GENSCRIPTS} msp430xG438 "$(tdir_msp430xG438)" msp430all
1586 emsp430xG439.c: $(srcdir)/emulparams/msp430all.sh \
1587 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1589 ${GENSCRIPTS} msp430xG439 "$(tdir_msp430xG439)" msp430all
1590 emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
1591 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1593 ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
1594 emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
1595 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1597 ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
1598 emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
1599 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1601 ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
1602 emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
1603 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1605 ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
1606 emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
1607 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1609 ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
1610 emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
1611 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1613 ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
1614 enews.c: $(srcdir)/emulparams/news.sh \
1615 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1616 ${GENSCRIPTS} news "$(tdir_news)"
1617 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1618 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1619 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1620 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1621 eor32.c: $(srcdir)/emulparams/or32.sh \
1622 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1623 ${GENSCRIPTS} or32 "$(tdir_or32)"
1624 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1625 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1626 ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1627 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1628 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1629 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1630 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1631 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1632 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1633 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1634 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1635 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1636 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1637 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1638 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1639 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1640 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1641 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1642 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1643 $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1644 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1645 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1646 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1647 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1648 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1649 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1650 ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
1651 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1652 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1653 ${GENSCRIPTS} riscix "$(tdir_riscix)"
1654 escore3_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1655 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1656 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1657 ${GENSCRIPTS} score3_elf "$(tdir_score3_elf)" scoreelf
1658 escore7_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1659 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1660 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1661 ${GENSCRIPTS} score7_elf "$(tdir_score7_elf)" scoreelf
1662 esh.c: $(srcdir)/emulparams/sh.sh \
1663 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1664 ${GENSCRIPTS} sh "$(tdir_sh)"
1665 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1666 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1667 ${GENSCRIPTS} shelf "$(tdir_shelf)"
1668 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1669 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1670 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1671 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1672 ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1673 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1674 $(srcdir)/emulparams/shelf32.sh \
1675 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1676 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1677 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1678 ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
1679 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1680 $(srcdir)/emulparams/shelf32.sh \
1681 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1682 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1683 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1684 ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1685 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1686 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1687 ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1688 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1689 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1690 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1691 ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
1692 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1693 $(srcdir)/emulparams/shlelf_linux.sh \
1694 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1695 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1696 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1697 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1698 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1699 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1700 $(srcdir)/emulparams/shelf.sh \
1701 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1702 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1703 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1704 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1705 ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
1706 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1707 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1708 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1709 ${GENSCRIPTS} shelf_vxworks "$(tdir_shelf_vxworks)"
1710 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1711 $(srcdir)/emulparams/shelf_nbsd.sh \
1712 $(srcdir)/emulparams/shelf.sh \
1713 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1714 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1715 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1716 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1717 ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
1718 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1719 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1720 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1722 ${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)"
1723 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1724 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1725 ${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)"
1726 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1727 $(srcdir)/emulparams/shelf.sh \
1728 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1729 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1730 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1731 $(srcdir)/emulparams/shelf.sh \
1732 $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1733 ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
1734 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1735 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1736 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1737 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1738 ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1739 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1740 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1741 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1742 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1743 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1744 ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
1745 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1746 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1747 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1748 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1749 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1750 ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1751 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1752 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1753 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1754 ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1755 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1756 $(srcdir)/emulparams/shelf64_nbsd.sh \
1757 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1758 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1759 ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1760 eshl.c: $(srcdir)/emulparams/shl.sh \
1761 $(srcdir)/emulparams/sh.sh \
1762 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1763 ${GENSCRIPTS} shl "$(tdir_shl)"
1764 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1765 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1766 ${GENSCRIPTS} shpe "$(tdir_shl)"
1767 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1768 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1769 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1770 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1771 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1772 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1773 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1774 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1775 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1776 est2000.c: $(srcdir)/emulparams/st2000.sh \
1777 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1778 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1779 esun3.c: $(srcdir)/emulparams/sun3.sh \
1780 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1781 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1782 esun4.c: $(srcdir)/emulparams/sun4.sh \
1783 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1784 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1785 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1786 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1787 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1788 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1789 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1790 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1791 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1792 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1793 ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
1794 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1795 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1796 ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
1797 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1798 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1799 ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
1800 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1801 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1802 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1803 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1804 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1805 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1806 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1807 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1808 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1809 evax.c: $(srcdir)/emulparams/vax.sh \
1810 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1811 ${GENSCRIPTS} vax "$(tdir_vax)"
1812 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1813 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1814 ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1815 evsta.c: $(srcdir)/emulparams/vsta.sh \
1816 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1817 ${GENSCRIPTS} vsta "$(tdir_vsta)"
1818 ev850.c: $(srcdir)/emulparams/v850.sh \
1819 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1820 ${GENSCRIPTS} v850 "$(tdir_v850)"
1821 ew65.c: $(srcdir)/emulparams/w65.sh \
1822 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1823 ${GENSCRIPTS} w65 "$(tdir_w65)"
1824 ez80.c: $(srcdir)/emulparams/z80.sh \
1825 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1826 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1827 ${GENSCRIPTS} z80 "$(tdir_z80)"
1828 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1829 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1830 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1831 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1832 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1833 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1835 # We need this for automake to use YLWRAP.
1836 EXTRA_ld_new_SOURCES = deffilep.y
1837 # Allow dependency tracking to work for these files, too.
1838 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1840 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1841 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
1842 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1843 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1845 # Dependency tracking for the generated emulation files.
1846 EXTRA_ld_new_SOURCES += $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c)
1848 # This is the real libbfd.a created by libtool.
1849 TESTBFDLIB = @TESTBFDLIB@
1851 check-DEJAGNU: site.exp
1852 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1853 r=`pwd`; export r; \
1854 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
1855 EXPECT=$(EXPECT); export EXPECT; \
1856 runtest=$(RUNTEST); \
1857 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1858 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1859 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1860 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1861 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1862 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1863 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1864 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1866 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1869 # Rules for testing by relinking ld itself.
1870 # A similar test is in the testsuite. This target is for ease of use
1873 ld-partial.o: ld-new$(EXEEXT)
1874 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
1875 ld1$(EXEEXT): ld-partial.o
1876 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1878 ld1-full$(EXEEXT): ld-new
1879 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1881 ld2$(EXEEXT): ld1$(EXEEXT)
1882 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1884 ld3$(EXEEXT): ld2$(EXEEXT)
1885 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1887 bootstrap: ld3$(EXEEXT)
1888 cmp ld2$(EXEEXT) ld3$(EXEEXT)
1892 # A test program for C++ constructors and destructors.
1893 # This test is now in the testsuite.
1895 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1896 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1897 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
1900 # ./cdtest > cdtest.tmp
1901 # mv cdtest.tmp cdtest.out
1903 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1904 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
1905 # cdtest-bar.o cdtest-foo.o
1907 #cdtest-ur: cdtest-ur.o
1908 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1911 #cdtest-ur.out: cdtest-ur
1912 # ./cdtest-ur > cdtest-ur.tmp
1913 # mv cdtest-ur.tmp cdtest-ur.out
1915 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1916 # diff $(srcdir)/cdtest.exp cdtest.out
1917 # diff $(srcdir)/cdtest.exp cdtest-ur.out
1919 #.PHONY: check-cdtest
1921 # END OF CHECK TARGETS
1923 # DOCUMENTATION TARGETS
1924 # Manual configuration file; not usually attached to normal configuration,
1925 # because almost all configs use "gen" version of manual.
1926 # Set DOCVER above to change.
1927 configdoc.texi: ${DOCVER}-doc.texi
1928 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1929 chmod u+w ./configdoc.texi
1931 # Build the man page from the texinfo file
1932 # The sed command removes the no-adjust Nroff command so that
1933 # the man output looks standard.
1934 ld.1: $(srcdir)/ld.texinfo configdoc.texi
1936 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1937 -($(POD2MAN) ld.pod | \
1938 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1939 mv -f $@.T$$$$ $@) || \
1940 (rm -f $@.T$$$$ && exit 1)
1943 MAINTAINERCLEANFILES = configdoc.texi ld.1
1945 # We want to reconfigure if configure.host or configure.tgt changes. We
1946 # extract version from bfd/configure.in, so we must depend on that also.
1947 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
1948 $(srcdir)/../bfd/configure.in
1950 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1951 ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
1954 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.o spu_icache.s spu_icache.o
1956 .PHONY: install-exec-local install-data-local
1958 install-exec-local: ld-new$(EXEEXT)
1959 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
1960 n=`echo ld | sed '$(transform)'`; \
1961 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1962 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1963 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1964 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1968 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1969 for f in ldscripts/*; do \
1970 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1973 # Stuff that should be included in a distribution. The diststuff
1974 # target is run by the taz target in ../Makefile.in.
1975 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.o_c \
1976 emultempl/spu_icache.o_c deffilep.c deffilep.h $(man_MANS)
1977 diststuff: info $(EXTRA_DIST)
1979 # Both info (ld.info) and ld.1 depend on configdoc.texi.
1980 # But info isn't a direct target. Make info-recursive to depend on
1981 # ld.1 to support parallel build.
1982 info-recursive: ld.1
1984 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
1988 MAINTAINERCLEANFILES += ld.info
1990 # Automake 1.9 will only build info files in the objdir if they are
1991 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
1992 # though, so we use a bogus condition.
1994 DISTCLEANFILES += ld.info