Update dependencies with "make dep-am".
[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" --release="binutils-$(VERSION)" --section=1
50
51 #stuff for self hosting (can be overridden in config file).
52 HOSTING_CRT0 = @HOSTING_CRT0@
53 HOSTING_LIBS = @HOSTING_LIBS@
54 HOSTING_EMU = -m $(EMUL)
55
56 # Setup the testing framework, if you have one
57 EXPECT = `if [ -f $$r/../expect/expect ] ; \
58 then echo $$r/../expect/expect ; \
59 else echo expect ; fi`
60
61 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
62 then echo $${srcroot}/../dejagnu/runtest ; \
63 else echo runtest ; fi`
64
65 RUNTESTFLAGS =
66
67 CC_FOR_TARGET = ` \
68 if [ -f $$r/../gcc/xgcc ] ; then \
69 if [ -f $$r/../newlib/Makefile ] ; then \
70 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
71 else \
72 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
73 fi; \
74 else \
75 if [ "@host@" = "@target@" ] ; then \
76 echo $(CC); \
77 else \
78 echo gcc | sed '$(transform)'; \
79 fi; \
80 fi`
81
82 CXX = gcc
83 CXX_FOR_TARGET = ` \
84 if [ -f $$r/../gcc/xgcc ] ; then \
85 if [ -f $$r/../newlib/Makefile ] ; then \
86 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
87 else \
88 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
89 fi; \
90 else \
91 if [ "@host@" = "@target@" ] ; then \
92 echo $(CXX); \
93 else \
94 echo gcc | sed '$(transform)'; \
95 fi; \
96 fi`
97
98 noinst_PROGRAMS = ld-new
99 info_TEXINFOS = ld.texinfo
100 noinst_TEXINFOS = ldint.texinfo
101 man_MANS = ld.1
102
103 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\""
104
105 BFDLIB = ../bfd/libbfd.la
106 LIBIBERTY = ../libiberty/libiberty.a
107
108 ALL_EMULATIONS = \
109 ea29k.o \
110 eaixppc.o \
111 eaixrs6.o \
112 ealpha.o \
113 earcelf.o \
114 earm_epoc_pe.o \
115 earmaoutb.o \
116 earmaoutl.o \
117 earmcoff.o \
118 earmelf.o \
119 earmelf_linux.o \
120 earmelf_oabi.o \
121 earmnbsd.o \
122 earmpe.o \
123 eavr1200.o \
124 eavr23xx.o \
125 eavr4433.o \
126 eavr44x4.o \
127 eavr85xx.o \
128 eavrmega103.o \
129 eavrmega161.o \
130 eavrmega603.o \
131 ecoff_sparc.o \
132 ecrisaout.o \
133 ecriself.o \
134 ecrislinux.o \
135 ed10velf.o \
136 ed30v_e.o \
137 ed30v_o.o \
138 ed30velf.o \
139 edelta68.o \
140 eebmon29k.o \
141 eelf32_i960.o \
142 eelf32_i860.o \
143 eelf32_sparc.o \
144 eelf32b4300.o \
145 eelf32bmip.o \
146 eelf32bmipn32.o \
147 eelf32btsmip.o \
148 eelf32ltsmip.o \
149 eelf32ebmip.o \
150 eelf32elmip.o \
151 eelf32fr30.o \
152 eelf32i370.o \
153 eelf32l4300.o \
154 eelf32lmip.o \
155 eelf32lppc.o \
156 eelf32lppcsim.o \
157 eelf32mcore.o \
158 eelf32openrisc.o \
159 eelf32ppc.o \
160 eelf32ppclinux.o \
161 eelf32ppcsim.o \
162 eelf_i386.o \
163 eelf_i386_be.o \
164 eelf_i386_chaos.o \
165 eelf_i386_ldso.o \
166 eelf_s390.o \
167 egld960.o \
168 egld960coff.o \
169 eh8300.o \
170 eh8300h.o \
171 eh8300s.o \
172 eh8500.o \
173 eh8500b.o \
174 eh8500c.o \
175 eh8500m.o \
176 eh8500s.o \
177 ehp300bsd.o \
178 ehp3hpux.o \
179 ehppaelf.o \
180 ehppalinux.o \
181 ei386aout.o \
182 ei386beos.o \
183 ei386bsd.o \
184 ei386coff.o \
185 ei386go32.o \
186 ei386linux.o \
187 ei386lynx.o \
188 ei386mach.o \
189 ei386moss.o \
190 ei386msdos.o \
191 ei386nbsd.o \
192 ei386nw.o \
193 ei386pe.o \
194 ei386pe_posix.o \
195 elnk960.o \
196 em68hc11elf.o \
197 em68hc11elfb.o \
198 em68hc12elf.o \
199 em68hc12elfb.o \
200 em68k4knbsd.o \
201 em68kaout.o \
202 em68kaux.o \
203 em68kcoff.o \
204 em68kelf.o \
205 em68klinux.o \
206 em68klynx.o \
207 em68knbsd.o \
208 em68kpsos.o \
209 em88kbcs.o \
210 emcorepe.o \
211 emipsbig.o \
212 emipsbsd.o \
213 emipsidt.o \
214 emipsidtl.o \
215 emipslit.o \
216 emipslnews.o \
217 emipspe.o \
218 enews.o \
219 ens32knbsd.o \
220 epc532macha.o \
221 epdp11.o \
222 epjelf.o \
223 epjlelf.o \
224 eppcmacos.o \
225 eppcnw.o \
226 eppcpe.o \
227 eriscix.o \
228 esa29200.o \
229 esh.o \
230 eshelf.o \
231 eshelf_linux.o \
232 eshlelf_linux.o \
233 eshl.o \
234 eshlelf.o \
235 eshpe.o \
236 esparcaout.o \
237 esparclinux.o \
238 esparclynx.o \
239 esparcnbsd.o \
240 est2000.o \
241 esun3.o \
242 esun4.o \
243 etic30aout.o \
244 etic30coff.o \
245 etic54xcoff.o \
246 etic80coff.o \
247 evanilla.o \
248 evax.o \
249 evsta.o \
250 ew65.o \
251 ez8001.o \
252 ez8002.o
253
254 ALL_64_EMULATIONS = \
255 eelf64_aix.o \
256 eelf64_ia64.o \
257 eelf_x86_64.o \
258 eelf64_s390.o \
259 eelf64_sparc.o \
260 eelf64alpha.o \
261 eelf64bmip.o \
262 eelf64btsmip.o \
263 eelf64ltsmip.o \
264 eelf64hppa.o \
265 eaixppc64.o \
266 ehppa64linux.o
267
268 ALL_EMUL_EXTRA_OFILES = \
269 deffilep.o \
270 pe-dll.o
271
272 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
273 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
274 mri.c ldcref.c pe-dll.c
275
276 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
277 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
278 ldwrite.h mri.h deffile.h pe-dll.h
279
280 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
281 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
282
283 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
284 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
285 ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
286
287 STAGESTUFF = *.o ldscripts/* e*.c
288
289 # At the moment this is just a list of those emulation template files
290 # that contain internationalised strings.
291 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
292
293 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
294
295 po/POTFILES.in: @MAINT@ Makefile
296 for file in $(POTFILES); do echo $$file; done | sort > tmp \
297 && mv tmp $(srcdir)/po/POTFILES.in
298
299 ldmain.o: ldmain.c config.status
300 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
301
302 ldemul-list.h: Makefile
303 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
304 for f in `echo " " ${EMULATION_OFILES} "" \
305 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
306 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
307 done;\
308 echo "";\
309 echo "#define EMULATION_LIST \\";\
310 for f in `echo " " ${EMULATION_OFILES} "" \
311 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
312 echo " &ld_$${f}_emulation, \\"; \
313 done;\
314 echo " 0") >ldemul-tmp.h
315 mv ldemul-tmp.h ldemul-list.h
316
317 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
318 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
319
320 # These all start with e so 'make clean' can find them.
321
322 GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} ${exec_prefix} @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
323 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
324 @TDIRS@
325
326 ea29k.c: $(srcdir)/emulparams/a29k.sh \
327 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
328 ${GENSCRIPTS} a29k "$(tdir_a29k)"
329 eaixppc64.c: $(srcdir)/emulparams/aixppc64.sh \
330 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
331 ${GENSCRIPTS} aixppc64 "$(tdir_aixppc64)"
332 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
333 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
334 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
335 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
336 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
337 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
338 ealpha.c: $(srcdir)/emulparams/alpha.sh \
339 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
340 ${GENSCRIPTS} alpha "$(tdir_alpha)"
341 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
342 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
343 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
344 earmelf.c: $(srcdir)/emulparams/armelf.sh \
345 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
346 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
347 ${GENSCRIPTS} armelf "$(tdir_armelf)"
348 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
349 $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
350 ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
351 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
352 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
353 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
354 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
355 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
356 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
357 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
358 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
359 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
360 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
361 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
362 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
363 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
364 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
365 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
366 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
367 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
368 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
369 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
370 earmpe.c: $(srcdir)/emulparams/armpe.sh \
371 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
372 ${GENSCRIPTS} armpe "$(tdir_armpe)"
373 eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \
374 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
375 ${GEN_DEPENDS}
376 ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)"
377 eavr1200.c: $(srcdir)/emulparams/avr1200.sh \
378 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
379 ${GEN_DEPENDS}
380 ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)"
381 eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \
382 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
383 ${GEN_DEPENDS}
384 ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)"
385 eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \
386 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
387 ${GEN_DEPENDS}
388 ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)"
389 eavr4433.c: $(srcdir)/emulparams/avr4433.sh \
390 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
391 ${GEN_DEPENDS}
392 ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)"
393 eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \
394 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
395 ${GEN_DEPENDS}
396 ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)"
397 eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \
398 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
399 ${GEN_DEPENDS}
400 ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)"
401 eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \
402 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
403 ${GEN_DEPENDS}
404 ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)"
405 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
406 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
407 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
408 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
409 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
410 ${GENSCRIPTS} crisaout "$(tdir_cris)"
411 ecriself.c: $(srcdir)/emulparams/criself.sh \
412 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
413 ${GENSCRIPTS} criself "$(tdir_cris)"
414 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
415 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
416 ${GENSCRIPTS} crislinux "$(tdir_cris)"
417 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
418 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
419 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
420 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
421 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
422 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
423 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
424 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
425 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
426 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
427 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
428 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
429 edelta68.c: $(srcdir)/emulparams/delta68.sh \
430 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
431 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
432 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
433 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
434 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
435 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
436 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
437 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
438 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
439 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
440 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
441 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
442 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
443 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
444 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
445 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
446 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
447 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
448 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
449 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
450 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
451 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
452 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
453 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
454 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
455 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
456 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
457 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
458 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
459 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
460 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
461 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
462 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
463 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
464 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
465 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
466 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
467 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
468 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
469 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
470 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
471 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
472 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
473 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
474 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
475 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
476 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
477 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
478 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
479 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
480 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
481 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
482 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
483 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
484 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
485 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
486 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
487 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
488 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
489 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
490 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
491 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
492 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
493 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
494 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
495 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
496 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
497 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
498 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
499 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
500 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
501 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
502 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
503 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
504 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
505 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
506 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
507 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
508 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
509 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
510 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
511 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
512 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
513 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
514 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
515 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
516 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
517 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
518 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
519 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
520 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
521 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
522 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
523 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
524 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
525 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
526 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
527 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
528 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
529 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
530 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
531 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
532 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
533 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
534 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
535 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
536 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
537 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
538 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
539 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
540 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
541 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
542 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
543 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
544 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
545 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
546 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
547 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
548 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
549 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
550 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
551 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
552 egld960.c: $(srcdir)/emulparams/gld960.sh \
553 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
554 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
555 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
556 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
557 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
558 eh8300.c: $(srcdir)/emulparams/h8300.sh \
559 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
560 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
561 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
562 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
563 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
564 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
565 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
566 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
567 eh8500.c: $(srcdir)/emulparams/h8500.sh \
568 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
569 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
570 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
571 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
572 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
573 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
574 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
575 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
576 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
577 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
578 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
579 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
580 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
581 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
582 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
583 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
584 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
585 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
586 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
587 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
588 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
589 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
590 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
591 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
592 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
593 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
594 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
595 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
596 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
597 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
598 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
599 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
600 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
601 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
602 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
603 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
604 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
605 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
606 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
607 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
608 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
609 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
610 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
611 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
612 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
613 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
614 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
615 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
616 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
617 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
618 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
619 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
620 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
621 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
622 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
623 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
624 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
625 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
626 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
627 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
628 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
629 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
630 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
631 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
632 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
633 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
634 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
635 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
636 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
637 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
638 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
639 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
640 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
641 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
642 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
643 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
644 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
645 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
646 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
647 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
648 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
649 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
650 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
651 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
652 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
653 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
654 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
655 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
656 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
657 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
658 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
659 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
660 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
661 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
662 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
663 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
664 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
665 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
666 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
667 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
668 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
669 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
670 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
671 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
672 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
673 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
674 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
675 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
676 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
677 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
678 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
679 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
680 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
681 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
682 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
683 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
684 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
685 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
686 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
687 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
688 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
689 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
690 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
691 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
692 ${GENSCRIPTS} mipsbig
693 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
694 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
695 ${GENSCRIPTS} mipsbsd
696 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
697 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
698 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
699 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
700 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
701 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
702 emipslit.c: $(srcdir)/emulparams/mipslit.sh \
703 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
704 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
705 emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
706 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
707 ${GENSCRIPTS} mipslnews
708 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
709 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
710 ${GENSCRIPTS} mipspe "$(tdir_mips)"
711 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
712 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
713 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
714 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
715 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
716 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
717 enews.c: $(srcdir)/emulparams/news.sh \
718 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
719 ${GENSCRIPTS} news "$(tdir_news)"
720 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
721 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
722 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
723 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
724 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
725 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
726 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
727 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
728 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
729 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
730 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
731 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
732 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
733 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
734 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
735 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
736 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
737 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
738 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
739 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
740 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
741 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
742 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
743 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
744 eriscix.c: $(srcdir)/emulparams/riscix.sh \
745 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
746 ${GENSCRIPTS} riscix "$(tdir_riscix)"
747 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
748 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
749 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
750 esh.c: $(srcdir)/emulparams/sh.sh \
751 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
752 ${GENSCRIPTS} sh "$(tdir_sh)"
753 eshelf.c: $(srcdir)/emulparams/shelf.sh \
754 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
755 ${GENSCRIPTS} shelf "$(tdir_shelf)"
756 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
757 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
758 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
759 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
760 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
761 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
762 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
763 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
764 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
765 eshl.c: $(srcdir)/emulparams/shl.sh \
766 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
767 ${GENSCRIPTS} shl "$(tdir_shl)"
768 eshpe.c: $(srcdir)/emulparams/shpe.sh \
769 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
770 ${GENSCRIPTS} shpe "$(tdir_shl)"
771 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
772 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
773 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
774 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
775 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
776 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
777 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
778 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
779 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
780 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
781 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
782 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
783 est2000.c: $(srcdir)/emulparams/st2000.sh \
784 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
785 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
786 esun3.c: $(srcdir)/emulparams/sun3.sh \
787 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
788 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
789 esun4.c: $(srcdir)/emulparams/sun4.sh \
790 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
791 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
792 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
793 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
794 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
795 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
796 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
797 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
798 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
799 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
800 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
801 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
802 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
803 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
804 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
805 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
806 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
807 evax.c: $(srcdir)/emulparams/vax.sh \
808 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
809 ${GENSCRIPTS} vax "$(tdir_vax)"
810 evsta.c: $(srcdir)/emulparams/vsta.sh \
811 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
812 ${GENSCRIPTS} vsta "$(tdir_vsta)"
813 ev850.c: $(srcdir)/emulparams/v850.sh \
814 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
815 ${GENSCRIPTS} v850 "$(tdir_v850)"
816 ew65.c: $(srcdir)/emulparams/w65.sh \
817 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
818 ${GENSCRIPTS} w65 "$(tdir_w65)"
819 ez8001.c: $(srcdir)/emulparams/z8001.sh \
820 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
821 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
822 ez8002.c: $(srcdir)/emulparams/z8002.sh \
823 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
824 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
825
826 # We need this for automake to use YLWRAP.
827 EXTRA_ld_new_SOURCES = deffilep.y
828
829 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
830 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
831 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
832 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
833
834 # The generated emulation files mostly have the same dependencies.
835 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
836 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
837 ldctor.h ldexp.h ldlang.h ldgram.h
838
839 # This is the real libbfd.a created by libtool.
840 TESTBFDLIB = @TESTBFDLIB@
841
842 check-DEJAGNU: site.exp
843 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
844 r=`pwd`; export r; \
845 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
846 EXPECT=$(EXPECT); export EXPECT; \
847 if [ -f $(top_builddir)/../expect/expect ]; then \
848 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
849 export TCL_LIBRARY; \
850 fi; \
851 runtest=$(RUNTEST); \
852 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
853 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
854 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
855 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
856 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
857 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
858 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
859 $(RUNTESTFLAGS); \
860 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
861 fi
862
863 # Rules for testing by relinking ld itself.
864 # A similar test is in the testsuite. This target is for ease of use
865 # when porting ld.
866
867 ld-partial.o: ld-new$(EXEEXT)
868 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
869 ld1$(EXEEXT): ld-partial.o
870 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
871
872 ld1-full$(EXEEXT): ld-new
873 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
874
875 ld2$(EXEEXT): ld1$(EXEEXT)
876 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
877
878 ld3$(EXEEXT): ld2$(EXEEXT)
879 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
880
881 bootstrap: ld3$(EXEEXT)
882 cmp ld2$(EXEEXT) ld3$(EXEEXT)
883
884 .PHONY: bootstrap
885
886 # A test program for C++ constructors and destructors.
887 # This test is now in the testsuite.
888 #
889 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
890 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
891 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
892 #
893 #cdtest.out: cdtest
894 # ./cdtest > cdtest.tmp
895 # mv cdtest.tmp cdtest.out
896 #
897 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
898 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
899 # cdtest-bar.o cdtest-foo.o
900 #
901 #cdtest-ur: cdtest-ur.o
902 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
903 # $(HOSTING_LIBS)
904 #
905 #cdtest-ur.out: cdtest-ur
906 # ./cdtest-ur > cdtest-ur.tmp
907 # mv cdtest-ur.tmp cdtest-ur.out
908 #
909 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
910 # diff $(srcdir)/cdtest.exp cdtest.out
911 # diff $(srcdir)/cdtest.exp cdtest-ur.out
912 #
913 #.PHONY: check-cdtest
914
915 # END OF CHECK TARGETS
916
917 # DOCUMENTATION TARGETS
918 # Manual configuration file; not usually attached to normal configuration,
919 # because almost all configs use "gen" version of manual.
920 # Set DOCVER above to change.
921 configdoc.texi: ${DOCVER}-doc.texi
922 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
923 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
924 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
925
926 ldver.texi: Makefile
927 rm -f $@
928 echo '@set VERSION $(VERSION)' > $@
929
930 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
931 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
932 $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
933
934 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
935 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
936 MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
937
938 # Build the man page from the texinfo file
939 # The sed command removes the no-adjust Nroff command so that
940 # the man output looks standard.
941 ld.1: $(srcdir)/ld.texinfo
942 touch $@
943 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
944 -($(POD2MAN) ld.pod | \
945 sed -e '/^.if n .na/d' > $@.T$$$$ && \
946 mv -f $@.T$$$$ $@) || \
947 (rm -f $@.T$$$$ && exit 1)
948 rm -f ld.pod
949
950 MAINTAINERCLEANFILES = ldver.texi
951
952 # We want to reconfigure if configure.host or configure.tgt changes.
953 config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt
954 $(SHELL) ./config.status --recheck
955
956 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
957 ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
958 mostlyclean-local:
959 -rm -rf tmpdir
960 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
961
962 .PHONY: install-exec-local install-data-local
963
964 install-exec-local: ld-new$(EXEEXT)
965 $(mkinstalldirs) $(bindir) $(tooldir)/bin
966 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
967 if test -f $$p; then \
968 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
969 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
970 else :; fi; \
971 done
972 n=`echo ld | sed '$(transform)'`; \
973 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
974 rm -f $(tooldir)/bin/ld$(EXEEXT); \
975 ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
976 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \
977 fi
978
979 install-data-local:
980 $(mkinstalldirs) $(scriptdir)/ldscripts
981 for f in ldscripts/*; do \
982 $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
983 done
984
985 # Stuff that should be included in a distribution. The diststuff
986 # target is run by the taz target in ../Makefile.in.
987 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
988 diststuff: info $(EXTRA_DIST)
989
990 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
991 distclean-local:
992 rm -rf ldscripts
993
994 # Targets to rebuild dependencies in this Makefile.
995 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
996 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
997 rm -f DEP1
998 $(MAKE) MKDEP="$(MKDEP)" DEP1
999 sed -f dep.sed < DEP1 > DEPA
1000 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1001 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1002 echo 'make DEP failed!'; exit 1; \
1003 else \
1004 mv -f DEPA $@; \
1005 fi
1006
1007 DEP1: $(CFILES) $(GENERATED_CFILES)
1008 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1009 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1010 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1011 mv -f DEP2 $@
1012
1013 dep.sed: dep-in.sed config.status
1014 sed <$(srcdir)/dep-in.sed >dep.sed \
1015 -e 's!@INCDIR@!$(INCDIR)!' \
1016 -e 's!@SRCDIR@!$(srcdir)!'
1017
1018 dep: DEP
1019 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1020 cat DEP >> tmp-Makefile
1021 $(srcdir)/../move-if-change tmp-Makefile Makefile
1022
1023 dep-in: DEP
1024 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1025 cat DEP >> tmp-Makefile.in
1026 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1027
1028 dep-am: DEP
1029 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1030 cat DEP >> tmp-Makefile.am
1031 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1032
1033 .PHONY: dep dep-in dep-am
1034
1035 # What appears below is generated by a hacked mkdep using gcc -MM.
1036
1037 # DO NOT DELETE THIS LINE -- mkdep uses it.
1038 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1039 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1040 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1041 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldmisc.h \
1042 ldgram.h ldmain.h ldctor.h
1043 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1044 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1045 ldmisc.h ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h \
1046 ldemul-list.h
1047 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1048 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1049 ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1050 ldgram.h ldlang.h $(INCDIR)/libiberty.h
1051 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1052 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1053 ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1054 ldfile.h ldmain.h ldgram.h ldlex.h ldemul.h $(INCDIR)/libiberty.h
1055 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1056 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1057 $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
1058 ldmain.h ldgram.h ldexp.h ldlang.h ldlex.h ldmisc.h \
1059 ldctor.h ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
1060 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1061 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1062 $(INCDIR)/progress.h $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \
1063 ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldwrite.h \
1064 ldgram.h ldexp.h ldlang.h ldlex.h ldfile.h ldemul.h \
1065 ldctor.h
1066 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1067 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1068 $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \
1069 ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h ldfile.h
1070 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1071 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1072 ldver.h ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
1073 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1074 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1075 $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1076 ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
1077 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1078 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1079 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1080 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
1081 ldver.h ldemul.h $(INCDIR)/demangle.h
1082 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \
1083 config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1084 ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1085 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1086 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1087 $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1088 ldmisc.h ldexp.h ldlang.h
1089 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1090 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1091 $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1092 ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h ldfile.h \
1093 ldemul.h $(INCDIR)/coff/internal.h ../bfd/libcoff.h \
1094 deffile.h pe-dll.h
1095 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1096 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1097 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldver.h ldlang.h \
1098 ldfile.h ldemul.h ldmisc.h ldmain.h mri.h ldctor.h \
1099 ldlex.h
1100 ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1101 ld.h $(INCDIR)/bin-bugs.h ldgram.h ldmisc.h ldexp.h \
1102 ldlang.h ldfile.h ldlex.h ldmain.h $(INCDIR)/libiberty.h
1103 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1104 ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1105 ld.h $(INCDIR)/bin-bugs.h ldmisc.h deffile.h
1106 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY