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