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 213

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

powered by: WebSVN 2.1.0

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