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