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