Eh... sanitize date of last entry
[binutils.git] / ld / Makefile.am
blob308d422d1ef8d519fa268d0f3d598981ba993a1e
1 ## Process this file with automake to generate Makefile.in
3 ## FIXME: work around apparent automake bug.
4 INTLLIBS = @INTLLIBS@
6 AUTOMAKE_OPTIONS = cygnus dejagnu
8 SUBDIRS = po
10 tooldir = $(exec_prefix)/$(target_alias)
12 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
13 YFLAGS = -d
14 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
16 WARN_CFLAGS = @WARN_CFLAGS@
17 AM_CFLAGS = $(WARN_CFLAGS)
19 # We put the scripts in the directory $(scriptdir)/ldscripts.
20 # We can't put the scripts in $(datadir) because the SEARCH_DIR
21 # directives need to be different for native and cross linkers.
22 scriptdir = $(tooldir)/lib
24 EMUL = @EMUL@
25 EMULATION_OFILES = @EMULATION_OFILES@
26 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
28 # Search path to override the default search path for -lfoo libraries.
29 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
30 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
31 # a cross-linker, in which case the default is empty.  See genscripts.sh.)
32 # Otherwise, they are replaced with the ones given in LIB_PATH,
33 # which may have the form: LIB_PATH=/lib:/usr/local/lib.  This can be set
34 # when the linker is configured via the --with-lib-path configure switch.
35 LIB_PATH = @LIB_PATH@
37 BASEDIR = $(srcdir)/..
38 BFDDIR = $(BASEDIR)/bfd
39 INCDIR  = $(BASEDIR)/include
40 MKDEP = gcc -MM
42 # What version of the manual to build
43 DOCVER = gen
45 # Options to extract the man page from ld.texinfo
46 MANCONF = -Dman
48 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
50 POD2MAN = pod2man --center="GNU Development Tools" \
51         --release="binutils-$(VERSION)" --section=1
53 #stuff for self hosting (can be overridden in config file).
54 HOSTING_CRT0 = @HOSTING_CRT0@
55 HOSTING_LIBS = @HOSTING_LIBS@
56 HOSTING_EMU = -m $(EMUL)
58 # Setup the testing framework, if you have one
59 EXPECT = `if [ -f $$r/../expect/expect ] ; \
60         then echo $$r/../expect/expect ; \
61         else echo expect ; fi`
63 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
64         then echo $${srcroot}/../dejagnu/runtest ; \
65         else echo runtest ; fi`
67 RUNTESTFLAGS =
69 CC_FOR_TARGET = ` \
70   if [ -f $$r/../gcc/xgcc ] ; then \
71     if [ -f $$r/../newlib/Makefile ] ; then \
72       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
73     else \
74       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
75     fi; \
76   else \
77     if [ "@host@" = "@target@" ] ; then \
78       echo $(CC); \
79     else \
80       echo gcc | sed '$(transform)'; \
81     fi; \
82   fi`
84 CXX = gcc
85 CXX_FOR_TARGET = ` \
86   if [ -f $$r/../gcc/xgcc ] ; then \
87     if [ -f $$r/../newlib/Makefile ] ; then \
88       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
89     else \
90       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
91     fi; \
92   else \
93     if [ "@host@" = "@target@" ] ; then \
94       echo $(CXX); \
95     else \
96       echo gcc | sed '$(transform)'; \
97     fi; \
98   fi`
100 noinst_PROGRAMS = ld-new
101 info_TEXINFOS = ld.texinfo
102 noinst_TEXINFOS = ldint.texinfo
103 man_MANS = ld.1
105 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\""
107 BFDLIB = ../bfd/libbfd.la
108 LIBIBERTY = ../libiberty/libiberty.a
110 ALL_EMULATIONS = \
111         ea29k.o \
112         eaixppc.o \
113         eaixrs6.o \
114         ealpha.o \
115         earcelf.o \
116         earm_epoc_pe.o \
117         earmaoutb.o \
118         earmaoutl.o \
119         earmcoff.o \
120         earmelf.o \
121         earmelfb.o \
122         earmelf_fbsd.o \
123         earmelf_linux.o \
124         earmelfb_linux.o \
125         earmelf_nbsd.o \
126         earmelfb_nbsd.o \
127         earmelf_oabi.o \
128         earmnto.o \
129         earmnbsd.o \
130         earmpe.o \
131         eavr2.o \
132         eavr1.o \
133         eavr3.o \
134         eavr4.o \
135         eavr5.o \
136         ecoff_i860.o \
137         ecoff_sparc.o \
138         ecrisaout.o \
139         ecriself.o \
140         ecrislinux.o \
141         ed10velf.o \
142         ed30v_e.o \
143         ed30v_o.o \
144         ed30velf.o \
145         edelta68.o \
146         eelf32_dlx.o \
147         eebmon29k.o \
148         eelf32_i960.o \
149         eelf32_i860.o \
150         eelf32_sparc.o \
151         eelf32b4300.o \
152         eelf32cr16c.o \
153         eelf32bmip.o \
154         eelf32bmipn32.o \
155         eelf32btsmip.o \
156         eelf32btsmipn32.o \
157         eelf32ltsmip.o \
158         eelf32ltsmipn32.o \
159         eelf32ebmip.o \
160         eelf32elmip.o \
161         eelf32fr30.o \
162         eelf32frv.o \
163         eelf32i370.o \
164         eelf32ip2k.o \
165         eelf32iq2000.o \
166         eelf32iq10.o \
167         eelf32l4300.o \
168         eelf32lmip.o \
169         eelf32lppc.o \
170         eelf32lppcnto.o \
171         eelf32lppcsim.o \
172         eelf32mcore.o \
173         eelf32mipswindiss.o \
174         eelf32openrisc.o \
175         eelf32ppc.o \
176         eelf32ppc_fbsd.o \
177         eelf32ppclinux.o \
178         eelf32ppcnto.o \
179         eelf32ppcsim.o \
180         eelf32ppcwindiss.o \
181         eelf32vax.o \
182         eelf32xstormy16.o \
183         eelf32xtensa.o \
184         eelf_i386.o \
185         eelf_i386_be.o \
186         eelf_i386_chaos.o \
187         eelf_i386_fbsd.o \
188         eelf_i386_ldso.o \
189         eelf_s390.o \
190         egld960.o \
191         egld960coff.o \
192         eh8300.o \
193         eh8300h.o \
194         eh8300s.o \
195         eh8300elf.o \
196         eh8300hn.o \
197         eh8300sn.o \
198         eh8300sx.o \
199         eh8300helf.o \
200         eh8300self.o \
201         eh8300hnelf.o \
202         eh8300snelf.o \
203         eh8300sxelf.o \
204         eh8300sxn.o \
205         eh8300sxnelf.o \
206         eh8500.o \
207         eh8500b.o \
208         eh8500c.o \
209         eh8500m.o \
210         eh8500s.o \
211         ehp300bsd.o \
212         ehp3hpux.o \
213         ehppaelf.o \
214         ehppalinux.o \
215         ehppanbsd.o \
216         ehppaobsd.o \
217         ei386aout.o \
218         ei386beos.o \
219         ei386bsd.o \
220         ei386coff.o \
221         ei386go32.o \
222         ei386linux.o \
223         ei386lynx.o \
224         ei386mach.o \
225         ei386moss.o \
226         ei386msdos.o \
227         ei386nbsd.o \
228         ei386nto.o \
229         ei386nw.o \
230         ei386pe.o \
231         ei386pe_posix.o \
232         elnk960.o \
233         em32relf.o \
234         em32rlelf.o \
235         em32relf_linux.o \
236         em32rlelf_linux.o \
237         em68hc11elf.o \
238         em68hc11elfb.o \
239         em68hc12elf.o \
240         em68hc12elfb.o \
241         em68k4knbsd.o \
242         em68kaout.o \
243         em68kaux.o \
244         em68kcoff.o \
245         em68kelf.o \
246         em68kelfnbsd.o \
247         em68klinux.o \
248         em68klynx.o \
249         em68knbsd.o \
250         em68kpsos.o \
251         em88kbcs.o \
252         emcorepe.o \
253         emipsbig.o \
254         emipsbsd.o \
255         emipsidt.o \
256         emipsidtl.o \
257         emipslit.o \
258         emipslnews.o \
259         emipspe.o \
260         emsp430x110.o \
261         emsp430x112.o \
262         emsp430x1101.o \
263         emsp430x1111.o \
264         emsp430x1121.o \
265         emsp430x1122.o \
266         emsp430x1132.o \
267         emsp430x122.o \
268         emsp430x123.o \
269         emsp430x1222.o \
270         emsp430x1232.o \
271         emsp430x133.o \
272         emsp430x135.o \
273         emsp430x1331.o \
274         emsp430x1351.o \
275         emsp430x147.o \
276         emsp430x148.o \
277         emsp430x149.o \
278         emsp430x155.o \
279         emsp430x156.o \
280         emsp430x157.o \
281         emsp430x167.o \
282         emsp430x168.o \
283         emsp430x169.o \
284         emsp430x311.o \
285         emsp430x312.o \
286         emsp430x313.o \
287         emsp430x314.o \
288         emsp430x315.o \
289         emsp430x323.o \
290         emsp430x325.o \
291         emsp430x336.o \
292         emsp430x337.o \
293         emsp430x412.o \
294         emsp430x413.o \
295         emsp430xE423.o \
296         emsp430xE425.o \
297         emsp430xE427.o \
298         emsp430xW423.o \
299         emsp430xW425.o \
300         emsp430xW427.o \
301         emsp430x435.o \
302         emsp430x436.o \
303         emsp430x437.o \
304         emsp430x447.o \
305         emsp430x448.o \
306         emsp430x449.o \
307         enews.o \
308         ens32knbsd.o \
309         eor32.o \
310         eor32elf.o \
311         epc532macha.o \
312         epdp11.o \
313         epjelf.o \
314         epjlelf.o \
315         eppcmacos.o \
316         eppcnw.o \
317         eppcpe.o \
318         eriscix.o \
319         esa29200.o \
320         esh.o \
321         eshelf32.o \
322         eshlelf32.o \
323         eshelf32_linux.o \
324         eshlelf32_linux.o \
325         eshelf32_nbsd.o \
326         eshlelf32_nbsd.o \
327         eshelf.o \
328         eshelf_linux.o \
329         eshlelf_linux.o \
330         eshelf_nbsd.o \
331         eshlelf_nbsd.o \
332         eshelf_nto.o \
333         eshlelf_nto.o \
334         eshl.o \
335         eshlelf.o \
336         eshpe.o \
337         esparcaout.o \
338         esparclinux.o \
339         esparclynx.o \
340         esparcnbsd.o \
341         est2000.o \
342         esun3.o \
343         esun4.o \
344         etic30aout.o \
345         etic30coff.o \
346         etic3xcoff.o \
347         etic3xcoff_onchip.o \
348         etic4xcoff.o \
349         etic54xcoff.o \
350         etic80coff.o \
351         evanilla.o \
352         evax.o \
353         evaxnbsd.o \
354         evsta.o \
355         ew65.o \
356         ez8001.o \
357           eelf32frvfd.o \
358         ez8002.o
360 ALL_64_EMULATIONS = \
361         eelf64_aix.o \
362         eelf64_ia64.o \
363         eelf64_ia64_fbsd.o \
364         eshelf64.o \
365         eshlelf64.o \
366         eshelf64_nbsd.o \
367         eshlelf64_nbsd.o \
368         eelf_x86_64.o \
369         eelf_x86_64_fbsd.o \
370         eelf64_s390.o \
371         eelf64_sparc.o \
372         eelf64_sparc_fbsd.o \
373         eelf64alpha.o \
374         eelf64alpha_fbsd.o \
375         eelf64alpha_nbsd.o \
376         eelf64bmip.o \
377         eelf64btsmip.o \
378         eelf64ltsmip.o \
379         eelf64hppa.o \
380         eelf64mmix.o \
381         emmo.o \
382         eelf64ppc.o \
383         eelf64lppc.o \
384         ehppa64linux.o
386 ALL_EMUL_EXTRA_OFILES = \
387         deffilep.o \
388         pe-dll.o
390 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
391         ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
392         mri.c ldcref.c pe-dll.c
394 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
395         ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
396         ldwrite.h mri.h deffile.h pe-dll.h
398 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
399 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
401 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
402         ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o \
403         ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
405 STAGESTUFF = *.o ldscripts/* e*.c
407 # At the moment this is just a list of those emulation template files
408 # that contain internationalised strings.
409 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
411 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
413 po/POTFILES.in: @MAINT@ Makefile
414         for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
415           && mv tmp $(srcdir)/po/POTFILES.in
417 ldmain.o: ldmain.c config.status
418         $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
419           -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
420           -DTOOLBINDIR='"$(tooldir)/bin"' \
421           -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
422           $(srcdir)/ldmain.c
424 ldemul-list.h: Makefile
425         (echo "/* This file is automatically generated.  DO NOT EDIT! */";\
426         for f in `echo " " ${EMULATION_OFILES} "" \
427          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
428             echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
429         done;\
430         echo "";\
431         echo "#define EMULATION_LIST \\";\
432         for f in `echo " " ${EMULATION_OFILES} "" \
433          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
434             echo "  &ld_$${f}_emulation, \\"; \
435         done;\
436         echo "  0") >ldemul-tmp.h
437         mv ldemul-tmp.h ldemul-list.h
439 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
440           cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
442 # These all start with e so 'make clean' can find them.
444 GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@
445 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
447 @TDIRS@
449 ea29k.c: $(srcdir)/emulparams/a29k.sh \
450   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
451         ${GENSCRIPTS} a29k "$(tdir_a29k)"
452 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
453   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
454         ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
455 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
456   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
457         ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
458 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
459   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
460         ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
461 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
462   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
463         ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
464 ealpha.c: $(srcdir)/emulparams/alpha.sh \
465   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
466         ${GENSCRIPTS} alpha "$(tdir_alpha)"
467 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
468   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
469         ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
470 earmelf.c: $(srcdir)/emulparams/armelf.sh \
471   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
472   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
473         ${GENSCRIPTS} armelf "$(tdir_armelf)"
474 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
475   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
476   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
477         ${GENSCRIPTS} armelfb "$(tdir_armelfb)"
478 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
479   $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
480         ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
481 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
482   $(srcdir)/emulparams/armelf.sh \
483   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
484   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
485         ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
486 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
487   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
488   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
489         ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
490 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
491   $(srcdir)/emulparams/armelf_linux.sh \
492   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
493   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
494         ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
495 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
496   $(srcdir)/emulparams/armelf.sh \
497   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
498   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
499         ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
500 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
501   $(srcdir)/emulparams/armelf_nbsd.sh \
502   $(srcdir)/emulparams/armelf.sh \
503   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
504   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
505         ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
506 earmaoutb.c:    $(srcdir)/emulparams/armaoutb.sh \
507   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
508         ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
509 earmaoutl.c:    $(srcdir)/emulparams/armaoutl.sh \
510   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
511         ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
512 earmcoff.c:     $(srcdir)/emulparams/armcoff.sh \
513   $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
514         ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
515 earmnbsd.c:     $(srcdir)/emulparams/armnbsd.sh \
516   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
517         ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
518 earmnto.c: $(srcdir)/emulparams/armnto.sh \
519   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
520   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
521         ${GENSCRIPTS} armnto "$(tdir_armnto)"
522 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
523   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
524         ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
525 earmpe.c: $(srcdir)/emulparams/armpe.sh \
526   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
527         ${GENSCRIPTS} armpe "$(tdir_armpe)"
528 eavr2.c: $(srcdir)/emulparams/avr2.sh \
529   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
530   ${GEN_DEPENDS}
531         ${GENSCRIPTS} avr2 "$(tdir_avr2)"
532 eavr1.c: $(srcdir)/emulparams/avr1.sh \
533   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
534   ${GEN_DEPENDS}
535         ${GENSCRIPTS} avr1 "$(tdir_avr2)"
536 eavr3.c: $(srcdir)/emulparams/avr3.sh \
537   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
538   ${GEN_DEPENDS}
539         ${GENSCRIPTS} avr3 "$(tdir_avr2)"
540 eavr4.c: $(srcdir)/emulparams/avr4.sh \
541   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
542   ${GEN_DEPENDS}
543         ${GENSCRIPTS} avr4 "$(tdir_avr2)"
544 eavr5.c: $(srcdir)/emulparams/avr5.sh \
545   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
546   ${GEN_DEPENDS}
547         ${GENSCRIPTS} avr5 "$(tdir_avr2)"
548 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
549   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
550         ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
551 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
552   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
553         ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
554 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
555   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
556         ${GENSCRIPTS} crisaout "$(tdir_cris)"
557 ecriself.c: $(srcdir)/emulparams/criself.sh \
558   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
559         ${GENSCRIPTS} criself "$(tdir_cris)"
560 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
561   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
562         ${GENSCRIPTS} crislinux "$(tdir_cris)"
563 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
564   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
565         ${GENSCRIPTS} d10velf "$(tdir_d10v)"
566 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
567   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
568         ${GENSCRIPTS} d30velf "$(tdir_d30v)"
569 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
570   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
571         ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
572 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
573   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
574         ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
575 edelta68.c: $(srcdir)/emulparams/delta68.sh \
576   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
577         ${GENSCRIPTS} delta68 "$(tdir_delta68)"
578 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
579   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
580         ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
581 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
582   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
583         ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
584 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
585   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
586   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
587         ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
588 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
589   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
590         ${GENSCRIPTS} elf32am33lin "$(tdir_mn10300)"
591 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
592   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
593         ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
594 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh \
595   $(srcdir)/emulparams/xtensa-config.sh \
596   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/xtensaelf.em \
597   $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
598         ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
599 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
600   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
601         ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
602 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
603   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
604         ${GENSCRIPTS} elf32frv "$(tdir_frv)"
605 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
606   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
607         ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
608 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
609   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
610         ${GENSCRIPTS} m32relf "$(tdir_m32r)"
611 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
612   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
613         ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
614 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
615   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
616         ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
617 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
618   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
619         ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
620 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
621   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
622         ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
623 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
624   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
625         ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
626 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
627   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
628         ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
629 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
630   $(srcdir)/emulparams/elf32bmip.sh \
631   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
632         ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
633 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
634   $(srcdir)/emultempl/elf32.em \
635   $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
636         ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
637 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
638   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
639         ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
640 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
641   $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emultempl/irix.em \
642   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
643         ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
644 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
645   $(srcdir)/emulparams/elf32bmip.sh \
646   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
647         ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
648 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
649   $(srcdir)/emulparams/elf32bmip.sh \
650   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
651         ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
652 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
653   $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
654   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
655         ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
656 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
657   $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
658   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
659         ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
660 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
661   $(srcdir)/emulparams/elf32bmip.sh \
662   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
663         ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
664 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
665   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
666   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
667         ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
668 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
669   $(srcdir)/emultempl/irix.em \
670   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
671         ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
672 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
673   $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
674   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
675         ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
676 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
677   $(srcdir)/emulparams/elf32bmip.sh \
678   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
679         ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
680 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh \
681   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
682         ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
683 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
684   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
685   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
686         ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
687 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
688   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
689   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
690         ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
691 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
692   $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
693   $(srcdir)/emultempl/ppc32elf.em \
694   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
695         ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
696 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
697   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
698   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
699         ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
700 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
701   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
702         ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
703 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
704   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
705   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
706         ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
707 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
708   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
709         ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
710 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
711   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
712         ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
713 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
714   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
715   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
716         ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
717 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
718   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
719   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
720         ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
721 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
722   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
723   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
724         ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
725 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
726   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
727         ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
728 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
729   $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
730   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
731         ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
732 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
733   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
734         ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
735 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
736   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
737         ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
738 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
739   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
740         ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
741 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
742   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
743         ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
744 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
745   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
746         ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
747 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
748   $(srcdir)/emulparams/elf64alpha.sh \
749   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
750         ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
751 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
752   $(srcdir)/emulparams/elf64alpha.sh \
753   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
754         ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
755 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
756   $(srcdir)/emulparams/hppa64linux.sh \
757   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
758         ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
759 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
760   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
761         ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
762 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
763   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/ia64elf.em \
764   $(srcdir)/emultempl/needrelax.em \
765   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
766         ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
767 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
768   $(srcdir)/emulparams/elf64_ia64.sh \
769   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/ia64elf.em \
770   $(srcdir)/emultempl/needrelax.em \
771   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
772         ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
773 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
774   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
775         ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
776 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
777   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
778         ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
779 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
780   $(srcdir)/emulparams/elf64_sparc.sh \
781   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
782         ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
783 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
784   $(srcdir)/emulparams/elf32bmipn32.sh $(srcdir)/emultempl/irix.em \
785   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
786         ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
787 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
788   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
789   $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
790         ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
791 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
792   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
793   $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
794         ${GENSCRIPTS} mmo "$(tdir_mmo)"
795 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
796   $(srcdir)/emulparams/elf32bmipn32.sh \
797   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
798         ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
799 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
800   $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
801   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
802         ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
803 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
804   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
805         ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
806 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
807   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
808         ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
809 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
810   $(srcdir)/emulparams/elf_x86_64.sh \
811   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
812         ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
813 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
814   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
815         ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
816 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
817   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
818         ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
819 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
820   $(srcdir)/emulparams/elf_i386.sh \
821   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
822         ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
823 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
824   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
825         ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
826 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
827   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
828         ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
829 egld960.c: $(srcdir)/emulparams/gld960.sh \
830   $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
831         ${GENSCRIPTS} gld960 "$(tdir_gld960)"
832 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
833   $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
834         ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
835 eh8300.c: $(srcdir)/emulparams/h8300.sh \
836   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
837         ${GENSCRIPTS} h8300 "$(tdir_h8300)"
838 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
839   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
840         ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
841 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
842   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
843         ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
844 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
845   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
846         ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
847 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
848   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
849         ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
850 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
851   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
852         ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
853 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
854   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
855         ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
856 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
857   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
858         ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
859 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
860   $(srcdir)/emulparams/h8300elf.sh \
861   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
862         ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
863 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
864   $(srcdir)/emulparams/h8300elf.sh \
865   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
866         ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
867 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
868   $(srcdir)/emulparams/h8300elf.sh \
869   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
870         ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
871 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
872   $(srcdir)/emulparams/h8300elf.sh \
873   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
874         ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
875 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
876   $(srcdir)/emulparams/h8300elf.sh \
877   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
878         ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
879 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
880   $(srcdir)/emulparams/h8300elf.sh \
881   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
882         ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
883 eh8500.c: $(srcdir)/emulparams/h8500.sh \
884   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
885         ${GENSCRIPTS} h8500 "$(tdir_h8500)"
886 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
887   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
888         ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
889 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
890   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
891         ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
892 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
893   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
894         ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
895 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
896   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
897         ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
898 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
899   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
900         ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
901 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
902   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
903         ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
904 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
905   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
906   $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
907         ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
908 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
909   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
910   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
911         ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
912 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
913   $(srcdir)/emulparams/hppaelf.sh \
914   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
915   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
916         ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
917 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
918   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
919   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
920         ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
921 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
922   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
923         ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
924 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
925   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
926         ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
927 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
928   $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
929         ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
930 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
931   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
932         ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
933 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
934   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
935         ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
936 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
937   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
938         ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
939 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
940   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
941         ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
942 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
943   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
944         ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
945 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
946   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
947         ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
948 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
949   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
950         ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
951 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
952   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
953         ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
954 ei386nbsd.c:    $(srcdir)/emulparams/i386nbsd.sh \
955   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
956         ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
957 ei386nto.c:     $(srcdir)/emulparams/i386nto.sh \
958   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
959         ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
960 ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
961   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
962         ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
963 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
964   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
965         ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
966 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
967   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
968         ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
969 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
970   $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
971         ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
972 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
973   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
974   $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
975         ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
976 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
977   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
978   $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
979         ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
980 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
981   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
982   $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
983         ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
984 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
985   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
986   $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
987         ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
988 em68k4knbsd.c:  $(srcdir)/emulparams/m68k4knbsd.sh \
989   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
990         ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
991 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
992   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
993         ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
994 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
995   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
996         ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
997 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
998   $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
999         ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1000 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1001   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1002   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1003         ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1004 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1005   $(srcdir)/emulparams/m68kelf.sh \
1006   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1007   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1008         ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1009 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1010   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1011         ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1012 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
1013   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
1014         ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
1015 em68knbsd.c:    $(srcdir)/emulparams/m68knbsd.sh \
1016   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1017         ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1018 em68kpsos.c:    $(srcdir)/emulparams/m68kpsos.sh \
1019   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1020         ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1021 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1022   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1023         ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1024 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1025   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1026         ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1027 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
1028   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1029         ${GENSCRIPTS} mipsbig
1030 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
1031   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1032         ${GENSCRIPTS} mipsbsd
1033 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
1034   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1035         ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1036 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
1037   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1038         ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1039 emipslit.c:  $(srcdir)/emulparams/mipslit.sh \
1040   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1041         ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1042 emipslnews.c:  $(srcdir)/emulparams/mipslnews.sh \
1043   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1044         ${GENSCRIPTS} mipslnews
1045 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
1046   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1047         ${GENSCRIPTS} mipspe "$(tdir_mips)"
1048 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1049   $(srcdir)/emulparams/mn10200.sh \
1050   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1051         ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1052 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1053   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1054         ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1055 emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
1056   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1057   ${GEN_DEPENDS}
1058         ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
1059 emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
1060   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1061   ${GEN_DEPENDS}
1062         ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
1063 emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
1064   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1065   ${GEN_DEPENDS}
1066         ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
1067 emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
1068   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1069   ${GEN_DEPENDS}
1070         ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
1071 emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
1072   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1073   ${GEN_DEPENDS}
1074         ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
1075 emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
1076   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1077   ${GEN_DEPENDS}
1078         ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
1079 emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
1080   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1081   ${GEN_DEPENDS}
1082         ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
1083 emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
1084   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1085   ${GEN_DEPENDS}
1086         ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
1087 emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
1088   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1089   ${GEN_DEPENDS}
1090         ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
1091 emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
1092   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1093   ${GEN_DEPENDS}
1094         ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
1095 emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
1096   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1097   ${GEN_DEPENDS}
1098         ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
1099 emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
1100   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1101   ${GEN_DEPENDS}
1102         ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
1103 emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
1104   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1105   ${GEN_DEPENDS}
1106         ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
1107 emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
1108   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1109   ${GEN_DEPENDS}
1110         ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
1111 emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
1112   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1113   ${GEN_DEPENDS}
1114         ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
1115 emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
1116   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1117   ${GEN_DEPENDS}
1118         ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
1119 emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
1120   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1121   ${GEN_DEPENDS}
1122         ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
1123 emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
1124   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1125   ${GEN_DEPENDS}
1126         ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
1127 emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
1128   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1129   ${GEN_DEPENDS}
1130         ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
1131 emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
1132   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1133   ${GEN_DEPENDS}
1134         ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
1135 emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
1136   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1137   ${GEN_DEPENDS}
1138         ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
1139 emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
1140   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1141   ${GEN_DEPENDS}
1142         ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
1143 emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
1144   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1145   ${GEN_DEPENDS}
1146         ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
1147 emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
1148   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1149   ${GEN_DEPENDS}
1150         ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
1151 emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
1152   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1153   ${GEN_DEPENDS}
1154         ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
1155 emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
1156   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1157   ${GEN_DEPENDS}
1158         ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
1159 emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
1160   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1161   ${GEN_DEPENDS}
1162         ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
1163 emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
1164   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1165   ${GEN_DEPENDS}
1166         ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
1167 emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
1168   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1169   ${GEN_DEPENDS}
1170         ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
1171 emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
1172   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1173   ${GEN_DEPENDS}
1174         ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
1175 emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
1176   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1177   ${GEN_DEPENDS}
1178         ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
1179 emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
1180   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1181   ${GEN_DEPENDS}
1182         ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
1183 emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
1184   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1185   ${GEN_DEPENDS}
1186         ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
1187 emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
1188   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1189   ${GEN_DEPENDS}
1190         ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
1191 emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
1192   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1193   ${GEN_DEPENDS}
1194         ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
1195 emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
1196   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1197   ${GEN_DEPENDS}
1198         ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
1199 emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
1200   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1201   ${GEN_DEPENDS}
1202         ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
1203 emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
1204   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1205   ${GEN_DEPENDS}
1206         ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
1207 emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
1208   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1209   ${GEN_DEPENDS}
1210         ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
1211 emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
1212   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1213   ${GEN_DEPENDS}
1214         ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
1215 emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
1216   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1217   ${GEN_DEPENDS}
1218         ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
1219 emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
1220   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1221   ${GEN_DEPENDS}
1222         ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
1223 emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
1224   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1225   ${GEN_DEPENDS}
1226         ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
1227 emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
1228   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1229   ${GEN_DEPENDS}
1230         ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
1231 emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
1232   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1233   ${GEN_DEPENDS}
1234         ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
1235 emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
1236   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1237   ${GEN_DEPENDS}
1238         ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
1239 emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
1240   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1241   ${GEN_DEPENDS}
1242         ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
1243 enews.c: $(srcdir)/emulparams/news.sh \
1244   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1245         ${GENSCRIPTS} news "$(tdir_news)"
1246 ens32knbsd.c:   $(srcdir)/emulparams/ns32knbsd.sh \
1247   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1248   $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1249         ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1250 eor32.c: $(srcdir)/emulparams/or32.sh \
1251   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1252         ${GENSCRIPTS} or32 "$(tdir_or32)"
1253 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1254   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1255         ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1256 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1257   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1258         ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1259 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1260   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1261         ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1262 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1263   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1264         ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1265 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
1266   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1267         ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1268 eppcmacos.c:    $(srcdir)/emulparams/ppcmacos.sh \
1269   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1270         ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1271 eppcnw.c:       $(srcdir)/emulparams/ppcnw.sh \
1272   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1273         ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1274 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1275   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1276         ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1277 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1278   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1279         ${GENSCRIPTS} riscix "$(tdir_riscix)"
1280 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
1281   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
1282         ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
1283 esh.c: $(srcdir)/emulparams/sh.sh \
1284   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1285         ${GENSCRIPTS} sh "$(tdir_sh)"
1286 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1287   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1288         ${GENSCRIPTS} shelf "$(tdir_shelf)"
1289 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1290   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1291   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1292   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1293         ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1294 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1295   $(srcdir)/emulparams/shelf32.sh \
1296   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1297   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1298   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1299         ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
1300 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1301   $(srcdir)/emulparams/shelf32.sh \
1302   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1303   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1304   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1305         ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1306 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1307   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1308         ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1309 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1310   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1311   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1312         ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
1313 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1314   $(srcdir)/emulparams/shlelf_linux.sh \
1315   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1316         ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1317 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1318   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1319         ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1320 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1321   $(srcdir)/emulparams/shelf.sh \
1322   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1323         ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1324 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1325   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1326         ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
1327 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1328   $(srcdir)/emulparams/shelf_nbsd.sh \
1329   $(srcdir)/emulparams/shelf.sh \
1330   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1331         ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1332 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1333   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1334         ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
1335 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1336   $(srcdir)/emulparams/shelf.sh \
1337   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1338         ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1339 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1340   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1341   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1342   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1343         ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1344 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1345   $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1346   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1347   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1348   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1349         ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
1350 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1351   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1352   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1353   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1354   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1355         ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1356 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1357   $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1358   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1359         ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1360 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1361   $(srcdir)/emulparams/shelf64_nbsd.sh \
1362   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1363   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1364         ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1365 eshl.c: $(srcdir)/emulparams/shl.sh \
1366   $(srcdir)/emulparams/sh.sh \
1367   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1368         ${GENSCRIPTS} shl "$(tdir_shl)"
1369 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1370   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1371         ${GENSCRIPTS} shpe "$(tdir_shl)"
1372 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1373   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1374         ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1375 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1376   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1377         ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1378 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
1379   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
1380         ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
1381 esparcnbsd.c:   $(srcdir)/emulparams/sparcnbsd.sh \
1382   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1383         ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1384 est2000.c: $(srcdir)/emulparams/st2000.sh \
1385   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1386         ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1387 esun3.c: $(srcdir)/emulparams/sun3.sh \
1388   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1389         ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1390 esun4.c: $(srcdir)/emulparams/sun4.sh \
1391   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1392         ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1393 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1394   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1395         ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1396 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1397   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1398         ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1399 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1400   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1401         ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
1402 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1403   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1404         ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
1405 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1406   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1407         ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
1408 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1409   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1410         ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1411 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1412   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1413         ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1414 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1415   $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1416         ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1417 evax.c: $(srcdir)/emulparams/vax.sh \
1418   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1419         ${GENSCRIPTS} vax "$(tdir_vax)"
1420 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1421   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1422         ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1423 evsta.c: $(srcdir)/emulparams/vsta.sh \
1424   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1425         ${GENSCRIPTS} vsta "$(tdir_vsta)"
1426 ev850.c: $(srcdir)/emulparams/v850.sh \
1427   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1428         ${GENSCRIPTS} v850 "$(tdir_v850)"
1429 ew65.c: $(srcdir)/emulparams/w65.sh \
1430   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1431         ${GENSCRIPTS} w65 "$(tdir_w65)"
1432 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1433   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1434         ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1435 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1436   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1437         ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1438 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1439   $(srcdir)/emulparams/elf32frv.sh \
1440   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1441         ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
1443 # We need this for automake to use YLWRAP.
1444 EXTRA_ld_new_SOURCES = deffilep.y
1446 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1447         ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
1448 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
1449 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
1451 # The generated emulation files mostly have the same dependencies.
1452 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
1453   ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
1454   ldctor.h ldexp.h ldlang.h ldgram.h
1456 # This is the real libbfd.a created by libtool.
1457 TESTBFDLIB = @TESTBFDLIB@
1459 check-DEJAGNU: site.exp
1460         srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1461         r=`pwd`; export r; \
1462         LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
1463         EXPECT=$(EXPECT); export EXPECT; \
1464         if [ -f $(top_builddir)/../expect/expect ]; then \
1465           TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
1466           export TCL_LIBRARY; \
1467         fi; \
1468         runtest=$(RUNTEST); \
1469         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1470           $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1471                 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1472                 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1473                 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1474                 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1475                 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
1476                 $(RUNTESTFLAGS); \
1477         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1478         fi
1480 # Rules for testing by relinking ld itself.
1481 # A similar test is in the testsuite.  This target is for ease of use
1482 # when porting ld.
1484 ld-partial.o: ld-new$(EXEEXT)
1485         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
1486 ld1$(EXEEXT): ld-partial.o
1487         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1489 ld1-full$(EXEEXT): ld-new
1490         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1492 ld2$(EXEEXT): ld1$(EXEEXT)
1493         ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1495 ld3$(EXEEXT): ld2$(EXEEXT)
1496         ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1498 bootstrap: ld3$(EXEEXT)
1499         cmp ld2$(EXEEXT) ld3$(EXEEXT)
1501 .PHONY: bootstrap
1503 # A test program for C++ constructors and destructors.
1504 # This test is now in the testsuite.
1506 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1507 #       ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1508 #         cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
1510 #cdtest.out: cdtest
1511 #       ./cdtest > cdtest.tmp
1512 #       mv cdtest.tmp cdtest.out
1514 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1515 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
1516 #         cdtest-bar.o cdtest-foo.o
1518 #cdtest-ur: cdtest-ur.o
1519 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1520 #         $(HOSTING_LIBS)
1522 #cdtest-ur.out: cdtest-ur
1523 #       ./cdtest-ur > cdtest-ur.tmp
1524 #       mv cdtest-ur.tmp cdtest-ur.out
1526 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1527 #       diff $(srcdir)/cdtest.exp cdtest.out
1528 #       diff $(srcdir)/cdtest.exp cdtest-ur.out
1530 #.PHONY: check-cdtest
1532 # END OF CHECK TARGETS
1534 # DOCUMENTATION TARGETS
1535 # Manual configuration file; not usually attached to normal configuration,
1536 # because almost all configs use "gen" version of manual.
1537 #  Set DOCVER above to change.
1538 configdoc.texi: ${DOCVER}-doc.texi
1539         ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1540           || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1541           || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1543 ldver.texi: Makefile
1544         rm -f $@
1545         echo '@set VERSION $(VERSION)' > $@
1547 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1548         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
1549         $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1551 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1552         TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
1553           MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1555 # Build the man page from the texinfo file
1556 # The sed command removes the no-adjust Nroff command so that
1557 # the man output looks standard.
1558 ld.1: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1559         touch $@
1560         -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1561         -($(POD2MAN) ld.pod | \
1562                 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1563                 mv -f $@.T$$$$ $@) || \
1564                 (rm -f $@.T$$$$ && exit 1)
1565         rm -f ld.pod
1567 MAINTAINERCLEANFILES = ldver.texi
1569 # We want to reconfigure if configure.host or configure.tgt changes.
1570 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
1572 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1573         ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
1574 mostlyclean-local:
1575         -rm -rf tmpdir
1576 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
1578 .PHONY: install-exec-local install-data-local
1580 install-exec-local: ld-new$(EXEEXT)
1581         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1582         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1583           if test -f $$p; then \
1584             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1585             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1586           else :; fi; \
1587         done
1588         n=`echo ld | sed '$(transform)'`; \
1589         if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1590           rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1591           ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1592           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1593         fi
1595 install-data-local:
1596         $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1597         for f in ldscripts/*; do \
1598           $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1599         done
1601 # We want install to imply install-info as per GNU standards, despite the
1602 # cygnus option.
1603 install: install-info
1605 # Stuff that should be included in a distribution.  The diststuff
1606 # target is run by the taz target in ../Makefile.in.
1607 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
1608 diststuff: info $(EXTRA_DIST)
1610 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
1611 distclean-local:
1612         rm -rf ldscripts
1614 Makefile: $(BFDDIR)/configure.in
1616 # Targets to rebuild dependencies in this Makefile.
1617 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1618 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1619         rm -f DEP1
1620         $(MAKE) MKDEP="$(MKDEP)" DEP1
1621         sed -f dep.sed < DEP1 > DEPA
1622         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1623         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1624           echo 'make DEP failed!'; exit 1; \
1625         else \
1626           mv -f DEPA $@; \
1627         fi
1629 DEP1: $(CFILES) $(GENERATED_CFILES)
1630         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1631         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1632         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1633         mv -f DEP2 $@
1635 dep.sed: dep-in.sed config.status
1636         sed <$(srcdir)/dep-in.sed >dep.sed      \
1637                 -e 's!@INCDIR@!$(INCDIR)!'      \
1638                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
1639                 -e 's!@SRCDIR@!$(srcdir)!'      \
1640                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
1642 dep: DEP
1643         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1644         cat DEP >> tmp-Makefile
1645         $(srcdir)/../move-if-change tmp-Makefile Makefile
1647 dep-in: DEP
1648         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1649         cat DEP >> tmp-Makefile.in
1650         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1652 dep-am: DEP
1653         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1654         cat DEP >> tmp-Makefile.am
1655         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1657 .PHONY: dep dep-in dep-am
1659 # What appears below is generated by a hacked mkdep using gcc -MM.
1661 # DO NOT DELETE THIS LINE -- mkdep uses it.
1662 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1663 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1664   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1665   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1666   ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
1667 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1668   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1669   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1670   ldfile.h ldemul.h ldmain.h ldemul-list.h
1671 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1672   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1673   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1674   ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
1675   $(INCDIR)/safe-ctype.h
1676 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1677   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1678   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1679   ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
1680   ldlex.h ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/filenames.h
1681 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1682   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1683   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
1684   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1685   ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
1686   ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h \
1687   $(INCDIR)/hashtab.h
1688 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1689   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1690   $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
1691   $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
1692   ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
1693   ldlex.h ldfile.h ldemul.h ldctor.h
1694 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1695   $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h sysdep.h config.h \
1696   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
1697   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1698   ldgram.h ldlex.h ldmain.h ldfile.h
1699 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1700   $(INCDIR)/symcat.h ../bfd/bfdver.h sysdep.h config.h \
1701   $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h ldver.h \
1702   ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
1703 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1704   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1705   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1706   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1707   ldmisc.h ldgram.h ldmain.h
1708 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1709   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1710   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1711   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1712   ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
1713   $(INCDIR)/demangle.h
1714 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1715   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1716   ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1717 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1718   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1719   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1720   ldmain.h ldmisc.h ldexp.h ldlang.h
1721 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1722   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1723   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1724   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1725   ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
1726   $(BFDDIR)/libcoff.h deffile.h pe-dll.h
1727 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1728   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1729   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1730   ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
1731   mri.h ldctor.h ldlex.h
1732 ldlex.o: ldlex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1733   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1734   $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
1735   ldmisc.h ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h \
1736   ldmain.h $(INCDIR)/libiberty.h
1737 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1738   $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
1739   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1740   ldmisc.h deffile.h
1741 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY