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