OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [Makefile.am] - Blame information for rev 146

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 khays
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
4
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
5
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
6
 
7
SUBDIRS = po
8
 
9
tooldir = $(exec_prefix)/$(target_alias)
10
 
11
YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
12
YFLAGS = -d
13
LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
14
 
15
# Automake 1.10+ disables lex and yacc output file regeneration if
16
# maintainer mode is disabled.  Avoid this.
17
am__skiplex =
18
am__skipyacc =
19
 
20
WARN_CFLAGS = @WARN_CFLAGS@
21
NO_WERROR = @NO_WERROR@
22
AM_CFLAGS = $(WARN_CFLAGS)
23
 
24
# Conditionally enable the plugin interface.
25
if ENABLE_PLUGINS
26
PLUGIN_C = plugin.c
27
PLUGIN_H = plugin.h
28
PLUGIN_OBJECT = plugin.@OBJEXT@
29
PLUGIN_CFLAGS = -DENABLE_PLUGINS
30
else
31
PLUGIN_C =
32
PLUGIN_H =
33
PLUGIN_OBJECT =
34
PLUGIN_CFLAGS =
35
endif
36
 
37
# We put the scripts in the directory $(scriptdir)/ldscripts.
38
# We can't put the scripts in $(datadir) because the SEARCH_DIR
39
# directives need to be different for native and cross linkers.
40
scriptdir = $(tooldir)/lib
41
 
42
EMUL = @EMUL@
43
EMULATION_OFILES = @EMULATION_OFILES@
44
EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
45
 
46
# Search path to override the default search path for -lfoo libraries.
47
# If LIB_PATH is empty, the ones in the script (if any) are left alone.
48
# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
49
# a cross-linker, in which case the default is empty.  See genscripts.sh.)
50
# Otherwise, they are replaced with the ones given in LIB_PATH,
51
# which may have the form: LIB_PATH=/lib:/usr/local/lib.  This can be set
52
# when the linker is configured via the --with-lib-path configure switch.
53
LIB_PATH = @LIB_PATH@
54
 
55
BASEDIR = $(srcdir)/..
56
BFDDIR = $(BASEDIR)/bfd
57
INCDIR  = $(BASEDIR)/include
58
 
59
# What version of the manual to build
60
DOCVER = gen
61
 
62
# Options to extract the man page from ld.texinfo
63
MANCONF = -Dman
64
 
65
TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
66
 
67
POD2MAN = pod2man --center="GNU Development Tools" \
68
        --release="binutils-$(VERSION)" --section=1
69
 
70
#stuff for self hosting (can be overridden in config file).
71
HOSTING_CRT0 = @HOSTING_CRT0@
72
HOSTING_LIBS = @HOSTING_LIBS@
73
HOSTING_EMU = -m $(EMUL)
74
 
75
# Setup the testing framework, if you have one
76
EXPECT = expect
77
RUNTEST = runtest
78
RUNTESTFLAGS =
79
 
80
CC_FOR_TARGET = ` \
81
  if [ -f $$r/../gcc/xgcc ] ; then \
82
    if [ -f $$r/../newlib/Makefile ] ; then \
83
      echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
84
    else \
85
      echo $$r/../gcc/xgcc -B$$r/../gcc/; \
86
    fi; \
87
  else \
88
    if [ "@host@" = "@target@" ] ; then \
89
      echo $(CC); \
90
    else \
91
      echo gcc | sed '$(transform)'; \
92
    fi; \
93
  fi`
94
 
95
CXX_FOR_TARGET = ` \
96
  if [ -f $$r/../gcc/g++ ] ; then \
97
    if [ -f $$r/../newlib/Makefile ] ; then \
98
      echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
99
    else \
100
      echo $$r/../gcc/g++ -B$$r/../gcc/; \
101
    fi; \
102
  else \
103
    if [ "@host@" = "@target@" ] ; then \
104
      echo $(CXX); \
105
    else \
106
      echo g++ | sed '$(transform)'; \
107
    fi; \
108
  fi`
109
 
110
transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
111
bin_PROGRAMS = ld-new
112
info_TEXINFOS = ld.texinfo
113
ld_TEXINFOS = configdoc.texi
114
noinst_TEXINFOS = ldint.texinfo
115
man_MANS = ld.1
116
 
117
AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
118
                   -I $(top_srcdir)/../libiberty
119
TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
120
                    -I $(top_srcdir)/../libiberty
121
 
122
AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
123
        @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
124
        -DLOCALEDIR="\"$(datadir)/locale\""
125
 
126
BFDLIB = ../bfd/libbfd.la
127
LIBIBERTY = ../libiberty/libiberty.a
128
 
129
ALL_EMULATION_SOURCES = \
130
        eaix5ppc.c \
131
        eaix5rs6.c \
132
        eaixppc.c \
133
        eaixrs6.c \
134
        ealpha.c \
135
        ealphavms.c \
136
        earcelf.c \
137
        earm_epoc_pe.c \
138
        earm_wince_pe.c \
139
        earmaoutb.c \
140
        earmaoutl.c \
141
        earmcoff.c \
142
        earmelf.c \
143
        earmelf_fbsd.c \
144
        earmelf_linux.c \
145
        earmelf_linux_eabi.c \
146
        earmelf_nbsd.c \
147
        earmelf_vxworks.c \
148
        earmelfb.c \
149
        earmelfb_linux.c \
150
        earmelfb_linux_eabi.c \
151
        earmelfb_nbsd.c \
152
        earmnbsd.c \
153
        earmnto.c \
154
        earmpe.c \
155
        earmsymbian.c \
156
        eavr1.c \
157
        eavr2.c \
158
        eavr25.c \
159
        eavr3.c \
160
        eavr31.c \
161
        eavr35.c \
162
        eavr4.c \
163
        eavr5.c \
164
        eavr51.c \
165
        eavr6.c \
166
        eavrxmega1.o \
167
        eavrxmega2.o \
168
        eavrxmega3.o \
169
        eavrxmega4.o \
170
        eavrxmega5.o \
171
        eavrxmega6.o \
172
        eavrxmega7.o \
173
        ecoff_i860.c \
174
        ecoff_sparc.c \
175
        ecrisaout.c \
176
        ecriself.c \
177
        ecrislinux.c \
178
        ed10velf.c \
179
        ed30v_e.c \
180
        ed30v_o.c \
181
        ed30velf.c \
182
        edelta68.c \
183
        eelf32_dlx.c \
184
        eelf32_i860.c \
185
        eelf32_i960.c \
186
        eelf32_sparc.c \
187
        eelf32_sparc_sol2.c \
188
        eelf32_sparc_vxworks.c \
189
        eelf32_spu.c \
190
        eelf32_tic6x_be.c \
191
        eelf32_tic6x_le.c \
192
        eelf32_tic6x_linux_be.c \
193
        eelf32_tic6x_linux_le.c \
194
        eelf32_tic6x_elf_be.c \
195
        eelf32_tic6x_elf_le.c \
196
        eelf32am33lin.c \
197
        eelf32b4300.c \
198
        eelf32bfin.c \
199
        eelf32bfinfd.c \
200
        eelf32bmip.c \
201
        eelf32bmipn32.c \
202
        eelf32bsmip.c \
203
        eelf32btsmip.c \
204
        eelf32btsmip_fbsd.c \
205
        eelf32btsmipn32.c \
206
        eelf32btsmipn32_fbsd.c \
207
        eelf32cr16.c \
208
        eelf32cr16c.c \
209
        eelf32crx.c \
210
        eelf32ebmip.c \
211
        eelf32ebmipvxworks.c \
212
        eelf32elmip.c \
213
        eelf32elmipvxworks.c \
214
        eelf32fr30.c \
215
        eelf32frv.c \
216
        eelf32frvfd.c \
217
        eelf32i370.c \
218
        eelf32ip2k.c \
219
        eelf32iq10.c \
220
        eelf32iq2000.c \
221
        eelf32l4300.c \
222
        eelf32lm32.c \
223
        eelf32lm32fd.c \
