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
36 BASEDIR = $(srcdir)/..
37 BFDDIR = $(BASEDIR)/bfd
38 INCDIR = $(BASEDIR)/include
41 # What version of the manual to build
44 # Options to extract the man page from ld.texinfo
47 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
49 POD2MAN = pod2man --center="GNU Development Tools" \
50 --release="binutils-$(VERSION)" --section=1
52 #stuff for self hosting (can be overridden in config file).
53 HOSTING_CRT0 = @HOSTING_CRT0@
54 HOSTING_LIBS = @HOSTING_LIBS@
55 HOSTING_EMU = -m $(EMUL)
57 # Setup the testing framework, if you have one
58 EXPECT = `if [ -f $$r/../expect/expect ] ; \
59 then echo $$r/../expect/expect ; \
60 else echo expect ; fi`
62 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
63 then echo $${srcroot}/../dejagnu/runtest ; \
64 else echo runtest ; fi`
69 if [ -f $$r/../gcc/xgcc ] ; then \
70 if [ -f $$r/../newlib/Makefile ] ; then \
71 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
73 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
76 if [ "@host@" = "@target@" ] ; then \
79 echo gcc | sed '$(transform)'; \
85 if [ -f $$r/../gcc/xgcc ] ; then \
86 if [ -f $$r/../newlib/Makefile ] ; then \
87 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
89 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
92 if [ "@host@" = "@target@" ] ; then \
95 echo gcc | sed '$(transform)'; \
99 noinst_PROGRAMS = ld-new
100 info_TEXINFOS = ld.texinfo
101 noinst_TEXINFOS = ldint.texinfo
104 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\""
106 BFDLIB = ../bfd/libbfd.la
107 LIBIBERTY = ../libiberty/libiberty.a
292 ALL_64_EMULATIONS = \
304 eelf64_sparc_fbsd.o \
318 ALL_EMUL_EXTRA_OFILES = \
322 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
323 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
324 mri.c ldcref.c pe-dll.c
326 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
327 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
328 ldwrite.h mri.h deffile.h pe-dll.h
330 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
331 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
333 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
334 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
335 ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
337 STAGESTUFF = *.o ldscripts/* e*.c
339 # At the moment this is just a list of those emulation template files
340 # that contain internationalised strings.
341 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
343 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
345 po/POTFILES.in: @MAINT@ Makefile
346 for file in $(POTFILES); do echo $$file; done | sort > tmp \
347 && mv tmp $(srcdir)/po/POTFILES.in
349 ldmain.o: ldmain.c config.status
350 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
352 ldemul-list.h: Makefile
353 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
354 for f in `echo " " ${EMULATION_OFILES} "" \
355 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
356 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
359 echo "#define EMULATION_LIST \\";\
360 for f in `echo " " ${EMULATION_OFILES} "" \
361 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
362 echo " &ld_$${f}_emulation, \\"; \
364 echo " 0") >ldemul-tmp.h
365 mv ldemul-tmp.h ldemul-list.h
367 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
368 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
370 # These all start with e so 'make clean' can find them.
372 GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
373 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
376 ea29k.c: $(srcdir)/emulparams/a29k.sh \
377 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
378 ${GENSCRIPTS} a29k "$(tdir_a29k)"
379 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
380 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
381 ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
382 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
383 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
384 ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
385 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
386 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
387 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
388 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
389 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
390 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
391 ealpha.c: $(srcdir)/emulparams/alpha.sh \
392 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
393 ${GENSCRIPTS} alpha "$(tdir_alpha)"
394 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
395 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
396 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
397 earmelf.c: $(srcdir)/emulparams/armelf.sh \
398 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
399 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
400 ${GENSCRIPTS} armelf "$(tdir_armelf)"
401 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
402 $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
403 ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
404 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
405 $(srcdir)/emulparams/armelf.sh \
406 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
407 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
408 ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
409 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
410 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
411 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
412 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
413 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
414 $(srcdir)/emulparams/armelf.sh \
415 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
416 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
417 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
418 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
419 $(srcdir)/emulparams/armelf_nbsd.sh \
420 $(srcdir)/emulparams/armelf.sh \
421 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
422 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
423 ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
424 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
425 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
426 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
427 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
428 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
429 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
430 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
431 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
432 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
433 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
434 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
435 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
436 earmnto.c: $(srcdir)/emulparams/armnto.sh \
437 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
438 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
439 ${GENSCRIPTS} armnto "$(tdir_armnto)"
440 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
441 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
442 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
443 earmpe.c: $(srcdir)/emulparams/armpe.sh \
444 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
445 ${GENSCRIPTS} armpe "$(tdir_armpe)"
446 eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \
447 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
449 ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)"
450 eavr1200.c: $(srcdir)/emulparams/avr1200.sh \
451 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
453 ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)"
454 eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \
455 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
457 ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)"
458 eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \
459 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
461 ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)"
462 eavr4433.c: $(srcdir)/emulparams/avr4433.sh \
463 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
465 ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)"
466 eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \
467 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
469 ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)"
470 eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \
471 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
473 ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)"
474 eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \
475 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
477 ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)"
478 eavr1.c: $(srcdir)/emulparams/avr1.sh \
479 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
481 ${GENSCRIPTS} avr1 "$(tdir_avr85xx)"
482 eavr2.c: $(srcdir)/emulparams/avr2.sh \
483 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
485 ${GENSCRIPTS} avr2 "$(tdir_avr85xx)"
486 eavr3.c: $(srcdir)/emulparams/avr3.sh \
487 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
489 ${GENSCRIPTS} avr3 "$(tdir_avr85xx)"
490 eavr4.c: $(srcdir)/emulparams/avr4.sh \
491 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
493 ${GENSCRIPTS} avr4 "$(tdir_avr85xx)"
494 eavr5.c: $(srcdir)/emulparams/avr5.sh \
495 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
497 ${GENSCRIPTS} avr5 "$(tdir_avr85xx)"
498 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
499 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
500 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
501 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
502 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
503 ${GENSCRIPTS} crisaout "$(tdir_cris)"
504 ecriself.c: $(srcdir)/emulparams/criself.sh \
505 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
506 ${GENSCRIPTS} criself "$(tdir_cris)"
507 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
508 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
509 ${GENSCRIPTS} crislinux "$(tdir_cris)"
510 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
511 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
512 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
513 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
514 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
515 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
516 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
517 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
518 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
519 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
520 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
521 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
522 edelta68.c: $(srcdir)/emulparams/delta68.sh \
523 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
524 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
525 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
526 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
527 ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
528 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
529 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
530 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
531 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
532 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
533 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
534 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
535 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
536 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
537 ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
538 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
539 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
540 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
541 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
542 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
543 ${GENSCRIPTS} elf32frv "$(tdir_frv)"
544 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
545 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
546 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
547 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
548 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
549 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
550 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
551 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
552 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
553 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
554 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
555 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
556 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
557 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
558 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
559 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
560 $(srcdir)/emulparams/elf32bmip.sh \
561 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
562 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
563 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
564 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
565 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
566 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
567 $(srcdir)/emulparams/elf32bmip.sh \
568 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
569 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
570 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
571 $(srcdir)/emulparams/elf32bmip.sh \
572 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
573 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
574 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
575 $(srcdir)/emulparams/elf32bmip.sh \
576 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
577 ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
578 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
579 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
580 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
581 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
582 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
583 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
584 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
585 ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
586 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
587 $(srcdir)/emulparams/elf32bmip.sh \
588 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
589 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
590 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
591 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
592 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
593 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
594 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
595 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
596 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
597 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
598 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
599 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
600 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
601 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
602 $(srcdir)/emulparams/elf32bmip.sh \
603 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
604 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
605 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
606 $(srcdir)/emulparams/elf32ppc.sh \
607 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
608 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
609 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
610 $(srcdir)/emulparams/elf32ppc.sh \
611 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
612 ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
613 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
614 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
615 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
616 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
617 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
618 $(srcdir)/emulparams/elf32ppc.sh \
619 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
620 ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
621 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh ${GEN_DEPENDS}
622 ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
623 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
624 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
625 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
626 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
627 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
628 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
629 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
630 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
631 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
632 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
633 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
634 $(srcdir)/emulparams/elf32ppc.sh \
635 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
636 ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
637 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
638 $(srcdir)/emulparams/elf32ppc.sh \
639 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
640 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
641 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
642 $(srcdir)/emulparams/elf32ppc.sh \
643 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
644 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
645 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
646 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
647 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
648 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
649 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
650 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
651 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
652 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
653 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
654 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
655 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
656 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
657 ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
658 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
659 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
660 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
661 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
662 $(srcdir)/emulparams/elf64alpha.sh \
663 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
664 ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
665 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
666 $(srcdir)/emulparams/elf64alpha.sh \
667 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
668 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
669 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
670 $(srcdir)/emulparams/hppa64linux.sh \
671 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
672 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
673 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
674 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
675 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
676 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
677 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
678 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
679 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
680 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
681 $(srcdir)/emulparams/elf64_ia64.sh \
682 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
683 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
684 ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
685 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
686 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
687 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
688 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
689 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
690 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
691 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
692 $(srcdir)/emulparams/elf64_sparc.sh \
693 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
694 ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
695 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
696 $(srcdir)/emulparams/elf32bmipn32.sh \
697 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
698 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
699 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
700 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
701 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
702 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
703 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
704 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
705 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
706 ${GENSCRIPTS} mmo "$(tdir_mmo)"
707 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
708 $(srcdir)/emulparams/elf32bmipn32.sh \
709 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
710 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
711 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
712 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
713 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
714 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
715 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
716 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
717 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
718 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
719 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
720 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
721 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
722 $(srcdir)/emulparams/elf_x86_64.sh \
723 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
724 ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
725 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
726 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
727 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
728 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
729 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
730 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
731 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
732 $(srcdir)/emulparams/elf_i386.sh \
733 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
734 ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
735 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
736 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
737 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
738 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
739 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
740 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
741 egld960.c: $(srcdir)/emulparams/gld960.sh \
742 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
743 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
744 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
745 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
746 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
747 eh8300.c: $(srcdir)/emulparams/h8300.sh \
748 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
749 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
750 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
751 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
752 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
753 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
754 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
755 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
756 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
757 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
758 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
759 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
760 $(srcdir)/emulparams/h8300elf.sh \
761 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
762 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
763 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
764 $(srcdir)/emulparams/h8300elf.sh \
765 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
766 ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
767 eh8500.c: $(srcdir)/emulparams/h8500.sh \
768 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
769 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
770 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
771 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
772 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
773 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
774 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
775 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
776 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
777 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
778 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
779 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
780 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
781 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
782 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
783 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
784 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
785 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
786 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
787 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
788 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
789 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
790 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
791 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
792 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
793 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
794 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
795 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
796 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
797 $(srcdir)/emulparams/hppaelf.sh \
798 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
799 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
800 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
801 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
802 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
803 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
804 ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
805 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
806 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
807 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
808 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
809 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
810 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
811 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
812 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
813 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
814 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
815 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
816 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
817 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
818 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
819 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
820 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
821 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
822 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
823 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
824 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
825 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
826 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
827 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
828 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
829 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
830 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
831 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
832 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
833 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
834 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
835 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
836 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
837 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
838 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
839 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
840 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
841 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
842 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
843 ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
844 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
845 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
846 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
847 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
848 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
849 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
850 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
851 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
852 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
853 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
854 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
855 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
856 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
857 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
858 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
859 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
860 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
861 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
862 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
863 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
864 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
865 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
866 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
867 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
868 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
869 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
870 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
871 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
872 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
873 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
874 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
875 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
876 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
877 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
878 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
879 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
880 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
881 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
882 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
883 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
884 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
885 $(srcdir)/emulparams/m68kelf.sh \
886 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
887 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
888 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
889 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
890 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
891 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
892 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
893 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
894 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
895 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
896 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
897 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
898 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
899 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
900 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
901 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
902 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
903 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
904 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
905 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
906 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
907 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
908 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
909 ${GENSCRIPTS} mipsbig
910 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
911 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
912 ${GENSCRIPTS} mipsbsd
913 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
914 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
915 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
916 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
917 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
918 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
919 emipslit.c: $(srcdir)/emulparams/mipslit.sh \
920 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
921 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
922 emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
923 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
924 ${GENSCRIPTS} mipslnews
925 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
926 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
927 ${GENSCRIPTS} mipspe "$(tdir_mips)"
928 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
929 $(srcdir)/emulparams/mn10200.sh \
930 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
931 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
932 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
933 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
934 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
935 enews.c: $(srcdir)/emulparams/news.sh \
936 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
937 ${GENSCRIPTS} news "$(tdir_news)"
938 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
939 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
940 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
941 eor32.c: $(srcdir)/emulparams/or32.sh \
942 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
943 ${GENSCRIPTS} or32 "$(tdir_or32)"
944 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
945 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
946 ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
947 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
948 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
949 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
950 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
951 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
952 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
953 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
954 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
955 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
956 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
957 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
958 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
959 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
960 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
961 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
962 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
963 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
964 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
965 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
966 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
967 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
968 eriscix.c: $(srcdir)/emulparams/riscix.sh \
969 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
970 ${GENSCRIPTS} riscix "$(tdir_riscix)"
971 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
972 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
973 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
974 esh.c: $(srcdir)/emulparams/sh.sh \
975 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
976 ${GENSCRIPTS} sh "$(tdir_sh)"
977 eshelf.c: $(srcdir)/emulparams/shelf.sh \
978 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
979 ${GENSCRIPTS} shelf "$(tdir_shelf)"
980 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
981 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
982 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
983 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
984 ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
985 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
986 $(srcdir)/emulparams/shelf32.sh \
987 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
988 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
989 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
990 ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
991 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
992 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
993 ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
994 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
995 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
996 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
997 ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
998 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
999 $(srcdir)/emulparams/shlelf_linux.sh \
1000 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1001 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1002 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1003 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1004 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1005 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1006 $(srcdir)/emulparams/shelf.sh \
1007 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1008 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1009 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1010 $(srcdir)/emulparams/shelf_nbsd.sh \
1011 $(srcdir)/emulparams/shelf.sh \
1012 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1013 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1014 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1015 $(srcdir)/emulparams/shelf.sh \
1016 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1017 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1018 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1019 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1020 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1021 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1022 ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1023 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1024 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1025 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1026 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1027 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1028 ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1029 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1030 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1031 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1032 ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1033 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1034 $(srcdir)/emulparams/shelf64_nbsd.sh \
1035 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1036 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1037 ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1038 eshl.c: $(srcdir)/emulparams/shl.sh \
1039 $(srcdir)/emulparams/sh.sh \
1040 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1041 ${GENSCRIPTS} shl "$(tdir_shl)"
1042 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1043 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1044 ${GENSCRIPTS} shpe "$(tdir_shl)"
1045 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1046 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1047 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1048 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1049 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1050 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1051 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
1052 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
1053 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
1054 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1055 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1056 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1057 est2000.c: $(srcdir)/emulparams/st2000.sh \
1058 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1059 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1060 esun3.c: $(srcdir)/emulparams/sun3.sh \
1061 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1062 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1063 esun4.c: $(srcdir)/emulparams/sun4.sh \
1064 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1065 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1066 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1067 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1068 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1069 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1070 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1071 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1072 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1073 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1074 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1075 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1076 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1077 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1078 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1079 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1080 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1081 evax.c: $(srcdir)/emulparams/vax.sh \
1082 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1083 ${GENSCRIPTS} vax "$(tdir_vax)"
1084 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1085 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1086 ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1087 evsta.c: $(srcdir)/emulparams/vsta.sh \
1088 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1089 ${GENSCRIPTS} vsta "$(tdir_vsta)"
1090 ev850.c: $(srcdir)/emulparams/v850.sh \
1091 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1092 ${GENSCRIPTS} v850 "$(tdir_v850)"
1093 ew65.c: $(srcdir)/emulparams/w65.sh \
1094 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1095 ${GENSCRIPTS} w65 "$(tdir_w65)"
1096 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1097 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1098 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1099 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1100 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1101 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1103 # We need this for automake to use YLWRAP.
1104 EXTRA_ld_new_SOURCES = deffilep.y
1106 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1107 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
1108 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
1109 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
1111 # The generated emulation files mostly have the same dependencies.
1112 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
1113 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
1114 ldctor.h ldexp.h ldlang.h ldgram.h
1116 # This is the real libbfd.a created by libtool.
1117 TESTBFDLIB = @TESTBFDLIB@
1119 check-DEJAGNU: site.exp
1120 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1121 r=`pwd`; export r; \
1122 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
1123 EXPECT=$(EXPECT); export EXPECT; \
1124 if [ -f $(top_builddir)/../expect/expect ]; then \
1125 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
1126 export TCL_LIBRARY; \
1128 runtest=$(RUNTEST); \
1129 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1130 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1131 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1132 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1133 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1134 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1135 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
1137 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1140 # Rules for testing by relinking ld itself.
1141 # A similar test is in the testsuite. This target is for ease of use
1144 ld-partial.o: ld-new$(EXEEXT)
1145 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
1146 ld1$(EXEEXT): ld-partial.o
1147 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1149 ld1-full$(EXEEXT): ld-new
1150 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1152 ld2$(EXEEXT): ld1$(EXEEXT)
1153 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1155 ld3$(EXEEXT): ld2$(EXEEXT)
1156 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1158 bootstrap: ld3$(EXEEXT)
1159 cmp ld2$(EXEEXT) ld3$(EXEEXT)
1163 # A test program for C++ constructors and destructors.
1164 # This test is now in the testsuite.
1166 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1167 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1168 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
1171 # ./cdtest > cdtest.tmp
1172 # mv cdtest.tmp cdtest.out
1174 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1175 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
1176 # cdtest-bar.o cdtest-foo.o
1178 #cdtest-ur: cdtest-ur.o
1179 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1182 #cdtest-ur.out: cdtest-ur
1183 # ./cdtest-ur > cdtest-ur.tmp
1184 # mv cdtest-ur.tmp cdtest-ur.out
1186 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1187 # diff $(srcdir)/cdtest.exp cdtest.out
1188 # diff $(srcdir)/cdtest.exp cdtest-ur.out
1190 #.PHONY: check-cdtest
1192 # END OF CHECK TARGETS
1194 # DOCUMENTATION TARGETS
1195 # Manual configuration file; not usually attached to normal configuration,
1196 # because almost all configs use "gen" version of manual.
1197 # Set DOCVER above to change.
1198 configdoc.texi: ${DOCVER}-doc.texi
1199 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1200 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1201 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1203 ldver.texi: Makefile
1205 echo '@set VERSION $(VERSION)' > $@
1207 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1208 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
1209 $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1211 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1212 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
1213 MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1215 # Build the man page from the texinfo file
1216 # The sed command removes the no-adjust Nroff command so that
1217 # the man output looks standard.
1218 ld.1: $(srcdir)/ld.texinfo
1220 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1221 -($(POD2MAN) ld.pod | \
1222 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1223 mv -f $@.T$$$$ $@) || \
1224 (rm -f $@.T$$$$ && exit 1)
1227 MAINTAINERCLEANFILES = ldver.texi
1229 # We want to reconfigure if configure.host or configure.tgt changes.
1230 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
1232 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1233 ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
1236 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
1238 .PHONY: install-exec-local install-data-local
1240 install-exec-local: ld-new$(EXEEXT)
1241 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1242 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1243 if test -f $$p; then \
1244 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1245 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1248 n=`echo ld | sed '$(transform)'`; \
1249 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1250 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1251 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1252 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1256 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1257 for f in ldscripts/*; do \
1258 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1261 # We want install to imply install-info as per GNU standards, despite the
1263 install: install-info
1265 # Stuff that should be included in a distribution. The diststuff
1266 # target is run by the taz target in ../Makefile.in.
1267 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
1268 diststuff: info $(EXTRA_DIST)
1270 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
1274 Makefile: $(BFDDIR)/configure.in
1276 # Targets to rebuild dependencies in this Makefile.
1277 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1278 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1280 $(MAKE) MKDEP="$(MKDEP)" DEP1
1281 sed -f dep.sed < DEP1 > DEPA
1282 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1283 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1284 echo 'make DEP failed!'; exit 1; \
1289 DEP1: $(CFILES) $(GENERATED_CFILES)
1290 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1291 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1292 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1295 dep.sed: dep-in.sed config.status
1296 sed <$(srcdir)/dep-in.sed >dep.sed \
1297 -e 's!@INCDIR@!$(INCDIR)!' \
1298 -e 's!@BFDDIR@!$(BFDDIR)!' \
1299 -e 's!@SRCDIR@!$(srcdir)!' \
1300 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
1303 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1304 cat DEP >> tmp-Makefile
1305 $(srcdir)/../move-if-change tmp-Makefile Makefile
1308 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1309 cat DEP >> tmp-Makefile.in
1310 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1313 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1314 cat DEP >> tmp-Makefile.am
1315 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1317 .PHONY: dep dep-in dep-am
1320 @MAINT@mpw: $(srcdir)/mpw-ei386go32.c $(srcdir)/mpw-elfmips.c \
1321 @MAINT@ $(srcdir)/mpw-em68kcoff.c $(srcdir)/mpw-eppcmac.c \
1322 @MAINT@ $(srcdir)/mpw-esh.c $(srcdir)/mpw-idtmips.c
1324 @MAINT@$(srcdir)/mpw-ei386go32.c: ei386go32.c
1325 @MAINT@ $(srcdir)/../move-if-change $< $@
1327 @MAINT@$(srcdir)/mpw-elfmips.c: eelf32ebmip.c
1328 @MAINT@ $(srcdir)/../move-if-change $< $@
1330 @MAINT@$(srcdir)/mpw-em68kcoff.c: em68kcoff.c
1331 @MAINT@ $(srcdir)/../move-if-change $< $@
1333 @MAINT@$(srcdir)/mpw-eppcmac.c: eppcmacos.c
1334 @MAINT@ $(srcdir)/../move-if-change $< $@
1336 @MAINT@$(srcdir)/mpw-esh.c: esh.c
1337 @MAINT@ $(srcdir)/../move-if-change $< $@
1339 @MAINT@$(srcdir)/mpw-idtmips.c: emipsidt.c
1340 @MAINT@ $(srcdir)/../move-if-change $< $@
1342 # What appears below is generated by a hacked mkdep using gcc -MM.
1344 # DO NOT DELETE THIS LINE -- mkdep uses it.
1345 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1346 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1347 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1348 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1349 ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
1350 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1351 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1352 ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1353 ldfile.h ldemul.h ldmain.h ldemul-list.h
1354 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1355 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1356 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1357 ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
1358 $(INCDIR)/safe-ctype.h
1359 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1360 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1361 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1362 ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
1363 ldlex.h ldemul.h $(INCDIR)/libiberty.h
1364 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1365 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1366 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
1367 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1368 ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
1369 ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
1370 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1371 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1372 $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
1373 $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
1374 ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
1375 ldlex.h ldfile.h ldemul.h ldctor.h
1376 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1377 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1378 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \
1379 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
1381 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1382 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1383 ld.h $(INCDIR)/bin-bugs.h ldver.h ldexp.h ldlang.h \
1384 ldfile.h ldemul.h ldmain.h
1385 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1386 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1387 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1388 ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
1389 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1390 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1391 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1392 ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1393 ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
1394 $(INCDIR)/demangle.h
1395 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1396 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1397 ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1398 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1399 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1400 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1401 ldmain.h ldmisc.h ldexp.h ldlang.h
1402 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1403 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1404 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1405 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1406 ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
1407 $(BFDDIR)/libcoff.h deffile.h pe-dll.h
1408 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1409 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1410 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1411 ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
1412 mri.h ldctor.h ldlex.h
1413 ldlex.o: ldlex.c $(INCDIR)/ansidecl.h ../bfd/bfd.h \
1414 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1415 $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
1416 ldmisc.h ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h \
1417 ldmain.h $(INCDIR)/libiberty.h
1418 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1419 $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
1420 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1422 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY