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