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