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