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