Remove arm-aout and arm-coff support
[binutils-gdb.git] / ld / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2 #
3 # Copyright (C) 2012-2018 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
18 #
19
20 AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
21 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
22 TEXINFO_TEX = ../texinfo/texinfo.tex
23
24 SUBDIRS = po
25
26 tooldir = $(exec_prefix)/$(target_alias)
27
28 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
29 YFLAGS = -d
30 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
31
32 # Automake 1.10+ disables lex and yacc output file regeneration if
33 # maintainer mode is disabled. Avoid this.
34 am__skiplex =
35 am__skipyacc =
36
37 ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
38 -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
39 -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
40 WARN_CFLAGS = @WARN_CFLAGS@
41 NO_WERROR = @NO_WERROR@
42 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
43
44 # Conditionally enable the plugin interface.
45 if ENABLE_PLUGINS
46 PLUGIN_C = plugin.c
47 PLUGIN_H = plugin.h
48 PLUGIN_OBJECT = plugin.@OBJEXT@
49 PLUGIN_CFLAGS = -DENABLE_PLUGINS
50 else
51 PLUGIN_C =
52 PLUGIN_H =
53 PLUGIN_OBJECT =
54 PLUGIN_CFLAGS =
55 endif
56
57 # We put the scripts in the directory $(scriptdir)/ldscripts.
58 # We can't put the scripts in $(datadir) because the SEARCH_DIR
59 # directives need to be different for native and cross linkers.
60 scriptdir = $(tooldir)/lib
61
62 EMUL = @EMUL@
63 EMULATION_OFILES = @EMULATION_OFILES@
64 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
65
66
67 # Search path to override the default search path for -lfoo libraries.
68 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
69 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
70 # a cross-linker, in which case the default is empty. See genscripts.sh.)
71 # Otherwise, they are replaced with the ones given in LIB_PATH,
72 # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
73 # when the linker is configured via the --with-lib-path configure switch.
74 LIB_PATH = @LIB_PATH@
75
76 BASEDIR = $(srcdir)/..
77 BFDDIR = $(BASEDIR)/bfd
78 INCDIR = $(BASEDIR)/include
79
80 # What version of the manual to build
81 DOCVER = gen
82
83 # Options to extract the man page from ld.texinfo
84 MANCONF = -Dman
85
86 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
87
88 POD2MAN = pod2man --center="GNU Development Tools" \
89 --release="binutils-$(VERSION)" --section=1
90
91 # Setup the testing framework, if you have one
92 EXPECT = expect
93 RUNTEST = runtest
94 RUNTESTFLAGS =
95
96 CC_FOR_TARGET = ` \
97 if [ -f $$r/../gcc/xgcc ] ; then \
98 if [ -f $$r/../newlib/Makefile ] ; then \
99 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
100 else \
101 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
102 fi; \
103 else \
104 if [ "@host@" = "@target@" ] ; then \
105 echo $(CC); \
106 else \
107 echo gcc | sed '$(transform)'; \
108 fi; \
109 fi`
110
111 CXX_FOR_TARGET = ` \
112 if [ -f $$r/../gcc/g++ ] ; then \
113 if [ -f $$r/../newlib/Makefile ] ; then \
114 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
115 else \
116 echo $$r/../gcc/g++ -B$$r/../gcc/; \
117 fi; \
118 elif [ -f $$r/../gcc/xg++ ] ; then \
119 if [ -f $$r/../newlib/Makefile ] ; then \
120 echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
121 else \
122 echo $$r/../gcc/xg++ -B$$r/../gcc/; \
123 fi; \
124 else \
125 if [ "@host@" = "@target@" ] ; then \
126 echo $(CXX); \
127 else \
128 echo g++ | sed '$(transform)'; \
129 fi; \
130 fi`
131
132 # Strip out sanitization options as we want to test building binaries without any extra paraphernalia
133 CFLAGS_FOR_TARGET = `echo $(CFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
134 CXXFLAGS_FOR_TARGET = `echo $(CXXFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
135
136 transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
137 bin_PROGRAMS = ld-new
138 info_TEXINFOS = ld.texinfo
139 ld_TEXINFOS = configdoc.texi
140 noinst_TEXINFOS = ldint.texinfo
141 man_MANS = ld.1
142
143 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
144 -I $(top_srcdir)/../libiberty
145 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
146 -I $(top_srcdir)/../libiberty
147
148 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
149 @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
150 -DLOCALEDIR="\"$(datadir)/locale\""
151
152 BFDLIB = ../bfd/libbfd.la
153 LIBIBERTY = ../libiberty/libiberty.a
154
155 ALL_EMULATION_SOURCES = \
156 eaix5ppc.c \
157 eaix5rs6.c \
158 eaixppc.c \
159 eaixrs6.c \
160 ealpha.c \
161 ealphavms.c \
162 earcv2elf.c \
163 earcv2elfx.c \
164 earcelf.c \
165 earcelf_prof.c \
166 earclinux.c \
167 earclinux_nps.c \
168 earclinux_prof.c \
169 earm_wince_pe.c \
170 earmelf.c \
171 earmelf_fbsd.c \
172 earmelf_fuchsia.c \
173 earmelf_linux.c \
174 earmelf_linux_eabi.c \
175 earmelf_nacl.c \
176 earmelf_nbsd.c \
177 earmelf_phoenix.c \
178 earmelf_vxworks.c \
179 earmelfb.c \
180 earmelfb_fbsd.c \
181 earmelfb_fuchsia.c \
182 earmelfb_linux.c \
183 earmelfb_linux_eabi.c \
184 earmelfb_nacl.c \
185 earmelfb_nbsd.c \
186 earmnto.c \
187 earmpe.c \
188 earmsymbian.c \
189 eavr1.c \
190 eavr2.c \
191 eavr25.c \
192 eavr3.c \
193 eavr31.c \
194 eavr35.c \
195 eavr4.c \
196 eavr5.c \
197 eavr51.c \
198 eavr6.c \
199 eavrxmega1.c \
200 eavrxmega2.c \
201 eavrxmega3.c \
202 eavrxmega4.c \
203 eavrxmega5.c \
204 eavrxmega6.c \
205 eavrxmega7.c \
206 eavrtiny.c \
207 ecrisaout.c \
208 ecriself.c \
209 ecrislinux.c \
210 ed10velf.c \
211 ed30v_e.c \
212 ed30v_o.c \
213 ed30velf.c \
214 eelf32_dlx.c \
215 eelf32_sparc.c \
216 eelf32_sparc_sol2.c \
217 eelf32_sparc_vxworks.c \
218 eelf32_spu.c \
219 eelf32_tic6x_be.c \
220 eelf32_tic6x_le.c \
221 eelf32_tic6x_linux_be.c \
222 eelf32_tic6x_linux_le.c \
223 eelf32_tic6x_elf_be.c \
224 eelf32_tic6x_elf_le.c \
225 eelf32am33lin.c \
226 eelf32bfin.c \
227 eelf32bfinfd.c \
228 eelf32cr16.c \
229 eelf32cr16c.c \
230 eelf32crx.c \
231 eelf32epiphany.c \
232 eelf32epiphany_4x4.c \
233 eelf32fr30.c \
234 eelf32frv.c \
235 eelf32frvfd.c \
236 eelf32ft32.c \
237 eelf32ip2k.c \
238 eelf32iq10.c \
239 eelf32iq2000.c \
240 eelf32lm32.c \
241 eelf32lm32fd.c \
242 eelf32lppc.c \
243 eelf32lppclinux.c \
244 eelf32lppcnto.c \
245 eelf32lppcsim.c \
246 eelf32m32c.c \
247 eelf32mb_linux.c \
248 eelf32mbel_linux.c \
249 eelf32mcore.c \
250 eelf32mep.c \
251 eelf32metag.c \
252 eelf32microblazeel.c \
253 eelf32microblaze.c \
254 eelf32moxie.c \
255 emoxiebox.c \
256 eelf32mt.c \
257 eelf32or1k.c \
258 eelf32or1k_linux.c \
259 eelf32ppc.c \
260 eelf32ppc_fbsd.c \
261 eelf32ppclinux.c \
262 eelf32ppcnto.c \
263 eelf32ppcsim.c \
264 eelf32ppcvxworks.c \
265 eelf32ppcwindiss.c \
266 eelf32lriscv.c \
267 eelf32rl78.c \
268 eelf32rx.c \
269 eelf32tilegx.c \
270 eelf32tilegx_be.c \
271 eelf32tilepro.c \
272 eelf32vax.c \
273 eelf32visium.c \
274 eelf32xc16x.c \
275 eelf32xc16xl.c \
276 eelf32xc16xs.c \
277 eelf32xstormy16.c \
278 eelf32xtensa.c \
279 eelf_i386.c \
280 eelf_i386_be.c \
281 eelf_i386_chaos.c \
282 eelf_i386_fbsd.c \
283 eelf_i386_ldso.c \
284 eelf_i386_nacl.c \
285 eelf_i386_sol2.c \
286 eelf_i386_vxworks.c \
287 eelf_iamcu.c \
288 eelf_s390.c \
289 eh8300elf.c \
290 eh8300elf_linux.c \
291 eh8300helf.c \
292 eh8300helf_linux.c \
293 eh8300hnelf.c \
294 eh8300self.c \
295 eh8300self_linux.c \
296 eh8300snelf.c \
297 eh8300sxelf.c \
298 eh8300sxelf_linux.c \
299 eh8300sxnelf.c \
300 ehppaelf.c \
301 ehppalinux.c \
302 ehppanbsd.c \
303 ehppaobsd.c \
304 ei386beos.c \
305 ei386bsd.c \
306 ei386go32.c \
307 ei386lynx.c \
308 ei386moss.c \
309 ei386msdos.c \
310 ei386nto.c \
311 ei386pe.c \
312 ei386pe_posix.c \
313 em32relf.c \
314 em32relf_linux.c \
315 em32rlelf.c \
316 em32rlelf_linux.c \
317 em68hc11elf.c \
318 em68hc11elfb.c \
319 em68hc12elf.c \
320 em68hc12elfb.c \
321 em68kelf.c \
322 em68kelfnbsd.c \
323 emcorepe.c \
324 emn10200.c \
325 emn10300.c \
326 emsp430elf.c \
327 emsp430X.c \
328 ends32elf.c \
329 ends32elf16m.c \
330 ends32elf_linux.c \
331 ends32belf.c \
332 ends32belf16m.c \
333 ends32belf_linux.c \
334 ens32knbsd.c \
335 enios2elf.c \
336 enios2linux.c \
337 epc532macha.c \
338 epdp11.c \
339 epjelf.c \
340 epjlelf.c \
341 eppclynx.c \
342 eppcmacos.c \
343 eppcpe.c \
344 epruelf.c \
345 escore3_elf.c \
346 escore7_elf.c \
347 esh.c \
348 eshelf.c \
349 eshelf_fd.c \
350 eshelf_linux.c \
351 eshelf_nbsd.c \
352 eshelf_nto.c \
353 eshelf_uclinux.c \
354 eshelf_vxworks.c \
355 eshl.c \
356 eshlelf.c \
357 eshlelf_fd.c \
358 eshlelf_linux.c \
359 eshlelf_nbsd.c \
360 eshlelf_nto.c \
361 eshlelf_vxworks.c \
362 eshpe.c \
363 etic30aout.c \
364 etic30coff.c \
365 etic3xcoff.c \
366 etic3xcoff_onchip.c \
367 etic4xcoff.c \
368 etic54xcoff.c \
369 etic80coff.c \
370 ev850.c \
371 ev850_rh850.c \
372 evanilla.c \
373 evaxnbsd.c \
374 exgateelf.c \
375 ez80.c \
376 ez8001.c \
377 ez8002.c
378
379 ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
380
381 ALL_64_EMULATION_SOURCES = \
382 eaarch64elf.c \
383 eaarch64elf32.c \
384 eaarch64elfb.c \
385 eaarch64elf32b.c \
386 eaarch64cloudabi.c \
387 eaarch64cloudabib.c \
388 eaarch64fbsd.c \
389 eaarch64fbsdb.c \
390 eaarch64linux.c \
391 eaarch64linuxb.c \
392 eaarch64linux32.c \
393 eaarch64linux32b.c \
394 eelf32_x86_64.c \
395 eelf32_x86_64_nacl.c \
396 eelf32b4300.c \
397 eelf32bmip.c \
398 eelf32bmipn32.c \
399 eelf32bsmip.c \
400 eelf32btsmip.c \
401 eelf32btsmip_fbsd.c \
402 eelf32btsmipn32.c \
403 eelf32btsmipn32_fbsd.c \
404 eelf32ebmip.c \
405 eelf32ebmipvxworks.c \
406 eelf32elmip.c \
407 eelf32elmipvxworks.c \
408 eelf32l4300.c \
409 eelf32lmip.c \
410 eelf32lr5900.c \
411 eelf32lr5900n32.c \
412 eelf32lsmip.c \
413 eelf32ltsmip.c \
414 eelf32ltsmip_fbsd.c \
415 eelf32ltsmipn32.c \
416 eelf32ltsmipn32_fbsd.c \
417 eelf32mipswindiss.c \
418 eelf64_aix.c \
419 eelf64_ia64.c \
420 eelf64_ia64_fbsd.c \
421 eelf64_ia64_vms.c \
422 eelf64_s390.c \
423 eelf64_sparc.c \
424 eelf64_sparc_fbsd.c \
425 eelf64_sparc_sol2.c \
426 eelf64alpha.c \
427 eelf64alpha_fbsd.c \
428 eelf64alpha_nbsd.c \
429 eelf64bmip.c \
430 eelf64btsmip.c \
431 eelf64btsmip_fbsd.c \
432 eelf64hppa.c \
433 eelf64lppc.c \
434 eelf64lriscv.c \
435 eelf64ltsmip.c \
436 eelf64ltsmip_fbsd.c \
437 eelf64mmix.c \
438 eelf64ppc.c \
439 eelf64ppc_fbsd.c \
440 eelf64rdos.c \
441 eelf64tilegx.c \
442 eelf64tilegx_be.c \
443 eelf_l1om.c \
444 eelf_l1om_fbsd.c \
445 eelf_k1om.c \
446 eelf_k1om_fbsd.c \
447 eelf_x86_64.c \
448 eelf_x86_64_cloudabi.c \
449 eelf_x86_64_fbsd.c \
450 eelf_x86_64_nacl.c \
451 eelf_x86_64_sol2.c \
452 ehppa64linux.c \
453 ei386pep.c \
454 emmo.c
455
456 ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
457
458 ALL_EMUL_EXTRA_OFILES = \
459 deffilep.@OBJEXT@ \
460 pe-dll.@OBJEXT@
461
462 ALL_64_EMUL_EXTRA_OFILES = \
463 pep-dll.@OBJEXT@
464
465 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
466 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
467 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
468 $(PLUGIN_C) ldbuildid.c
469
470 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
471 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
472 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
473 elf-hints-local.h $(PLUGIN_H) ldbuildid.h
474
475 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
476 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
477
478 # Require an early dependency on the generated headers, as the dependency
479 # tracking will not cause them to be built beforehand.
480 BUILT_SOURCES = $(GENERATED_HFILES)
481
482 OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
483 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
484 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
485 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
486 ldbuildid.@OBJEXT@
487
488 STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
489
490 # Disable -Werror, if it has been enabled, since old versions of bison/
491 # yacc will produce working code which contain compile time warnings.
492 ldgram.@OBJEXT@: ldgram.c
493 if am__fastdepCC
494 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
495 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
496 else
497 if AMDEP
498 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
499 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
500 endif
501 $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
502 endif
503
504 ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
505 if am__fastdepCC
506 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
507 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
508 else
509 if AMDEP
510 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
511 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
512 endif
513 $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
514 endif
515
516 deffilep.@OBJEXT@: deffilep.c
517 if am__fastdepCC
518 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
519 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
520 else
521 if AMDEP
522 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
523 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
524 endif
525 $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
526 endif
527
528 SRC_POTFILES = $(CFILES) $(HFILES)
529 BLD_POTFILES = $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
530
531 po/SRC-POTFILES.in: @MAINT@ Makefile
532 for f in $(SRC_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \
533 && mv $@-tmp $(srcdir)/po/SRC-POTFILES.in
534
535 po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
536 for f in $(BLD_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \
537 && mv $@-tmp $(srcdir)/po/BLD-POTFILES.in
538
539 ldmain.@OBJEXT@: ldmain.c config.status
540 if am__fastdepCC
541 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
542 -DDEFAULT_EMULATION='"$(EMUL)"' \
543 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
544 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
545 $(srcdir)/ldmain.c
546 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
547 else
548 if AMDEP
549 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
550 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
551 endif
552 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
553 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
554 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
555 $(srcdir)/ldmain.c
556 endif
557
558 ldfile.@OBJEXT@: ldfile.c config.status
559 if am__fastdepCC
560 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
561 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
562 $(srcdir)/ldfile.c
563 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
564 else
565 if AMDEP
566 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
567 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
568 endif
569 $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
570 -DTOOLBINDIR='"$(tooldir)/bin"' \
571 $(srcdir)/ldfile.c
572 endif
573
574 eelf32_spu.@OBJEXT@: eelf32_spu.c
575 if am__fastdepCC
576 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
577 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
578 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
579 else
580 if AMDEP
581 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
582 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
583 endif
584 $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
585 eelf32_spu.c
586 endif
587
588 ldemul-list.h: Makefile
589 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
590 for f in `echo " " ${EMULATION_OFILES} "" \
591 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
592 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
593 done;\
594 echo "";\
595 echo "#define EMULATION_LIST \\";\
596 for f in `echo " " ${EMULATION_OFILES} "" \
597 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
598 echo " &ld_$${f}_emulation, \\"; \
599 done;\
600 echo " 0") >ldemul-tmp.h
601 mv ldemul-tmp.h ldemul-list.h
602
603 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
604 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
605
606 # These all start with e so 'make clean' can find them.
607
608 GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@
609 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
610 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
611 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
612 ELF_X86_DEPS = $(ELF_DEPS) $(srcdir)/emulparams/plt_unwind.sh \
613 $(srcdir)/emulparams/extern_protected_data.sh \
614 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
615 $(srcdir)/emulparams/reloc_overflow.sh \
616 $(srcdir)/emulparams/call_nop.sh \
617 $(srcdir)/emulparams/cet.sh
618
619 @TDIRS@
620
621 # We can't use pattern rules as we don't want to depend on GNU
622 # make, or else these rules could have been expressed in one
623 # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
624 # (The recursive variable expansion is portable.)
625
626 run-genscripts:
627 ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
628
629 .PHONY: run-genscripts
630
631 $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
632 base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
633 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
634
635 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
636 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
637
638 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
639 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
640
641 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
642 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
643
644 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
645 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
646
647 ealpha.c: $(srcdir)/emulparams/alpha.sh \
648 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
649
650 ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
651 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
652 $(srcdir)/emultempl/needrelax.em \
653 $(srcdir)/scripttempl/alphavms.sc ${GEN_DEPENDS}
654
655 earcv2elf.c: $(srcdir)/emulparams/arcv2elf.sh \
656 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
657
658 earcv2elfx.c: $(srcdir)/emulparams/arcv2elfx.sh \
659 $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
660
661 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
662 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
663
664 earcelf_prof.c: $(srcdir)/emulparams/arcelf_prof.sh \
665 $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
666
667 #for linux on arc
668 earclinux.c: $(srcdir)/emulparams/arclinux.sh \
669 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
670 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
671
672 earclinux_nps.c: $(srcdir)/emulparams/arclinux_nps.sh \
673 $(srcdir)/emulparams/arc-nps.sh \
674 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
675 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
676
677 earclinux_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
678 $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
679 $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
680
681 earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
682 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
683
684 earmelf.c: $(srcdir)/emulparams/armelf.sh \
685 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
686 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
687
688 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
689 $(srcdir)/emulparams/armelf.sh \
690 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
691 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
692
693 earmelf_fuchsia.c: $(srcdir)/emulparams/armelf_fuchsia.sh \
694 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
695 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
696
697 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
698 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
699 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
700
701 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
702 $(srcdir)/emulparams/armelf_linux.sh \
703 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
704 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
705
706 earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
707 $(srcdir)/emulparams/armelf_linux_eabi.sh \
708 $(srcdir)/emulparams/armelf_linux.sh \
709 $(srcdir)/emulparams/elf_nacl.sh \
710 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
711 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
712
713 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
714 $(srcdir)/emulparams/armelf.sh \
715 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
716 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
717
718 earmelf_phoenix.c: $(srcdir)/emulparams/armelf_phoenix.sh \
719 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
720 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
721
722 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
723 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
724 $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
725 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
726 ${GEN_DEPENDS}
727
728 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
729 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
730 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
731
732 earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
733 $(srcdir)/emulparams/armelf_fbsd.sh \
734 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
735 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
736
737 earmelfb_fuchsia.c: $(srcdir)/emulparams/armelfb_fuchsia.sh \
738 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
739 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
740
741 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
742 $(srcdir)/emulparams/armelf_linux.sh \
743 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
744 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
745
746 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
747 $(srcdir)/emulparams/armelf_linux_eabi.sh \
748 $(srcdir)/emulparams/armelf_linux.sh \
749 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
750 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
751
752 earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
753 $(srcdir)/emulparams/armelf_nacl.sh \
754 $(srcdir)/emulparams/armelf_linux_eabi.sh \
755 $(srcdir)/emulparams/armelf_linux.sh \
756 $(srcdir)/emulparams/elf_nacl.sh \
757 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
758 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
759
760 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
761 $(srcdir)/emulparams/armelf_nbsd.sh \
762 $(srcdir)/emulparams/armelf.sh \
763 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
764 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
765
766 earmnto.c: $(srcdir)/emulparams/armnto.sh \
767 $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
768 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
769
770 earmpe.c: $(srcdir)/emulparams/armpe.sh \
771 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
772
773 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
774 $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
775 $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
776 ${GEN_DEPENDS}
777
778 eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
779 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
780 ${GEN_DEPENDS}
781
782 eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
783 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
784 ${GEN_DEPENDS}
785
786 eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
787 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
788 ${GEN_DEPENDS}
789
790 eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
791 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
792 ${GEN_DEPENDS}
793
794 eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
795 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
796 ${GEN_DEPENDS}
797
798 eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
799 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
800 ${GEN_DEPENDS}
801
802 eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
803 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
804 ${GEN_DEPENDS}
805
806 eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
807 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
808 ${GEN_DEPENDS}
809
810 eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
811 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
812 ${GEN_DEPENDS}
813
814 eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
815 $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
816 ${GEN_DEPENDS}
817
818 eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
819 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
820 ${GEN_DEPENDS}
821
822 eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
823 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
824 ${GEN_DEPENDS}
825
826 eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
827 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
828 ${GEN_DEPENDS}
829
830 eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
831 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
832 ${GEN_DEPENDS}
833
834 eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
835 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
836 ${GEN_DEPENDS}
837
838 eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
839 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
840 ${GEN_DEPENDS}
841
842 eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
843 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
844 ${GEN_DEPENDS}
845
846 eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
847 $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
848 ${GEN_DEPENDS}
849
850 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
851 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
852
853 ecriself.c: $(srcdir)/emulparams/criself.sh \
854 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
855
856 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
857 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
858
859 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
860 $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
861
862 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
863 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
864
865 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
866 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
867
868 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
869 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
870
871 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
872 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
873
874 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
875 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
876
877 eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
878 $(srcdir)/emulparams/elf32_sparc.sh \
879 $(srcdir)/emulparams/solaris2.sh \
880 $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
881 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
882
883 eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
884 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
885 $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
886 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
887
888 eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
889 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
890 ldemul-list.h \
891 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
892
893 $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
894 if ../gas/as-new --version \
895 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
896 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
897 ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
898 ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
899 fi
900 $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
901 if ../gas/as-new --version \
902 | grep 'target.*spu' >/dev/null 2>/dev/null; then \
903 cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
904 ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
905 ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
906 fi
907 eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
908 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
909 ${GEN_DEPENDS}
910
911 eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
912 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
913 ${GEN_DEPENDS}
914
915 eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
916 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
917 ${GEN_DEPENDS}
918
919 eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
920 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
921 ${GEN_DEPENDS}
922
923 eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
924 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
925 ${GEN_DEPENDS}
926
927 eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
928 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
929 ${GEN_DEPENDS}
930
931 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
932 $(srcdir)/emulparams/elf32am33lin.sh \
933 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
934
935 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
936 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
937 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
938
939 eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
940 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
941 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
942
943 eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
944 $(srcdir)/emulparams/elf32bfin.sh \
945 $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
946 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
947
948 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
949 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
950
951 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
952 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
953 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
954 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
955
956 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
957 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
958 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
959
960 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
961 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
962 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
963
964 eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
965 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
966 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
967
968 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
969 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
970 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
971
972 eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
973 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
974 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
975
976 eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
977 $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
978 $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
979
980 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
981 $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
982
983 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
984 $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
985 $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
986
987 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
988 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
989 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
990
991 eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
992 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
993 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
994 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
995
996 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
997 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
998 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
999 ${GEN_DEPENDS}
1000
1001 eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1002 $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1003 $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1004 $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1005
1006 eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
1007 $(srcdir)/emulparams/elf32bmip.sh \
1008 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1009 ${GEN_DEPENDS}
1010
1011 eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
1012 $(srcdir)/emulparams/elf32bmipn32-defs.sh \
1013 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1014 ${GEN_DEPENDS}
1015
1016 eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
1017 $(ELF_DEPS) ${GEN_DEPENDS}
1018
1019 eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
1020 $(srcdir)/emultempl/elf32.em \
1021 $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
1022
1023 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1024 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1025
1026 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1027 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1028
1029 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1030 $(srcdir)/emulparams/elf32frv.sh \
1031 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1032
1033 eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
1034 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1035
1036 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1037 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1038
1039 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1040 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1041
1042 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1043 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1044
1045 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1046 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1047 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1048 ${GEN_DEPENDS}
1049
1050 eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1051 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1052
1053 eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1054 $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1055 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1056
1057 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1058 $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1059 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1060
1061 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1062 $(srcdir)/emulparams/elf32ppccommon.sh \
1063 $(srcdir)/emulparams/elf32ppc.sh \
1064 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1065 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1066 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1067
1068 eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
1069 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1070 $(srcdir)/emulparams/elf32ppccommon.sh \
1071 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1072 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1073 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1074
1075 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1076 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1077 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1078 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1079 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1080
1081 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1082 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1083 $(srcdir)/emulparams/elf32ppccommon.sh \
1084 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1085 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1086 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1087
1088 eelf32lriscv.c: $(srcdir)/emulparams/elf32lriscv.sh \
1089 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1090 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1091 ${GEN_DEPENDS}
1092
1093 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1094 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1095 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1096 ${GEN_DEPENDS}
1097
1098 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1099 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1100 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1101 ${GEN_DEPENDS}
1102
1103 eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1104 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1105 $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1106 ${GEN_DEPENDS}
1107
1108 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1109 $(srcdir)/emulparams/elf32btsmipn32.sh \
1110 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1111 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1112
1113 eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1114 $(srcdir)/emulparams/elf32btsmipn32.sh \
1115 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1116 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1117
1118 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1119 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1120 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1121
1122 eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
1123 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1124
1125 eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1126 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1127
1128 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1129 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1130
1131 eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1132 $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1133
1134 eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
1135 $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
1136 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1137
1138 eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
1139 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1140
1141 eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1142 $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1143
1144 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1145 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1146
1147 eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1148 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1149
1150 emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
1151 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1152
1153 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1154 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1155
1156 eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
1157 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1158
1159 eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
1160 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1161
1162 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1163 $(srcdir)/emulparams/elf32ppccommon.sh \
1164 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1165 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1166 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1167
1168 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1169 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1170 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1171 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1172 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1173
1174 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1175 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1176 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1177 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1178 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1179
1180 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1181 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1182 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1183 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1184 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1185
1186 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1187 $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1188 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1189 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1190 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1191
1192 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1193 $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1194 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1195 $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
1196 $(srcdir)/emultempl/vxworks.em \
1197 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1198
1199 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1200 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1201
1202 eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
1203 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1204
1205 eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1206 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1207
1208 eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
1209 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1210 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1211
1212 eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
1213 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1214 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1215
1216 eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
1217 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1218 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1219
1220 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1221 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1222
1223 eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
1224 $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
1225
1226 eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1227 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1228 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1229
1230 eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1231 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1232 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1233
1234 eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1235 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1236 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1237
1238 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1239 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1240 $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1241
1242 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1243 $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1244 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/xtensa.h \
1245 $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1246
1247 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1248 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1249
1250 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1251 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1252
1253 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1254 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1255
1256 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1257 $(srcdir)/emulparams/elf_i386.sh \
1258 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1259
1260 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1261 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1262
1263 eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
1264 $(srcdir)/emulparams/elf_i386.sh \
1265 $(srcdir)/emulparams/elf_nacl.sh \
1266 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1267
1268 eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1269 $(srcdir)/emulparams/solaris2.sh \
1270 $(srcdir)/emultempl/solaris2.em \
1271 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1272
1273 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1274 $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1275 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1276
1277 eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
1278 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1279
1280 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1281 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1282
1283 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1284 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1285
1286 eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
1287 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1288
1289 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1290 $(srcdir)/emulparams/h8300elf.sh \
1291 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1292
1293 eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
1294 $(srcdir)/emulparams/h8300elf_linux.sh \
1295 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1296
1297 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1298 $(srcdir)/emulparams/h8300elf.sh \
1299 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1300
1301 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1302 $(srcdir)/emulparams/h8300elf.sh \
1303 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1304
1305 eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
1306 $(srcdir)/emulparams/h8300elf.sh \
1307 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1308
1309 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1310 $(srcdir)/emulparams/h8300elf.sh \
1311 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1312
1313 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1314 $(srcdir)/emulparams/h8300elf.sh \
1315 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1316
1317 eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
1318 $(srcdir)/emulparams/h8300elf.sh \
1319 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1320
1321 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1322 $(srcdir)/emulparams/h8300elf.sh \
1323 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1324
1325 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1326 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1327 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1328
1329 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1330 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1331 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1332
1333 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1334 $(srcdir)/emulparams/hppaelf.sh \
1335 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1336 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1337
1338 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1339 $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1340 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1341
1342 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1343 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1344
1345 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1346 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1347
1348 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1349 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1350
1351 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1352 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1353
1354 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1355 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1356
1357 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1358 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1359
1360 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1361 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1362
1363 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1364 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1365
1366 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1367 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1368
1369 ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1370 $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1371
1372 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1373 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1374
1375 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1376 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1377
1378 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1379 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1380
1381 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1382 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1383
1384 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1385 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1386 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1387
1388 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1389 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1390 $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1391
1392 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1393 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1394 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1395
1396 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1397 $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1398 $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1399
1400 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1401 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1402 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1403
1404 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1405 $(srcdir)/emulparams/m68kelf.sh \
1406 $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1407 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1408
1409 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1410 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1411
1412 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1413 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1414
1415 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1416 $(srcdir)/emulparams/mn10200.sh \
1417 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1418
1419 emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
1420 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1421 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1422
1423 emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
1424 $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
1425 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
1426
1427 ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
1428 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1429 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1430
1431 ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
1432 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1433 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1434
1435 ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
1436 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1437 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1438
1439 ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
1440 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1441 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1442
1443 ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
1444 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1445 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1446
1447 ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
1448 $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
1449 $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
1450
1451 enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
1452 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1453 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1454
1455 enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
1456 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
1457 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1458
1459 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1460 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1461 $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1462
1463 eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
1464 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1465 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1466
1467 eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
1468 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1469 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1470
1471 eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
1472 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1473 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1474
1475 eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
1476 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1477 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1478
1479 eaarch64cloudabi.c: $(srcdir)/emulparams/aarch64cloudabi.sh \
1480 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1481 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1482
1483 eaarch64cloudabib.c: $(srcdir)/emulparams/aarch64cloudabib.sh $(srcdir)/emulparams/aarch64cloudabi.sh \
1484 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1485 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1486
1487 eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
1488 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1489 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1490
1491 eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
1492 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1493 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1494
1495 eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
1496 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1497 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1498
1499 eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
1500 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1501 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1502
1503 eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
1504 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1505 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1506
1507 eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
1508 $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
1509 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1510
1511 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1512 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1513
1514 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1515 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1516
1517 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1518 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1519
1520 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1521 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1522
1523 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1524 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1525
1526 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1527 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1528
1529 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1530 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1531
1532 epruelf.c: $(srcdir)/emulparams/pruelf.sh \
1533 $(ELF_DEPS) $(srcdir)/scripttempl/pru.sc \
1534 $(srcdir)/emultempl/pruelf.em ${GEN_DEPENDS}
1535
1536 escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1537 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1538 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1539
1540 escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
1541 $(srcdir)/emulparams/score7_elf.sh \
1542 $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1543 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1544
1545 esh.c: $(srcdir)/emulparams/sh.sh \
1546 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1547
1548 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1549 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1550
1551 eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1552 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1553
1554 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1555 $(srcdir)/emulparams/shlelf_linux.sh \
1556 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1557
1558 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1559 $(srcdir)/emulparams/shelf.sh \
1560 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1561
1562 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1563 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1564
1565 eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1566 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1567
1568 eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1569 $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1570 $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1571
1572 eshl.c: $(srcdir)/emulparams/shl.sh \
1573 $(srcdir)/emulparams/sh.sh \
1574 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1575
1576 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1577 $(srcdir)/emulparams/shelf.sh \
1578 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1579
1580 eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1581 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1582
1583 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1584 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1585
1586 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1587 $(srcdir)/emulparams/shelf_nbsd.sh \
1588 $(srcdir)/emulparams/shelf.sh \
1589 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1590
1591 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1592 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1593
1594 eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1595 $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1596 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1597 ${GEN_DEPENDS}
1598
1599 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1600 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1601
1602 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1603 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1604
1605 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1606 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1607
1608 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1609 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1610
1611 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1612 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1613
1614 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1615 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1616
1617 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1618 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1619
1620 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1621 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1622
1623 ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
1624 $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1625
1626 ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
1627 $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
1628
1629 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1630 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1631
1632 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1633 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1634
1635 exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
1636 $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
1637 $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
1638
1639 ez80.c: $(srcdir)/emulparams/z80.sh \
1640 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1641 $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1642
1643 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1644 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1645
1646 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1647 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1648
1649 eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1650 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1651
1652 eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
1653 $(srcdir)/emulparams/elf32_x86_64.sh \
1654 $(srcdir)/emulparams/elf_nacl.sh \
1655 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1656
1657 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1658 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1659
1660 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1661 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1662 $(srcdir)/emultempl/needrelax.em \
1663 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1664
1665 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1666 $(srcdir)/emulparams/elf64_ia64.sh \
1667 $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1668 $(srcdir)/emultempl/needrelax.em \
1669 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1670
1671 eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
1672 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/vms.em \
1673 $(srcdir)/emultempl/needrelax.em \
1674 $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
1675
1676 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1677 $(srcdir)/emultempl/s390.em \
1678 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1679
1680 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1681 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1682
1683 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1684 $(srcdir)/emulparams/elf64_sparc.sh \
1685 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1686
1687 eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1688 $(srcdir)/emulparams/elf64_sparc.sh \
1689 $(srcdir)/emulparams/solaris2.sh \
1690 $(srcdir)/emultempl/solaris2.em \
1691 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1692
1693 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1694 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1695 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1696
1697 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1698 $(srcdir)/emulparams/elf64alpha.sh \
1699 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1700 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1701
1702 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1703 $(srcdir)/emulparams/elf64alpha.sh \
1704 $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1705 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1706
1707 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1708 $(srcdir)/emulparams/elf64bmip-defs.sh \
1709 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1710 $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1711 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1712
1713 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1714 $(srcdir)/emulparams/elf64bmip-defs.sh \
1715 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1716 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1717
1718 eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1719 $(srcdir)/emulparams/elf64bmip-defs.sh \
1720 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1721 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1722
1723 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1724 $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1725
1726 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1727 $(srcdir)/emulparams/elf64ppc.sh \
1728 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1729 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1730 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1731
1732 eelf64lriscv.c: $(srcdir)/emulparams/elf64lriscv.sh \
1733 $(srcdir)/emulparams/elf64lriscv-defs.sh \
1734 $(srcdir)/emulparams/elf32lriscv-defs.sh $(ELF_DEPS) \
1735 $(srcdir)/emultempl/riscvelf.em $(srcdir)/scripttempl/elf.sc \
1736 ${GEN_DEPENDS}
1737
1738 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1739 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1740 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1741 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1742
1743 eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1744 $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1745 $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1746 $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1747
1748 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1749 $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1750 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1751
1752 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh \
1753 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1754 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1755 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1756
1757 eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
1758 $(srcdir)/emulparams/dynamic_undefined_weak.sh \
1759 $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
1760 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1761
1762 eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
1763 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1764
1765 eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
1766 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1767 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1768
1769 eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
1770 $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1771 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1772
1773 eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1774 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1775
1776 eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1777 $(srcdir)/emulparams/elf_l1om.sh \
1778 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1779
1780 eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
1781 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1782
1783 eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
1784 $(srcdir)/emulparams/elf_k1om.sh \
1785 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1786
1787 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1788 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1789
1790 eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
1791 $(srcdir)/emulparams/elf_x86_64.sh \
1792 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1793
1794 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1795 $(srcdir)/emulparams/elf_x86_64.sh \
1796 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1797
1798 eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
1799 $(srcdir)/emulparams/elf_x86_64.sh \
1800 $(srcdir)/emulparams/elf_nacl.sh \
1801 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1802
1803 eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1804 $(srcdir)/emulparams/elf_x86_64.sh \
1805 $(srcdir)/emulparams/solaris2.sh \
1806 $(srcdir)/emultempl/solaris2.em \
1807 $(ELF_X86_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1808
1809 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1810 $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1811
1812 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1813 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1814 $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
1815 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1816
1817
1818 # We need this for automake to use YLWRAP.
1819 EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
1820 # Allow dependency tracking to work for these files, too.
1821 EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
1822
1823 ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
1824 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
1825 ldbuildid.c
1826 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
1827 $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
1828 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
1829
1830 # Dependency tracking for the generated emulation files.
1831 EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
1832
1833 # This is the real libbfd.a created by libtool.
1834 TESTBFDLIB = @TESTBFDLIB@
1835
1836 check-DEJAGNU: site.exp
1837 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1838 r=`pwd`; export r; \
1839 LC_ALL=C; export LC_ALL; \
1840 EXPECT=$(EXPECT); export EXPECT; \
1841 runtest=$(RUNTEST); \
1842 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1843 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1844 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS_FOR_TARGET)" \
1845 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
1846 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1847 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1848 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
1849 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
1850 $(RUNTESTFLAGS); \
1851 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1852 fi
1853
1854 #
1855 # Build a dummy plugin using libtool.
1856 #
1857 if ENABLE_PLUGINS
1858 noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \
1859 libldtestplug3.la libldtestplug4.la
1860 libldtestplug_la_SOURCES = testplug.c
1861 libldtestplug_la_CFLAGS= -g -O2
1862 libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
1863 libldtestplug2_la_SOURCES = testplug2.c
1864 libldtestplug2_la_CFLAGS= -g -O2
1865 libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
1866 libldtestplug3_la_SOURCES = testplug3.c
1867 libldtestplug3_la_CFLAGS= -g -O2
1868 libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
1869 libldtestplug4_la_SOURCES = testplug4.c
1870 libldtestplug4_la_CFLAGS= -g -O2
1871 libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere
1872 endif
1873
1874 # DOCUMENTATION TARGETS
1875 # Manual configuration file; not usually attached to normal configuration,
1876 # because almost all configs use "gen" version of manual.
1877 # Set DOCVER above to change.
1878 configdoc.texi: ${DOCVER}-doc.texi
1879 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1880 chmod u+w ./configdoc.texi
1881
1882 # Build the man page from the texinfo file
1883 # The sed command removes the no-adjust Nroff command so that
1884 # the man output looks standard.
1885 ld.1: $(srcdir)/ld.texinfo configdoc.texi
1886 touch $@
1887 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1888 -($(POD2MAN) ld.pod | \
1889 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1890 mv -f $@.T$$$$ $@) || \
1891 (rm -f $@.T$$$$ && exit 1)
1892 rm -f ld.pod
1893
1894 MAINTAINERCLEANFILES = configdoc.texi ld.1
1895
1896 # We want to reconfigure if configure.host or configure.tgt changes.
1897 # development.sh is used to determine -Werror default.
1898 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
1899 $(BFDDIR)/development.sh
1900
1901 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
1902 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
1903 mostlyclean-local:
1904 -rm -rf tmpdir
1905 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
1906
1907 .PHONY: install-exec-local install-data-local
1908
1909 install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
1910 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
1911 n=`echo $(installed_linker) | sed '$(transform)'`; \
1912 if test "$(bindir)" != "$(tooldir)/bin"; then \
1913 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1914 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
1915 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
1916 fi; \
1917 if test "x$(install_as_default)" = "xyes"; then \
1918 ld=`echo ld | sed '$(transform)'`; \
1919 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1920 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
1921 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
1922 if test "$(bindir)" != "$(tooldir)/bin"; then \
1923 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1924 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1925 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1926 fi; \
1927 fi
1928
1929 install-data-local:
1930 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1931 for f in ldscripts/* ; do \
1932 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1933 done
1934
1935 # Stuff that should be included in a distribution. The diststuff
1936 # target is run by the taz target in ../Makefile.in.
1937 EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
1938 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
1939 diststuff: info $(EXTRA_DIST)
1940
1941 # Both info (ld.info) and ld.1 depend on configdoc.texi.
1942 # But info isn't a direct target. Make info-recursive to depend on
1943 # ld.1 to support parallel build.
1944 info-recursive: ld.1
1945
1946 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
1947 distclean-local:
1948 rm -rf ldscripts
1949
1950 MAINTAINERCLEANFILES += ld.info
1951
1952 # Automake 1.9 will only build info files in the objdir if they are
1953 # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
1954 # though, so we use a bogus condition.
1955 if GENINSRC_NEVER
1956 DISTCLEANFILES += ld.info
1957 endif