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