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