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