* floatformat.h (floatformat_arm_ext): Document as deprecated.
[binutils.git] / ld / Makefile.am
blobfb0bfa8d8d7082e4591b1d8170b945cde1a98420
1 ## Process this file with automake to generate Makefile.in
3 ## FIXME: work around apparent automake bug.
4 INTLLIBS = @INTLLIBS@
6 AUTOMAKE_OPTIONS = cygnus dejagnu
8 SUBDIRS = po
10 tooldir = $(exec_prefix)/$(target_alias)
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`
16 WARN_CFLAGS = @WARN_CFLAGS@
17 AM_CFLAGS = $(WARN_CFLAGS)
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
24 EMUL = @EMUL@
25 EMULATION_OFILES = @EMULATION_OFILES@
26 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
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 =
36 BASEDIR = $(srcdir)/..
37 BFDDIR = $(BASEDIR)/bfd
38 INCDIR  = $(BASEDIR)/include
39 MKDEP = gcc -MM
41 # What version of the manual to build
42 DOCVER = gen
44 # Options to extract the man page from ld.texinfo
45 MANCONF = -Dman
47 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
49 POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
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)
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`
61 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
62         then echo $${srcroot}/../dejagnu/runtest ; \
63         else echo runtest ; fi`
65 RUNTESTFLAGS =
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`
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`
98 noinst_PROGRAMS = ld-new
99 info_TEXINFOS = ld.texinfo
100 noinst_TEXINFOS = ldint.texinfo
101 man_MANS = ld.1
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\""
105 BFDLIB = ../bfd/libbfd.la
106 LIBIBERTY = ../libiberty/libiberty.a
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
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
268 ALL_EMUL_EXTRA_OFILES = \
269         deffilep.o \
270         pe-dll.o
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
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
280 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
281 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
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}
287 STAGESTUFF = *.o ldscripts/* e*.c
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
293 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
295 po/POTFILES.in: @MAINT@ Makefile
296         for file in $(POTFILES); do echo $$file; done | sort > tmp \
297           && mv tmp $(srcdir)/po/POTFILES.in
299 ldmain.o: ldmain.c config.status
300         $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
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
317 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
318           cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
320 # These all start with e so 'make clean' can find them.
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@
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)/emultempl/needrelax.em \
518   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
519         ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
520 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
521   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
522         ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
523 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
524   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
525         ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
526 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
527   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
528         ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
529 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
530   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
531         ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
532 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
533   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
534         ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
535 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
536   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
537         ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
538 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
539   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
540         ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
541 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
542   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
543         ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
544 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
545   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
546         ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
547 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
548   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
549         ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
550 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
551   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
552         ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
553 egld960.c: $(srcdir)/emulparams/gld960.sh \
554   $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
555         ${GENSCRIPTS} gld960 "$(tdir_gld960)"
556 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
557   $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
558         ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
559 eh8300.c: $(srcdir)/emulparams/h8300.sh \
560   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
561         ${GENSCRIPTS} h8300 "$(tdir_h8300)"
562 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
563   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
564         ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
565 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
566   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
567         ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
568 eh8500.c: $(srcdir)/emulparams/h8500.sh \
569   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
570         ${GENSCRIPTS} h8500 "$(tdir_h8500)"
571 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
572   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
573         ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
574 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
575   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
576         ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
577 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
578   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
579         ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
580 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
581   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
582         ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
583 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
584   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
585         ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
586 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
587   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
588         ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
589 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
590   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
591   $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
592         ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
593 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
594   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
595   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
596         ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
597 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
598   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
599         ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
600 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
601   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
602         ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
603 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
604   $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
605         ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
606 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
607   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
608         ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
609 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
610   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
611         ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
612 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
613   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
614         ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
615 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
616   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
617         ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
618 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
619   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
620         ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
621 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
622   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
623         ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
624 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
625   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
626         ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
627 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
628   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
629         ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
630 ei386nbsd.c:    $(srcdir)/emulparams/i386nbsd.sh \
631   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
632         ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
633 ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
634   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
635         ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
636 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
637   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
638         ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
639 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
640   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
641         ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
642 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
643   $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
644         ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
645 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
646   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
647         ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
648 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
649   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
650         ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
651 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
652   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
653         ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
654 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
655   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
656         ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
657 em68k4knbsd.c:  $(srcdir)/emulparams/m68k4knbsd.sh \
658   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
659         ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
660 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
661   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
662         ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
663 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
664   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
665         ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
666 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
667   $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
668         ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
669 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
670   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
671   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
672         ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
673 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
674   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
675         ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
676 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
677   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
678         ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
679 em68knbsd.c:    $(srcdir)/emulparams/m68knbsd.sh \
680   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
681         ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
682 em68kpsos.c:    $(srcdir)/emulparams/m68kpsos.sh \
683   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
684         ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
685 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
686   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
687         ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
688 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
689   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
690         ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
691 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
692   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
693         ${GENSCRIPTS} mipsbig
694 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
695   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
696         ${GENSCRIPTS} mipsbsd
697 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
698   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
699         ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
700 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
701   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
702         ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
703 emipslit.c:  $(srcdir)/emulparams/mipslit.sh \
704   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
705         ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
706 emipslnews.c:  $(srcdir)/emulparams/mipslnews.sh \
707   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
708         ${GENSCRIPTS} mipslnews
709 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
710   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
711         ${GENSCRIPTS} mipspe "$(tdir_mips)"
712 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
713   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
714         ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
715 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
716   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
717         ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
718 enews.c: $(srcdir)/emulparams/news.sh \
719   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
720         ${GENSCRIPTS} news "$(tdir_news)"
721 ens32knbsd.c:   $(srcdir)/emulparams/ns32knbsd.sh \
722   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
723         ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
724 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
725   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
726         ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
727 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
728   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
729         ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
730 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
731   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
732         ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
733 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
734   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
735         ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
736 eppcmacos.c:    $(srcdir)/emulparams/ppcmacos.sh \
737   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
738         ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
739 eppcnw.c:       $(srcdir)/emulparams/ppcnw.sh \
740   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
741         ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
742 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
743   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
744         ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
745 eriscix.c: $(srcdir)/emulparams/riscix.sh \
746   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
747         ${GENSCRIPTS} riscix "$(tdir_riscix)"
748 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
749   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
750         ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
751 esh.c: $(srcdir)/emulparams/sh.sh \
752   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
753         ${GENSCRIPTS} sh "$(tdir_sh)"
754 eshelf.c: $(srcdir)/emulparams/shelf.sh \
755   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
756         ${GENSCRIPTS} shelf "$(tdir_shelf)"
757 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
758   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
759         ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
760 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
761   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
762         ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
763 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
764   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
765         ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
766 eshl.c: $(srcdir)/emulparams/shl.sh \
767   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
768         ${GENSCRIPTS} shl "$(tdir_shl)"
769 eshpe.c: $(srcdir)/emulparams/shpe.sh \
770   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
771         ${GENSCRIPTS} shpe "$(tdir_shl)"
772 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
773   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
774         ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
775 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
776   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
777         ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
778 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
779   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
780         ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
781 esparcnbsd.c:   $(srcdir)/emulparams/sparcnbsd.sh \
782   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
783         ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
784 est2000.c: $(srcdir)/emulparams/st2000.sh \
785   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
786         ${GENSCRIPTS} st2000 "$(tdir_st2000)"
787 esun3.c: $(srcdir)/emulparams/sun3.sh \
788   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
789         ${GENSCRIPTS} sun3 "$(tdir_sun3)"
790 esun4.c: $(srcdir)/emulparams/sun4.sh \
791   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
792         ${GENSCRIPTS} sun4 "$(tdir_sun4)"
793 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
794   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
795         ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
796 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
797   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
798         ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
799 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
800   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
801         ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
802 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
803   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
804         ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
805 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
806   $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
807         ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
808 evax.c: $(srcdir)/emulparams/vax.sh \
809   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
810         ${GENSCRIPTS} vax "$(tdir_vax)"
811 evsta.c: $(srcdir)/emulparams/vsta.sh \
812   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
813         ${GENSCRIPTS} vsta "$(tdir_vsta)"
814 ev850.c: $(srcdir)/emulparams/v850.sh \
815   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
816         ${GENSCRIPTS} v850 "$(tdir_v850)"
817 ew65.c: $(srcdir)/emulparams/w65.sh \
818   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
819         ${GENSCRIPTS} w65 "$(tdir_w65)"
820 ez8001.c: $(srcdir)/emulparams/z8001.sh \
821   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
822         ${GENSCRIPTS} z8001 "$(tdir_z8001)"
823 ez8002.c: $(srcdir)/emulparams/z8002.sh \
824   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
825         ${GENSCRIPTS} z8002 "$(tdir_z8002)"
827 # We need this for automake to use YLWRAP.
828 EXTRA_ld_new_SOURCES = deffilep.y
830 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
831         ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
832 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
833 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
835 # The generated emulation files mostly have the same dependencies.
836 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
837   ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
838   ldctor.h ldexp.h ldlang.h ldgram.h
840 # This is the real libbfd.a created by libtool.
841 TESTBFDLIB = @TESTBFDLIB@
843 check-DEJAGNU: site.exp
844         srcroot=`cd $(srcdir) && pwd`; export srcroot; \
845         r=`pwd`; export r; \
846         LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
847         EXPECT=$(EXPECT); export EXPECT; \
848         if [ -f $(top_builddir)/../expect/expect ]; then \
849           TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
850           export TCL_LIBRARY; \
851         fi; \
852         runtest=$(RUNTEST); \
853         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
854           $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
855                 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
856                 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
857                 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
858                 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
859                 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
860                 $(RUNTESTFLAGS); \
861         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
862         fi
864 # Rules for testing by relinking ld itself.
865 # A similar test is in the testsuite.  This target is for ease of use
866 # when porting ld.
868 ld-partial.o: ld-new$(EXEEXT)
869         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
870 ld1$(EXEEXT): ld-partial.o
871         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
873 ld1-full$(EXEEXT): ld-new
874         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
876 ld2$(EXEEXT): ld1$(EXEEXT)
877         ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
879 ld3$(EXEEXT): ld2$(EXEEXT)
880         ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
882 bootstrap: ld3$(EXEEXT)
883         cmp ld2$(EXEEXT) ld3$(EXEEXT)
885 .PHONY: bootstrap
887 # A test program for C++ constructors and destructors.
888 # This test is now in the testsuite.
890 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
891 #       ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
892 #         cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
894 #cdtest.out: cdtest
895 #       ./cdtest > cdtest.tmp
896 #       mv cdtest.tmp cdtest.out
898 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
899 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
900 #         cdtest-bar.o cdtest-foo.o
902 #cdtest-ur: cdtest-ur.o
903 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
904 #         $(HOSTING_LIBS)
906 #cdtest-ur.out: cdtest-ur
907 #       ./cdtest-ur > cdtest-ur.tmp
908 #       mv cdtest-ur.tmp cdtest-ur.out
910 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
911 #       diff $(srcdir)/cdtest.exp cdtest.out
912 #       diff $(srcdir)/cdtest.exp cdtest-ur.out
914 #.PHONY: check-cdtest
916 # END OF CHECK TARGETS
918 # DOCUMENTATION TARGETS
919 # Manual configuration file; not usually attached to normal configuration,
920 # because almost all configs use "gen" version of manual.
921 #  Set DOCVER above to change.
922 configdoc.texi: ${DOCVER}-doc.texi
923         ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
924           || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
925           || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
927 ldver.texi: Makefile
928         rm -f $@
929         echo '@set VERSION $(VERSION)' > $@
931 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
932         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
933         $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
935 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
936         TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
937           MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
939 # Build the man page from the texinfo file
940 # The sed command removes the no-adjust Nroff command so that
941 # the man output looks standard.
942 ld.1: $(srcdir)/ld.texinfo
943         touch $@
944         -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
945         -($(POD2MAN) ld.pod | \
946                 sed -e '/^.if n .na/d' > $@.T$$$$ && \
947                 mv -f $@.T$$$$ $@) || \
948                 (rm -f $@.T$$$$ && exit 1)
949         rm -f ld.pod
951 MAINTAINERCLEANFILES = ldver.texi
953 # We want to reconfigure if configure.host or configure.tgt changes.
954 config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt
955         $(SHELL) ./config.status --recheck
957 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
958         ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
959 mostlyclean-local:
960         -rm -rf tmpdir
961 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
963 .PHONY: install-exec-local install-data-local
965 install-exec-local: ld-new$(EXEEXT)
966         $(mkinstalldirs) $(bindir) $(tooldir)/bin
967         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
968           if test -f $$p; then \
969             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
970             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
971           else :; fi; \
972         done
973         n=`echo ld | sed '$(transform)'`; \
974         if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
975           rm -f $(tooldir)/bin/ld$(EXEEXT); \
976           ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
977           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \
978         fi
980 install-data-local:
981         $(mkinstalldirs) $(scriptdir)/ldscripts
982         for f in ldscripts/*; do \
983           $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
984         done
986 # Stuff that should be included in a distribution.  The diststuff
987 # target is run by the taz target in ../Makefile.in.
988 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
989 diststuff: info $(EXTRA_DIST)
991 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
992 distclean-local:
993         rm -rf ldscripts
995 # Targets to rebuild dependencies in this Makefile.
996 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
997 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
998         rm -f DEP1
999         $(MAKE) MKDEP="$(MKDEP)" DEP1
1000         sed -f dep.sed < DEP1 > DEPA
1001         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1002         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1003           echo 'make DEP failed!'; exit 1; \
1004         else \
1005           mv -f DEPA $@; \
1006         fi
1008 DEP1: $(CFILES) $(GENERATED_CFILES)
1009         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1010         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1011         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1012         mv -f DEP2 $@
1014 dep.sed: dep-in.sed config.status
1015         sed <$(srcdir)/dep-in.sed >dep.sed      \
1016                 -e 's!@INCDIR@!$(INCDIR)!'      \
1017                 -e 's!@SRCDIR@!$(srcdir)!'
1019 dep: DEP
1020         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1021         cat DEP >> tmp-Makefile
1022         $(srcdir)/../move-if-change tmp-Makefile Makefile
1024 dep-in: DEP
1025         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1026         cat DEP >> tmp-Makefile.in
1027         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1029 dep-am: DEP
1030         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1031         cat DEP >> tmp-Makefile.am
1032         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1034 .PHONY: dep dep-in dep-am
1036 # What appears below is generated by a hacked mkdep using gcc -MM.
1038 # DO NOT DELETE THIS LINE -- mkdep uses it.
1039 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1040 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1041   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1042   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldmisc.h \
1043   ldgram.h ldmain.h ldctor.h
1044 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1045   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1046   ldmisc.h ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h \
1047   ldemul-list.h
1048 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1049   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1050   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1051   ldgram.h ldlang.h $(INCDIR)/libiberty.h
1052 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1053   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1054   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1055   ldfile.h ldmain.h ldgram.h ldlex.h ldemul.h $(INCDIR)/libiberty.h
1056 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1057   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1058   $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
1059   ldmain.h ldgram.h ldexp.h ldlang.h ldlex.h ldmisc.h \
1060   ldctor.h ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
1061 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1062   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1063   $(INCDIR)/progress.h $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \
1064   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldwrite.h \
1065   ldgram.h ldexp.h ldlang.h ldlex.h ldfile.h ldemul.h \
1066   ldctor.h
1067 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1068   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1069   $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \
1070   ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h ldfile.h
1071 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1072   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1073   ldver.h ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
1074 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1075   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1076   $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1077   ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
1078 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1079   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1080   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1081   ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
1082   ldver.h ldemul.h $(INCDIR)/demangle.h
1083 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \
1084   config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1085   ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1086 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1087   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1088   $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1089   ldmisc.h ldexp.h ldlang.h
1090 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1091   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1092   $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1093   ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h ldfile.h \
1094   ldemul.h $(INCDIR)/coff/internal.h ../bfd/libcoff.h \
1095   deffile.h pe-dll.h
1096 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1097   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1098   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldver.h ldlang.h \
1099   ldfile.h ldemul.h ldmisc.h ldmain.h mri.h ldctor.h \
1100   ldlex.h
1101 ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1102   ld.h $(INCDIR)/bin-bugs.h ldgram.h ldmisc.h ldexp.h \
1103   ldlang.h ldfile.h ldlex.h ldmain.h $(INCDIR)/libiberty.h
1104 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1105   ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1106   ld.h $(INCDIR)/bin-bugs.h ldmisc.h deffile.h
1107 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY