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