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