1 ## Process this file with automake to generate Makefile.in
3 ## FIXME: work around apparent automake bug.
6 AUTOMAKE_OPTIONS = cygnus dejagnu
10 tooldir = $(exec_prefix)/$(target_alias)
12 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
14 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
16 WARN_CFLAGS = @WARN_CFLAGS@
17 AM_CFLAGS = $(WARN_CFLAGS)
19 # We put the scripts in the directory $(scriptdir)/ldscripts.
20 # We can't put the scripts in $(datadir) because the SEARCH_DIR
21 # directives need to be different for native and cross linkers.
22 scriptdir = $(tooldir)/lib
25 EMULATION_OFILES = @EMULATION_OFILES@
26 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
28 # Search path to override the default search path for -lfoo libraries.
29 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
30 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
31 # a cross-linker, in which case the default is empty. See genscripts.sh.)
32 # Otherwise, they are replaced with the ones given in LIB_PATH,
33 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
34 # when the linker is configured via the --with-lib-path configure switch.
37 BASEDIR = $(srcdir)/..
38 BFDDIR = $(BASEDIR)/bfd
39 INCDIR = $(BASEDIR)/include
42 # What version of the manual to build
45 # Options to extract the man page from ld.texinfo
48 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
50 POD2MAN = pod2man --center="GNU Development Tools" \
51 --release="binutils-$(VERSION)" --section=1
53 #stuff for self hosting (can be overridden in config file).
54 HOSTING_CRT0 = @HOSTING_CRT0@
55 HOSTING_LIBS = @HOSTING_LIBS@
56 HOSTING_EMU = -m $(EMUL)
58 # Setup the testing framework, if you have one
59 EXPECT = `if [ -f $$r/../expect/expect ] ; \
60 then echo $$r/../expect/expect ; \
61 else echo expect ; fi`
63 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
64 then echo $${srcroot}/../dejagnu/runtest ; \
65 else echo runtest ; fi`
70 if [ -f $$r/../gcc/xgcc ] ; then \
71 if [ -f $$r/../newlib/Makefile ] ; then \
72 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
74 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
77 if [ "@host@" = "@target@" ] ; then \
80 echo gcc | sed '$(transform)'; \
86 if [ -f $$r/../gcc/xgcc ] ; then \
87 if [ -f $$r/../newlib/Makefile ] ; then \
88 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
90 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
93 if [ "@host@" = "@target@" ] ; then \
96 echo gcc | sed '$(transform)'; \
100 noinst_PROGRAMS = ld-new
101 info_TEXINFOS = ld.texinfo
102 noinst_TEXINFOS = ldint.texinfo
105 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\""
107 BFDLIB = ../bfd/libbfd.la
108 LIBIBERTY = ../libiberty/libiberty.a
174 eelf32mipswindiss.o \
350 etic3xcoff_onchip.o \
363 ALL_64_EMULATIONS = \
375 eelf64_sparc_fbsd.o \
389 ALL_EMUL_EXTRA_OFILES = \
393 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
394 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
395 mri.c ldcref.c pe-dll.c
397 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
398 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
399 ldwrite.h mri.h deffile.h pe-dll.h
401 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
402 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
404 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
405 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
406 ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
408 STAGESTUFF = *.o ldscripts/* e*.c
410 # At the moment this is just a list of those emulation template files
411 # that contain internationalised strings.
412 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
414 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
416 po/POTFILES.in: @MAINT@ Makefile
417 for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
418 && mv tmp $(srcdir)/po/POTFILES.in
420 ldmain.o: ldmain.c config.status
421 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
422 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
423 -DTOOLBINDIR='"$(tooldir)/bin"' \
424 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
427 ldemul-list.h: Makefile
428 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
429 for f in `echo " " ${EMULATION_OFILES} "" \
430 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
431 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
434 echo "#define EMULATION_LIST \\";\
435 for f in `echo " " ${EMULATION_OFILES} "" \
436 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
437 echo " &ld_$${f}_emulation, \\"; \
439 echo " 0") >ldemul-tmp.h
440 mv ldemul-tmp.h ldemul-list.h
442 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
443 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
445 # These all start with e so 'make clean' can find them.
447 GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@
448 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
452 ea29k.c: $(srcdir)/emulparams/a29k.sh \
453 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
454 ${GENSCRIPTS} a29k "$(tdir_a29k)"
455 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
456 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
457 ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
458 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
459 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
460 ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
461 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
462 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
463 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
464 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
465 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
466 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
467 ealpha.c: $(srcdir)/emulparams/alpha.sh \
468 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
469 ${GENSCRIPTS} alpha "$(tdir_alpha)"
470 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
471 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
472 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
473 earmelf.c: $(srcdir)/emulparams/armelf.sh \
474 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
475 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
476 ${GENSCRIPTS} armelf "$(tdir_armelf)"
477 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
478 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
479 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
480 ${GENSCRIPTS} armelfb "$(tdir_armelfb)"
481 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
482 $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
483 ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
484 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
485 $(srcdir)/emulparams/armelf.sh \
486 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
487 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
488 ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
489 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
490 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
491 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
492 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
493 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
494 $(srcdir)/emulparams/armelf_linux.sh \
495 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
496 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
497 ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
498 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
499 $(srcdir)/emulparams/armelf.sh \
500 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
501 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
502 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
503 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
504 $(srcdir)/emulparams/armelf_nbsd.sh \
505 $(srcdir)/emulparams/armelf.sh \
506 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
507 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
508 ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
509 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
510 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
511 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
512 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
513 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
514 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
515 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
516 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
517 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
518 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
519 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
520 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
521 earmnto.c: $(srcdir)/emulparams/armnto.sh \
522 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
523 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
524 ${GENSCRIPTS} armnto "$(tdir_armnto)"
525 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
526 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
527 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
528 earmpe.c: $(srcdir)/emulparams/armpe.sh \
529 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
530 ${GENSCRIPTS} armpe "$(tdir_armpe)"
531 eavr2.c: $(srcdir)/emulparams/avr2.sh \
532 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
534 ${GENSCRIPTS} avr2 "$(tdir_avr2)"
535 eavr1.c: $(srcdir)/emulparams/avr1.sh \
536 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
538 ${GENSCRIPTS} avr1 "$(tdir_avr2)"
539 eavr3.c: $(srcdir)/emulparams/avr3.sh \
540 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
542 ${GENSCRIPTS} avr3 "$(tdir_avr2)"
543 eavr4.c: $(srcdir)/emulparams/avr4.sh \
544 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
546 ${GENSCRIPTS} avr4 "$(tdir_avr2)"
547 eavr5.c: $(srcdir)/emulparams/avr5.sh \
548 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
550 ${GENSCRIPTS} avr5 "$(tdir_avr2)"
551 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
552 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
553 ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
554 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
555 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
556 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
557 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
558 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
559 ${GENSCRIPTS} crisaout "$(tdir_cris)"
560 ecriself.c: $(srcdir)/emulparams/criself.sh \
561 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
562 ${GENSCRIPTS} criself "$(tdir_cris)"
563 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
564 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
565 ${GENSCRIPTS} crislinux "$(tdir_cris)"
566 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
567 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
568 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
569 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
570 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
571 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
572 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
573 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
574 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
575 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
576 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
577 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
578 edelta68.c: $(srcdir)/emulparams/delta68.sh \
579 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
580 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
581 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
582 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
583 ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
584 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
585 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
586 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
587 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
588 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
589 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
590 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
591 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
592 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
593 ${GENSCRIPTS} elf32am33lin "$(tdir_mn10300)"
594 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
595 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
596 ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
597 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh \
598 $(srcdir)/emulparams/xtensa-config.sh \
599 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/xtensaelf.em \
600 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
601 ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
602 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
603 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
604 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
605 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
606 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
607 ${GENSCRIPTS} elf32frv "$(tdir_frv)"
608 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
609 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
610 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
611 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
612 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
613 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
614 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
615 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
616 ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
617 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
618 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
619 ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
620 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
621 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
622 ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
623 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
624 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
625 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
626 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
627 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
628 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
629 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
630 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
631 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
632 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
633 $(srcdir)/emulparams/elf32bmip.sh \
634 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
635 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
636 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
637 $(srcdir)/emultempl/elf32.em \
638 $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
639 ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
640 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
641 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
642 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
643 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
644 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emultempl/irix.em \
645 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
646 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
647 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
648 $(srcdir)/emulparams/elf32bmip.sh \
649 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
650 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
651 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
652 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/crxelf.em \
653 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
654 ${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
655 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
656 $(srcdir)/emulparams/elf32bmip.sh \
657 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
658 ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
659 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
660 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
661 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
662 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
663 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
664 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
665 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
666 ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
667 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
668 $(srcdir)/emulparams/elf32bmip.sh \
669 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
670 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
671 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
672 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
673 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
674 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
675 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
676 $(srcdir)/emultempl/irix.em \
677 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
678 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
679 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
680 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
681 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
682 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
683 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
684 $(srcdir)/emulparams/elf32bmip.sh \
685 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
686 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
687 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh \
688 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
689 ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
690 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
691 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
692 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
693 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
694 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
695 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
696 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
697 ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
698 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
699 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
700 $(srcdir)/emultempl/ppc32elf.em \
701 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
702 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
703 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
704 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
705 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
706 ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
707 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
708 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
709 ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
710 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
711 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
712 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
713 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
714 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
715 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
716 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
717 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
718 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
719 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
720 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
721 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
722 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
723 ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
724 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
725 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
726 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
727 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
728 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
729 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
730 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
731 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
732 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
733 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
734 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
735 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
736 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
737 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
738 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
739 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
740 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
741 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
742 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
743 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
744 ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
745 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
746 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
747 ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
748 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
749 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
750 ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
751 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
752 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
753 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
754 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
755 $(srcdir)/emulparams/elf64alpha.sh \
756 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
757 ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
758 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
759 $(srcdir)/emulparams/elf64alpha.sh \
760 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
761 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
762 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
763 $(srcdir)/emulparams/hppa64linux.sh \
764 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
765 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
766 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
767 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
768 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
769 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
770 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/ia64elf.em \
771 $(srcdir)/emultempl/needrelax.em \
772 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
773 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
774 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
775 $(srcdir)/emulparams/elf64_ia64.sh \
776 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/ia64elf.em \
777 $(srcdir)/emultempl/needrelax.em \
778 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
779 ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
780 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
781 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
782 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
783 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
784 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
785 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
786 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
787 $(srcdir)/emulparams/elf64_sparc.sh \
788 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
789 ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
790 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
791 $(srcdir)/emulparams/elf32bmipn32.sh $(srcdir)/emultempl/irix.em \
792 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
793 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
794 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
795 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
796 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
797 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
798 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
799 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
800 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
801 ${GENSCRIPTS} mmo "$(tdir_mmo)"
802 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
803 $(srcdir)/emulparams/elf32bmipn32.sh \
804 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
805 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
806 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
807 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
808 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
809 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
810 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
811 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
812 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
813 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
814 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
815 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
816 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
817 $(srcdir)/emulparams/elf_x86_64.sh \
818 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
819 ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
820 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
821 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
822 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
823 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
824 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
825 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
826 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
827 $(srcdir)/emulparams/elf_i386.sh \
828 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
829 ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
830 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
831 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
832 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
833 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
834 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
835 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
836 egld960.c: $(srcdir)/emulparams/gld960.sh \
837 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
838 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
839 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
840 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
841 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
842 eh8300.c: $(srcdir)/emulparams/h8300.sh \
843 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
844 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
845 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
846 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
847 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
848 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
849 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
850 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
851 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
852 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
853 ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
854 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
855 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
856 ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
857 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
858 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
859 ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
860 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
861 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
862 ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
863 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
864 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
865 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
866 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
867 $(srcdir)/emulparams/h8300elf.sh \
868 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
869 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
870 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
871 $(srcdir)/emulparams/h8300elf.sh \
872 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
873 ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
874 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
875 $(srcdir)/emulparams/h8300elf.sh \
876 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
877 ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
878 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
879 $(srcdir)/emulparams/h8300elf.sh \
880 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
881 ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
882 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
883 $(srcdir)/emulparams/h8300elf.sh \
884 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
885 ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
886 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
887 $(srcdir)/emulparams/h8300elf.sh \
888 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
889 ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
890 eh8500.c: $(srcdir)/emulparams/h8500.sh \
891 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
892 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
893 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
894 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
895 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
896 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
897 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
898 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
899 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
900 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
901 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
902 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
903 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
904 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
905 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
906 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
907 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
908 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
909 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
910 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
911 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
912 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
913 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
914 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
915 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
916 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
917 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
918 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
919 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
920 $(srcdir)/emulparams/hppaelf.sh \
921 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
922 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
923 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
924 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
925 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
926 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
927 ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
928 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
929 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
930 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
931 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
932 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
933 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
934 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
935 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
936 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
937 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
938 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
939 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
940 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
941 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
942 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
943 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
944 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
945 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
946 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
947 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
948 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
949 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
950 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
951 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
952 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
953 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
954 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
955 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
956 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
957 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
958 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
959 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
960 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
961 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
962 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
963 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
964 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
965 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
966 ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
967 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
968 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
969 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
970 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
971 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
972 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
973 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
974 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
975 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
976 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
977 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
978 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
979 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
980 $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
981 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
982 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
983 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
984 $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
985 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
986 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
987 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
988 $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
989 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
990 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
991 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
992 $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
993 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
994 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
995 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
996 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
997 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
998 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
999 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1000 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1001 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1002 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1003 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1004 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1005 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1006 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1007 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1008 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1009 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1010 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1011 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1012 $(srcdir)/emulparams/m68kelf.sh \
1013 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1014 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1015 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1016 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1017 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1018 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1019 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
1020 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
1021 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
1022 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1023 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1024 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1025 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1026 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1027 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1028 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1029 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1030 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1031 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1032 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1033 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1034 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
1035 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1036 ${GENSCRIPTS} mipsbig
1037 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
1038 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1039 ${GENSCRIPTS} mipsbsd
1040 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
1041 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1042 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1043 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
1044 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1045 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1046 emipslit.c: $(srcdir)/emulparams/mipslit.sh \
1047 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1048 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1049 emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
1050 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1051 ${GENSCRIPTS} mipslnews
1052 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
1053 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1054 ${GENSCRIPTS} mipspe "$(tdir_mips)"
1055 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1056 $(srcdir)/emulparams/mn10200.sh \
1057 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1058 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1059 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1060 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1061 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1062 emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
1063 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1065 ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
1066 emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
1067 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1069 ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
1070 emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
1071 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1073 ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
1074 emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
1075 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1077 ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
1078 emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
1079 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1081 ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
1082 emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
1083 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1085 ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
1086 emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
1087 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1089 ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
1090 emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
1091 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1093 ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
1094 emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
1095 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1097 ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
1098 emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
1099 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1101 ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
1102 emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
1103 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1105 ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
1106 emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
1107 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1109 ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
1110 emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
1111 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1113 ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
1114 emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
1115 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1117 ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
1118 emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
1119 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1121 ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
1122 emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
1123 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1125 ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
1126 emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
1127 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1129 ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
1130 emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
1131 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1133 ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
1134 emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
1135 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1137 ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
1138 emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
1139 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1141 ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
1142 emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
1143 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1145 ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
1146 emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
1147 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1149 ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
1150 emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
1151 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1153 ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
1154 emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
1155 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1157 ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
1158 emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
1159 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1161 ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
1162 emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
1163 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1165 ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
1166 emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
1167 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1169 ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
1170 emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
1171 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1173 ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
1174 emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
1175 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1177 ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
1178 emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
1179 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1181 ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
1182 emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
1183 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1185 ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
1186 emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
1187 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1189 ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
1190 emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
1191 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1193 ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
1194 emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
1195 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1197 ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
1198 emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
1199 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1201 ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
1202 emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
1203 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1205 ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
1206 emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
1207 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1209 ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
1210 emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
1211 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1213 ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
1214 emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
1215 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1217 ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
1218 emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
1219 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1221 ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
1222 emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
1223 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1225 ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
1226 emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
1227 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1229 ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
1230 emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
1231 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1233 ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
1234 emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
1235 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1237 ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
1238 emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
1239 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1241 ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
1242 emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
1243 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1245 ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
1246 emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
1247 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1249 ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
1250 enews.c: $(srcdir)/emulparams/news.sh \
1251 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1252 ${GENSCRIPTS} news "$(tdir_news)"
1253 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1254 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1255 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1256 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1257 eor32.c: $(srcdir)/emulparams/or32.sh \
1258 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1259 ${GENSCRIPTS} or32 "$(tdir_or32)"
1260 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1261 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1262 ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1263 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1264 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1265 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1266 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1267 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1268 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1269 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1270 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1271 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1272 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
1273 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1274 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1275 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1276 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1277 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1278 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1279 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1280 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1281 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1282 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1283 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1284 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1285 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1286 ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
1287 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1288 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1289 ${GENSCRIPTS} riscix "$(tdir_riscix)"
1290 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
1291 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
1292 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
1293 esh.c: $(srcdir)/emulparams/sh.sh \
1294 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1295 ${GENSCRIPTS} sh "$(tdir_sh)"
1296 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1297 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1298 ${GENSCRIPTS} shelf "$(tdir_shelf)"
1299 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1300 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1301 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1302 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1303 ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1304 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1305 $(srcdir)/emulparams/shelf32.sh \
1306 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1307 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1308 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1309 ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
1310 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1311 $(srcdir)/emulparams/shelf32.sh \
1312 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1313 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1314 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1315 ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1316 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1317 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1318 ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1319 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1320 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1321 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1322 ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
1323 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1324 $(srcdir)/emulparams/shlelf_linux.sh \
1325 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1326 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1327 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1328 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1329 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1330 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1331 $(srcdir)/emulparams/shelf.sh \
1332 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1333 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1334 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1335 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1336 ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
1337 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1338 $(srcdir)/emulparams/shelf_nbsd.sh \
1339 $(srcdir)/emulparams/shelf.sh \
1340 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1341 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1342 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1343 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1344 ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
1345 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1346 $(srcdir)/emulparams/shelf.sh \
1347 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1348 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1349 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1350 $(srcdir)/emulparams/shelf.sh \
1351 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1352 ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
1353 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1354 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1355 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1356 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1357 ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1358 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1359 $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1360 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1361 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1362 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1363 ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
1364 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1365 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1366 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1367 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1368 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1369 ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1370 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1371 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1372 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1373 ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1374 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1375 $(srcdir)/emulparams/shelf64_nbsd.sh \
1376 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1377 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1378 ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1379 eshl.c: $(srcdir)/emulparams/shl.sh \
1380 $(srcdir)/emulparams/sh.sh \
1381 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1382 ${GENSCRIPTS} shl "$(tdir_shl)"
1383 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1384 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1385 ${GENSCRIPTS} shpe "$(tdir_shl)"
1386 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1387 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1388 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1389 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1390 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1391 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1392 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
1393 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
1394 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
1395 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1396 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1397 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1398 est2000.c: $(srcdir)/emulparams/st2000.sh \
1399 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1400 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1401 esun3.c: $(srcdir)/emulparams/sun3.sh \
1402 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1403 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1404 esun4.c: $(srcdir)/emulparams/sun4.sh \
1405 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1406 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1407 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1408 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1409 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1410 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1411 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1412 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1413 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1414 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1415 ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
1416 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1417 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1418 ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
1419 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1420 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1421 ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
1422 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1423 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1424 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1425 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1426 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1427 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1428 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1429 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1430 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1431 evax.c: $(srcdir)/emulparams/vax.sh \
1432 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1433 ${GENSCRIPTS} vax "$(tdir_vax)"
1434 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1435 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1436 ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1437 evsta.c: $(srcdir)/emulparams/vsta.sh \
1438 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1439 ${GENSCRIPTS} vsta "$(tdir_vsta)"
1440 ev850.c: $(srcdir)/emulparams/v850.sh \
1441 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1442 ${GENSCRIPTS} v850 "$(tdir_v850)"
1443 ew65.c: $(srcdir)/emulparams/w65.sh \
1444 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1445 ${GENSCRIPTS} w65 "$(tdir_w65)"
1446 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1447 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1448 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1449 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1450 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1451 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1452 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1453 $(srcdir)/emulparams/elf32frv.sh \
1454 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1455 ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
1457 # We need this for automake to use YLWRAP.
1458 EXTRA_ld_new_SOURCES = deffilep.y
1460 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1461 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
1462 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
1463 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
1465 # The generated emulation files mostly have the same dependencies.
1466 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
1467 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
1468 ldctor.h ldexp.h ldlang.h ldgram.h
1470 # This is the real libbfd.a created by libtool.
1471 TESTBFDLIB = @TESTBFDLIB@
1473 check-DEJAGNU: site.exp
1474 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1475 r=`pwd`; export r; \
1476 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
1477 EXPECT=$(EXPECT); export EXPECT; \
1478 if [ -f $(top_builddir)/../expect/expect ]; then \
1479 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
1480 export TCL_LIBRARY; \
1482 runtest=$(RUNTEST); \
1483 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1484 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1485 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1486 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1487 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1488 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1489 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
1491 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1494 # Rules for testing by relinking ld itself.
1495 # A similar test is in the testsuite. This target is for ease of use
1498 ld-partial.o: ld-new$(EXEEXT)
1499 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
1500 ld1$(EXEEXT): ld-partial.o
1501 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1503 ld1-full$(EXEEXT): ld-new
1504 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1506 ld2$(EXEEXT): ld1$(EXEEXT)
1507 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1509 ld3$(EXEEXT): ld2$(EXEEXT)
1510 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1512 bootstrap: ld3$(EXEEXT)
1513 cmp ld2$(EXEEXT) ld3$(EXEEXT)
1517 # A test program for C++ constructors and destructors.
1518 # This test is now in the testsuite.
1520 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1521 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1522 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
1525 # ./cdtest > cdtest.tmp
1526 # mv cdtest.tmp cdtest.out
1528 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1529 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
1530 # cdtest-bar.o cdtest-foo.o
1532 #cdtest-ur: cdtest-ur.o
1533 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1536 #cdtest-ur.out: cdtest-ur
1537 # ./cdtest-ur > cdtest-ur.tmp
1538 # mv cdtest-ur.tmp cdtest-ur.out
1540 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1541 # diff $(srcdir)/cdtest.exp cdtest.out
1542 # diff $(srcdir)/cdtest.exp cdtest-ur.out
1544 #.PHONY: check-cdtest
1546 # END OF CHECK TARGETS
1548 # DOCUMENTATION TARGETS
1549 # Manual configuration file; not usually attached to normal configuration,
1550 # because almost all configs use "gen" version of manual.
1551 # Set DOCVER above to change.
1552 configdoc.texi: ${DOCVER}-doc.texi
1553 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1554 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1555 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1557 ldver.texi: Makefile
1559 echo '@set VERSION $(VERSION)' > $@
1561 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1562 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
1563 $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1565 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1566 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
1567 MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1569 # Build the man page from the texinfo file
1570 # The sed command removes the no-adjust Nroff command so that
1571 # the man output looks standard.
1572 ld.1: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1574 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1575 -($(POD2MAN) ld.pod | \
1576 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1577 mv -f $@.T$$$$ $@) || \
1578 (rm -f $@.T$$$$ && exit 1)
1581 MAINTAINERCLEANFILES = ldver.texi
1583 # We want to reconfigure if configure.host or configure.tgt changes.
1584 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
1586 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1587 ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
1590 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
1592 .PHONY: install-exec-local install-data-local
1594 install-exec-local: ld-new$(EXEEXT)
1595 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1596 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1597 if test -f $$p; then \
1598 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1599 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1602 n=`echo ld | sed '$(transform)'`; \
1603 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1604 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1605 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1606 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1610 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1611 for f in ldscripts/*; do \
1612 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1615 # We want install to imply install-info as per GNU standards, despite the
1617 install: install-info
1619 # Stuff that should be included in a distribution. The diststuff
1620 # target is run by the taz target in ../Makefile.in.
1621 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
1622 diststuff: info $(EXTRA_DIST)
1624 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
1628 Makefile: $(BFDDIR)/configure.in
1630 # Targets to rebuild dependencies in this Makefile.
1631 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1632 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1634 $(MAKE) MKDEP="$(MKDEP)" DEP1
1635 sed -f dep.sed < DEP1 > DEPA
1636 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1637 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1638 echo 'make DEP failed!'; exit 1; \
1643 DEP1: $(CFILES) $(GENERATED_CFILES)
1644 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1645 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1646 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1649 dep.sed: dep-in.sed config.status
1650 sed <$(srcdir)/dep-in.sed >dep.sed \
1651 -e 's!@INCDIR@!$(INCDIR)!' \
1652 -e 's!@BFDDIR@!$(BFDDIR)!' \
1653 -e 's!@SRCDIR@!$(srcdir)!' \
1654 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
1657 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1658 cat DEP >> tmp-Makefile
1659 $(srcdir)/../move-if-change tmp-Makefile Makefile
1662 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1663 cat DEP >> tmp-Makefile.in
1664 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1667 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1668 cat DEP >> tmp-Makefile.am
1669 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1671 .PHONY: dep dep-in dep-am
1673 # What appears below is generated by a hacked mkdep using gcc -MM.
1675 # DO NOT DELETE THIS LINE -- mkdep uses it.
1676 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1677 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1678 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1679 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1680 ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
1681 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1682 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1683 ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1684 ldfile.h ldemul.h ldmain.h ldemul-list.h
1685 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1686 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1687 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1688 ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
1689 $(INCDIR)/safe-ctype.h
1690 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1691 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1692 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1693 ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
1694 ldlex.h ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/filenames.h
1695 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1696 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1697 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
1698 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1699 ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
1700 ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h \
1702 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1703 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1704 $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
1705 $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
1706 ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
1707 ldlex.h ldfile.h ldemul.h ldctor.h
1708 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1709 $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h sysdep.h config.h \
1710 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
1711 ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1712 ldgram.h ldlex.h ldmain.h ldfile.h
1713 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1714 $(INCDIR)/symcat.h ../bfd/bfdver.h sysdep.h config.h \
1715 $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h ldver.h \
1716 ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
1717 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1718 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1719 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1720 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1721 ldmisc.h ldgram.h ldmain.h
1722 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1723 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1724 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1725 ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1726 ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
1727 $(INCDIR)/demangle.h
1728 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1729 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1730 ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1731 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1732 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1733 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1734 ldmain.h ldmisc.h ldexp.h ldlang.h
1735 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1736 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1737 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1738 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1739 ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
1740 $(BFDDIR)/libcoff.h deffile.h pe-dll.h
1741 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1742 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1743 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1744 ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
1745 mri.h ldctor.h ldlex.h
1746 ldlex.o: ldlex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1747 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1748 $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
1749 ldmisc.h ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h \
1750 ldmain.h $(INCDIR)/libiberty.h
1751 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1752 $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
1753 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1755 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY