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