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