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