224
        eelf32lmip.c \
225
        eelf32lppc.c \
226
        eelf32lppcnto.c \
227
        eelf32lppcsim.c \
228
        eelf32lsmip.c \
229
        eelf32ltsmip.c \
230
        eelf32ltsmip_fbsd.c \
231
        eelf32ltsmipn32.c \
232
        eelf32ltsmipn32_fbsd.c \
233
        eelf32m32c.c \
234
        eelf32mb_linux.c \
235
        eelf32mcore.c \
236
        eelf32mep.c \
237
        eelf32microblaze.c \
238
        eelf32mipswindiss.c \
239
        eelf32moxie.c \
240
        eelf32mt.c \
241
        eelf32openrisc.c \
242
        eelf32ppc.c \
243
        eelf32ppc_fbsd.c \
244
        eelf32ppclinux.c \
245
        eelf32ppcnto.c \
246
        eelf32ppcsim.c \
247
        eelf32ppcvxworks.c \
248
        eelf32ppcwindiss.c \
249
        eelf32rx.c \
250
        eelf32vax.c \
251
        eelf32xc16x.c \
252
        eelf32xc16xl.c \
253
        eelf32xc16xs.c \
254
        eelf32xstormy16.c \
255
        eelf32xtensa.c \
256
        eelf_i386.c \
257
        eelf_i386_be.c \
258
        eelf_i386_chaos.c \
259
        eelf_i386_fbsd.c \
260
        eelf_i386_ldso.c \
261
        eelf_i386_sol2.c \
262
        eelf_i386_vxworks.c \
263
        eelf_s390.c \
264
        egld960.c \
265
        egld960coff.c \
266
        eh8300.c \
267
        eh8300elf.c \
268
        eh8300h.c \
269
        eh8300helf.c \
270
        eh8300hn.c \
271
        eh8300hnelf.c \
272
        eh8300s.c \
273
        eh8300self.c \
274
        eh8300sn.c \
275
        eh8300snelf.c \
276
        eh8300sx.c \
277
        eh8300sxelf.c \
278
        eh8300sxn.c \
279
        eh8300sxnelf.c \
280
        eh8500.c \
281
        eh8500b.c \
282
        eh8500c.c \
283
        eh8500m.c \
284
        eh8500s.c \
285
        ehp300bsd.c \
286
        ehp3hpux.c \
287
        ehppaelf.c \
288
        ehppalinux.c \
289
        ehppanbsd.c \
290
        ehppaobsd.c \
291
        ei386aout.c \
292
        ei386beos.c \
293
        ei386bsd.c \
294
        ei386coff.c \
295
        ei386go32.c \
296
        ei386linux.c \
297
        ei386lynx.c \
298
        ei386mach.c \
299
        ei386moss.c \
300
        ei386msdos.c \
301
        ei386nbsd.c \
302
        ei386nto.c \
303
        ei386nw.c \
304
        ei386pe.c \
305
        ei386pe_posix.c \
306
        ei386pep.c \
307
        elnk960.c \
308
        em32relf.c \
309
        em32relf_linux.c \
310
        em32rlelf.c \
311
        em32rlelf_linux.c \
312
        em68hc11elf.c \
313
        em68hc11elfb.c \
314
        em68hc12elf.c \
315
        em68hc12elfb.c \
316
        em68k4knbsd.c \
317
        em68kaout.c \
318
        em68kaux.c \
319
        em68kcoff.c \
320
        em68kelf.c \
321
        em68kelfnbsd.c \
322
        em68klinux.c \
323
        em68knbsd.c \
324
        em68kpsos.c \
325
        em88kbcs.c \
326
        emcorepe.c \
327
        emipsbig.c \
328
        emipsbsd.c \
329
        emipsidt.c \
330
        emipsidtl.c \
331
        emipslit.c \
332
        emipslnews.c \
333
        emipspe.c \
334
        emn10200.c \
335
        emn10300.c \
336
        emsp430x110.c \
337
        emsp430x1101.c \
338
        emsp430x1111.c \
339
        emsp430x112.c \
340
        emsp430x1121.c \
341
        emsp430x1122.c \
342
        emsp430x1132.c \
343
        emsp430x122.c \
344
        emsp430x1222.c \
345
        emsp430x123.c \
346
        emsp430x1232.c \
347
        emsp430x133.c \
348
        emsp430x1331.c \
349
        emsp430x135.c \
350
        emsp430x1351.c \
351
        emsp430x147.c \
352
        emsp430x148.c \
353
        emsp430x149.c \
354
        emsp430x155.c \
355
        emsp430x156.c \
356
        emsp430x157.c \
357
        emsp430x1610.c \
358
        emsp430x1611.c \
359
        emsp430x1612.c \
360
        emsp430x167.c \
361
        emsp430x168.c \
362
        emsp430x169.c \
363
        emsp430x2101.c \
364
        emsp430x2111.c \
365
        emsp430x2121.c \
366
        emsp430x2131.c \
367
        emsp430x311.c \
368
        emsp430x312.c \
369
        emsp430x313.c \
370
        emsp430x314.c \
371
        emsp430x315.c \
372
        emsp430x323.c \
373
        emsp430x325.c \
374
        emsp430x336.c \
375
        emsp430x337.c \
376
        emsp430x412.c \
377
        emsp430x413.c \
378
        emsp430x415.c \
379
        emsp430x417.c \
380
        emsp430x435.c \
381
        emsp430x436.c \
382
        emsp430x437.c \
383
        emsp430x447.c \
384
        emsp430x448.c \
385
        emsp430x449.c \
386
        emsp430xE423.c \
387
        emsp430xE425.c \
388
        emsp430xE427.c \
389
        emsp430xG437.c \
390
        emsp430xG438.c \
391
        emsp430xG439.c \
392
        emsp430xW423.c \
393
        emsp430xW425.c \
394
        emsp430xW427.c \
395
        enews.c \
396
        ens32knbsd.c \
397
        eopen8_1.c \
398
        eor32.c \
399
        eor32elf.c \
400
        epc532macha.c \
401
        epdp11.c \
402
        epjelf.c \
403
        epjlelf.c \
404
        eppclynx.c \
405
        eppcmacos.c \
406
        eppcnw.c \
407
        eppcpe.c \
408
        eriscix.c \
409
        escore3_elf.c \
410
        escore7_elf.c \
411
        esh.c \
412
        eshelf.c \
413
        eshelf32.c \
414
        eshelf32_linux.c \
415
        eshelf32_nbsd.c \
416
        eshelf_fd.c \
417
        eshelf_linux.c \
418
        eshelf_nbsd.c \
419
        eshelf_nto.c \
420
        eshelf_uclinux.c \
421
        eshelf_vxworks.c \
422
        eshl.c \
423
        eshlelf.c \
424
        eshlelf32.c \
425
        eshlelf32_linux.c \
426
        eshlelf32_nbsd.c \
427
        eshlelf_fd.c \
428
        eshlelf_linux.c \
429
        eshlelf_nbsd.c \
430
        eshlelf_nto.c \
431
        eshlelf_vxworks.c \
432
        eshlsymbian.c \
433
        eshpe.c \
434
        esparcaout.c \
435
        esparclinux.c \
436
        esparcnbsd.c \
437
        est2000.c \
438
        esun3.c \
439
        esun4.c \
440
        etic30aout.c \
441
        etic30coff.c \
442
        etic3xcoff.c \
443
        etic3xcoff_onchip.c \
444
        etic4xcoff.c \
445
        etic54xcoff.c \
446
        etic80coff.c \
447
        ev850.c \
448
        evanilla.c \
449
        evax.c \
450
        evaxnbsd.c \
451
        evsta.c \
452
        ew65.c \
453
        ez80.c \
454
        ez8001.c \
455
        ez8002.c
456
 
457
ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
458
 
459
ALL_64_EMULATION_SOURCES = \
460
        eelf32_x86_64.c \
461
        eelf64_aix.c \
462
        eelf64_ia64.c \
463
        eelf64_ia64_fbsd.c \
464
        eelf64_s390.c \
