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