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