465
        eelf64_sparc.c \
466
        eelf64_sparc_fbsd.c \
467
        eelf64_sparc_sol2.c \
468
        eelf64alpha.c \
469
        eelf64alpha_fbsd.c \
470
        eelf64alpha_nbsd.c \
471
        eelf64bmip.c \
472
        eelf64btsmip.c \
473
        eelf64btsmip_fbsd.c \
474
        eelf64hppa.c \
475
        eelf64lppc.c \
476
        eelf64ltsmip.c \
477
        eelf64ltsmip_fbsd.c \
478
        eelf64mmix.c \
479
        eelf64ppc.c \
480
        eelf_l1om.c \
481
        eelf_l1om_fbsd.c \
482
        eelf_x86_64.c \
483
        eelf_x86_64_fbsd.c \
484
        eelf_x86_64_sol2.c \
485
        ehppa64linux.c \
486
        emmo.c \
487
        eshelf64.c \
488
        eshelf64_nbsd.c \
489
        eshlelf64.c \
490
        eshlelf64_nbsd.c
491
 
492
ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
493
 
494
ALL_EMUL_EXTRA_OFILES = \
495
        deffilep.@OBJEXT@ \
496
        pe-dll.@OBJEXT@ \
497
        pep-dll.@OBJEXT@
498
 
499
CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
500
        ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
501
        mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
502
        $(PLUGIN_C)
503
 
504
HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
505
        ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
506
        ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
507
        elf-hints-local.h $(PLUGIN_H)
508
 
509
GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
510
GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
511
 
512
# Require an early dependency on the generated headers, as the dependency
513
# tracking will not cause them to be built beforehand.
514
BUILT_SOURCES = $(GENERATED_HFILES)
515
 
516
OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
517
        mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
518
        ldwrite.@OBJEXT@ ldexp.@OBJEXT@  ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
519
        ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
520
 
521
STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
522
 
523
# Disable -Werror, if it has been enabled, since old versions of bison/
524
# yacc will produce working code which contain compile time warnings.
525
ldgram.@OBJEXT@: ldgram.c
526
if am__fastdepCC
527
        $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
528
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
529
else
530
if AMDEP
531
        source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
532
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
533
endif
534
        $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
535
endif
536
 
537
ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
538
if am__fastdepCC
539
        $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
540
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
541
else
542
if AMDEP
543
        source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
544
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
545
endif
546
        $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
547
endif
548
 
549
deffilep.@OBJEXT@: deffilep.c
550
if am__fastdepCC
551
        $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
552
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
553
else
554
if AMDEP
555
        source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
556
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
557
endif
558
        $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
559
endif
560
 
561
# At the moment this is just a list of those emulation template files
562
# that contain internationalised strings.
563
EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
564
 
565
POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
566
 
567
po/POTFILES.in: @MAINT@ Makefile
568
        for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
569
          && mv tmp $(srcdir)/po/POTFILES.in
570
 
571
ldmain.@OBJEXT@: ldmain.c config.status
572
if am__fastdepCC
573
        $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
574
          -DDEFAULT_EMULATION='"$(EMUL)"' \
575
          -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
576
          -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
577
          $(srcdir)/ldmain.c
578
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
579
else
580
if AMDEP
581
        source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@
582
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
583
endif
584
        $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
585
          -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
586
          -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
587
          $(srcdir)/ldmain.c
588
endif
589
 
590
ldfile.@OBJEXT@: ldfile.c config.status
591
if am__fastdepCC
592
        $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
593
        -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
594
         $(srcdir)/ldfile.c
595
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
596
else
597
if AMDEP
598
        source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
599
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
600
endif
601
        $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
602
          -DTOOLBINDIR='"$(tooldir)/bin"' \
603
          $(srcdir)/ldfile.c
604
endif
605
 
606
eelf32_spu.@OBJEXT@: eelf32_spu.c
607
if am__fastdepCC
608
        $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
609
          -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
610
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
611
else
612
if AMDEP
613
        source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
614
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
615
endif
616
        $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
617
          eelf32_spu.c
618
endif
619
 
620
ldemul-list.h: Makefile
621
        (echo "/* This file is automatically generated.  DO NOT EDIT! */";\
622
        for f in `echo " " ${EMULATION_OFILES} "" \
623
         | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
624
            echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
625
        done;\
626
        echo "";\
627
        echo "#define EMULATION_LIST \\";\
628
        for f in `echo " " ${EMULATION_OFILES} "" \
629
         | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
630
            echo "  &ld_$${f}_emulation, \\"; \
631
        done;\
632
        echo "  0") >ldemul-tmp.h
633
        mv ldemul-tmp.h ldemul-list.h
634
 
635
stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
636
          cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
637
 
638
# These all start with e so 'make clean' can find them.
639
 
640
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@
641
GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
642
ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em
643
ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em
644
 
645
@TDIRS@
646
 
647
eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
648
  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
649
        ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
650
eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
651
  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
652
        ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
653
eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
654
  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
655
        ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
656
eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
657
  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
658
        ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
659
ealpha.c: $(srcdir)/emulparams/alpha.sh \
660
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
661
        ${GENSCRIPTS} alpha "$(tdir_alpha)"
662
ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
663
  $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
664
  ${GEN_DEPENDS}
665
        ${GENSCRIPTS} alphavms "$(tdir_alphavms)"
666
earcelf.c: $(srcdir)/emulparams/arcelf.sh \
667
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
668
        ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
669
earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
670
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
671
        ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
672
earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
673
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
674
        ${GENSCRIPTS} arm_wince_pe "$(tdir_armpe)"
675
earmaoutb.c:    $(srcdir)/emulparams/armaoutb.sh \
676
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
677
        ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
678
earmaoutl.c:    $(srcdir)/emulparams/armaoutl.sh \
679
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
680
        ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
681
earmcoff.c:     $(srcdir)/emulparams/armcoff.sh \
682
  $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
683
        ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
684
earmelf.c: $(srcdir)/emulparams/armelf.sh \
685
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
686
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
687
        ${GENSCRIPTS} armelf "$(tdir_armelf)"
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
        ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
693
earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
694
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
695
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
696
        ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
697
earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
698
  $(srcdir)/emulparams/armelf_linux.sh \
699
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
700
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
701
        ${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)"
702
earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
703
  $(srcdir)/emulparams/armelf.sh \
704
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
705
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
706
        ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
707
earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
708
  $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
709
  $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
710
  $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
711
  ${GEN_DEPENDS}
712
        ${GENSCRIPTS} armelf_vxworks "$(tdir_armelf)"
713
earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
714
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
715
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
716
        ${GENSCRIPTS} armelfb "$(tdir_armelfb)"
717
earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
718
  $(srcdir)/emulparams/armelf_linux.sh \
719
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
720
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
721
        ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
722
earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
723
  $(srcdir)/emulparams/armelf_linux_eabi.sh \
724
  $(srcdir)/emulparams/armelf_linux.sh \
725
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
726
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
727
        ${GENSCRIPTS} armelfb_linux_eabi "$(tdir_armelfb_linux_abi)"
728
earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
729
  $(srcdir)/emulparams/armelf_nbsd.sh \
730
  $(srcdir)/emulparams/armelf.sh \
731
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
732
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
733
        ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
734
earmnbsd.c:     $(srcdir)/emulparams/armnbsd.sh \
735
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
736
        ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
737
earmnto.c: $(srcdir)/emulparams/armnto.sh \
738
  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
739
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
740
        ${GENSCRIPTS} armnto "$(tdir_armnto)"
741
earmpe.c: $(srcdir)/emulparams/armpe.sh \
742
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
743
        ${GENSCRIPTS} armpe "$(tdir_armpe)"
744
earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
745
  $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
746
  $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
747
  ${GEN_DEPENDS}
748
        ${GENSCRIPTS} armsymbian "$(tdir_armelf)"
749
eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
750
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
751
  ${GEN_DEPENDS}
752
        ${GENSCRIPTS} avr1 "$(tdir_avr2)"
753
eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
754
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
755
  ${GEN_DEPENDS}
