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
266 ALL_64_EMULATIONS = \
284 ALL_EMUL_EXTRA_OFILES = \
288 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
289 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
290 mri.c ldcref.c pe-dll.c
292 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
293 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
294 ldwrite.h mri.h deffile.h pe-dll.h
296 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
297 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
299 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
300 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
301 ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
303 STAGESTUFF = *.o ldscripts/* e*.c
305 # At the moment this is just a list of those emulation template files
306 # that contain internationalised strings.
307 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
309 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
311 po/POTFILES.in: @MAINT@ Makefile
312 for file in $(POTFILES); do echo $$file; done | sort > tmp \
313 && mv tmp $(srcdir)/po/POTFILES.in
315 ldmain.o: ldmain.c config.status
316 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
318 ldemul-list.h: Makefile
319 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
320 for f in `echo " " ${EMULATION_OFILES} "" \
321 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
322 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
325 echo "#define EMULATION_LIST \\";\
326 for f in `echo " " ${EMULATION_OFILES} "" \
327 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
328 echo " &ld_$${f}_emulation, \\"; \
330 echo " 0") >ldemul-tmp.h
331 mv ldemul-tmp.h ldemul-list.h
333 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
334 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
336 # These all start with e so 'make clean' can find them.
338 GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
339 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
342 ea29k.c: $(srcdir)/emulparams/a29k.sh \
343 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
344 ${GENSCRIPTS} a29k "$(tdir_a29k)"
345 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
346 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
347 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
348 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
349 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
350 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
351 ealpha.c: $(srcdir)/emulparams/alpha.sh \
352 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
353 ${GENSCRIPTS} alpha "$(tdir_alpha)"
354 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
355 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
356 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
357 earmelf.c: $(srcdir)/emulparams/armelf.sh \
358 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
359 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
360 ${GENSCRIPTS} armelf "$(tdir_armelf)"
361 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
362 $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
363 ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
364 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
365 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
366 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
367 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
368 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
369 $(srcdir)/emulparams/armelf.sh \
370 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
371 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
372 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
373 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
374 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
375 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
376 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
377 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
378 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
379 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
380 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
381 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
382 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
383 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
384 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
385 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
386 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
387 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
388 earmpe.c: $(srcdir)/emulparams/armpe.sh \
389 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
390 ${GENSCRIPTS} armpe "$(tdir_armpe)"
391 eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \
392 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
394 ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)"
395 eavr1200.c: $(srcdir)/emulparams/avr1200.sh \
396 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
398 ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)"
399 eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \
400 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
402 ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)"
403 eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \
404 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
406 ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)"
407 eavr4433.c: $(srcdir)/emulparams/avr4433.sh \
408 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
410 ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)"
411 eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \
412 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
414 ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)"
415 eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \
416 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
418 ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)"
419 eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \
420 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
422 ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)"
423 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
424 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
425 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
426 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
427 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
428 ${GENSCRIPTS} crisaout "$(tdir_cris)"
429 ecriself.c: $(srcdir)/emulparams/criself.sh \
430 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
431 ${GENSCRIPTS} criself "$(tdir_cris)"
432 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
433 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
434 ${GENSCRIPTS} crislinux "$(tdir_cris)"
435 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
436 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
437 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
438 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
439 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
440 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
441 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
442 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
443 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
444 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
445 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
446 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
447 edelta68.c: $(srcdir)/emulparams/delta68.sh \
448 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
449 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
450 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
451 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
452 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
453 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
454 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
455 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
456 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
457 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
458 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
459 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
460 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
461 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
462 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
463 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
464 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
465 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
466 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
467 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
468 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
469 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
470 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
471 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
472 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
473 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
474 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
475 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
476 $(srcdir)/emulparams/elf32bmip.sh \
477 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
478 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
479 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
480 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
481 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
482 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
483 $(srcdir)/emulparams/elf32bmip.sh \
484 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
485 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
486 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
487 $(srcdir)/emulparams/elf32bmip.sh \
488 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
489 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
490 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
491 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
492 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
493 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
494 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
495 $(srcdir)/emulparams/elf32bmip.sh \
496 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
497 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
498 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
499 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
500 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
501 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
502 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
503 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
504 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
505 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
506 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
507 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
508 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
509 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
510 $(srcdir)/emulparams/elf32bmip.sh \
511 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
512 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
513 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
514 $(srcdir)/emulparams/elf32ppc.sh \
515 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
516 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
517 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
518 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
519 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
520 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
521 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
522 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
523 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
524 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
525 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
526 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
527 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
528 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
529 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
530 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
531 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
532 $(srcdir)/emulparams/elf32ppc.sh \
533 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
534 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
535 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
536 $(srcdir)/emulparams/elf32ppc.sh \
537 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
538 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
539 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
540 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
541 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
542 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
543 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
544 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
545 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
546 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
547 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
548 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
549 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
550 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
551 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
552 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
553 $(srcdir)/emulparams/elf64alpha.sh \
554 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
555 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
556 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
557 $(srcdir)/emulparams/hppa64linux.sh \
558 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
559 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
560 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
561 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
562 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
563 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
564 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
565 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
566 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
567 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
568 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
569 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
570 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
571 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
572 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
573 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
574 $(srcdir)/emulparams/elf32bmipn32.sh \
575 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
576 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
577 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
578 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
579 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
580 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
581 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
582 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
583 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
584 ${GENSCRIPTS} mmo "$(tdir_mmo)"
585 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
586 $(srcdir)/emulparams/elf32bmipn32.sh \
587 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
588 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
589 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
590 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
591 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
592 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
593 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
594 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
595 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
596 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
597 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
598 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
599 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
600 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
601 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
602 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
603 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
604 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
605 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
606 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
607 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
608 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
609 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
610 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
611 egld960.c: $(srcdir)/emulparams/gld960.sh \
612 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
613 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
614 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
615 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
616 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
617 eh8300.c: $(srcdir)/emulparams/h8300.sh \
618 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
619 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
620 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
621 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
622 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
623 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
624 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
625 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
626 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
627 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
628 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
629 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
630 $(srcdir)/emulparams/h8300elf.sh \
631 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
632 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
633 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
634 $(srcdir)/emulparams/h8300elf.sh \
635 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
636 ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
637 eh8500.c: $(srcdir)/emulparams/h8500.sh \
638 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
639 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
640 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
641 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
642 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
643 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
644 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
645 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
646 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
647 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
648 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
649 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
650 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
651 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
652 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
653 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
654 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
655 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
656 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
657 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
658 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
659 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
660 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
661 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
662 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
663 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
664 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
665 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
666 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
667 $(srcdir)/emulparams/hppaelf.sh \
668 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
669 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
670 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
671 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
672 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
673 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
674 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
675 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
676 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
677 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
678 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
679 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
680 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
681 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
682 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
683 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
684 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
685 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
686 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
687 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
688 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
689 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
690 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
691 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
692 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
693 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
694 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
695 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
696 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
697 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
698 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
699 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
700 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
701 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
702 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
703 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
704 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
705 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
706 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
707 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
708 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
709 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
710 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
711 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
712 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
713 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
714 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
715 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
716 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
717 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
718 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
719 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
720 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
721 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
722 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
723 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
724 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
725 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
726 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
727 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
728 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
729 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
730 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
731 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
732 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
733 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
734 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
735 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
736 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
737 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
738 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
739 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
740 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
741 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
742 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
743 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
744 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
745 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
746 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
747 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
748 $(srcdir)/emulparams/m68kelf.sh \
749 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
750 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
751 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
752 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
753 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
754 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
755 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
756 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
757 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
758 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
759 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
760 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
761 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
762 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
763 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
764 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
765 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
766 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
767 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
768 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
769 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
770 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
771 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
772 ${GENSCRIPTS} mipsbig
773 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
774 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
775 ${GENSCRIPTS} mipsbsd
776 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
777 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
778 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
779 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
780 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
781 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
782 emipslit.c: $(srcdir)/emulparams/mipslit.sh \
783 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
784 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
785 emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
786 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
787 ${GENSCRIPTS} mipslnews
788 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
789 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
790 ${GENSCRIPTS} mipspe "$(tdir_mips)"
791 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
792 $(srcdir)/emulparams/mn10200.sh \
793 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
794 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
795 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
796 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
797 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
798 enews.c: $(srcdir)/emulparams/news.sh \
799 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
800 ${GENSCRIPTS} news "$(tdir_news)"
801 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
802 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
803 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
804 eor32.c: $(srcdir)/emulparams/or32.sh \
805 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
806 ${GENSCRIPTS} or32 "$(tdir_or32)"
807 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
808 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
809 ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
810 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
811 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
812 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
813 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
814 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
815 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
816 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
817 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
818 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
819 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
820 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
821 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
822 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
823 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
824 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
825 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
826 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
827 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
828 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
829 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
830 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
831 eriscix.c: $(srcdir)/emulparams/riscix.sh \
832 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
833 ${GENSCRIPTS} riscix "$(tdir_riscix)"
834 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
835 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
836 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
837 esh.c: $(srcdir)/emulparams/sh.sh \
838 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
839 ${GENSCRIPTS} sh "$(tdir_sh)"
840 eshelf.c: $(srcdir)/emulparams/shelf.sh \
841 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
842 ${GENSCRIPTS} shelf "$(tdir_shelf)"
843 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
844 $(srcdir)/emulparams/shlelf_linux.sh \
845 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
846 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
847 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
848 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
849 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
850 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
851 $(srcdir)/emulparams/shelf.sh \
852 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
853 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
854 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
855 $(srcdir)/emulparams/shelf_nbsd.sh \
856 $(srcdir)/emulparams/shelf.sh \
857 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
858 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
859 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
860 $(srcdir)/emulparams/shelf.sh \
861 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
862 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
863 eshl.c: $(srcdir)/emulparams/shl.sh \
864 $(srcdir)/emulparams/sh.sh \
865 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
866 ${GENSCRIPTS} shl "$(tdir_shl)"
867 eshpe.c: $(srcdir)/emulparams/shpe.sh \
868 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
869 ${GENSCRIPTS} shpe "$(tdir_shl)"
870 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
871 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
872 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
873 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
874 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
875 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
876 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
877 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
878 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
879 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
880 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
881 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
882 est2000.c: $(srcdir)/emulparams/st2000.sh \
883 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
884 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
885 esun3.c: $(srcdir)/emulparams/sun3.sh \
886 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
887 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
888 esun4.c: $(srcdir)/emulparams/sun4.sh \
889 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
890 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
891 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
892 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
893 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
894 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
895 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
896 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
897 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
898 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
899 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
900 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
901 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
902 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
903 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
904 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
905 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
906 evax.c: $(srcdir)/emulparams/vax.sh \
907 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
908 ${GENSCRIPTS} vax "$(tdir_vax)"
909 evsta.c: $(srcdir)/emulparams/vsta.sh \
910 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
911 ${GENSCRIPTS} vsta "$(tdir_vsta)"
912 ev850.c: $(srcdir)/emulparams/v850.sh \
913 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
914 ${GENSCRIPTS} v850 "$(tdir_v850)"
915 ew65.c: $(srcdir)/emulparams/w65.sh \
916 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
917 ${GENSCRIPTS} w65 "$(tdir_w65)"
918 ez8001.c: $(srcdir)/emulparams/z8001.sh \
919 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
920 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
921 ez8002.c: $(srcdir)/emulparams/z8002.sh \
922 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
923 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
925 # We need this for automake to use YLWRAP.
926 EXTRA_ld_new_SOURCES = deffilep.y
928 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
929 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
930 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
931 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
933 # The generated emulation files mostly have the same dependencies.
934 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
935 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
936 ldctor.h ldexp.h ldlang.h ldgram.h
938 # This is the real libbfd.a created by libtool.
939 TESTBFDLIB = @TESTBFDLIB@
941 check-DEJAGNU: site.exp
942 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
944 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
945 EXPECT=$(EXPECT); export EXPECT; \
946 if [ -f $(top_builddir)/../expect/expect ]; then \
947 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
948 export TCL_LIBRARY; \
950 runtest=$(RUNTEST); \
951 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
952 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
953 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
954 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
955 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
956 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
957 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
959 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
962 # Rules for testing by relinking ld itself.
963 # A similar test is in the testsuite. This target is for ease of use
966 ld-partial.o: ld-new$(EXEEXT)
967 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
968 ld1$(EXEEXT): ld-partial.o
969 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
971 ld1-full$(EXEEXT): ld-new
972 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
974 ld2$(EXEEXT): ld1$(EXEEXT)
975 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
977 ld3$(EXEEXT): ld2$(EXEEXT)
978 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
980 bootstrap: ld3$(EXEEXT)
981 cmp ld2$(EXEEXT) ld3$(EXEEXT)
985 # A test program for C++ constructors and destructors.
986 # This test is now in the testsuite.
988 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
989 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
990 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
993 # ./cdtest > cdtest.tmp
994 # mv cdtest.tmp cdtest.out
996 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
997 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
998 # cdtest-bar.o cdtest-foo.o
1000 #cdtest-ur: cdtest-ur.o
1001 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1004 #cdtest-ur.out: cdtest-ur
1005 # ./cdtest-ur > cdtest-ur.tmp
1006 # mv cdtest-ur.tmp cdtest-ur.out
1008 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1009 # diff $(srcdir)/cdtest.exp cdtest.out
1010 # diff $(srcdir)/cdtest.exp cdtest-ur.out
1012 #.PHONY: check-cdtest
1014 # END OF CHECK TARGETS
1016 # DOCUMENTATION TARGETS
1017 # Manual configuration file; not usually attached to normal configuration,
1018 # because almost all configs use "gen" version of manual.
1019 # Set DOCVER above to change.
1020 configdoc.texi: ${DOCVER}-doc.texi
1021 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1022 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1023 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1025 ldver.texi: Makefile
1027 echo '@set VERSION $(VERSION)' > $@
1029 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1030 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
1031 $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1033 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1034 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
1035 MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1037 # Build the man page from the texinfo file
1038 # The sed command removes the no-adjust Nroff command so that
1039 # the man output looks standard.
1040 ld.1: $(srcdir)/ld.texinfo
1042 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1043 -($(POD2MAN) ld.pod | \
1044 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1045 mv -f $@.T$$$$ $@) || \
1046 (rm -f $@.T$$$$ && exit 1)
1049 MAINTAINERCLEANFILES = ldver.texi
1051 # We want to reconfigure if configure.host or configure.tgt changes.
1052 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
1054 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1055 ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
1058 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
1060 .PHONY: install-exec-local install-data-local
1062 install-exec-local: ld-new$(EXEEXT)
1063 $(mkinstalldirs) $(bindir) $(tooldir)/bin
1064 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1065 if test -f $$p; then \
1066 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1067 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1070 n=`echo ld | sed '$(transform)'`; \
1071 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1072 rm -f $(tooldir)/bin/ld$(EXEEXT); \
1073 ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1074 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \
1078 $(mkinstalldirs) $(scriptdir)/ldscripts
1079 for f in ldscripts/*; do \
1080 $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
1083 # We want install to imply install-info as per GNU standards, despite the
1085 install: install-info
1087 # Stuff that should be included in a distribution. The diststuff
1088 # target is run by the taz target in ../Makefile.in.
1089 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
1090 diststuff: info $(EXTRA_DIST)
1092 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
1096 Makefile: $(BFDDIR)/configure.in
1098 # Targets to rebuild dependencies in this Makefile.
1099 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1100 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1102 $(MAKE) MKDEP="$(MKDEP)" DEP1
1103 sed -f dep.sed < DEP1 > DEPA
1104 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1105 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1106 echo 'make DEP failed!'; exit 1; \
1111 DEP1: $(CFILES) $(GENERATED_CFILES)
1112 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1113 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1114 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1117 dep.sed: dep-in.sed config.status
1118 sed <$(srcdir)/dep-in.sed >dep.sed \
1119 -e 's!@INCDIR@!$(INCDIR)!' \
1120 -e 's!@SRCDIR@!$(srcdir)!'
1123 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1124 cat DEP >> tmp-Makefile
1125 $(srcdir)/../move-if-change tmp-Makefile Makefile
1128 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1129 cat DEP >> tmp-Makefile.in
1130 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1133 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1134 cat DEP >> tmp-Makefile.am
1135 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1137 .PHONY: dep dep-in dep-am
1139 # What appears below is generated by a hacked mkdep using gcc -MM.
1141 # DO NOT DELETE THIS LINE -- mkdep uses it.
1142 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1143 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1144 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1145 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1146 ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
1147 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1148 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1149 ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1150 ldfile.h ldemul.h ldmain.h ldemul-list.h
1151 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1152 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1153 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1154 ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h
1155 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1156 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1157 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1158 ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
1159 ldlex.h ldemul.h $(INCDIR)/libiberty.h
1160 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1161 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1162 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
1163 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1164 ldgram.h ldexp.h ldlang.h ldlex.h ldmisc.h ldctor.h \
1165 ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
1166 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1167 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1168 $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
1169 $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
1170 ldmain.h ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h \
1171 ldlex.h ldfile.h ldemul.h ldctor.h
1172 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1173 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1174 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \
1175 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
1177 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1178 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1179 ld.h $(INCDIR)/bin-bugs.h ldver.h ldexp.h ldlang.h \
1180 ldfile.h ldemul.h ldmain.h
1181 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1182 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1183 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1184 ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
1185 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1186 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1187 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1188 ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1189 ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
1190 $(INCDIR)/demangle.h
1191 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1192 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1193 ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1194 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1195 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1196 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1197 ldmain.h ldmisc.h ldexp.h ldlang.h
1198 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1199 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1200 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1201 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1202 ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
1203 ../bfd/libcoff.h deffile.h pe-dll.h
1204 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1205 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1206 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1207 ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
1208 mri.h ldctor.h ldlex.h
1209 ldlex.o: ldlex.c ../bfd/bfd.h $(INCDIR)/symcat.h sysdep.h \
1210 config.h $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h \
1211 ld.h $(INCDIR)/bin-bugs.h ldgram.h ldmisc.h ldexp.h \
1212 ldlang.h ldfile.h ldlex.h ldmain.h $(INCDIR)/libiberty.h
1213 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1214 $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
1215 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1217 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY