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