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