* config/tc-mips.c: Add define for $zero register.
[binutils.git] / ld / Makefile.am
blobeb6ae20c48d939623775a7f9828bfd50d6067551
1 ## Process this file with automake to generate Makefile.in
3 ## FIXME: work around apparent automake bug.
4 INTLLIBS = @INTLLIBS@
6 AUTOMAKE_OPTIONS = cygnus dejagnu
8 SUBDIRS = po
10 tooldir = $(exec_prefix)/$(target_alias)
12 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
13 YFLAGS = -d
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
24 EMUL = @EMUL@
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
34 LIB_PATH =
36 BASEDIR = $(srcdir)/..
37 BFDDIR = $(BASEDIR)/bfd
38 INCDIR  = $(BASEDIR)/include
39 MKDEP = gcc -MM
41 # What version of the manual to build
42 DOCVER = gen
44 # Options to extract the man page from ld.texinfo
45 MANCONF = -Dman
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`
66 RUNTESTFLAGS =
68 CC_FOR_TARGET = ` \
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; \
72     else \
73       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
74     fi; \
75   else \
76     if [ "@host@" = "@target@" ] ; then \
77       echo $(CC); \
78     else \
79       echo gcc | sed '$(transform)'; \
80     fi; \
81   fi`
83 CXX = gcc
84 CXX_FOR_TARGET = ` \
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; \
88     else \
89       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
90     fi; \
91   else \
92     if [ "@host@" = "@target@" ] ; then \
93       echo $(CXX); \
94     else \
95       echo gcc | sed '$(transform)'; \
96     fi; \
97   fi`
99 noinst_PROGRAMS = ld-new
100 info_TEXINFOS = ld.texinfo
101 noinst_TEXINFOS = ldint.texinfo
102 man_MANS = ld.1
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
109 ALL_EMULATIONS = \
110         ea29k.o \
111         eaixppc.o \
112         eaixrs6.o \
113         ealpha.o \
114         earcelf.o \
115         earm_epoc_pe.o \
116         earmaoutb.o \
117         earmaoutl.o \
118         earmcoff.o \
119         earmelf.o \
120         earmelf_fbsd.o \
121         earmelf_linux.o \
122         earmelf_nbsd.o \
123         earmelfb_nbsd.o \
124         earmelf_oabi.o \
125         earmnbsd.o \
126         earmpe.o \
127         eavr1200.o \
128         eavr23xx.o \
129         eavr4433.o \
130         eavr44x4.o \
131         eavr85xx.o \
132         eavrmega103.o \
133         eavrmega161.o \
134         eavrmega603.o \
135         eavr1.o \
136         eavr2.o \
137         eavr3.o \
138         eavr4.o \
139         eavr5.o \
140         ecoff_sparc.o \
141         ecrisaout.o \
142         ecriself.o \
143         ecrislinux.o \
144         ed10velf.o \
145         ed30v_e.o \
146         ed30v_o.o \
147         ed30velf.o \
148         edelta68.o \
149         eelf32_dlx.o \
150         eebmon29k.o \
151         eelf32_i960.o \
152         eelf32_i860.o \
153         eelf32_sparc.o \
154         eelf32b4300.o \
155         eelf32bmip.o \
156         eelf32bmipn32.o \
157         eelf32btsmip.o \
158         eelf32ltsmip.o \
159         eelf32ebmip.o \
160         eelf32elmip.o \
161         eelf32fr30.o \
162         eelf32i370.o \
163         eelf32l4300.o \
164         eelf32lmip.o \
165         eelf32lppc.o \
166         eelf32lppcsim.o \
167         eelf32mcore.o \
168         eelf32openrisc.o \
169         eelf32ppc.o \
170         eelf32ppc_fbsd.o \
171         eelf32ppclinux.o \
172         eelf32ppcsim.o \
173         eelf32ppcwindiss.o \
174         eelf32vax.o \
175         eelf32xstormy16.o \
176         eelf_i386.o \
177         eelf_i386_be.o \
178         eelf_i386_chaos.o \
179         eelf_i386_fbsd.o \
180         eelf_i386_ldso.o \
181         eelf_s390.o \
182         egld960.o \
183         egld960coff.o \
184         eh8300.o \
185         eh8300h.o \
186         eh8300s.o \
187         eh8300elf.o \
188         eh8300helf.o \
189         eh8300self.o \
190         eh8500.o \
191         eh8500b.o \
192         eh8500c.o \
193         eh8500m.o \
194         eh8500s.o \
195         ehp300bsd.o \
196         ehp3hpux.o \
197         ehppaelf.o \
198         ehppalinux.o \
199         ehppanbsd.o \
200         ei386aout.o \
201         ei386beos.o \
202         ei386bsd.o \
203         ei386coff.o \
204         ei386go32.o \
205         ei386linux.o \
206         ei386lynx.o \
207         ei386mach.o \
208         ei386moss.o \
209         ei386msdos.o \
210         ei386nbsd.o \
211         ei386nto.o \
212         ei386nw.o \
213         ei386pe.o \
214         ei386pe_posix.o \
215         elnk960.o \
216         em68hc11elf.o \
217         em68hc11elfb.o \
218         em68hc12elf.o \
219         em68hc12elfb.o \
220         em68k4knbsd.o \
221         em68kaout.o \
222         em68kaux.o \
223         em68kcoff.o \
224         em68kelf.o \
225         em68kelfnbsd.o \
226         em68klinux.o \
227         em68klynx.o \
228         em68knbsd.o \
229         em68kpsos.o \
230         em88kbcs.o \
231         emcorepe.o \
232         emipsbig.o \
233         emipsbsd.o \
234         emipsidt.o \
235         emipsidtl.o \
236         emipslit.o \
237         emipslnews.o \
238         emipspe.o \
239         enews.o \
240         ens32knbsd.o \
241         eor32.o \
242         eor32elf.o \
243         epc532macha.o \
244         epdp11.o \
245         epjelf.o \
246         epjlelf.o \
247         eppcmacos.o \
248         eppcnw.o \
249         eppcpe.o \
250         eriscix.o \
251         esa29200.o \
252         esh.o \
253         eshelf32.o \
254         eshlelf32.o \
255         eshelf32_nbsd.o \
256         eshlelf32_nbsd.o \
257         eshelf.o \
258         eshelf_linux.o \
259         eshlelf_linux.o \
260         eshelf_nbsd.o \
261         eshlelf_nbsd.o \
262         eshl.o \
263         eshlelf.o \
264         eshpe.o \
265         esparcaout.o \
266         esparclinux.o \
267         esparclynx.o \
268         esparcnbsd.o \
269         est2000.o \
270         esun3.o \
271         esun4.o \
272         etic30aout.o \
273         etic30coff.o \
274         etic54xcoff.o \
275         etic80coff.o \
276         evanilla.o \
277         evax.o \
278         evaxnbsd.o \
279         evsta.o \
280         ew65.o \
281         ez8001.o \
282         ez8002.o
284 ALL_64_EMULATIONS = \
285         eelf64_aix.o \
286         eelf64_ia64.o \
287         eelf64_ia64_fbsd.o \
288         eshelf64.o \
289         eshlelf64.o \
290         eshelf64_nbsd.o \
291         eshlelf64_nbsd.o \
292         eelf_x86_64.o \
293         eelf_x86_64_fbsd.o \
294         eelf64_s390.o \
295         eelf64_sparc.o \
296         eelf64_sparc_fbsd.o \
297         eelf64alpha.o \
298         eelf64alpha_fbsd.o \
299         eelf64alpha_nbsd.o \
300         eelf64bmip.o \
301         eelf64btsmip.o \
302         eelf64ltsmip.o \
303         eelf64hppa.o \
304         eelf64mmix.o \
305         emmo.o \
306         eelf64ppc.o \
307         eelf64lppc.o \
308         ehppa64linux.o
310 ALL_EMUL_EXTRA_OFILES = \
311         deffilep.o \
312         pe-dll.o
314 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
315         ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
316         mri.c ldcref.c pe-dll.c
318 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
319         ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
320         ldwrite.h mri.h deffile.h pe-dll.h
322 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
323 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
325 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
326         ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o \
327         ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
329 STAGESTUFF = *.o ldscripts/* e*.c
331 # At the moment this is just a list of those emulation template files
332 # that contain internationalised strings.
333 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
335 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
337 po/POTFILES.in: @MAINT@ Makefile
338         for file in $(POTFILES); do echo $$file; done | sort > tmp \
339           && mv tmp $(srcdir)/po/POTFILES.in
341 ldmain.o: ldmain.c config.status
342         $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
344 ldemul-list.h: Makefile
345         (echo "/* This file is automatically generated.  DO NOT EDIT! */";\
346         for f in `echo " " ${EMULATION_OFILES} "" \
347          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
348             echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
349         done;\
350         echo "";\
351         echo "#define EMULATION_LIST \\";\
352         for f in `echo " " ${EMULATION_OFILES} "" \
353          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
354             echo "  &ld_$${f}_emulation, \\"; \
355         done;\
356         echo "  0") >ldemul-tmp.h
357         mv ldemul-tmp.h ldemul-list.h
359 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
360           cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
362 # These all start with e so 'make clean' can find them.
364 GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
365 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
366 @TDIRS@
368 ea29k.c: $(srcdir)/emulparams/a29k.sh \
369   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
370         ${GENSCRIPTS} a29k "$(tdir_a29k)"
371 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
372   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
373         ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
374 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
375   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
376         ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
377 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
378   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
379         ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
380 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
381   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
382         ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
383 ealpha.c: $(srcdir)/emulparams/alpha.sh \
384   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
385         ${GENSCRIPTS} alpha "$(tdir_alpha)"
386 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
387   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
388         ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
389 earmelf.c: $(srcdir)/emulparams/armelf.sh \
390   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
391   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
392         ${GENSCRIPTS} armelf "$(tdir_armelf)"
393 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
394   $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
395         ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
396 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
397   $(srcdir)/emulparams/armelf.sh \
398   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
399   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
400         ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
401 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
402   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
403   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
404         ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
405 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
406   $(srcdir)/emulparams/armelf.sh \
407   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
408   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
409         ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
410 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
411   $(srcdir)/emulparams/armelf_nbsd.sh \
412   $(srcdir)/emulparams/armelf.sh \
413   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
414   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
415         ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
416 earmaoutb.c:    $(srcdir)/emulparams/armaoutb.sh \
417   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
418         ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
419 earmaoutl.c:    $(srcdir)/emulparams/armaoutl.sh \
420   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
421         ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
422 earmcoff.c:     $(srcdir)/emulparams/armcoff.sh \
423   $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
424         ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
425 earmnbsd.c:     $(srcdir)/emulparams/armnbsd.sh \
426   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
427         ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
428 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
429   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
430         ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
431 earmpe.c: $(srcdir)/emulparams/armpe.sh \
432   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
433         ${GENSCRIPTS} armpe "$(tdir_armpe)"
434 eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \
435   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
436   ${GEN_DEPENDS}
437         ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)"
438 eavr1200.c: $(srcdir)/emulparams/avr1200.sh \
439   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
440   ${GEN_DEPENDS}
441         ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)"
442 eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \
443   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
444   ${GEN_DEPENDS}
445         ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)"
446 eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \
447   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
448   ${GEN_DEPENDS}
449         ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)"
450 eavr4433.c: $(srcdir)/emulparams/avr4433.sh \
451   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
452   ${GEN_DEPENDS}
453         ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)"
454 eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \
455   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
456   ${GEN_DEPENDS}
457         ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)"
458 eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \
459   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
460   ${GEN_DEPENDS}
461         ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)"
462 eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \
463   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
464   ${GEN_DEPENDS}
465         ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)"
466 eavr1.c: $(srcdir)/emulparams/avr1.sh \
467   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
468   ${GEN_DEPENDS}
469         ${GENSCRIPTS} avr1 "$(tdir_avr85xx)"
470 eavr2.c: $(srcdir)/emulparams/avr2.sh \
471   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
472   ${GEN_DEPENDS}
473         ${GENSCRIPTS} avr2 "$(tdir_avr85xx)"
474 eavr3.c: $(srcdir)/emulparams/avr3.sh \
475   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
476   ${GEN_DEPENDS}
477         ${GENSCRIPTS} avr3 "$(tdir_avr85xx)"
478 eavr4.c: $(srcdir)/emulparams/avr4.sh \
479   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
480   ${GEN_DEPENDS}
481         ${GENSCRIPTS} avr4 "$(tdir_avr85xx)"
482 eavr5.c: $(srcdir)/emulparams/avr5.sh \
483   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
484   ${GEN_DEPENDS}
485         ${GENSCRIPTS} avr5 "$(tdir_avr85xx)"
486 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
487   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
488         ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
489 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
490   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
491         ${GENSCRIPTS} crisaout "$(tdir_cris)"
492 ecriself.c: $(srcdir)/emulparams/criself.sh \
493   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
494         ${GENSCRIPTS} criself "$(tdir_cris)"
495 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
496   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
497         ${GENSCRIPTS} crislinux "$(tdir_cris)"
498 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
499   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
500         ${GENSCRIPTS} d10velf "$(tdir_d10v)"
501 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
502   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
503         ${GENSCRIPTS} d30velf "$(tdir_d30v)"
504 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
505   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
506         ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
507 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
508   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
509         ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
510 edelta68.c: $(srcdir)/emulparams/delta68.sh \
511   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
512         ${GENSCRIPTS} delta68 "$(tdir_delta68)"
513 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
514   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
515         ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
516 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
517   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
518         ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
519 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
520   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
521   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
522         ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
523 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
524   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
525         ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
526 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
527   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
528         ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
529 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
530   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
531         ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
532 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
533   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
534         ${GENSCRIPTS} m32relf "$(tdir_m32r)"
535 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
536   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
537         ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
538 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
539   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
540         ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
541 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
542   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
543         ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
544 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
545   $(srcdir)/emulparams/elf32bmip.sh \
546   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
547         ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
548 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
549   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
550         ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
551 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
552   $(srcdir)/emulparams/elf32bmip.sh \
553   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
554         ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
555 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
556   $(srcdir)/emulparams/elf32bmip.sh \
557   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
558         ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
559 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
560   $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
561   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
562         ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
563 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
564   $(srcdir)/emulparams/elf32bmip.sh \
565   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
566         ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
567 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
568   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
569   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
570         ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
571 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
572   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
573         ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
574 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
575   $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
576   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
577         ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
578 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
579   $(srcdir)/emulparams/elf32bmip.sh \
580   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
581         ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
582 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
583   $(srcdir)/emulparams/elf32ppc.sh \
584   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
585         ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
586 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
587   $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
588   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
589         ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
590 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh ${GEN_DEPENDS}
591         ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
592 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
593   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
594   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
595         ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
596 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
597   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
598         ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
599 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
600   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
601         ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
602 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
603   $(srcdir)/emulparams/elf32ppc.sh \
604   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
605         ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
606 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
607   $(srcdir)/emulparams/elf32ppc.sh \
608   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
609         ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
610 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
611   $(srcdir)/emulparams/elf32ppc.sh \
612   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
613         ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
614 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
615   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
616         ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
617 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
618   $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
619   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
620         ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
621 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
622   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
623         ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
624 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
625   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
626         ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
627 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
628   $(srcdir)/emulparams/elf64alpha.sh \
629   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
630         ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
631 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
632   $(srcdir)/emulparams/elf64alpha.sh \
633   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
634         ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
635 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
636   $(srcdir)/emulparams/hppa64linux.sh \
637   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
638         ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
639 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
640   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
641         ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
642 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
643   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
644   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
645         ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
646 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
647   $(srcdir)/emulparams/elf64_ia64.sh \
648   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
649   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
650         ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
651 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
652   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
653         ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
654 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
655   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
656         ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
657 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
658   $(srcdir)/emulparams/elf64_sparc.sh \
659   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
660         ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
661 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
662   $(srcdir)/emulparams/elf32bmipn32.sh \
663   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
664         ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
665 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
666   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
667   $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
668         ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
669 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
670   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
671   $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
672         ${GENSCRIPTS} mmo "$(tdir_mmo)"
673 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
674   $(srcdir)/emulparams/elf32bmipn32.sh \
675   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
676         ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
677 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
678   $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
679   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
680         ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
681 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
682   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
683         ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
684 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
685   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
686         ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
687 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
688   $(srcdir)/emulparams/elf_x86_64.sh \
689   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
690         ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
691 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
692   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
693         ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
694 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
695   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
696         ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
697 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
698   $(srcdir)/emulparams/elf_i386.sh \
699   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
700         ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
701 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
702   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
703         ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
704 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
705   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
706         ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
707 egld960.c: $(srcdir)/emulparams/gld960.sh \
708   $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
709         ${GENSCRIPTS} gld960 "$(tdir_gld960)"
710 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
711   $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
712         ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
713 eh8300.c: $(srcdir)/emulparams/h8300.sh \
714   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
715         ${GENSCRIPTS} h8300 "$(tdir_h8300)"
716 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
717   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
718         ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
719 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
720   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
721         ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
722 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
723   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
724         ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
725 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
726   $(srcdir)/emulparams/h8300elf.sh \
727   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
728         ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
729 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
730   $(srcdir)/emulparams/h8300elf.sh \
731   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
732         ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
733 eh8500.c: $(srcdir)/emulparams/h8500.sh \
734   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
735         ${GENSCRIPTS} h8500 "$(tdir_h8500)"
736 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
737   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
738         ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
739 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
740   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
741         ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
742 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
743   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
744         ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
745 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
746   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
747         ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
748 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
749   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
750         ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
751 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
752   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
753         ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
754 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
755   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
756   $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
757         ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
758 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
759   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
760   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
761         ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
762 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
763   $(srcdir)/emulparams/hppaelf.sh \
764   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
765   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
766         ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
767 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
768   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
769         ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
770 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
771   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
772         ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
773 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
774   $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
775         ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
776 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
777   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
778         ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
779 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
780   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
781         ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
782 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
783   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
784         ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
785 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
786   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
787         ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
788 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
789   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
790         ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
791 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
792   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
793         ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
794 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
795   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
796         ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
797 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
798   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
799         ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
800 ei386nbsd.c:    $(srcdir)/emulparams/i386nbsd.sh \
801   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
802         ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
803 ei386nto.c:     $(srcdir)/emulparams/i386nto.sh \
804   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
805         ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
806 ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
807   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
808         ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
809 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
810   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
811         ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
812 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
813   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
814         ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
815 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
816   $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
817         ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
818 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
819   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
820         ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
821 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
822   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
823         ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
824 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
825   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
826         ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
827 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
828   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
829         ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
830 em68k4knbsd.c:  $(srcdir)/emulparams/m68k4knbsd.sh \
831   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
832         ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
833 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
834   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
835         ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
836 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
837   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
838         ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
839 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
840   $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
841         ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
842 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
843   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
844   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
845         ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
846 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
847   $(srcdir)/emulparams/m68kelf.sh \
848   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
849   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
850         ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
851 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
852   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
853         ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
854 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
855   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
856         ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
857 em68knbsd.c:    $(srcdir)/emulparams/m68knbsd.sh \
858   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
859         ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
860 em68kpsos.c:    $(srcdir)/emulparams/m68kpsos.sh \
861   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
862         ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
863 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
864   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
865         ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
866 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
867   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
868         ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
869 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
870   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
871         ${GENSCRIPTS} mipsbig
872 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
873   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
874         ${GENSCRIPTS} mipsbsd
875 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
876   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
877         ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
878 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
879   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
880         ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
881 emipslit.c:  $(srcdir)/emulparams/mipslit.sh \
882   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
883         ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
884 emipslnews.c:  $(srcdir)/emulparams/mipslnews.sh \
885   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
886         ${GENSCRIPTS} mipslnews
887 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
888   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
889         ${GENSCRIPTS} mipspe "$(tdir_mips)"
890 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
891   $(srcdir)/emulparams/mn10200.sh \
892   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
893         ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
894 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
895   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
896         ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
897 enews.c: $(srcdir)/emulparams/news.sh \
898   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
899         ${GENSCRIPTS} news "$(tdir_news)"
900 ens32knbsd.c:   $(srcdir)/emulparams/ns32knbsd.sh \
901   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
902         ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
903 eor32.c: $(srcdir)/emulparams/or32.sh \
904   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
905         ${GENSCRIPTS} or32 "$(tdir_or32)"
906 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
907   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
908         ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
909 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
910   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
911         ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
912 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
913   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
914         ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
915 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
916   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
917         ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
918 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
919   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
920         ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
921 eppcmacos.c:    $(srcdir)/emulparams/ppcmacos.sh \
922   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
923         ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
924 eppcnw.c:       $(srcdir)/emulparams/ppcnw.sh \
925   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
926         ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
927 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
928   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
929         ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
930 eriscix.c: $(srcdir)/emulparams/riscix.sh \
931   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
932         ${GENSCRIPTS} riscix "$(tdir_riscix)"
933 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
934   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
935         ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
936 esh.c: $(srcdir)/emulparams/sh.sh \
937   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
938         ${GENSCRIPTS} sh "$(tdir_sh)"
939 eshelf.c: $(srcdir)/emulparams/shelf.sh \
940   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
941         ${GENSCRIPTS} shelf "$(tdir_shelf)"
942 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
943   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
944   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
945   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
946         ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
947 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
948   $(srcdir)/emulparams/shelf32.sh \
949   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
950   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
951   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
952         ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
953 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
954   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
955         ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
956 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
957   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
958   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
959         ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
960 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
961   $(srcdir)/emulparams/shlelf_linux.sh \
962   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
963         ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
964 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
965   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
966         ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
967 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
968   $(srcdir)/emulparams/shelf.sh \
969   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
970         ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
971 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
972   $(srcdir)/emulparams/shelf_nbsd.sh \
973   $(srcdir)/emulparams/shelf.sh \
974   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
975         ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
976 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
977   $(srcdir)/emulparams/shelf.sh \
978   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
979         ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
980 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
981   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
982   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
983   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
984         ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
985 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
986   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
987   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
988   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
989   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
990         ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
991 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
992   $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
993   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
994         ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
995 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
996   $(srcdir)/emulparams/shelf64_nbsd.sh \
997   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
998   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
999         ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1000 eshl.c: $(srcdir)/emulparams/shl.sh \
1001   $(srcdir)/emulparams/sh.sh \
1002   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1003         ${GENSCRIPTS} shl "$(tdir_shl)"
1004 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1005   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1006         ${GENSCRIPTS} shpe "$(tdir_shl)"
1007 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1008   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1009         ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1010 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1011   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1012         ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1013 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
1014   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
1015         ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
1016 esparcnbsd.c:   $(srcdir)/emulparams/sparcnbsd.sh \
1017   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1018         ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1019 est2000.c: $(srcdir)/emulparams/st2000.sh \
1020   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1021         ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1022 esun3.c: $(srcdir)/emulparams/sun3.sh \
1023   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1024         ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1025 esun4.c: $(srcdir)/emulparams/sun4.sh \
1026   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1027         ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1028 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1029   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1030         ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1031 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1032   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1033         ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1034 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1035   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1036         ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1037 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1038   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1039         ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1040 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1041   $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1042         ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1043 evax.c: $(srcdir)/emulparams/vax.sh \
1044   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1045         ${GENSCRIPTS} vax "$(tdir_vax)"
1046 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1047   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1048         ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1049 evsta.c: $(srcdir)/emulparams/vsta.sh \
1050   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1051         ${GENSCRIPTS} vsta "$(tdir_vsta)"
1052 ev850.c: $(srcdir)/emulparams/v850.sh \
1053   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1054         ${GENSCRIPTS} v850 "$(tdir_v850)"
1055 ew65.c: $(srcdir)/emulparams/w65.sh \
1056   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1057         ${GENSCRIPTS} w65 "$(tdir_w65)"
1058 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1059   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1060         ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1061 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1062   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1063         ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1065 # We need this for automake to use YLWRAP.
1066 EXTRA_ld_new_SOURCES = deffilep.y
1068 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1069         ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
1070 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
1071 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
1073 # The generated emulation files mostly have the same dependencies.
1074 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
1075   ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
1076   ldctor.h ldexp.h ldlang.h ldgram.h
1078 # This is the real libbfd.a created by libtool.
1079 TESTBFDLIB = @TESTBFDLIB@
1081 check-DEJAGNU: site.exp
1082         srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1083         r=`pwd`; export r; \
1084         LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
1085         EXPECT=$(EXPECT); export EXPECT; \
1086         if [ -f $(top_builddir)/../expect/expect ]; then \
1087           TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
1088           export TCL_LIBRARY; \
1089         fi; \
1090         runtest=$(RUNTEST); \
1091         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1092           $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1093                 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1094                 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1095                 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1096                 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1097                 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
1098                 $(RUNTESTFLAGS); \
1099         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1100         fi
1102 # Rules for testing by relinking ld itself.
1103 # A similar test is in the testsuite.  This target is for ease of use
1104 # when porting ld.
1106 ld-partial.o: ld-new$(EXEEXT)
1107         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
1108 ld1$(EXEEXT): ld-partial.o
1109         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1111 ld1-full$(EXEEXT): ld-new
1112         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1114 ld2$(EXEEXT): ld1$(EXEEXT)
1115         ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1117 ld3$(EXEEXT): ld2$(EXEEXT)
1118         ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1120 bootstrap: ld3$(EXEEXT)
1121         cmp ld2$(EXEEXT) ld3$(EXEEXT)
1123 .PHONY: bootstrap
1125 # A test program for C++ constructors and destructors.
1126 # This test is now in the testsuite.
1128 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1129 #       ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1130 #         cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
1132 #cdtest.out: cdtest
1133 #       ./cdtest > cdtest.tmp
1134 #       mv cdtest.tmp cdtest.out
1136 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1137 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
1138 #         cdtest-bar.o cdtest-foo.o
1140 #cdtest-ur: cdtest-ur.o
1141 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1142 #         $(HOSTING_LIBS)
1144 #cdtest-ur.out: cdtest-ur
1145 #       ./cdtest-ur > cdtest-ur.tmp
1146 #       mv cdtest-ur.tmp cdtest-ur.out
1148 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1149 #       diff $(srcdir)/cdtest.exp cdtest.out
1150 #       diff $(srcdir)/cdtest.exp cdtest-ur.out
1152 #.PHONY: check-cdtest
1154 # END OF CHECK TARGETS
1156 # DOCUMENTATION TARGETS
1157 # Manual configuration file; not usually attached to normal configuration,
1158 # because almost all configs use "gen" version of manual.
1159 #  Set DOCVER above to change.
1160 configdoc.texi: ${DOCVER}-doc.texi
1161         ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1162           || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1163           || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1165 ldver.texi: Makefile
1166         rm -f $@
1167         echo '@set VERSION $(VERSION)' > $@
1169 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1170         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
1171         $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1173 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1174         TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
1175           MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1177 # Build the man page from the texinfo file
1178 # The sed command removes the no-adjust Nroff command so that
1179 # the man output looks standard.
1180 ld.1: $(srcdir)/ld.texinfo
1181         touch $@
1182         -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1183         -($(POD2MAN) ld.pod | \
1184                 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1185                 mv -f $@.T$$$$ $@) || \
1186                 (rm -f $@.T$$$$ && exit 1)
1187         rm -f ld.pod
1189 MAINTAINERCLEANFILES = ldver.texi
1191 # We want to reconfigure if configure.host or configure.tgt changes.
1192 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
1194 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1195         ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
1196 mostlyclean-local:
1197         -rm -rf tmpdir
1198 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
1200 .PHONY: install-exec-local install-data-local
1202 install-exec-local: ld-new$(EXEEXT)
1203         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1204         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1205           if test -f $$p; then \
1206             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1207             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1208           else :; fi; \
1209         done
1210         n=`echo ld | sed '$(transform)'`; \
1211         if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1212           rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1213           ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1214           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1215         fi
1217 install-data-local:
1218         $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1219         for f in ldscripts/*; do \
1220           $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1221         done
1223 # We want install to imply install-info as per GNU standards, despite the
1224 # cygnus option.
1225 install: install-info
1227 # Stuff that should be included in a distribution.  The diststuff
1228 # target is run by the taz target in ../Makefile.in.
1229 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
1230 diststuff: info $(EXTRA_DIST)
1232 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
1233 distclean-local:
1234         rm -rf ldscripts
1236 Makefile: $(BFDDIR)/configure.in
1238 # Targets to rebuild dependencies in this Makefile.
1239 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1240 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1241         rm -f DEP1
1242         $(MAKE) MKDEP="$(MKDEP)" DEP1
1243         sed -f dep.sed < DEP1 > DEPA
1244         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1245         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1246           echo 'make DEP failed!'; exit 1; \
1247         else \
1248           mv -f DEPA $@; \
1249         fi
1251 DEP1: $(CFILES) $(GENERATED_CFILES)
1252         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1253         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1254         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1255         mv -f DEP2 $@
1257 dep.sed: dep-in.sed config.status
1258         sed <$(srcdir)/dep-in.sed >dep.sed      \
1259                 -e 's!@INCDIR@!$(INCDIR)!'      \
1260                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
1261                 -e 's!@SRCDIR@!$(srcdir)!'      \
1262                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
1264 dep: DEP
1265         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1266         cat DEP >> tmp-Makefile
1267         $(srcdir)/../move-if-change tmp-Makefile Makefile
1269 dep-in: DEP
1270         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1271         cat DEP >> tmp-Makefile.in
1272         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1274 dep-am: DEP
1275         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1276         cat DEP >> tmp-Makefile.am
1277         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1279 .PHONY: dep dep-in dep-am
1281 @MAINT@.PHONY: mpw
1282 @MAINT@mpw: $(srcdir)/mpw-ei386go32.c $(srcdir)/mpw-elfmips.c \
1283 @MAINT@ $(srcdir)/mpw-em68kcoff.c $(srcdir)/mpw-eppcmac.c \
1284 @MAINT@ $(srcdir)/mpw-esh.c $(srcdir)/mpw-idtmips.c
1285 @MAINT@
1286 @MAINT@$(srcdir)/mpw-ei386go32.c: ei386go32.c
1287 @MAINT@ $(srcdir)/../move-if-change $< $@
1288 @MAINT@
1289 @MAINT@$(srcdir)/mpw-elfmips.c: eelf32ebmip.c
1290 @MAINT@ $(srcdir)/../move-if-change $< $@
1291 @MAINT@
1292 @MAINT@$(srcdir)/mpw-em68kcoff.c: em68kcoff.c
1293 @MAINT@ $(srcdir)/../move-if-change $< $@
1294 @MAINT@
1295 @MAINT@$(srcdir)/mpw-eppcmac.c: eppcmacos.c
1296 @MAINT@ $(srcdir)/../move-if-change $< $@
1297 @MAINT@
1298 @MAINT@$(srcdir)/mpw-esh.c: esh.c
1299 @MAINT@ $(srcdir)/../move-if-change $< $@
1300 @MAINT@
1301 @MAINT@$(srcdir)/mpw-idtmips.c: emipsidt.c
1302 @MAINT@ $(srcdir)/../move-if-change $< $@
1304 # What appears below is generated by a hacked mkdep using gcc -MM.
1306 # DO NOT DELETE THIS LINE -- mkdep uses it.
1307 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1308 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1309   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1310   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1311   ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
1312 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1313   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1314   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1315   ldfile.h ldemul.h ldmain.h ldemul-list.h
1316 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1317   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1318   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1319   ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
1320   $(INCDIR)/safe-ctype.h
1321 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1322   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1323   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1324   ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
1325   ldlex.h ldemul.h $(INCDIR)/libiberty.h
1326 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1327   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1328   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
1329   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1330   ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
1331   ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
1332 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1333   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1334   $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
1335   $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
1336   ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
1337   ldlex.h ldfile.h ldemul.h ldctor.h
1338 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1339   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1340   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \
1341   ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
1342   ldfile.h
1343 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1344   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1345   ld.h $(INCDIR)/bin-bugs.h ldver.h ldexp.h ldlang.h \
1346   ldfile.h ldemul.h ldmain.h
1347 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1348   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1349   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1350   ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
1351 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1352   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1353   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1354   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1355   ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
1356   $(INCDIR)/demangle.h
1357 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1358   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1359   ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1360 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1361   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1362   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1363   ldmain.h ldmisc.h ldexp.h ldlang.h
1364 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1365   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1366   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1367   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1368   ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
1369   $(BFDDIR)/libcoff.h deffile.h pe-dll.h
1370 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1371   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1372   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1373   ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
1374   mri.h ldctor.h ldlex.h
1375 ldlex.o: ldlex.c $(INCDIR)/ansidecl.h ../bfd/bfd.h \
1376   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1377   $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \
1378   ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h ldmain.h \
1379   $(INCDIR)/libiberty.h
1380 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1381   $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
1382   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1383   ldmisc.h deffile.h
1384 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY