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