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