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