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