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