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