756
        ${GENSCRIPTS} avr2 "$(tdir_avr2)"
757
eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
758
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
759
  ${GEN_DEPENDS}
760
        ${GENSCRIPTS} avr25 "$(tdir_avr2)"
761
eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
762
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
763
  ${GEN_DEPENDS}
764
        ${GENSCRIPTS} avr3 "$(tdir_avr2)"
765
eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
766
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
767
  ${GEN_DEPENDS}
768
        ${GENSCRIPTS} avr31 "$(tdir_avr2)"
769
eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
770
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
771
  ${GEN_DEPENDS}
772
        ${GENSCRIPTS} avr35 "$(tdir_avr2)"
773
eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
774
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
775
  ${GEN_DEPENDS}
776
        ${GENSCRIPTS} avr4 "$(tdir_avr2)"
777
eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
778
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
779
  ${GEN_DEPENDS}
780
        ${GENSCRIPTS} avr5 "$(tdir_avr2)"
781
eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
782
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
783
  ${GEN_DEPENDS}
784
        ${GENSCRIPTS} avr51 "$(tdir_avr2)"
785
eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
786
  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
787
  ${GEN_DEPENDS}
788
        ${GENSCRIPTS} avr6 "$(tdir_avr2)"
789
eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
790
  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
791
  ${GEN_DEPENDS}
792
        ${GENSCRIPTS} avrxmega1 "$(tdir_avr2)"
793
eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
794
  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
795
  ${GEN_DEPENDS}
796
        ${GENSCRIPTS} avrxmega2 "$(tdir_avr2)"
797
eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
798
  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
799
  ${GEN_DEPENDS}
800
        ${GENSCRIPTS} avrxmega3 "$(tdir_avr2)"
801
eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
802
  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
803
  ${GEN_DEPENDS}
804
        ${GENSCRIPTS} avrxmega4 "$(tdir_avr2)"
805
eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
806
  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
807
  ${GEN_DEPENDS}
808
        ${GENSCRIPTS} avrxmega5 "$(tdir_avr2)"
809
eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
810
  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
811
  ${GEN_DEPENDS}
812
        ${GENSCRIPTS} avrxmega6 "$(tdir_avr2)"
813
eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
814
  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
815
  ${GEN_DEPENDS}
816
        ${GENSCRIPTS} avrxmega7 "$(tdir_avr2)"
817
ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
818
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
819
        ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
820
ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
821
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
822
        ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
823
ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
824
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
825
        ${GENSCRIPTS} crisaout "$(tdir_cris)"
826
ecriself.c: $(srcdir)/emulparams/criself.sh \
827
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
828
        ${GENSCRIPTS} criself "$(tdir_cris)"
829
ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
830
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
831
        ${GENSCRIPTS} crislinux "$(tdir_cris)"
832
ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
833
  $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
834
        ${GENSCRIPTS} d10velf "$(tdir_d10v)"
835
ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
836
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
837
        ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
838
ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
839
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
840
        ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
841
ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
842
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
843
        ${GENSCRIPTS} d30velf "$(tdir_d30v)"
844
edelta68.c: $(srcdir)/emulparams/delta68.sh \
845
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
846
        ${GENSCRIPTS} delta68 "$(tdir_delta68)"
847
eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
848
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
849
        ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
850
eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
851
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
852
        ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
853
eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
854
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
855
        ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
856
eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
857
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
858
        ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
859
eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
860
  $(srcdir)/emulparams/elf32_sparc.sh \
861
  $(srcdir)/emulparams/solaris2.sh \
862
  $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
863
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
864
        ${GENSCRIPTS} elf32_sparc_sol2 "$(tdir_elf32_sparc_sol2)"
865
eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
866
  $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
867
  $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
868
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
869
        ${GENSCRIPTS} elf32_sparc_vxworks "$(tdir_elf32_sparc_vxworks)"
870
eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
871
  $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
872
  ldemul-list.h \
873
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
874
        ${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)"
