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