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 159

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

powered by: WebSVN 2.1.0

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