875
$(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
876
        if ../gas/as-new --version \
877
                | grep 'target.*spu' >/dev/null 2>/dev/null; then \
878
          cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
879
          ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
880
          ../binutils/bin2c $@; \
881
        fi
882
$(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
883
        if ../gas/as-new --version \
884
                | grep 'target.*spu' >/dev/null 2>/dev/null; then \
885
          cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
886
          ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
887
          ../binutils/bin2c $@; \
888
        fi
889
eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
890
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
891
  ${GEN_DEPENDS}
892
        ${GENSCRIPTS} elf32_tic6x_be "$(tdir_elf32_tic6x_be)"
893
eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
894
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
895
  ${GEN_DEPENDS}
896
        ${GENSCRIPTS} elf32_tic6x_le "$(tdir_elf32_tic6x_le)"
897
eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
898
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc  $(srcdir)/emultempl/tic6xdsbt.em \
899
  ${GEN_DEPENDS}
900
        ${GENSCRIPTS} elf32_tic6x_linux_be "$(tdir_elf32_tic6x_linux_be)"
901
eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
902
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc  $(srcdir)/emultempl/tic6xdsbt.em \
903
  ${GEN_DEPENDS}
904
        ${GENSCRIPTS} elf32_tic6x_linux_le "$(tdir_elf32_tic6x_linux_le)"
905
eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
906
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc  $(srcdir)/emultempl/tic6xdsbt.em \
907
  ${GEN_DEPENDS}
908
        ${GENSCRIPTS} elf32_tic6x_elf_be "$(tdir_elf32_tic6x_elf_be)"
909
eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
910
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc  $(srcdir)/emultempl/tic6xdsbt.em \
911
  ${GEN_DEPENDS}
912
        ${GENSCRIPTS} elf32_tic6x_elf_le "$(tdir_elf32_tic6x_elf_le)"
913
eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
914
  $(srcdir)/emulparams/elf32am33lin.sh \
915
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
916
        ${GENSCRIPTS} elf32am33lin "$(tdir_elf32am33lin)"
917
eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
918
  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
919
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
920
        ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
921
eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \
922
  $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
923
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
924
        ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin
925
eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
926
  $(srcdir)/emulparams/bfin.sh \
927
  $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
928
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
929
        ${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd
930
eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
931
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
932
        ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
933
eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
934
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
935
  $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
936
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
937
        ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
938
eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
939
  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
940
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
941
        ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
942
eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
943
  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
944
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
945
        ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
946
eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
947
  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
948
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
949
        ${GENSCRIPTS} elf32btsmip_fbsd "$(tdir_elf32btsmip_fbsd)"
950
eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
951
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
952
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
953
        ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
954
eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
955
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
956
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
957
        ${GENSCRIPTS} elf32btsmipn32_fbsd "$(tdir_elf32btsmipn32_fbsd)"
958
eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
959
  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/cr16elf.em \
960
  $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
961
        ${GENSCRIPTS} elf32cr16 "$(tdir_elf32crx)"
962
eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
963
  $(ELF_DEPS) \
964
  $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
965
        ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
966
eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
967
  $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
968
  $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
969
        ${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
970
eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
971
  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
972
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
973
        ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
974
eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
975
  $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
976
  $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
977
  $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
978
        ${GENSCRIPTS} elf32ebmipvxworks "$(tdir_elf32ebmipvxworks)"
979
eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
980
  $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
981
  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
982
  ${GEN_DEPENDS}
983
        ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
984
eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
985
  $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
986
  $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
987
  $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
988
        ${GENSCRIPTS} elf32elmipvxworks "$(tdir_elf32elmipvxworks)"
989
eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
990
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
991
        ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
992
eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
993
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
994
        ${GENSCRIPTS} elf32frv "$(tdir_frv)"
995
eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
996
  $(srcdir)/emulparams/elf32frv.sh \
997
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
998
        ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
999
eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1000
  $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1001
        ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1002
eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1003
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1004
        ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1005
eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1006
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1007
        ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
1008
eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1009
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1010
        ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
1011
eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1012
  $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1013
  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1014
  ${GEN_DEPENDS}
1015
        ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
1016
eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
1017
  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1018
        ${GENSCRIPTS} elf32lm32 "$(tdir_elf32lm32)"
1019
eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
1020
  $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
1021
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1022
        ${GENSCRIPTS} elf32lm32fd "$(tdir_elf32lm32fd)"
1023
eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1024
  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1025
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1026
        ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
1027
eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1028
  $(srcdir)/emulparams/elf32ppccommon.sh \
1029
  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1030
  ldemul-list.h \
1031
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1032
        ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
1033
eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1034
  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1035
  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1036
  ldemul-list.h \
1037
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1038
        ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
1039
eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1040
  $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1041
  $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1042
  ldemul-list.h \
1043
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1044
        ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
1045
eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1046
  $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1047
  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1048
  ${GEN_DEPENDS}
1049
        ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
1050
eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1051
  $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1052
  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1053
  ${GEN_DEPENDS}
1054
        ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
1055
eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
1056
  $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1057
  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1058
  ${GEN_DEPENDS}
1059
        ${GENSCRIPTS} elf32ltsmip_fbsd "$(tdir_elf32ltsmip_fbsd)"
1060
eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1061
  $(srcdir)/emulparams/elf32btsmipn32.sh \
1062
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1063
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1064
        ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
1065
eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
1066
  $(srcdir)/emulparams/elf32btsmipn32.sh \
1067
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1068
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1069
        ${GENSCRIPTS} elf32ltsmipn32_fbsd "$(tdir_elf32ltsmipn32_fbsd)"
1070
eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1071
  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1072
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1073
        ${GENSCRIPTS} elf32m32c "$(tdir_m32c)"
1074
eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
1075
  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1076
        ${GENSCRIPTS} elf32mb_linux "$(tdir_microblaze)"
1077
eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1078
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1079
        ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
1080
eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1081
  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1082
        ${GENSCRIPTS} elf32mep "$(tdir_mep)"
1083
eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
1084
  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
1085
        ${GENSCRIPTS} elf32microblaze "$(tdir_microblaze)"
1086
eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1087
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1088
        ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
1089
eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
1090
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1091
        ${GENSCRIPTS} elf32moxie "$(tdir_moxie)"
1092
eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1093
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1094
        ${GENSCRIPTS} elf32mt "$(tdir_mt)"
1095
eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
1096
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1097
        ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
1098
eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1099
  $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1100
  ldemul-list.h \
1101
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1102
        ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
1103
eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1104
  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1105
  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1106
  ldemul-list.h \
1107
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1108
        ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
1109
eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1110
  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1111
  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1112
  ldemul-list.h \
1113
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1114
        ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
1115
eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1116
  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1117
  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1118
  ldemul-list.h \
1119
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1120
        ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
1121
eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1122
  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1123
  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1124
  ldemul-list.h \
1125
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1126
        ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
1127
eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1128
  $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1129
  $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
1130
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1131
        ${GENSCRIPTS} elf32ppcvxworks "$(tdir_elf32ppcvxworks)"
1132
eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1133
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1134
        ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
1135
eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
1136
  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1137
        ${GENSCRIPTS} elf32rx "$(tdir_elf32rx)"
1138
eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1139
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1140
        ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
1141
eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1142
  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1143
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1144
        ${GENSCRIPTS} elf32xc16x "$(tdir_xc16x)"
1145
eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1146
  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1147
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1148
        ${GENSCRIPTS} elf32xc16xl "$(tdir_xc16xl)"
1149
eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1150
  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1151
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1152
        ${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)"
1153
eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1154
  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1155
  $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1156
        ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
1157
eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1158
  $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1159
  $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1160
  $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1161
        ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
1162
eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1163
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1164
        ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
1165
eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1166
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1167
        ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
1168
eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1169
  $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1170
        ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
1171
eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1172
  $(srcdir)/emulparams/elf_i386.sh \
1173
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1174
        ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
1175
eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1176
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1177
        ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
1178
eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
1179
  $(srcdir)/emulparams/solaris2.sh \
1180
  $(srcdir)/emultempl/solaris2.em \
1181
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1182
        ${GENSCRIPTS} elf_i386_sol2 "$(tdir_elf_i386_sol2)"
1183
eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1184
  $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1185
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1186
        ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)"
1187
eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1188
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1189
        ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
1190
egld960.c: $(srcdir)/emulparams/gld960.sh \
1191
  $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1192
        ${GENSCRIPTS} gld960 "$(tdir_gld960)"
1193
egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1194
  $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1195
        ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
1196
eh8300.c: $(srcdir)/emulparams/h8300.sh \
1197
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1198
        ${GENSCRIPTS} h8300 "$(tdir_h8300)"
1199
eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1200
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1201
        ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
1202
eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1203
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1204
        ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
1205
eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1206
  $(srcdir)/emulparams/h8300elf.sh \
1207
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1208
        ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
1209
eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1210
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1211
        ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
1212
eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1213
  $(srcdir)/emulparams/h8300elf.sh \
1214
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1215
        ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
1216
eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1217
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1218
        ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1219
eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1220
  $(srcdir)/emulparams/h8300elf.sh \
1221
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1222
        ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
1223
eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1224
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1225
        ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
1226
eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1227
  $(srcdir)/emulparams/h8300elf.sh \
1228
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1229
        ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
1230
eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1231
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1232
        ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
1233
eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1234
  $(srcdir)/emulparams/h8300elf.sh \
1235
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1236
        ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
1237
eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1238
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1239
        ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
1240
eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1241
  $(srcdir)/emulparams/h8300elf.sh \
1242
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1243
        ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
1244
eh8500.c: $(srcdir)/emulparams/h8500.sh \
1245
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1246
        ${GENSCRIPTS} h8500 "$(tdir_h8500)"
1247
eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1248
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1249
        ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
1250
eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1251
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1252
        ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1253
eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1254
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1255
        ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1256
eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1257
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1258
        ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
1259
ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1260
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1261
        ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
1262
ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1263
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1264
        ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
1265
ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1266
  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1267
  $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1268
        ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
1269
ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1270
  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1271
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1272
        ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
1273
ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1274
  $(srcdir)/emulparams/hppaelf.sh \
1275
  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1276
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1277
        ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1278
ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1279
  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1280
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1281
        ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
1282
ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1283
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1284
        ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
1285
ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1286
  $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1287
        ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
1288
ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1289
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1290
        ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1291
ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1292
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1293
        ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
1294
ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1295
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1296
        ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1297
ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1298
  $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1299
        ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1300
ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1301
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1302
        ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1303
ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1304
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1305
        ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1306
ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1307
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1308
        ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1309
ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1310
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1311
        ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1312
ei386nbsd.c:    $(srcdir)/emulparams/i386nbsd.sh \
1313
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1314
        ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1315
ei386nto.c:     $(srcdir)/emulparams/i386nto.sh \
1316
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1317
        ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1318
ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
1319
  $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1320
        ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1321
ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1322
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1323
        ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1324
ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1325
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1326
        ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1327
ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1328
  $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1329
        ${GENSCRIPTS} i386pep "$(tdir_i386pe)"
1330
elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1331
  $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1332
        ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1333
em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1334
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1335
        ${GENSCRIPTS} m32relf "$(tdir_m32r)"
1336
em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1337
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1338
        ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
1339
em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1340
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1341
        ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
1342
em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1343
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1344
        ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
1345
em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1346
  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1347
  $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1348
        ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1349
em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1350
  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1351
  $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1352
        ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1353
em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1354
  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1355
  $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1356
        ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1357
em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1358
  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1359
  $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1360
        ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1361
em68k4knbsd.c:  $(srcdir)/emulparams/m68k4knbsd.sh \
1362
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1363
        ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1364
em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1365
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1366
        ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1367
em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1368
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1369
        ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1370
em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1371
  $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1372
        ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1373
em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1374
  $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1375
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1376
        ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1377
em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1378
  $(srcdir)/emulparams/m68kelf.sh \
1379
  $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
1380
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1381
        ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1382
em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1383
  $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1384
        ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1385
em68knbsd.c:    $(srcdir)/emulparams/m68knbsd.sh \
1386
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1387
        ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1388
em68kpsos.c:    $(srcdir)/emulparams/m68kpsos.sh \
1389
  $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1390
        ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1391
em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1392
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1393
        ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1394
emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1395
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1396
        ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1397
emipsbig.c: $(srcdir)/emulparams/mipsbig.sh $(srcdir)/emultempl/generic.em \
1398
  $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1399
        ${GENSCRIPTS} mipsbig "$(tdir_mipsbig)"
1400
emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh $(srcdir)/emultempl/generic.em \
1401
  $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1402
        ${GENSCRIPTS} mipsbsd "$(tdir_mipsbsd)"
1403
emipsidt.c: $(srcdir)/emulparams/mipsidt.sh $(srcdir)/emultempl/generic.em \
1404
  $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
1405
  ${GEN_DEPENDS}
1406
        ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1407
emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh $(srcdir)/emultempl/generic.em \
1408
  $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
1409
  ${GEN_DEPENDS}
1410
        ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1411
emipslit.c: $(srcdir)/emulparams/mipslit.sh $(srcdir)/emultempl/generic.em \
1412
  $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1413
        ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1414
emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
1415
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1416
        ${GENSCRIPTS} mipslnews "$(tdir_mipslnews)"
1417
emipspe.c: $(srcdir)/emulparams/mipspe.sh $(srcdir)/emultempl/pe.em \
1418
  $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1419
        ${GENSCRIPTS} mipspe "$(tdir_mipspe)"
1420
emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1421
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1422
        ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1423
emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1424
  $(srcdir)/emulparams/mn10200.sh \
1425
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1426
        ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1427
emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
1428
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1429
  ${GEN_DEPENDS}
1430
        ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
1431
emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
1432
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1433
  ${GEN_DEPENDS}
1434
        ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
1435
emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
1436
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1437
  ${GEN_DEPENDS}
1438
        ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
1439
emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
1440
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1441
  ${GEN_DEPENDS}
1442
        ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
1443
emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
1444
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1445
  ${GEN_DEPENDS}
1446
        ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
1447
emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
1448
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1449
  ${GEN_DEPENDS}
1450
        ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
1451
emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
1452
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1453
  ${GEN_DEPENDS}
1454
        ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
1455
emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
1456
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1457
  ${GEN_DEPENDS}
1458
        ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
1459
emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
1460
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1461
  ${GEN_DEPENDS}
1462
        ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
1463
emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
1464
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1465
  ${GEN_DEPENDS}
1466
        ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
1467
emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
1468
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1469
  ${GEN_DEPENDS}
1470
        ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
1471
emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
1472
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1473
  ${GEN_DEPENDS}
1474
        ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
1475
emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
1476
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1477
  ${GEN_DEPENDS}
1478
        ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
1479
emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
1480
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1481
  ${GEN_DEPENDS}
1482
        ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
1483
emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
1484
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1485
  ${GEN_DEPENDS}
1486
        ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
1487
emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
1488
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1489
  ${GEN_DEPENDS}
1490
        ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
1491
emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
1492
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1493
  ${GEN_DEPENDS}
1494
        ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
1495
emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
1496
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1497
  ${GEN_DEPENDS}
1498
        ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
1499
emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
1500
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1501
  ${GEN_DEPENDS}
1502
        ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
1503
emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
1504
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1505
  ${GEN_DEPENDS}
1506
        ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
1507
emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
1508
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1509
  ${GEN_DEPENDS}
1510
        ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
1511
emsp430x1610.c: $(srcdir)/emulparams/msp430all.sh \
1512
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1513
  ${GEN_DEPENDS}
1514
        ${GENSCRIPTS} msp430x1610 "$(tdir_msp430x1610)" msp430all
1515
emsp430x1611.c: $(srcdir)/emulparams/msp430all.sh \
1516
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1517
  ${GEN_DEPENDS}
1518
        ${GENSCRIPTS} msp430x1611 "$(tdir_msp430x1611)" msp430all
1519
emsp430x1612.c: $(srcdir)/emulparams/msp430all.sh \
1520
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1521
  ${GEN_DEPENDS}
1522
        ${GENSCRIPTS} msp430x1612 "$(tdir_msp430x1612)" msp430all
1523
emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
1524
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1525
  ${GEN_DEPENDS}
1526
        ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
1527
emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
1528
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1529
  ${GEN_DEPENDS}
1530
        ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
1531
emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
1532
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1533
  ${GEN_DEPENDS}
1534
        ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
1535
emsp430x2101.c: $(srcdir)/emulparams/msp430all.sh \
1536
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1537
  ${GEN_DEPENDS}
1538
        ${GENSCRIPTS} msp430x2101 "$(tdir_msp430x2101)" msp430all
1539
emsp430x2111.c: $(srcdir)/emulparams/msp430all.sh \
1540
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1541
  ${GEN_DEPENDS}
1542
        ${GENSCRIPTS} msp430x2111 "$(tdir_msp430x2111)" msp430all
1543
emsp430x2121.c: $(srcdir)/emulparams/msp430all.sh \
1544
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1545
  ${GEN_DEPENDS}
1546
        ${GENSCRIPTS} msp430x2121 "$(tdir_msp430x2121)" msp430all
1547
emsp430x2131.c: $(srcdir)/emulparams/msp430all.sh \
1548
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1549
  ${GEN_DEPENDS}
1550
        ${GENSCRIPTS} msp430x2131 "$(tdir_msp430x2131)" msp430all
1551
emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
1552
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1553
  ${GEN_DEPENDS}
1554
        ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
1555
emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
1556
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1557
  ${GEN_DEPENDS}
1558
        ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
1559
emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
1560
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1561
  ${GEN_DEPENDS}
1562
        ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
1563
emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
1564
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1565
  ${GEN_DEPENDS}
1566
        ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
1567
emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
1568
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1569
  ${GEN_DEPENDS}
1570
        ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
1571
emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
1572
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1573
  ${GEN_DEPENDS}
1574
        ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
1575
emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
1576
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1577
  ${GEN_DEPENDS}
1578
        ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
1579
emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
1580
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1581
  ${GEN_DEPENDS}
1582
        ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
1583
emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
1584
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
1585
  ${GEN_DEPENDS}
1586
        ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
1587
emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
1588
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1589
  ${GEN_DEPENDS}
1590
        ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
1591
emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
1592
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1593
  ${GEN_DEPENDS}
1594
        ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
1595
emsp430x415.c: $(srcdir)/emulparams/msp430all.sh \
1596
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1597
  ${GEN_DEPENDS}
1598
        ${GENSCRIPTS} msp430x415 "$(tdir_msp430x415)" msp430all
1599
emsp430x417.c: $(srcdir)/emulparams/msp430all.sh \
1600
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1601
  ${GEN_DEPENDS}
1602
        ${GENSCRIPTS} msp430x417 "$(tdir_msp430x417)" msp430all
1603
emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
1604
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1605
  ${GEN_DEPENDS}
1606
        ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
1607
emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
1608
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1609
  ${GEN_DEPENDS}
1610
        ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
1611
emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
1612
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1613
  ${GEN_DEPENDS}
1614
        ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
1615
emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
1616
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1617
  ${GEN_DEPENDS}
1618
        ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
1619
emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
1620
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1621
  ${GEN_DEPENDS}
1622
        ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
1623
emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
1624
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1625
  ${GEN_DEPENDS}
1626
        ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
1627
emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
1628
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1629
  ${GEN_DEPENDS}
1630
        ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
1631
emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
1632
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1633
  ${GEN_DEPENDS}
1634
        ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
1635
emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
1636
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1637
  ${GEN_DEPENDS}
1638
        ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
1639
emsp430xG437.c: $(srcdir)/emulparams/msp430all.sh \
1640
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1641
  ${GEN_DEPENDS}
1642
        ${GENSCRIPTS} msp430xG437 "$(tdir_msp430xG437)" msp430all
1643
emsp430xG438.c: $(srcdir)/emulparams/msp430all.sh \
1644
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1645
  ${GEN_DEPENDS}
1646
        ${GENSCRIPTS} msp430xG438 "$(tdir_msp430xG438)" msp430all
1647
emsp430xG439.c: $(srcdir)/emulparams/msp430all.sh \
1648
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1649
  ${GEN_DEPENDS}
1650
        ${GENSCRIPTS} msp430xG439 "$(tdir_msp430xG439)" msp430all
1651
emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
1652
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1653
  ${GEN_DEPENDS}
1654
        ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
1655
emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
1656
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1657
  ${GEN_DEPENDS}
1658
        ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
1659
emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
1660
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
1661
  ${GEN_DEPENDS}
1662
        ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
1663
enews.c: $(srcdir)/emulparams/news.sh \
1664
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1665
        ${GENSCRIPTS} news "$(tdir_news)"
1666
ens32knbsd.c:   $(srcdir)/emulparams/ns32knbsd.sh \
1667
  $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
1668
  $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1669
        ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1670
eopen8_1.c: $(srcdir)/emulparams/open8_1.sh $(srcdir)/emultempl/open8elf.em \
1671
  $(ELF_DEPS) $(srcdir)/scripttempl/open8.sc \
1672
  ${GEN_DEPENDS}
1673
        ${GENSCRIPTS} open8_1 "$(tdir_open8_1)"
1674
eor32.c: $(srcdir)/emulparams/or32.sh \
1675
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1676
        ${GENSCRIPTS} or32 "$(tdir_or32)"
1677
eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1678
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1679
        ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1680
epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1681
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1682
        ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1683
epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1684
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1685
        ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1686
epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1687
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1688
        ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1689
epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
1690
  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1691
        ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1692
eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
1693
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1694
        ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
1695
eppcmacos.c:    $(srcdir)/emulparams/ppcmacos.sh \
1696
  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1697
        ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1698
eppcnw.c:       $(srcdir)/emulparams/ppcnw.sh \
1699
  $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1700
        ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1701
eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1702
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1703
        ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1704
eriscix.c: $(srcdir)/emulparams/riscix.sh \
1705
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1706
        ${GENSCRIPTS} riscix "$(tdir_riscix)"
1707
escore3_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1708
  $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1709
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1710
        ${GENSCRIPTS} score3_elf "$(tdir_score3_elf)" scoreelf
1711
escore7_elf.c: $(srcdir)/emulparams/scoreelf.sh \
1712
  $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
1713
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1714
        ${GENSCRIPTS} score7_elf "$(tdir_score7_elf)" scoreelf
1715
esh.c: $(srcdir)/emulparams/sh.sh \
1716
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1717
        ${GENSCRIPTS} sh "$(tdir_sh)"
1718
eshelf.c: $(srcdir)/emulparams/shelf.sh \
1719
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1720
        ${GENSCRIPTS} shelf "$(tdir_shelf)"
1721
eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1722
  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1723
  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1724
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1725
        ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1726
eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1727
  $(srcdir)/emulparams/shelf32.sh \
1728
  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1729
  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1730
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1731
        ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
1732
eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1733
  $(srcdir)/emulparams/shelf32.sh \
1734
  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1735
  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1736
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1737
        ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1738
eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
1739
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1740
        ${GENSCRIPTS} shelf_fd "$(tdir_shelf_fd)"
1741
eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1742
  $(srcdir)/emulparams/shlelf_linux.sh \
1743
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1744
        ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1745
eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1746
  $(srcdir)/emulparams/shelf.sh \
1747
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1748
        ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1749
eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1750
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1751
        ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
1752
eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
1753
  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1754
        ${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)"
1755
eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
1756
  $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
1757
  $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
1758
        ${GENSCRIPTS} shelf_vxworks "$(tdir_shelf_vxworks)"
1759
eshl.c: $(srcdir)/emulparams/shl.sh \
1760
  $(srcdir)/emulparams/sh.sh \
1761
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1762
        ${GENSCRIPTS} shl "$(tdir_shl)"
1763
eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1764
  $(srcdir)/emulparams/shelf.sh \
1765
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1766
        ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1767
eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1768
  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1769
  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1770
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1771
        ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1772
eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1773
  $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1774
  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1775
  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1776
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1777
        ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
1778
eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1779
  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1780
  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1781
  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1782
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1783
        ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1784
eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
1785
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1786
        ${GENSCRIPTS} shlelf_fd "$(tdir_shlelf_fd)"
1787
eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1788
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1789
        ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1790
eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1791
  $(srcdir)/emulparams/shelf_nbsd.sh \
1792
  $(srcdir)/emulparams/shelf.sh \
1793
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1794
        ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1795
eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1796
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1797
        ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
1798
eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
1799
  $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
1800
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
1801
  ${GEN_DEPENDS}
1802
        ${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)"
1803
eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
1804
  $(srcdir)/emulparams/shelf.sh \
1805
  $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
1806
        ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
1807
eshpe.c: $(srcdir)/emulparams/shpe.sh \
1808
  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1809
        ${GENSCRIPTS} shpe "$(tdir_shl)"
1810
esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1811
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1812
        ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1813
esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1814
  $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1815
        ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1816
esparcnbsd.c:   $(srcdir)/emulparams/sparcnbsd.sh \
1817
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1818
        ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1819
est2000.c: $(srcdir)/emulparams/st2000.sh \
1820
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1821
        ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1822
esun3.c: $(srcdir)/emulparams/sun3.sh \
1823
  $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1824
        ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1825
esun4.c: $(srcdir)/emulparams/sun4.sh \
1826
  $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1827
        ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1828
etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1829
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1830
        ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1831
etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1832
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1833
        ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1834
etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
1835
  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1836
        ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
1837
etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
1838
  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1839
        ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
1840
etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
1841
  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
1842
        ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
1843
etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1844
  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1845
        ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1846
etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1847
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1848
        ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1849
ev850.c: $(srcdir)/emulparams/v850.sh \
1850
  $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1851
        ${GENSCRIPTS} v850 "$(tdir_v850)"
1852
evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1853
  $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1854
        ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1855
evax.c: $(srcdir)/emulparams/vax.sh \
1856
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1857
        ${GENSCRIPTS} vax "$(tdir_vax)"
1858
evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1859
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1860
        ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1861
evsta.c: $(srcdir)/emulparams/vsta.sh \
1862
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1863
        ${GENSCRIPTS} vsta "$(tdir_vsta)"
1864
ew65.c: $(srcdir)/emulparams/w65.sh \
1865
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1866
        ${GENSCRIPTS} w65 "$(tdir_w65)"
1867
ez80.c: $(srcdir)/emulparams/z80.sh \
1868
  $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
1869
  $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
1870
        ${GENSCRIPTS} z80 "$(tdir_z80)"
1871
ez8001.c: $(srcdir)/emulparams/z8001.sh \
1872
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1873
        ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1874
ez8002.c: $(srcdir)/emulparams/z8002.sh \
1875
  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1876
        ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1877
 
1878
eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
1879
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1880
        ${GENSCRIPTS} elf32_x86_64 "$(tdir_elf32_x86_64)"
1881
eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1882
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1883
        ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
1884
eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1885
  $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1886
  $(srcdir)/emultempl/needrelax.em \
1887
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1888
        ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
1889
eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1890
  $(srcdir)/emulparams/elf64_ia64.sh \
1891
  $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1892
  $(srcdir)/emultempl/needrelax.em \
1893
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1894
        ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
1895
eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1896
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1897
        ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
1898
eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1899
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1900
        ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
1901
eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1902
  $(srcdir)/emulparams/elf64_sparc.sh \
1903
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1904
        ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
1905
eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
1906
  $(srcdir)/emulparams/elf64_sparc.sh \
1907
  $(srcdir)/emulparams/solaris2.sh \
1908
  $(srcdir)/emultempl/solaris2.em \
1909
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1910
        ${GENSCRIPTS} elf64_sparc_sol2 "$(tdir_elf64_sparc_sol2)"
1911
eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1912
  $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1913
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1914
        ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
1915
eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1916
  $(srcdir)/emulparams/elf64alpha.sh \
1917
  $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1918
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1919
        ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
1920
eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1921
  $(srcdir)/emulparams/elf64alpha.sh \
1922
  $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1923
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1924
        ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
1925
eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1926
  $(srcdir)/emulparams/elf64bmip-defs.sh \
1927
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1928
  $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1929
  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1930
        ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
1931
eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1932
  $(srcdir)/emulparams/elf64bmip-defs.sh \
1933
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1934
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1935
        ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
1936
eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
1937
  $(srcdir)/emulparams/elf64bmip-defs.sh \
1938
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1939
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1940
        ${GENSCRIPTS} elf64btsmip_fbsd "$(tdir_elf64btsmip_fbsd)"
1941
eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1942
  $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
1943
        ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
1944
eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1945
  $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1946
  ldemul-list.h \
1947
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1948
        ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
1949
eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1950
  $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1951
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1952
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1953
        ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
1954
eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
1955
  $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1956
  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1957
  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1958
        ${GENSCRIPTS} elf64ltsmip_fbsd "$(tdir_elf64ltsmip_fbsd)"
1959
eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1960
  $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
1961
  $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1962
        ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
1963
eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1964
  ldemul-list.h \
1965
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1966
        ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
1967
eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
1968
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1969
        ${GENSCRIPTS} elf_l1om "$(tdir_elf_l1om)"
1970
eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
1971
  $(srcdir)/emulparams/elf_l1om.sh \
1972
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1973
        ${GENSCRIPTS} elf_l1om_fbsd "$(tdir_elf_l1om_fbsd)"
1974
eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1975
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1976
        ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
1977
eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1978
  $(srcdir)/emulparams/elf_x86_64.sh \
1979
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1980
        ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
1981
eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
1982
  $(srcdir)/emulparams/elf_x86_64.sh \
1983
  $(srcdir)/emulparams/solaris2.sh \
1984
  $(srcdir)/emultempl/solaris2.em \
1985
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1986
        ${GENSCRIPTS} elf_x86_64_sol2 "$(tdir_elf_x86_64_sol2)"
1987
ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1988
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1989
        ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
1990
emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1991
  $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1992
  $(srcdir)/emultempl/mmo.em \
1993
  $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1994
        ${GENSCRIPTS} mmo "$(tdir_mmo)"
1995
eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1996
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1997
        ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1998
eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1999
  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2000
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2001
        ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
2002
eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
2003
  $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2004
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2005
        ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
2006
eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2007
  $(srcdir)/emulparams/shelf64_nbsd.sh \
2008
  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2009
  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2010
        ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
2011
 
2012
# We need this for automake to use YLWRAP.
2013
EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
2014
# Allow dependency tracking to work for these files, too.
2015
EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
2016
 
2017
ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
2018
        ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C)
2019
ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
2020
ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
2021
 
2022
# Dependency tracking for the generated emulation files.
2023
EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
2024
 
2025
# This is the real libbfd.a created by libtool.
2026
TESTBFDLIB = @TESTBFDLIB@
2027
 
2028
check-DEJAGNU: site.exp
2029
        srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2030
        r=`pwd`; export r; \
2031
        LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
2032
        EXPECT=$(EXPECT); export EXPECT; \
2033
        runtest=$(RUNTEST); \
2034
        if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2035
          $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2036
                CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
2037
                CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
2038
                CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2039
                OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2040
                LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
2041
                DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
2042
                $(RUNTESTFLAGS); \
2043
        else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2044
        fi
2045
 
2046
# Rules for testing by relinking ld itself.
2047
# A similar test is in the testsuite.  This target is for ease of use
2048
# when porting ld.
2049
 
2050
ld-partial.@OBJEXT@: ld-new$(EXEEXT)
2051
        ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
2052
ld1$(EXEEXT): ld-partial.@OBJEXT@
2053
        ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2054
 
2055
ld1-full$(EXEEXT): ld-new
2056
        ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2057
 
2058
ld2$(EXEEXT): ld1$(EXEEXT)
2059
        ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2060
 
2061
ld3$(EXEEXT): ld2$(EXEEXT)
2062
        ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2063
 
2064
bootstrap: ld3$(EXEEXT)
2065
        cmp ld2$(EXEEXT) ld3$(EXEEXT)
2066
 
2067
.PHONY: bootstrap
2068
 
2069
# A test program for C++ constructors and destructors.
2070
# This test is now in the testsuite.
2071
#
2072
#cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2073
#       ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2074
#         cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
2075
#
2076
#cdtest.out: cdtest
2077
#       ./cdtest > cdtest.tmp
2078
#       mv cdtest.tmp cdtest.out
2079
#
2080
#cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
2081
#       ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
2082
#         cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
2083
#
2084
#cdtest-ur: cdtest-ur.@OBJEXT@
2085
#       ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
2086
#         $(HOSTING_LIBS)
2087
#
2088
#cdtest-ur.out: cdtest-ur
2089
#       ./cdtest-ur > cdtest-ur.tmp
2090
#       mv cdtest-ur.tmp cdtest-ur.out
2091
#
2092
#check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2093
#       diff $(srcdir)/cdtest.exp cdtest.out
2094
#       diff $(srcdir)/cdtest.exp cdtest-ur.out
2095
#
2096
#.PHONY: check-cdtest
2097
 
2098
# END OF CHECK TARGETS
2099
 
2100
#
2101
# Build a dummy plugin using libtool.
2102
#
2103
if ENABLE_PLUGINS
2104
noinst_LTLIBRARIES = libldtestplug.la
2105
libldtestplug_la_SOURCES = testplug.c
2106
libldtestplug_la_CFLAGS= -g -O2
2107
libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
2108
endif
2109
 
2110
# DOCUMENTATION TARGETS
2111
# Manual configuration file; not usually attached to normal configuration,
2112
# because almost all configs use "gen" version of manual.
2113
#  Set DOCVER above to change.
2114
configdoc.texi: ${DOCVER}-doc.texi
2115
        cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2116
        chmod u+w ./configdoc.texi
2117
 
2118
# Build the man page from the texinfo file
2119
# The sed command removes the no-adjust Nroff command so that
2120
# the man output looks standard.
2121
ld.1: $(srcdir)/ld.texinfo configdoc.texi
2122
        touch $@
2123
        -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2124
        -($(POD2MAN) ld.pod | \
2125
                sed -e '/^.if n .na/d' > $@.T$$$$ && \
2126
                mv -f $@.T$$$$ $@) || \
2127
                (rm -f $@.T$$$$ && exit 1)
2128
        rm -f ld.pod
2129
 
2130
MAINTAINERCLEANFILES = configdoc.texi ld.1
2131
 
2132
# We want to reconfigure if configure.host or configure.tgt changes.  We
2133
# extract version from bfd/configure.in, so we must depend on that also.
2134
CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
2135
        $(srcdir)/../bfd/configure.in
2136
 
2137
MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
2138
        ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
2139
mostlyclean-local:
2140
        -rm -rf tmpdir
2141
CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
2142
 
2143
.PHONY: install-exec-local install-data-local
2144
 
2145
install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
2146
        $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
2147
        n=`echo $(installed_linker) | sed '$(transform)'`; \
2148
        if test "$(bindir)" != "$(tooldir)/bin"; then \
2149
          rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2150
          ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
2151
          || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
2152
        fi; \
2153
        if test "x$(install_as_default)" = "xyes"; then \
2154
          ld=`echo ld | sed '$(transform)'`; \
2155
          rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2156
          ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
2157
          || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
2158
          if test "$(bindir)" != "$(tooldir)/bin"; then \
2159
            rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2160
            ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2161
            || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2162
          fi; \
2163
        fi
2164
 
2165
install-data-local:
2166
        $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2167
        for f in ldscripts/*; do \
2168
          $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2169
        done
2170
 
2171
# Stuff that should be included in a distribution.  The diststuff
2172
# target is run by the taz target in ../Makefile.in.
2173
EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
2174
             emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
2175
diststuff: info $(EXTRA_DIST)
2176
 
2177
# Both info (ld.info) and ld.1 depend on configdoc.texi.
2178
# But info isn't a direct target. Make info-recursive to depend on
2179
# ld.1 to support parallel build.
2180
info-recursive: ld.1
2181
 
2182
DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
2183
distclean-local:
2184
        rm -rf ldscripts
2185
 
2186
MAINTAINERCLEANFILES += ld.info
2187
 
2188
# Automake 1.9 will only build info files in the objdir if they are
2189
# mentioned in DISTCLEANFILES.  It doesn't have to be unconditional,
2190
# though, so we use a bogus condition.
2191
if GENINSRC_NEVER
2192
DISTCLEANFILES += ld.info
2193
endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.