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