Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | ## Process this file with automake to generate Makefile.in |
2 | ||
252b5132 | 3 | AUTOMAKE_OPTIONS = cygnus dejagnu |
79887925 | 4 | ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd |
252b5132 RH |
5 | |
6 | SUBDIRS = po | |
7 | ||
8 | tooldir = $(exec_prefix)/$(target_alias) | |
9 | ||
a7e78dae | 10 | YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` |
252b5132 | 11 | YFLAGS = -d |
a7e78dae | 12 | LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` |
252b5132 | 13 | |
a2d91340 | 14 | WARN_CFLAGS = @WARN_CFLAGS@ |
9e9b66a9 | 15 | NO_WERROR = @NO_WERROR@ |
a2d91340 AC |
16 | AM_CFLAGS = $(WARN_CFLAGS) |
17 | ||
252b5132 RH |
18 | # We put the scripts in the directory $(scriptdir)/ldscripts. |
19 | # We can't put the scripts in $(datadir) because the SEARCH_DIR | |
20 | # directives need to be different for native and cross linkers. | |
21 | scriptdir = $(tooldir)/lib | |
22 | ||
23 | EMUL = @EMUL@ | |
24 | EMULATION_OFILES = @EMULATION_OFILES@ | |
25 | EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@ | |
26 | ||
27 | # Search path to override the default search path for -lfoo libraries. | |
28 | # If LIB_PATH is empty, the ones in the script (if any) are left alone. | |
29 | # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building | |
30 | # a cross-linker, in which case the default is empty. See genscripts.sh.) | |
31 | # Otherwise, they are replaced with the ones given in LIB_PATH, | |
8e523c23 NC |
32 | # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set |
33 | # when the linker is configured via the --with-lib-path configure switch. | |
34 | LIB_PATH = @LIB_PATH@ | |
252b5132 RH |
35 | |
36 | BASEDIR = $(srcdir)/.. | |
37 | BFDDIR = $(BASEDIR)/bfd | |
38 | INCDIR = $(BASEDIR)/include | |
41b49281 | 39 | MKDEP = gcc -MM |
252b5132 RH |
40 | |
41 | # What version of the manual to build | |
42 | DOCVER = gen | |
43 | ||
0285c67d NC |
44 | # Options to extract the man page from ld.texinfo |
45 | MANCONF = -Dman | |
46 | ||
38fc1cb1 | 47 | TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS) |
0285c67d | 48 | |
ff5dcc92 SC |
49 | POD2MAN = pod2man --center="GNU Development Tools" \ |
50 | --release="binutils-$(VERSION)" --section=1 | |
0285c67d | 51 | |
252b5132 RH |
52 | #stuff for self hosting (can be overridden in config file). |
53 | HOSTING_CRT0 = @HOSTING_CRT0@ | |
54 | HOSTING_LIBS = @HOSTING_LIBS@ | |
55 | HOSTING_EMU = -m $(EMUL) | |
56 | ||
57 | # Setup the testing framework, if you have one | |
c3298874 BE |
58 | EXPECT = expect |
59 | RUNTEST = runtest | |
252b5132 RH |
60 | RUNTESTFLAGS = |
61 | ||
62 | CC_FOR_TARGET = ` \ | |
63 | if [ -f $$r/../gcc/xgcc ] ; then \ | |
64 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
65 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
66 | else \ | |
67 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
68 | fi; \ | |
69 | else \ | |
70 | if [ "@host@" = "@target@" ] ; then \ | |
71 | echo $(CC); \ | |
72 | else \ | |
73 | echo gcc | sed '$(transform)'; \ | |
74 | fi; \ | |
75 | fi` | |
76 | ||
55255dae | 77 | CXX = g++ |
252b5132 | 78 | CXX_FOR_TARGET = ` \ |
55255dae | 79 | if [ -f $$r/../gcc/g++ ] ; then \ |
252b5132 | 80 | if [ -f $$r/../newlib/Makefile ] ; then \ |
55255dae | 81 | echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ |
252b5132 | 82 | else \ |
55255dae | 83 | echo $$r/../gcc/g++ -B$$r/../gcc/; \ |
252b5132 RH |
84 | fi; \ |
85 | else \ | |
86 | if [ "@host@" = "@target@" ] ; then \ | |
87 | echo $(CXX); \ | |
88 | else \ | |
55255dae | 89 | echo g++ | sed '$(transform)'; \ |
252b5132 RH |
90 | fi; \ |
91 | fi` | |
92 | ||
93 | noinst_PROGRAMS = ld-new | |
94 | info_TEXINFOS = ld.texinfo | |
c428fa83 | 95 | ld_TEXINFOS = configdoc.texi |
252b5132 RH |
96 | noinst_TEXINFOS = ldint.texinfo |
97 | man_MANS = ld.1 | |
98 | ||
c428fa83 L |
99 | AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \ |
100 | -I $(top_srcdir)/../libiberty | |
101 | TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \ | |
102 | -I $(top_srcdir)/../libiberty | |
92f01d61 | 103 | |
67310ccd | 104 | INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ |
92f01d61 | 105 | @INCINTL@ $(HDEFINES) $(CFLAGS) \ |
92f01d61 | 106 | -DLOCALEDIR="\"$(datadir)/locale\"" |
252b5132 RH |
107 | |
108 | BFDLIB = ../bfd/libbfd.la | |
109 | LIBIBERTY = ../libiberty/libiberty.a | |
110 | ||
111 | ALL_EMULATIONS = \ | |
252b5132 RH |
112 | eaixppc.o \ |
113 | eaixrs6.o \ | |
114 | ealpha.o \ | |
115 | earcelf.o \ | |
4900fc06 | 116 | earm_epoc_pe.o \ |
7148cc28 | 117 | earm_wince_pe.o \ |
252b5132 RH |
118 | earmaoutb.o \ |
119 | earmaoutl.o \ | |
120 | earmcoff.o \ | |
4900fc06 | 121 | earmelf.o \ |
d2012d17 | 122 | earmelfb.o \ |
28912fd9 | 123 | earmelf_fbsd.o \ |
4900fc06 | 124 | earmelf_linux.o \ |
6b3221b4 | 125 | earmelf_linux_eabi.o \ |
d2012d17 | 126 | earmelfb_linux.o \ |
a154a8ad | 127 | earmelfb_linux_eabi.o \ |
3695c299 | 128 | earmelf_nbsd.o \ |
658f2588 | 129 | earmelfb_nbsd.o \ |
4e7fd91e | 130 | earmelf_vxworks.o \ |
7e392df6 | 131 | earmnto.o \ |
8959586a | 132 | earmnbsd.o \ |
252b5132 | 133 | earmpe.o \ |
e5a52504 | 134 | earmsymbian.o \ |
fae1e84f | 135 | eavr2.o \ |
75ca919a | 136 | eavr1.o \ |
7b21ac3f | 137 | eavr25.o \ |
fae1e84f | 138 | eavr3.o \ |
7b21ac3f EW |
139 | eavr31.o \ |
140 | eavr35.o \ | |
fae1e84f MM |
141 | eavr4.o \ |
142 | eavr5.o \ | |
7b21ac3f | 143 | eavr51.o \ |
28c9d252 | 144 | eavr6.o \ |
9d7e2ba5 | 145 | ecoff_i860.o \ |
252b5132 | 146 | ecoff_sparc.o \ |
e9f53129 | 147 | eelf32_spu.o \ |
9d06555c HPN |
148 | ecrisaout.o \ |
149 | ecriself.o \ | |
150 | ecrislinux.o \ | |
252b5132 | 151 | ed10velf.o \ |
252b5132 RH |
152 | ed30v_e.o \ |
153 | ed30v_o.o \ | |
4900fc06 | 154 | ed30velf.o \ |
252b5132 | 155 | edelta68.o \ |
d172d4ba | 156 | eelf32_dlx.o \ |
0ccf812a | 157 | eelf32_i960.o \ |
165589e4 | 158 | eelf32_i860.o \ |
4900fc06 | 159 | eelf32_sparc.o \ |
910600e9 | 160 | eelf32_sparc_vxworks.o \ |
252b5132 | 161 | eelf32b4300.o \ |
95f4309b | 162 | eelf32bfin.o \ |
753a4ce3 | 163 | eelf32bfinfd.o \ |
3d3d428f | 164 | eelf32cr16.o \ |
0949843d | 165 | eelf32cr16c.o \ |
252b5132 | 166 | eelf32bmip.o \ |
dc831978 | 167 | eelf32bmipn32.o \ |
3548145d | 168 | eelf32btsmip.o \ |
1fe1f39c | 169 | eelf32crx.o \ |
7808a785 | 170 | eelf32btsmipn32.o \ |
fdec3cfc | 171 | eelf32ltsmip.o \ |
7808a785 | 172 | eelf32ltsmipn32.o \ |
4900fc06 | 173 | eelf32ebmip.o \ |
0a44bf69 | 174 | eelf32ebmipvxworks.o \ |
4900fc06 | 175 | eelf32elmip.o \ |
0a44bf69 | 176 | eelf32elmipvxworks.o \ |
4900fc06 | 177 | eelf32fr30.o \ |
7d553a40 | 178 | eelf32frv.o \ |
5b93d8bb | 179 | eelf32i370.o \ |
cf88bb9f | 180 | eelf32ip2k.o \ |
e09a7106 SC |
181 | eelf32iq2000.o \ |
182 | eelf32iq10.o \ | |
84e94c90 NC |
183 | eelf32lm32.o \ |
184 | eelf32lm32fd.o \ | |
252b5132 RH |
185 | eelf32l4300.o \ |
186 | eelf32lmip.o \ | |
187 | eelf32lppc.o \ | |
59bc061d | 188 | eelf32lppcnto.o \ |
bdbe5705 | 189 | eelf32lppcsim.o \ |
49f58d10 | 190 | eelf32m32c.o \ |
4900fc06 | 191 | eelf32mcore.o \ |
19d9b7d3 | 192 | eelf32mep.o \ |
325fab4e | 193 | eelf32mipswindiss.o \ |
4970f871 | 194 | eelf32mt.o \ |
c7e40348 | 195 | eelf32openrisc.o \ |
252b5132 | 196 | eelf32ppc.o \ |
28912fd9 | 197 | eelf32ppc_fbsd.o \ |
ec2f040d | 198 | eelf32ppclinux.o \ |
59bc061d | 199 | eelf32ppcnto.o \ |
4900fc06 | 200 | eelf32ppcsim.o \ |
94349e12 | 201 | eelf32ppcwindiss.o \ |
9d8504b1 | 202 | eelf32ppcvxworks.o \ |
ab68f3e0 | 203 | eelf32vax.o \ |
d70c5fc7 NC |
204 | eelf32xc16x.o \ |
205 | eelf32xc16xl.o \ | |
206 | eelf32xc16xs.o \ | |
93fbbb04 | 207 | eelf32xstormy16.o \ |
e0001a05 | 208 | eelf32xtensa.o \ |
252b5132 RH |
209 | eelf_i386.o \ |
210 | eelf_i386_be.o \ | |
dca7760f | 211 | eelf_i386_chaos.o \ |
28912fd9 | 212 | eelf_i386_fbsd.o \ |
506eee22 | 213 | eelf_i386_ldso.o \ |
eac338cf | 214 | eelf_i386_vxworks.o \ |
a85d7ed0 | 215 | eelf_s390.o \ |
252b5132 RH |
216 | egld960.o \ |
217 | egld960coff.o \ | |
252b5132 RH |
218 | eh8300.o \ |
219 | eh8300h.o \ | |
220 | eh8300s.o \ | |
8af6dd41 | 221 | eh8300elf.o \ |
8d9cd6b1 NC |
222 | eh8300hn.o \ |
223 | eh8300sn.o \ | |
65982ba6 | 224 | eh8300sx.o \ |
8af6dd41 JR |
225 | eh8300helf.o \ |
226 | eh8300self.o \ | |
8d9cd6b1 NC |
227 | eh8300hnelf.o \ |
228 | eh8300snelf.o \ | |
65982ba6 | 229 | eh8300sxelf.o \ |
f4984206 RS |
230 | eh8300sxn.o \ |
231 | eh8300sxnelf.o \ | |
252b5132 RH |
232 | eh8500.o \ |
233 | eh8500b.o \ | |
234 | eh8500c.o \ | |
235 | eh8500m.o \ | |
236 | eh8500s.o \ | |
237 | ehp300bsd.o \ | |
238 | ehp3hpux.o \ | |
4900fc06 AM |
239 | ehppaelf.o \ |
240 | ehppalinux.o \ | |
006336b8 | 241 | ehppanbsd.o \ |
c29ef4b5 | 242 | ehppaobsd.o \ |
252b5132 RH |
243 | ei386aout.o \ |
244 | ei386beos.o \ | |
245 | ei386bsd.o \ | |
246 | ei386coff.o \ | |
247 | ei386go32.o \ | |
248 | ei386linux.o \ | |
249 | ei386lynx.o \ | |
250 | ei386mach.o \ | |
251 | ei386moss.o \ | |
252 | ei386msdos.o \ | |
253 | ei386nbsd.o \ | |
a0cb91c6 | 254 | ei386nto.o \ |
252b5132 RH |
255 | ei386nw.o \ |
256 | ei386pe.o \ | |
a7e78dae | 257 | ei386pe_posix.o \ |
99ad8390 | 258 | ei386pep.o \ |
252b5132 | 259 | elnk960.o \ |
cfa1ac0c | 260 | em32relf.o \ |
6edf0760 NC |
261 | em32rlelf.o \ |
262 | em32relf_linux.o \ | |
263 | em32rlelf_linux.o \ | |
60bcf0fa NC |
264 | em68hc11elf.o \ |
265 | em68hc11elfb.o \ | |
266 | em68hc12elf.o \ | |
267 | em68hc12elfb.o \ | |
252b5132 RH |
268 | em68k4knbsd.o \ |
269 | em68kaout.o \ | |
270 | em68kaux.o \ | |
271 | em68kcoff.o \ | |
272 | em68kelf.o \ | |
0b69cd08 | 273 | em68kelfnbsd.o \ |
252b5132 | 274 | em68klinux.o \ |
252b5132 RH |
275 | em68knbsd.o \ |
276 | em68kpsos.o \ | |
277 | em88kbcs.o \ | |
7499d566 | 278 | emaxqcoff.o \ |
71acc4e8 | 279 | emcorepe.o \ |
252b5132 RH |
280 | emipsbig.o \ |
281 | emipsbsd.o \ | |
282 | emipsidt.o \ | |
283 | emipsidtl.o \ | |
284 | emipslit.o \ | |
285 | emipslnews.o \ | |
344a211f | 286 | emipspe.o \ |
3b260895 NC |
287 | emsp430x110.o \ |
288 | emsp430x112.o \ | |
2469cfa2 NC |
289 | emsp430x1101.o \ |
290 | emsp430x1111.o \ | |
291 | emsp430x1121.o \ | |
b4275f43 NC |
292 | emsp430x1122.o \ |
293 | emsp430x1132.o \ | |
2469cfa2 | 294 | emsp430x122.o \ |
2469cfa2 | 295 | emsp430x123.o \ |
3b260895 | 296 | emsp430x1222.o \ |
2469cfa2 | 297 | emsp430x1232.o \ |
3b260895 NC |
298 | emsp430x133.o \ |
299 | emsp430x135.o \ | |
300 | emsp430x1331.o \ | |
301 | emsp430x1351.o \ | |
302 | emsp430x147.o \ | |
303 | emsp430x148.o \ | |
304 | emsp430x149.o \ | |
305 | emsp430x155.o \ | |
306 | emsp430x156.o \ | |
307 | emsp430x157.o \ | |
308 | emsp430x167.o \ | |
309 | emsp430x168.o \ | |
310 | emsp430x169.o \ | |
c05e9f04 NC |
311 | emsp430x1610.o \ |
312 | emsp430x1611.o \ | |
313 | emsp430x1612.o \ | |
44c86e8c NC |
314 | emsp430x2101.o \ |
315 | emsp430x2111.o \ | |
316 | emsp430x2121.o \ | |
317 | emsp430x2131.o \ | |
2469cfa2 NC |
318 | emsp430x311.o \ |
319 | emsp430x312.o \ | |
320 | emsp430x313.o \ | |
321 | emsp430x314.o \ | |
322 | emsp430x315.o \ | |
323 | emsp430x323.o \ | |
324 | emsp430x325.o \ | |
325 | emsp430x336.o \ | |
326 | emsp430x337.o \ | |
3b260895 NC |
327 | emsp430x412.o \ |
328 | emsp430x413.o \ | |
c05e9f04 NC |
329 | emsp430x415.o \ |
330 | emsp430x417.o \ | |
3b260895 NC |
331 | emsp430xE423.o \ |
332 | emsp430xE425.o \ | |
333 | emsp430xE427.o \ | |
334 | emsp430xW423.o \ | |
335 | emsp430xW425.o \ | |
336 | emsp430xW427.o \ | |
c05e9f04 NC |
337 | emsp430xG437.o \ |
338 | emsp430xG438.o \ | |
339 | emsp430xG439.o \ | |
2469cfa2 NC |
340 | emsp430x435.o \ |
341 | emsp430x436.o \ | |
3b260895 | 342 | emsp430x437.o \ |
2469cfa2 NC |
343 | emsp430x447.o \ |
344 | emsp430x448.o \ | |
345 | emsp430x449.o \ | |
252b5132 RH |
346 | enews.o \ |
347 | ens32knbsd.o \ | |
3b16e843 NC |
348 | eor32.o \ |
349 | eor32elf.o \ | |
252b5132 | 350 | epc532macha.o \ |
e135f41b | 351 | epdp11.o \ |
4900fc06 AM |
352 | epjelf.o \ |
353 | epjlelf.o \ | |
252b5132 RH |
354 | eppcmacos.o \ |
355 | eppcnw.o \ | |
356 | eppcpe.o \ | |
b2d65c0b | 357 | eppclynx.o \ |
252b5132 | 358 | eriscix.o \ |
1c0d3aa6 | 359 | escoreelf.o \ |
252b5132 | 360 | esh.o \ |
2d92cb7d AO |
361 | eshelf32.o \ |
362 | eshlelf32.o \ | |
a2b3c630 SC |
363 | eshelf32_linux.o \ |
364 | eshlelf32_linux.o \ | |
5b0e55b6 JT |
365 | eshelf32_nbsd.o \ |
366 | eshlelf32_nbsd.o \ | |
252b5132 | 367 | eshelf.o \ |
4a428502 AO |
368 | eshelf_linux.o \ |
369 | eshlelf_linux.o \ | |
8d05742f JT |
370 | eshelf_nbsd.o \ |
371 | eshlelf_nbsd.o \ | |
ed71e111 NC |
372 | eshelf_nto.o \ |
373 | eshlelf_nto.o \ | |
ed6ba298 | 374 | eshelf_uclinux.o \ |
55e6e397 RS |
375 | eshelf_vxworks.o \ |
376 | eshlelf_vxworks.o \ | |
252b5132 | 377 | eshl.o \ |
4900fc06 | 378 | eshlelf.o \ |
85fbca6a | 379 | eshlsymbian.o \ |
344a211f | 380 | eshpe.o \ |
252b5132 RH |
381 | esparcaout.o \ |
382 | esparclinux.o \ | |
252b5132 RH |
383 | esparcnbsd.o \ |
384 | est2000.o \ | |
385 | esun3.o \ | |
386 | esun4.o \ | |
387 | etic30aout.o \ | |
388 | etic30coff.o \ | |
0da35f8b SS |
389 | etic3xcoff.o \ |
390 | etic3xcoff_onchip.o \ | |
026df7c5 | 391 | etic4xcoff.o \ |
74459f0e | 392 | etic54xcoff.o \ |
252b5132 RH |
393 | etic80coff.o \ |
394 | evanilla.o \ | |
395 | evax.o \ | |
ab68f3e0 | 396 | evaxnbsd.o \ |
252b5132 RH |
397 | evsta.o \ |
398 | ew65.o \ | |
399 | ez8001.o \ | |
49f58d10 | 400 | eelf32frvfd.o \ |
3c9b82ba | 401 | ez80.o \ |
252b5132 RH |
402 | ez8002.o |
403 | ||
404 | ALL_64_EMULATIONS = \ | |
41c49998 | 405 | eelf64_aix.o \ |
800eeca4 | 406 | eelf64_ia64.o \ |
28912fd9 | 407 | eelf64_ia64_fbsd.o \ |
2d92cb7d AO |
408 | eshelf64.o \ |
409 | eshlelf64.o \ | |
5b0e55b6 JT |
410 | eshelf64_nbsd.o \ |
411 | eshlelf64_nbsd.o \ | |
2be3aa03 | 412 | eelf_x86_64.o \ |
28912fd9 | 413 | eelf_x86_64_fbsd.o \ |
a85d7ed0 | 414 | eelf64_s390.o \ |
252b5132 | 415 | eelf64_sparc.o \ |
28912fd9 | 416 | eelf64_sparc_fbsd.o \ |
22c675a7 | 417 | eelf64alpha.o \ |
28912fd9 | 418 | eelf64alpha_fbsd.o \ |
fc18a3f3 | 419 | eelf64alpha_nbsd.o \ |
4900fc06 | 420 | eelf64bmip.o \ |
fdec3cfc L |
421 | eelf64btsmip.o \ |
422 | eelf64ltsmip.o \ | |
3b1b01cf | 423 | eelf64hppa.o \ |
3c3bdf30 NC |
424 | eelf64mmix.o \ |
425 | emmo.o \ | |
a7d792bb L |
426 | eelf64ppc.o \ |
427 | eelf64lppc.o \ | |
9f22353f | 428 | ehppa64linux.o |
252b5132 RH |
429 | |
430 | ALL_EMUL_EXTRA_OFILES = \ | |
4900fc06 | 431 | deffilep.o \ |
99ad8390 | 432 | pe-dll.o \ |
671ace2f | 433 | pep-dll.o |
252b5132 RH |
434 | |
435 | CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ | |
436 | ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ | |
f36d5d55 | 437 | mri.c ldcref.c pe-dll.c pep-dll.c |
252b5132 RH |
438 | |
439 | HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ | |
440 | ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ | |
f36d5d55 | 441 | ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h elf-hints-local.h |
252b5132 RH |
442 | |
443 | GENERATED_CFILES = ldgram.c ldlex.c deffilep.c | |
444 | GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h | |
445 | ||
446 | OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \ | |
447 | ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \ | |
f36d5d55 | 448 | ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} |
252b5132 RH |
449 | |
450 | STAGESTUFF = *.o ldscripts/* e*.c | |
451 | ||
ceae3e33 | 452 | # Disable -Werror, if it has been enabled, since old versions of bison/ |
5586bca1 | 453 | # yacc will produce working code which contain compile time warnings. |
ceae3e33 | 454 | ldgram.o: |
9e9b66a9 | 455 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 456 | ldlex.o: |
9e9b66a9 | 457 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 458 | deffilep.o: |
9e9b66a9 | 459 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 460 | |
252b5132 RH |
461 | # At the moment this is just a list of those emulation template files |
462 | # that contain internationalised strings. | |
463 | EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em | |
464 | ||
465 | POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES) | |
466 | ||
467 | po/POTFILES.in: @MAINT@ Makefile | |
323ee3f4 | 468 | for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \ |
252b5132 RH |
469 | && mv tmp $(srcdir)/po/POTFILES.in |
470 | ||
471 | ldmain.o: ldmain.c config.status | |
9c8ebd6a | 472 | $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ |
a8caa245 | 473 | -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ |
9c8ebd6a DJ |
474 | -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ |
475 | $(srcdir)/ldmain.c | |
252b5132 | 476 | |
a8caa245 AM |
477 | ldfile.o: ldfile.c config.status |
478 | $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' \ | |
479 | -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ | |
480 | $(srcdir)/ldfile.c | |
481 | ||
42ba7415 AM |
482 | eelf32_spu.o: eelf32_spu.c |
483 | $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ | |
484 | eelf32_spu.c | |
485 | ||
252b5132 RH |
486 | ldemul-list.h: Makefile |
487 | (echo "/* This file is automatically generated. DO NOT EDIT! */";\ | |
488 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
489 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ | |
490 | echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ | |
491 | done;\ | |
492 | echo "";\ | |
493 | echo "#define EMULATION_LIST \\";\ | |
494 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
495 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ | |
496 | echo " &ld_$${f}_emulation, \\"; \ | |
497 | done;\ | |
498 | echo " 0") >ldemul-tmp.h | |
499 | mv ldemul-tmp.h ldemul-list.h | |
500 | ||
597e2591 ILT |
501 | stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) |
502 | cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed | |
503 | ||
252b5132 RH |
504 | # These all start with e so 'make clean' can find them. |
505 | ||
dfcffada | 506 | 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@ |
597e2591 | 507 | GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed |
8ded5a0f | 508 | ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em |
f5ff60a6 | 509 | ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em |
aafdb207 | 510 | |
252b5132 RH |
511 | @TDIRS@ |
512 | ||
eb1e0e80 NC |
513 | eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \ |
514 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
515 | ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)" | |
516 | eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \ | |
517 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
518 | ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)" | |
252b5132 RH |
519 | eaixppc.c: $(srcdir)/emulparams/aixppc.sh \ |
520 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
521 | ${GENSCRIPTS} aixppc "$(tdir_aixppc)" | |
522 | eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \ | |
523 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
524 | ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)" | |
525 | ealpha.c: $(srcdir)/emulparams/alpha.sh \ | |
526 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS} | |
527 | ${GENSCRIPTS} alpha "$(tdir_alpha)" | |
f5ff60a6 AM |
528 | earcelf.c: $(srcdir)/emulparams/arcelf.sh \ |
529 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 RH |
530 | ${GENSCRIPTS} arcelf "$(tdir_arcelf)" |
531 | earmelf.c: $(srcdir)/emulparams/armelf.sh \ | |
8ded5a0f | 532 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
5f992e62 | 533 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 534 | ${GENSCRIPTS} armelf "$(tdir_armelf)" |
d2012d17 | 535 | earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \ |
8ded5a0f | 536 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
d2012d17 DJ |
537 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
538 | ${GENSCRIPTS} armelfb "$(tdir_armelfb)" | |
28912fd9 DB |
539 | earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \ |
540 | $(srcdir)/emulparams/armelf.sh \ | |
8ded5a0f | 541 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
28912fd9 DB |
542 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
543 | ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)" | |
252b5132 | 544 | earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ |
8ded5a0f | 545 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
5f992e62 | 546 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 547 | ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" |
6b3221b4 MM |
548 | earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \ |
549 | $(srcdir)/emulparams/armelf_linux.sh \ | |
8ded5a0f | 550 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
6b3221b4 MM |
551 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
552 | ${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)" | |
d2012d17 DJ |
553 | earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \ |
554 | $(srcdir)/emulparams/armelf_linux.sh \ | |
8ded5a0f | 555 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
d2012d17 DJ |
556 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
557 | ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)" | |
a154a8ad MM |
558 | earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \ |
559 | $(srcdir)/emulparams/armelf_linux_eabi.sh \ | |
560 | $(srcdir)/emulparams/armelf_linux.sh \ | |
8ded5a0f | 561 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
a154a8ad MM |
562 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
563 | ${GENSCRIPTS} armelfb_linux_eabi "$(tdir_armelfb_linux_abi)" | |
3695c299 AM |
564 | earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \ |
565 | $(srcdir)/emulparams/armelf.sh \ | |
8ded5a0f | 566 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
3695c299 AM |
567 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
568 | ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)" | |
658f2588 JT |
569 | earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \ |
570 | $(srcdir)/emulparams/armelf_nbsd.sh \ | |
571 | $(srcdir)/emulparams/armelf.sh \ | |
8ded5a0f | 572 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
658f2588 JT |
573 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
574 | ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)" | |
4e7fd91e | 575 | earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \ |
00a97672 | 576 | $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \ |
8ded5a0f | 577 | $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \ |
4e7fd91e PB |
578 | $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \ |
579 | ${GEN_DEPENDS} | |
580 | ${GENSCRIPTS} armelf_vxworks "$(tdir_armelf)" | |
252b5132 RH |
581 | earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ |
582 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
583 | ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" | |
584 | earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \ | |
585 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
586 | ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)" | |
587 | earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ | |
588 | $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} | |
589 | ${GENSCRIPTS} armcoff "$(tdir_armcoff)" | |
8959586a NC |
590 | earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ |
591 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
592 | ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" | |
7e392df6 | 593 | earmnto.c: $(srcdir)/emulparams/armnto.sh \ |
8ded5a0f | 594 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
7e392df6 NC |
595 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
596 | ${GENSCRIPTS} armnto "$(tdir_armnto)" | |
be2153ad | 597 | earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \ |
e6869249 | 598 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS} |
be2153ad | 599 | ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)" |
7148cc28 NC |
600 | earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \ |
601 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
602 | ${GENSCRIPTS} arm_wince_pe "$(tdir_armpe)" | |
252b5132 RH |
603 | earmpe.c: $(srcdir)/emulparams/armpe.sh \ |
604 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
605 | ${GENSCRIPTS} armpe "$(tdir_armpe)" | |
e5a52504 | 606 | earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \ |
8ded5a0f | 607 | $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \ |
5f81b918 | 608 | $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \ |
e5a52504 MM |
609 | ${GEN_DEPENDS} |
610 | ${GENSCRIPTS} armsymbian "$(tdir_armelf)" | |
8ded5a0f AM |
611 | eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \ |
612 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
fae1e84f | 613 | ${GEN_DEPENDS} |
75ca919a | 614 | ${GENSCRIPTS} avr2 "$(tdir_avr2)" |
8ded5a0f AM |
615 | eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \ |
616 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
fae1e84f | 617 | ${GEN_DEPENDS} |
75ca919a | 618 | ${GENSCRIPTS} avr1 "$(tdir_avr2)" |
7b21ac3f EW |
619 | eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \ |
620 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
621 | ${GEN_DEPENDS} | |
622 | ${GENSCRIPTS} avr25 "$(tdir_avr2)" | |
8ded5a0f AM |
623 | eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \ |
624 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
fae1e84f | 625 | ${GEN_DEPENDS} |
75ca919a | 626 | ${GENSCRIPTS} avr3 "$(tdir_avr2)" |
7b21ac3f EW |
627 | eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \ |
628 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
629 | ${GEN_DEPENDS} | |
630 | ${GENSCRIPTS} avr31 "$(tdir_avr2)" | |
631 | eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \ | |
632 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
633 | ${GEN_DEPENDS} | |
634 | ${GENSCRIPTS} avr35 "$(tdir_avr2)" | |
8ded5a0f AM |
635 | eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \ |
636 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
fae1e84f | 637 | ${GEN_DEPENDS} |
75ca919a | 638 | ${GENSCRIPTS} avr4 "$(tdir_avr2)" |
8ded5a0f AM |
639 | eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \ |
640 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
fae1e84f | 641 | ${GEN_DEPENDS} |
75ca919a | 642 | ${GENSCRIPTS} avr5 "$(tdir_avr2)" |
7b21ac3f EW |
643 | eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \ |
644 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
645 | ${GEN_DEPENDS} | |
646 | ${GENSCRIPTS} avr51 "$(tdir_avr2)" | |
8ded5a0f AM |
647 | eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \ |
648 | $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ | |
28c9d252 NC |
649 | ${GEN_DEPENDS} |
650 | ${GENSCRIPTS} avr6 "$(tdir_avr2)" | |
9d7e2ba5 JE |
651 | ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \ |
652 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS} | |
653 | ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)" | |
252b5132 RH |
654 | ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \ |
655 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS} | |
656 | ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)" | |
9d06555c HPN |
657 | ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \ |
658 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS} | |
659 | ${GENSCRIPTS} crisaout "$(tdir_cris)" | |
660 | ecriself.c: $(srcdir)/emulparams/criself.sh \ | |
8ded5a0f | 661 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
9d06555c HPN |
662 | ${GENSCRIPTS} criself "$(tdir_cris)" |
663 | ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \ | |
8ded5a0f | 664 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
9d06555c | 665 | ${GENSCRIPTS} crislinux "$(tdir_cris)" |
252b5132 | 666 | ed10velf.c: $(srcdir)/emulparams/d10velf.sh \ |
8ded5a0f | 667 | $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS} |
252b5132 | 668 | ${GENSCRIPTS} d10velf "$(tdir_d10v)" |
f5ff60a6 AM |
669 | ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ |
670 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
252b5132 | 671 | ${GENSCRIPTS} d30velf "$(tdir_d30v)" |
f5ff60a6 AM |
672 | ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ |
673 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
252b5132 | 674 | ${GENSCRIPTS} d30v_o "$(tdir_d30v)" |
f5ff60a6 AM |
675 | ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \ |
676 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
252b5132 RH |
677 | ${GENSCRIPTS} d30v_e "$(tdir_d30v)" |
678 | edelta68.c: $(srcdir)/emulparams/delta68.sh \ | |
679 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} | |
680 | ${GENSCRIPTS} delta68 "$(tdir_delta68)" | |
95f4309b | 681 | eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \ |
1bac266e | 682 | $(ELF_DEPS) \ |
95f4309b CM |
683 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
684 | ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin | |
753a4ce3 | 685 | eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh $(srcdir)/emulparams/bfin.sh \ |
1bac266e | 686 | $(ELF_DEPS) \ |
753a4ce3 BS |
687 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
688 | ${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd | |
d172d4ba | 689 | eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \ |
f5ff60a6 | 690 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS} |
d172d4ba | 691 | ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)" |
d70c5fc7 | 692 | eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \ |
8ded5a0f | 693 | $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \ |
d70c5fc7 NC |
694 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
695 | ${GENSCRIPTS} elf32xc16x "$(tdir_xc16x)" | |
696 | eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \ | |
8ded5a0f | 697 | $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \ |
d70c5fc7 NC |
698 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
699 | ${GENSCRIPTS} elf32xc16xl "$(tdir_xc16xl)" | |
700 | eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \ | |
8ded5a0f | 701 | $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \ |
d70c5fc7 | 702 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
5586bca1 | 703 | ${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)" |
93fbbb04 | 704 | eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \ |
8ded5a0f | 705 | $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \ |
1ee7cf4c | 706 | $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS} |
93fbbb04 | 707 | ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)" |
4a096548 | 708 | eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \ |
8ded5a0f | 709 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
4a096548 | 710 | ${GENSCRIPTS} elf32am33lin "$(tdir_mn10300)" |
ab68f3e0 | 711 | eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \ |
8ded5a0f | 712 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
ab68f3e0 | 713 | ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)" |
a9c70046 | 714 | eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \ |
43cd72b9 BW |
715 | $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \ |
716 | $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \ | |
e0001a05 NC |
717 | $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS} |
718 | ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)" | |
252b5132 | 719 | eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \ |
f5ff60a6 | 720 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 721 | ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)" |
7d553a40 | 722 | eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \ |
f5ff60a6 | 723 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
7d553a40 | 724 | ${GENSCRIPTS} elf32frv "$(tdir_frv)" |
8ded5a0f AM |
725 | eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \ |
726 | $(srcdir)/emulparams/elf32frv.sh \ | |
727 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
728 | ${GENSCRIPTS} elf32frvfd "$(tdir_frv)" | |
71acc4e8 | 729 | eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \ |
8ded5a0f | 730 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
71acc4e8 | 731 | ${GENSCRIPTS} elf32mcore "$(tdir_mcore)" |
19d9b7d3 DB |
732 | eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \ |
733 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS} | |
734 | ${GENSCRIPTS} elf32mep "$(tdir_mep)" | |
252b5132 | 735 | em32relf.c: $(srcdir)/emulparams/m32relf.sh \ |
8ded5a0f | 736 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 737 | ${GENSCRIPTS} m32relf "$(tdir_m32r)" |
6edf0760 | 738 | em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \ |
8ded5a0f | 739 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
6edf0760 NC |
740 | ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)" |
741 | em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \ | |
8ded5a0f | 742 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
6edf0760 NC |
743 | ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)" |
744 | em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \ | |
8ded5a0f | 745 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
6edf0760 | 746 | ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)" |
252b5132 | 747 | eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \ |
8ded5a0f | 748 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 749 | ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)" |
910600e9 RS |
750 | eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \ |
751 | $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \ | |
8ded5a0f | 752 | $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \ |
910600e9 RS |
753 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
754 | ${GENSCRIPTS} elf32_sparc_vxworks "$(tdir_elf32_sparc_vxworks)" | |
e9f53129 | 755 | eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \ |
cd4a7468 | 756 | $(srcdir)/emultempl/spu_ovl.o_c $(srcdir)/emultempl/spu_icache.o_c \ |
dc27aea4 | 757 | ldemul-list.h \ |
e9f53129 AM |
758 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
759 | ${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)" | |
cc9b841c | 760 | $(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S |
e9f53129 AM |
761 | if ../gas/as-new --version \ |
762 | | grep 'target.*spu' >/dev/null 2>/dev/null; then \ | |
43b5d01b | 763 | cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \ |
cc9b841c | 764 | ../gas/as-new -o spu_ovl.o spu_ovl.s; \ |
43b5d01b | 765 | ../binutils/bin2c <spu_ovl.o >$@; \ |
e9f53129 | 766 | fi |
cd4a7468 AM |
767 | $(srcdir)/emultempl/spu_icache.o_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S |
768 | if ../gas/as-new --version \ | |
769 | | grep 'target.*spu' >/dev/null 2>/dev/null; then \ | |
770 | cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \ | |
771 | ../gas/as-new -o spu_icache.o spu_icache.s; \ | |
772 | ../binutils/bin2c <spu_icache.o >$@; \ | |
773 | fi | |
165589e4 | 774 | eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \ |
f5ff60a6 | 775 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
165589e4 | 776 | ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)" |
0ccf812a | 777 | eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \ |
8ded5a0f | 778 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
0ccf812a | 779 | ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)" |
252b5132 | 780 | eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \ |
73934d31 RS |
781 | $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \ |
782 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 | 783 | ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)" |
3d3d428f NC |
784 | eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \ |
785 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/cr16elf.em \ | |
5586bca1 | 786 | $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS} |
3d3d428f | 787 | ${GENSCRIPTS} elf32cr16 "$(tdir_elf32crx)" |
0949843d | 788 | eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \ |
8ded5a0f | 789 | $(ELF_DEPS) \ |
0949843d NC |
790 | $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS} |
791 | ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)" | |
73934d31 RS |
792 | eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \ |
793 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 RH |
794 | ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)" |
795 | eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \ | |
73934d31 RS |
796 | $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \ |
797 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 | 798 | ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)" |
3548145d | 799 | eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \ |
73934d31 RS |
800 | $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \ |
801 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
3548145d | 802 | ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)" |
1fe1f39c | 803 | eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \ |
8ded5a0f | 804 | $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \ |
5586bca1 | 805 | $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS} |
1fe1f39c | 806 | ${GENSCRIPTS} elf32crx "$(tdir_elf32crx)" |
7808a785 | 807 | eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \ |
73934d31 RS |
808 | $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \ |
809 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
7808a785 | 810 | ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)" |
fdec3cfc | 811 | eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \ |
465bc359 | 812 | $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \ |
73934d31 RS |
813 | $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \ |
814 | ${GEN_DEPENDS} | |
fdec3cfc | 815 | ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)" |
7808a785 | 816 | eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \ |
73934d31 RS |
817 | $(srcdir)/emulparams/elf32btsmipn32.sh \ |
818 | $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \ | |
819 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
7808a785 | 820 | ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)" |
252b5132 | 821 | eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \ |
73934d31 RS |
822 | $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \ |
823 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 | 824 | ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)" |
0a44bf69 | 825 | eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \ |
73934d31 RS |
826 | $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \ |
827 | $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \ | |
828 | $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
0a44bf69 | 829 | ${GENSCRIPTS} elf32ebmipvxworks "$(tdir_elf32ebmipvxworks)" |
252b5132 | 830 | eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \ |
465bc359 | 831 | $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \ |
73934d31 RS |
832 | $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \ |
833 | ${GEN_DEPENDS} | |
252b5132 | 834 | ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)" |
0a44bf69 | 835 | eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \ |
73934d31 RS |
836 | $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \ |
837 | $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \ | |
838 | $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
0a44bf69 | 839 | ${GENSCRIPTS} elf32elmipvxworks "$(tdir_elf32elmipvxworks)" |
dc831978 | 840 | eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \ |
73934d31 RS |
841 | $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \ |
842 | $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \ | |
843 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
dc831978 | 844 | ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)" |
252b5132 | 845 | eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \ |
465bc359 | 846 | $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \ |
73934d31 RS |
847 | $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \ |
848 | ${GEN_DEPENDS} | |
252b5132 RH |
849 | ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)" |
850 | eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \ | |
73934d31 RS |
851 | $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \ |
852 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
252b5132 | 853 | ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)" |
73934d31 RS |
854 | eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \ |
855 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
325fab4e | 856 | ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)" |
8ded5a0f AM |
857 | eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \ |
858 | $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \ | |
859 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
860 | ${GENSCRIPTS} elf32m32c "$(tdir_m32c)" | |
861 | eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \ | |
f5ff60a6 | 862 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8ded5a0f | 863 | ${GENSCRIPTS} elf32mt "$(tdir_mt)" |
252b5132 | 864 | eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \ |
4a3dc543 | 865 | $(srcdir)/emulparams/elf32ppccommon.sh \ |
f9e6bfa8 | 866 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \ |
dc27aea4 | 867 | ldemul-list.h \ |
8ded5a0f | 868 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 869 | ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)" |
59bc061d | 870 | eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \ |
4a3dc543 | 871 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \ |
8ded5a0f | 872 | $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \ |
dc27aea4 | 873 | ldemul-list.h \ |
4a3dc543 | 874 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
59bc061d | 875 | ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)" |
bdbe5705 | 876 | eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \ |
465bc359 | 877 | $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \ |
4a3dc543 | 878 | $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \ |
dc27aea4 | 879 | ldemul-list.h \ |
8ded5a0f | 880 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
bdbe5705 | 881 | ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)" |
59bc061d | 882 | eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \ |
4a3dc543 | 883 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \ |
8ded5a0f | 884 | $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \ |
dc27aea4 | 885 | ldemul-list.h \ |
4a3dc543 | 886 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
59bc061d | 887 | ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)" |
4a1359d7 | 888 | eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \ |
8ded5a0f | 889 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
94349e12 | 890 | ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)" |
9d8504b1 | 891 | eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \ |
4a3dc543 | 892 | $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \ |
8ded5a0f | 893 | $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \ |
4f471f39 | 894 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
9d8504b1 | 895 | ${GENSCRIPTS} elf32ppcvxworks "$(tdir_elf32ppcvxworks)" |
252b5132 | 896 | eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \ |
465bc359 | 897 | $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \ |
73934d31 RS |
898 | $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \ |
899 | ${GEN_DEPENDS} | |
252b5132 | 900 | ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)" |
c7e40348 | 901 | eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \ |
8ded5a0f | 902 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
c7e40348 | 903 | ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)" |
4a3dc543 RS |
904 | eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \ |
905 | $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \ | |
dc27aea4 | 906 | ldemul-list.h \ |
8ded5a0f | 907 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 908 | ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)" |
28912fd9 | 909 | eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \ |
4a3dc543 | 910 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \ |
8ded5a0f | 911 | $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \ |
dc27aea4 | 912 | ldemul-list.h \ |
4a3dc543 | 913 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
28912fd9 | 914 | ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)" |
bdbe5705 | 915 | eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \ |
4a3dc543 | 916 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \ |
8ded5a0f | 917 | $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \ |
dc27aea4 | 918 | ldemul-list.h \ |
4a3dc543 | 919 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
bdbe5705 | 920 | ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)" |
ec2f040d | 921 | eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \ |
4a3dc543 | 922 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \ |
8ded5a0f | 923 | $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \ |
dc27aea4 | 924 | ldemul-list.h \ |
4a3dc543 | 925 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
ec2f040d | 926 | ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)" |
1f808cd5 | 927 | eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \ |
dc27aea4 | 928 | ldemul-list.h \ |
8ded5a0f | 929 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
5c67d4bb AM |
930 | ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)" |
931 | eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \ | |
1f808cd5 | 932 | $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \ |
dc27aea4 | 933 | ldemul-list.h \ |
8ded5a0f | 934 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
5c67d4bb | 935 | ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)" |
5b93d8bb | 936 | eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \ |
8ded5a0f | 937 | $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS} |
5b93d8bb | 938 | ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)" |
cf88bb9f | 939 | eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \ |
8ded5a0f | 940 | $(ELF_DEPS) $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS} |
cf88bb9f | 941 | ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)" |
e09a7106 | 942 | eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \ |
f5ff60a6 | 943 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS} |
e09a7106 SC |
944 | ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)" |
945 | eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \ | |
f5ff60a6 | 946 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS} |
9c8ebd6a | 947 | ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)" |
84e94c90 NC |
948 | eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \ |
949 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
950 | ${GENSCRIPTS} elf32lm32 "$(tdir_elf32lm32)" | |
951 | eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \ | |
952 | $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \ | |
953 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
954 | ${GENSCRIPTS} elf32lm32fd "$(tdir_elf32lm32fd)" | |
252b5132 | 955 | eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ |
8ded5a0f | 956 | $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \ |
7a5df8d0 | 957 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 958 | ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" |
28912fd9 DB |
959 | eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \ |
960 | $(srcdir)/emulparams/elf64alpha.sh \ | |
8ded5a0f | 961 | $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \ |
7a5df8d0 | 962 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
28912fd9 | 963 | ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)" |
fc18a3f3 RH |
964 | eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \ |
965 | $(srcdir)/emulparams/elf64alpha.sh \ | |
8ded5a0f | 966 | $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \ |
7a5df8d0 | 967 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
fc18a3f3 | 968 | ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)" |
730a39a0 | 969 | eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \ |
465bc359 | 970 | $(srcdir)/emulparams/hppa64linux.sh \ |
8ded5a0f | 971 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
730a39a0 | 972 | ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)" |
41c49998 | 973 | eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \ |
8ded5a0f | 974 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
41c49998 | 975 | ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)" |
800eeca4 | 976 | eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \ |
8ded5a0f | 977 | $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \ |
3f7deb8a | 978 | $(srcdir)/emultempl/needrelax.em \ |
908d20b3 | 979 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
800eeca4 | 980 | ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)" |
28912fd9 DB |
981 | eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \ |
982 | $(srcdir)/emulparams/elf64_ia64.sh \ | |
8ded5a0f | 983 | $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \ |
3f7deb8a | 984 | $(srcdir)/emultempl/needrelax.em \ |
28912fd9 DB |
985 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
986 | ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)" | |
a85d7ed0 | 987 | eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \ |
8ded5a0f | 988 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
a85d7ed0 | 989 | ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)" |
252b5132 | 990 | eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \ |
8ded5a0f | 991 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 992 | ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)" |
28912fd9 DB |
993 | eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \ |
994 | $(srcdir)/emulparams/elf64_sparc.sh \ | |
8ded5a0f | 995 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
28912fd9 | 996 | ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)" |
22c675a7 | 997 | eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \ |
94bb04b3 | 998 | $(srcdir)/emulparams/elf64bmip-defs.sh \ |
73934d31 RS |
999 | $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \ |
1000 | $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \ | |
1001 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
22c675a7 | 1002 | ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)" |
3c3bdf30 | 1003 | eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \ |
8ded5a0f | 1004 | $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \ |
3c3bdf30 NC |
1005 | $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1006 | ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)" | |
1007 | emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \ | |
8ded5a0f AM |
1008 | $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \ |
1009 | $(srcdir)/emultempl/mmo.em \ | |
3c3bdf30 NC |
1010 | $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS} |
1011 | ${GENSCRIPTS} mmo "$(tdir_mmo)" | |
fdec3cfc | 1012 | eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \ |
94bb04b3 | 1013 | $(srcdir)/emulparams/elf64bmip-defs.sh \ |
73934d31 RS |
1014 | $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \ |
1015 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
fdec3cfc L |
1016 | ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)" |
1017 | eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \ | |
94bb04b3 | 1018 | $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \ |
73934d31 RS |
1019 | $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \ |
1020 | $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
fdec3cfc | 1021 | ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)" |
252b5132 | 1022 | eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \ |
8ded5a0f | 1023 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1024 | ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)" |
2be3aa03 | 1025 | eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \ |
8ded5a0f | 1026 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
2be3aa03 | 1027 | ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)" |
28912fd9 DB |
1028 | eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \ |
1029 | $(srcdir)/emulparams/elf_x86_64.sh \ | |
8ded5a0f | 1030 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
28912fd9 | 1031 | ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)" |
252b5132 | 1032 | eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \ |
8ded5a0f | 1033 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1034 | ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)" |
dca7760f | 1035 | eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \ |
8ded5a0f | 1036 | $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS} |
dca7760f | 1037 | ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)" |
28912fd9 DB |
1038 | eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \ |
1039 | $(srcdir)/emulparams/elf_i386.sh \ | |
8ded5a0f | 1040 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
28912fd9 | 1041 | ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)" |
506eee22 | 1042 | eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \ |
8ded5a0f | 1043 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
506eee22 | 1044 | ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)" |
eac338cf | 1045 | eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \ |
4f471f39 | 1046 | $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \ |
8ded5a0f | 1047 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
eac338cf | 1048 | ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)" |
a85d7ed0 | 1049 | eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \ |
8ded5a0f | 1050 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
a85d7ed0 | 1051 | ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)" |
252b5132 RH |
1052 | egld960.c: $(srcdir)/emulparams/gld960.sh \ |
1053 | $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
1054 | ${GENSCRIPTS} gld960 "$(tdir_gld960)" | |
1055 | egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \ | |
1056 | $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
1057 | ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)" | |
252b5132 RH |
1058 | eh8300.c: $(srcdir)/emulparams/h8300.sh \ |
1059 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS} | |
1060 | ${GENSCRIPTS} h8300 "$(tdir_h8300)" | |
1061 | eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ | |
1062 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS} | |
1063 | ${GENSCRIPTS} h8300h "$(tdir_h8300h)" | |
1064 | eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ | |
1065 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} | |
1066 | ${GENSCRIPTS} h8300s "$(tdir_h8300s)" | |
8d9cd6b1 NC |
1067 | eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \ |
1068 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS} | |
1069 | ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)" | |
1070 | eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \ | |
1071 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS} | |
1072 | ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)" | |
65982ba6 MS |
1073 | eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \ |
1074 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS} | |
1075 | ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)" | |
f4984206 RS |
1076 | eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \ |
1077 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS} | |
1078 | ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)" | |
8af6dd41 | 1079 | eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \ |
8ded5a0f | 1080 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8af6dd41 JR |
1081 | ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)" |
1082 | eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \ | |
465bc359 | 1083 | $(srcdir)/emulparams/h8300elf.sh \ |
8ded5a0f | 1084 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8af6dd41 JR |
1085 | ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)" |
1086 | eh8300self.c: $(srcdir)/emulparams/h8300self.sh \ | |
465bc359 | 1087 | $(srcdir)/emulparams/h8300elf.sh \ |
8ded5a0f | 1088 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8af6dd41 | 1089 | ${GENSCRIPTS} h8300self "$(tdir_h8300self)" |
8d9cd6b1 NC |
1090 | eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \ |
1091 | $(srcdir)/emulparams/h8300elf.sh \ | |
8ded5a0f | 1092 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8d9cd6b1 NC |
1093 | ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)" |
1094 | eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \ | |
1095 | $(srcdir)/emulparams/h8300elf.sh \ | |
8ded5a0f | 1096 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8d9cd6b1 | 1097 | ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)" |
65982ba6 MS |
1098 | eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \ |
1099 | $(srcdir)/emulparams/h8300elf.sh \ | |
8ded5a0f | 1100 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
65982ba6 | 1101 | ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)" |
f4984206 RS |
1102 | eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \ |
1103 | $(srcdir)/emulparams/h8300elf.sh \ | |
8ded5a0f | 1104 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
f4984206 | 1105 | ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)" |
252b5132 RH |
1106 | eh8500.c: $(srcdir)/emulparams/h8500.sh \ |
1107 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} | |
1108 | ${GENSCRIPTS} h8500 "$(tdir_h8500)" | |
1109 | eh8500b.c: $(srcdir)/emulparams/h8500b.sh \ | |
1110 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS} | |
1111 | ${GENSCRIPTS} h8500b "$(tdir_h8500b)" | |
1112 | eh8500c.c: $(srcdir)/emulparams/h8500c.sh \ | |
1113 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS} | |
1114 | ${GENSCRIPTS} h8500c "$(tdir_h8500c)" | |
1115 | eh8500m.c: $(srcdir)/emulparams/h8500m.sh \ | |
1116 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS} | |
1117 | ${GENSCRIPTS} h8500m "$(tdir_h8500m)" | |
1118 | eh8500s.c: $(srcdir)/emulparams/h8500s.sh \ | |
1119 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS} | |
1120 | ${GENSCRIPTS} h8500s "$(tdir_h8500s)" | |
1121 | ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ | |
1122 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1123 | ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)" | |
1124 | ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ | |
1125 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1126 | ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)" | |
730a39a0 | 1127 | ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ |
8ded5a0f | 1128 | $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \ |
5f992e62 | 1129 | $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} |
730a39a0 | 1130 | ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)" |
4900fc06 | 1131 | ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \ |
8ded5a0f | 1132 | $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \ |
5f992e62 | 1133 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
4900fc06 | 1134 | ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)" |
006336b8 JT |
1135 | ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \ |
1136 | $(srcdir)/emulparams/hppaelf.sh \ | |
8ded5a0f | 1137 | $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \ |
006336b8 JT |
1138 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1139 | ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)" | |
c29ef4b5 | 1140 | ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \ |
8ded5a0f | 1141 | $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \ |
c29ef4b5 AM |
1142 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1143 | ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)" | |
9f22353f | 1144 | ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \ |
8ded5a0f | 1145 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
9f22353f | 1146 | ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)" |
252b5132 RH |
1147 | ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ |
1148 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1149 | ${GENSCRIPTS} i386aout "$(tdir_i386aout)" | |
1150 | ei386beos.c: $(srcdir)/emulparams/i386beos.sh \ | |
1151 | $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS} | |
1152 | ${GENSCRIPTS} i386beos "$(tdir_i386beos)" | |
1153 | ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \ | |
1154 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1155 | ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)" | |
1156 | ei386coff.c: $(srcdir)/emulparams/i386coff.sh \ | |
1157 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS} | |
1158 | ${GENSCRIPTS} i386coff "$(tdir_i386coff)" | |
1159 | ei386go32.c: $(srcdir)/emulparams/i386go32.sh \ | |
1160 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS} | |
1161 | ${GENSCRIPTS} i386go32 "$(tdir_i386go32)" | |
1162 | ei386linux.c: $(srcdir)/emulparams/i386linux.sh \ | |
1163 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1164 | ${GENSCRIPTS} i386linux "$(tdir_i386linux)" | |
1165 | ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \ | |
8ded5a0f | 1166 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 RH |
1167 | ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)" |
1168 | ei386mach.c: $(srcdir)/emulparams/i386mach.sh \ | |
1169 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1170 | ${GENSCRIPTS} i386mach "$(tdir_i386mach)" | |
1171 | ei386moss.c: $(srcdir)/emulparams/i386moss.sh \ | |
8ded5a0f | 1172 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 RH |
1173 | ${GENSCRIPTS} i386moss "$(tdir_i386moss)" |
1174 | ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \ | |
1175 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS} | |
1176 | ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)" | |
1177 | ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \ | |
1178 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1179 | ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)" | |
a0cb91c6 | 1180 | ei386nto.c: $(srcdir)/emulparams/i386nto.sh \ |
8ded5a0f | 1181 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
a0cb91c6 | 1182 | ${GENSCRIPTS} i386nto "$(tdir_i386nto)" |
252b5132 | 1183 | ei386nw.c: $(srcdir)/emulparams/i386nw.sh \ |
8ded5a0f | 1184 | $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} |
252b5132 RH |
1185 | ${GENSCRIPTS} i386nw "$(tdir_i386nw)" |
1186 | ei386pe.c: $(srcdir)/emulparams/i386pe.sh \ | |
1187 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1188 | ${GENSCRIPTS} i386pe "$(tdir_i386pe)" | |
a7e78dae ILT |
1189 | ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \ |
1190 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1191 | ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)" | |
99ad8390 NC |
1192 | ei386pep.c: $(srcdir)/emulparams/i386pep.sh \ |
1193 | $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS} | |
1194 | ${GENSCRIPTS} i386pep "$(tdir_i386pe)" | |
252b5132 RH |
1195 | elnk960.c: $(srcdir)/emulparams/lnk960.sh \ |
1196 | $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
1197 | ${GENSCRIPTS} lnk960 "$(tdir_lnk960)" | |
60bcf0fa | 1198 | em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \ |
8ded5a0f | 1199 | $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \ |
0c7a8e5a | 1200 | $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} |
60bcf0fa NC |
1201 | ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)" |
1202 | em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \ | |
8ded5a0f | 1203 | $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \ |
0c7a8e5a | 1204 | $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} |
60bcf0fa NC |
1205 | ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)" |
1206 | em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \ | |
8ded5a0f | 1207 | $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \ |
0c7a8e5a | 1208 | $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} |
60bcf0fa NC |
1209 | ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)" |
1210 | em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \ | |
8ded5a0f | 1211 | $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \ |
0c7a8e5a | 1212 | $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} |
60bcf0fa | 1213 | ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)" |
252b5132 RH |
1214 | em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ |
1215 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1216 | ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)" | |
1217 | em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ | |
1218 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1219 | ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)" | |
1220 | em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ | |
1221 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} | |
1222 | ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)" | |
1223 | em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ | |
20bccb34 | 1224 | $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} |
252b5132 RH |
1225 | ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)" |
1226 | em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ | |
8ded5a0f | 1227 | $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \ |
0752970e | 1228 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1229 | ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" |
0b69cd08 MG |
1230 | em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ |
1231 | $(srcdir)/emulparams/m68kelf.sh \ | |
8ded5a0f | 1232 | $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \ |
0b69cd08 MG |
1233 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1234 | ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)" | |
252b5132 RH |
1235 | em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ |
1236 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1237 | ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" | |
252b5132 RH |
1238 | em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ |
1239 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1240 | ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" | |
1241 | em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ | |
8ded5a0f | 1242 | $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} |
252b5132 RH |
1243 | ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" |
1244 | em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \ | |
1245 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS} | |
1246 | ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)" | |
7499d566 NC |
1247 | emaxqcoff.c: $(srcdir)/emulparams/maxqcoff.sh \ |
1248 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/maxqcoff.sc ${GEN_DEPENDS} | |
1249 | ${GENSCRIPTS} maxqcoff "$(tdir_maxqcoff)" | |
71acc4e8 NC |
1250 | emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \ |
1251 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1252 | ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)" | |
73934d31 | 1253 | emipsbig.c: $(srcdir)/emulparams/mipsbig.sh $(srcdir)/emultempl/generic.em \ |
0f82ff91 | 1254 | $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
73934d31 RS |
1255 | ${GENSCRIPTS} mipsbig "$(tdir_mipsbig)" |
1256 | emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh $(srcdir)/emultempl/generic.em \ | |
1257 | $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS} | |
1258 | ${GENSCRIPTS} mipsbsd "$(tdir_mipsbsd)" | |
1259 | emipsidt.c: $(srcdir)/emulparams/mipsidt.sh $(srcdir)/emultempl/generic.em \ | |
1260 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \ | |
1261 | ${GEN_DEPENDS} | |
252b5132 | 1262 | ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)" |
73934d31 RS |
1263 | emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh $(srcdir)/emultempl/generic.em \ |
1264 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \ | |
1265 | ${GEN_DEPENDS} | |
252b5132 | 1266 | ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)" |
73934d31 RS |
1267 | emipslit.c: $(srcdir)/emulparams/mipslit.sh $(srcdir)/emultempl/generic.em \ |
1268 | $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
252b5132 | 1269 | ${GENSCRIPTS} mipslit "$(tdir_mipslit)" |
73934d31 | 1270 | emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \ |
252b5132 | 1271 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
73934d31 RS |
1272 | ${GENSCRIPTS} mipslnews "$(tdir_mipslnews)" |
1273 | emipspe.c: $(srcdir)/emulparams/mipspe.sh $(srcdir)/emultempl/pe.em \ | |
1274 | $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1275 | ${GENSCRIPTS} mipspe "$(tdir_mipspe)" | |
252b5132 | 1276 | emn10300.c: $(srcdir)/emulparams/mn10300.sh \ |
465bc359 | 1277 | $(srcdir)/emulparams/mn10200.sh \ |
8ded5a0f | 1278 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 RH |
1279 | ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" |
1280 | emn10200.c: $(srcdir)/emulparams/mn10200.sh \ | |
f5ff60a6 | 1281 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1282 | ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" |
aafdb207 | 1283 | emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1284 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1285 | ${GEN_DEPENDS} |
1286 | ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all | |
aafdb207 | 1287 | emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1288 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1289 | ${GEN_DEPENDS} |
1290 | ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all | |
aafdb207 | 1291 | emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1292 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1293 | ${GEN_DEPENDS} |
1294 | ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all | |
aafdb207 | 1295 | emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1296 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1297 | ${GEN_DEPENDS} |
1298 | ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all | |
aafdb207 | 1299 | emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1300 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1301 | ${GEN_DEPENDS} |
1302 | ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all | |
aafdb207 | 1303 | emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1304 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1305 | ${GEN_DEPENDS} |
1306 | ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all | |
aafdb207 | 1307 | emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1308 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1309 | ${GEN_DEPENDS} |
1310 | ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all | |
aafdb207 | 1311 | emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1312 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1313 | ${GEN_DEPENDS} |
1314 | ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all | |
aafdb207 | 1315 | emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1316 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1317 | ${GEN_DEPENDS} |
1318 | ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all | |
aafdb207 | 1319 | emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1320 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1321 | ${GEN_DEPENDS} |
1322 | ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all | |
aafdb207 | 1323 | emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1324 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1325 | ${GEN_DEPENDS} |
1326 | ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all | |
aafdb207 | 1327 | emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1328 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1329 | ${GEN_DEPENDS} |
1330 | ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all | |
aafdb207 | 1331 | emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1332 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1333 | ${GEN_DEPENDS} |
1334 | ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all | |
aafdb207 | 1335 | emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1336 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1337 | ${GEN_DEPENDS} |
1338 | ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all | |
aafdb207 | 1339 | emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1340 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1341 | ${GEN_DEPENDS} |
1342 | ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all | |
aafdb207 | 1343 | emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1344 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1345 | ${GEN_DEPENDS} |
1346 | ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all | |
aafdb207 | 1347 | emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1348 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1349 | ${GEN_DEPENDS} |
1350 | ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all | |
aafdb207 | 1351 | emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1352 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1353 | ${GEN_DEPENDS} |
1354 | ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all | |
aafdb207 | 1355 | emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1356 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1357 | ${GEN_DEPENDS} |
1358 | ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all | |
aafdb207 | 1359 | emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1360 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1361 | ${GEN_DEPENDS} |
1362 | ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all | |
aafdb207 | 1363 | emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1364 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1365 | ${GEN_DEPENDS} |
1366 | ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all | |
aafdb207 | 1367 | emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1368 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1369 | ${GEN_DEPENDS} |
1370 | ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all | |
aafdb207 | 1371 | emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1372 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1373 | ${GEN_DEPENDS} |
1374 | ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all | |
aafdb207 | 1375 | emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1376 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1377 | ${GEN_DEPENDS} |
1378 | ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all | |
c05e9f04 | 1379 | emsp430x1610.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1380 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1381 | ${GEN_DEPENDS} |
1382 | ${GENSCRIPTS} msp430x1610 "$(tdir_msp430x1610)" msp430all | |
1383 | emsp430x1611.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1384 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1385 | ${GEN_DEPENDS} |
1386 | ${GENSCRIPTS} msp430x1611 "$(tdir_msp430x1611)" msp430all | |
1387 | emsp430x1612.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1388 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1389 | ${GEN_DEPENDS} |
1390 | ${GENSCRIPTS} msp430x1612 "$(tdir_msp430x1612)" msp430all | |
44c86e8c | 1391 | emsp430x2101.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1392 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
44c86e8c NC |
1393 | ${GEN_DEPENDS} |
1394 | ${GENSCRIPTS} msp430x2101 "$(tdir_msp430x2101)" msp430all | |
1395 | emsp430x2111.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1396 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
44c86e8c NC |
1397 | ${GEN_DEPENDS} |
1398 | ${GENSCRIPTS} msp430x2111 "$(tdir_msp430x2111)" msp430all | |
1399 | emsp430x2121.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1400 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
44c86e8c NC |
1401 | ${GEN_DEPENDS} |
1402 | ${GENSCRIPTS} msp430x2121 "$(tdir_msp430x2121)" msp430all | |
1403 | emsp430x2131.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1404 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
44c86e8c NC |
1405 | ${GEN_DEPENDS} |
1406 | ${GENSCRIPTS} msp430x2131 "$(tdir_msp430x2131)" msp430all | |
aafdb207 | 1407 | emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1408 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1409 | ${GEN_DEPENDS} |
1410 | ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all | |
aafdb207 | 1411 | emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1412 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1413 | ${GEN_DEPENDS} |
1414 | ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all | |
aafdb207 | 1415 | emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1416 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1417 | ${GEN_DEPENDS} |
1418 | ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all | |
aafdb207 | 1419 | emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1420 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1421 | ${GEN_DEPENDS} |
1422 | ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all | |
aafdb207 | 1423 | emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1424 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1425 | ${GEN_DEPENDS} |
1426 | ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all | |
aafdb207 | 1427 | emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1428 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1429 | ${GEN_DEPENDS} |
1430 | ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all | |
aafdb207 | 1431 | emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1432 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1433 | ${GEN_DEPENDS} |
1434 | ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all | |
aafdb207 | 1435 | emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1436 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1437 | ${GEN_DEPENDS} |
1438 | ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all | |
aafdb207 | 1439 | emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1440 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \ |
8fbdf3ab AM |
1441 | ${GEN_DEPENDS} |
1442 | ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all | |
aafdb207 | 1443 | emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1444 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1445 | ${GEN_DEPENDS} |
1446 | ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all | |
aafdb207 | 1447 | emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1448 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1449 | ${GEN_DEPENDS} |
1450 | ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all | |
c05e9f04 | 1451 | emsp430x415.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1452 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1453 | ${GEN_DEPENDS} |
1454 | ${GENSCRIPTS} msp430x415 "$(tdir_msp430x415)" msp430all | |
1455 | emsp430x417.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1456 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1457 | ${GEN_DEPENDS} |
1458 | ${GENSCRIPTS} msp430x417 "$(tdir_msp430x417)" msp430all | |
aafdb207 | 1459 | emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1460 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1461 | ${GEN_DEPENDS} |
1462 | ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all | |
aafdb207 | 1463 | emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1464 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1465 | ${GEN_DEPENDS} |
1466 | ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all | |
aafdb207 | 1467 | emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1468 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1469 | ${GEN_DEPENDS} |
1470 | ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all | |
aafdb207 | 1471 | emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1472 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1473 | ${GEN_DEPENDS} |
1474 | ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all | |
aafdb207 | 1475 | emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1476 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1477 | ${GEN_DEPENDS} |
1478 | ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all | |
aafdb207 | 1479 | emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1480 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1481 | ${GEN_DEPENDS} |
1482 | ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all | |
c05e9f04 | 1483 | emsp430xG437.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1484 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1485 | ${GEN_DEPENDS} |
1486 | ${GENSCRIPTS} msp430xG437 "$(tdir_msp430xG437)" msp430all | |
1487 | emsp430xG438.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1488 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1489 | ${GEN_DEPENDS} |
1490 | ${GENSCRIPTS} msp430xG438 "$(tdir_msp430xG438)" msp430all | |
1491 | emsp430xG439.c: $(srcdir)/emulparams/msp430all.sh \ | |
f5ff60a6 | 1492 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
c05e9f04 NC |
1493 | ${GEN_DEPENDS} |
1494 | ${GENSCRIPTS} msp430xG439 "$(tdir_msp430xG439)" msp430all | |
aafdb207 | 1495 | emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1496 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1497 | ${GEN_DEPENDS} |
1498 | ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all | |
aafdb207 | 1499 | emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1500 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1501 | ${GEN_DEPENDS} |
1502 | ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all | |
aafdb207 | 1503 | emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1504 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1505 | ${GEN_DEPENDS} |
1506 | ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all | |
aafdb207 | 1507 | emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1508 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1509 | ${GEN_DEPENDS} |
1510 | ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all | |
aafdb207 | 1511 | emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1512 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1513 | ${GEN_DEPENDS} |
1514 | ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all | |
aafdb207 | 1515 | emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \ |
f5ff60a6 | 1516 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \ |
8fbdf3ab AM |
1517 | ${GEN_DEPENDS} |
1518 | ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all | |
252b5132 RH |
1519 | enews.c: $(srcdir)/emulparams/news.sh \ |
1520 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1521 | ${GENSCRIPTS} news "$(tdir_news)" | |
1522 | ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ | |
f2241121 AM |
1523 | $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \ |
1524 | $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
252b5132 | 1525 | ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)" |
3b16e843 NC |
1526 | eor32.c: $(srcdir)/emulparams/or32.sh \ |
1527 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS} | |
1528 | ${GENSCRIPTS} or32 "$(tdir_or32)" | |
1529 | eor32elf.c: $(srcdir)/emulparams/or32elf.sh \ | |
f5ff60a6 | 1530 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
3b16e843 | 1531 | ${GENSCRIPTS} or32elf "$(tdir_or32elf)" |
252b5132 RH |
1532 | epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \ |
1533 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1534 | ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)" | |
e135f41b NC |
1535 | epdp11.c: $(srcdir)/emulparams/pdp11.sh \ |
1536 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1537 | ${GENSCRIPTS} pdp11 "$(tdir_pdp11)" | |
c6c8c6dc | 1538 | epjelf.c: $(srcdir)/emulparams/pjelf.sh \ |
f5ff60a6 | 1539 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
c6c8c6dc | 1540 | ${GENSCRIPTS} pjelf "$(tdir_pjelf)" |
8ded5a0f | 1541 | epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \ |
f5ff60a6 | 1542 | $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
c6c8c6dc | 1543 | ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)" |
252b5132 RH |
1544 | eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \ |
1545 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
1546 | ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)" | |
1547 | eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \ | |
8ded5a0f | 1548 | $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} |
252b5132 RH |
1549 | ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)" |
1550 | eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \ | |
1551 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS} | |
1552 | ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)" | |
b2d65c0b | 1553 | eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \ |
8ded5a0f | 1554 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
b2d65c0b | 1555 | ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)" |
252b5132 RH |
1556 | eriscix.c: $(srcdir)/emulparams/riscix.sh \ |
1557 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1558 | ${GENSCRIPTS} riscix "$(tdir_riscix)" | |
1c0d3aa6 NC |
1559 | escoreelf.c: $(srcdir)/emulparams/scoreelf.sh \ |
1560 | $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/scoreelf.em \ | |
1561 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1562 | ${GENSCRIPTS} scoreelf "$(tdir_scoreelf)" | |
252b5132 RH |
1563 | esh.c: $(srcdir)/emulparams/sh.sh \ |
1564 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} | |
1565 | ${GENSCRIPTS} sh "$(tdir_sh)" | |
1566 | eshelf.c: $(srcdir)/emulparams/shelf.sh \ | |
8ded5a0f | 1567 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1568 | ${GENSCRIPTS} shelf "$(tdir_shelf)" |
2d92cb7d AO |
1569 | eshelf32.c: $(srcdir)/emulparams/shelf32.sh \ |
1570 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \ | |
1571 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
8ded5a0f | 1572 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
2d92cb7d | 1573 | ${GENSCRIPTS} shelf32 "$(tdir_shelf32)" |
a2b3c630 SC |
1574 | eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \ |
1575 | $(srcdir)/emulparams/shelf32.sh \ | |
1576 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \ | |
1577 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
8ded5a0f | 1578 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
a2b3c630 | 1579 | ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)" |
5b0e55b6 JT |
1580 | eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \ |
1581 | $(srcdir)/emulparams/shelf32.sh \ | |
1582 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \ | |
1583 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
8ded5a0f | 1584 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
5b0e55b6 | 1585 | ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)" |
2d92cb7d | 1586 | eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \ |
8ded5a0f | 1587 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
2d92cb7d | 1588 | ${GENSCRIPTS} shelf64 "$(tdir_shelf64)" |
5b0e55b6 JT |
1589 | eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \ |
1590 | $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \ | |
8ded5a0f | 1591 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
5b0e55b6 | 1592 | ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)" |
4a428502 | 1593 | eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \ |
465bc359 | 1594 | $(srcdir)/emulparams/shlelf_linux.sh \ |
8ded5a0f | 1595 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
4a428502 AO |
1596 | ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)" |
1597 | eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \ | |
8ded5a0f | 1598 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
4a428502 | 1599 | ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)" |
8d05742f JT |
1600 | eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \ |
1601 | $(srcdir)/emulparams/shelf.sh \ | |
8ded5a0f | 1602 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8d05742f | 1603 | ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)" |
ed71e111 | 1604 | eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \ |
8ded5a0f | 1605 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
ed71e111 | 1606 | ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)" |
55e6e397 RS |
1607 | eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \ |
1608 | $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \ | |
1609 | $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS} | |
1610 | ${GENSCRIPTS} shelf_vxworks "$(tdir_shelf_vxworks)" | |
8d05742f JT |
1611 | eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \ |
1612 | $(srcdir)/emulparams/shelf_nbsd.sh \ | |
1613 | $(srcdir)/emulparams/shelf.sh \ | |
8ded5a0f | 1614 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
8d05742f | 1615 | ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)" |
ed71e111 | 1616 | eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \ |
8ded5a0f | 1617 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
ed71e111 | 1618 | ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)" |
55e6e397 RS |
1619 | eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \ |
1620 | $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \ | |
1621 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \ | |
1622 | ${GEN_DEPENDS} | |
1623 | ${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)" | |
ed6ba298 NS |
1624 | eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \ |
1625 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1626 | ${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)" | |
252b5132 | 1627 | eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ |
465bc359 | 1628 | $(srcdir)/emulparams/shelf.sh \ |
8ded5a0f | 1629 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
252b5132 | 1630 | ${GENSCRIPTS} shlelf "$(tdir_shlelf)" |
85fbca6a NC |
1631 | eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \ |
1632 | $(srcdir)/emulparams/shelf.sh \ | |
8ded5a0f | 1633 | $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS} |
85fbca6a | 1634 | ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)" |
2d92cb7d AO |
1635 | eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \ |
1636 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \ | |
1637 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
8ded5a0f | 1638 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
2d92cb7d | 1639 | ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)" |
a2b3c630 SC |
1640 | eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \ |
1641 | $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \ | |
1642 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \ | |
1643 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
8ded5a0f | 1644 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
a2b3c630 | 1645 | ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)" |
5b0e55b6 JT |
1646 | eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \ |
1647 | $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \ | |
1648 | $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \ | |
1649 | $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ | |
8ded5a0f | 1650 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
5b0e55b6 | 1651 | ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)" |
2d92cb7d AO |
1652 | eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \ |
1653 | $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \ | |
8ded5a0f | 1654 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
2d92cb7d | 1655 | ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)" |
5b0e55b6 JT |
1656 | eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \ |
1657 | $(srcdir)/emulparams/shelf64_nbsd.sh \ | |
1658 | $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \ | |
8ded5a0f | 1659 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
5b0e55b6 | 1660 | ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)" |
252b5132 | 1661 | eshl.c: $(srcdir)/emulparams/shl.sh \ |
465bc359 | 1662 | $(srcdir)/emulparams/sh.sh \ |
252b5132 RH |
1663 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} |
1664 | ${GENSCRIPTS} shl "$(tdir_shl)" | |
344a211f NC |
1665 | eshpe.c: $(srcdir)/emulparams/shpe.sh \ |
1666 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1667 | ${GENSCRIPTS} shpe "$(tdir_shl)" | |
252b5132 RH |
1668 | esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ |
1669 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1670 | ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" | |
1671 | esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ | |
1672 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1673 | ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)" | |
252b5132 RH |
1674 | esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ |
1675 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1676 | ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)" | |
1677 | est2000.c: $(srcdir)/emulparams/st2000.sh \ | |
1678 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS} | |
1679 | ${GENSCRIPTS} st2000 "$(tdir_st2000)" | |
1680 | esun3.c: $(srcdir)/emulparams/sun3.sh \ | |
1681 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1682 | ${GENSCRIPTS} sun3 "$(tdir_sun3)" | |
1683 | esun4.c: $(srcdir)/emulparams/sun4.sh \ | |
1684 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1685 | ${GENSCRIPTS} sun4 "$(tdir_sun4)" | |
1686 | etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \ | |
1687 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS} | |
1688 | ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)" | |
1689 | etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \ | |
1690 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS} | |
1691 | ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)" | |
0da35f8b SS |
1692 | etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \ |
1693 | $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS} | |
1694 | ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)" | |
1695 | etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \ | |
1696 | $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS} | |
019ac0e3 | 1697 | ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)" |
026df7c5 NC |
1698 | etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \ |
1699 | $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS} | |
1700 | ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)" | |
74459f0e TW |
1701 | etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \ |
1702 | $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS} | |
1703 | ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)" | |
252b5132 RH |
1704 | etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \ |
1705 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS} | |
1706 | ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)" | |
1707 | evanilla.c: $(srcdir)/emulparams/vanilla.sh \ | |
1708 | $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS} | |
1709 | ${GENSCRIPTS} vanilla "$(tdir_vanilla)" | |
1710 | evax.c: $(srcdir)/emulparams/vax.sh \ | |
1711 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1712 | ${GENSCRIPTS} vax "$(tdir_vax)" | |
ab68f3e0 JT |
1713 | evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \ |
1714 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1715 | ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)" | |
252b5132 RH |
1716 | evsta.c: $(srcdir)/emulparams/vsta.sh \ |
1717 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1718 | ${GENSCRIPTS} vsta "$(tdir_vsta)" | |
1719 | ev850.c: $(srcdir)/emulparams/v850.sh \ | |
8ded5a0f | 1720 | $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS} |
252b5132 RH |
1721 | ${GENSCRIPTS} v850 "$(tdir_v850)" |
1722 | ew65.c: $(srcdir)/emulparams/w65.sh \ | |
1723 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS} | |
1724 | ${GENSCRIPTS} w65 "$(tdir_w65)" | |
3c9b82ba NC |
1725 | ez80.c: $(srcdir)/emulparams/z80.sh \ |
1726 | $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \ | |
1727 | $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS} | |
1728 | ${GENSCRIPTS} z80 "$(tdir_z80)" | |
252b5132 RH |
1729 | ez8001.c: $(srcdir)/emulparams/z8001.sh \ |
1730 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
1731 | ${GENSCRIPTS} z8001 "$(tdir_z8001)" | |
1732 | ez8002.c: $(srcdir)/emulparams/z8002.sh \ | |
1733 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
1734 | ${GENSCRIPTS} z8002 "$(tdir_z8002)" | |
1735 | ||
67798033 L |
1736 | # We need this for automake to use YLWRAP. |
1737 | EXTRA_ld_new_SOURCES = deffilep.y | |
1738 | ||
252b5132 | 1739 | ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ |
f36d5d55 | 1740 | ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c |
20e95c23 DJ |
1741 | ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP) |
1742 | ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL) | |
252b5132 RH |
1743 | |
1744 | # The generated emulation files mostly have the same dependencies. | |
1745 | $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \ | |
1746 | ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \ | |
1747 | ldctor.h ldexp.h ldlang.h ldgram.h | |
1748 | ||
1749 | # This is the real libbfd.a created by libtool. | |
1750 | TESTBFDLIB = @TESTBFDLIB@ | |
1751 | ||
1752 | check-DEJAGNU: site.exp | |
1753 | srcroot=`cd $(srcdir) && pwd`; export srcroot; \ | |
1754 | r=`pwd`; export r; \ | |
9282ff41 | 1755 | LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \ |
252b5132 | 1756 | EXPECT=$(EXPECT); export EXPECT; \ |
252b5132 RH |
1757 | runtest=$(RUNTEST); \ |
1758 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
1759 | $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ | |
1760 | CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ | |
1761 | CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \ | |
1762 | CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \ | |
1763 | OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \ | |
20e95c23 | 1764 | LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \ |
252b5132 RH |
1765 | $(RUNTESTFLAGS); \ |
1766 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ | |
1767 | fi | |
1768 | ||
1769 | # Rules for testing by relinking ld itself. | |
1770 | # A similar test is in the testsuite. This target is for ease of use | |
1771 | # when porting ld. | |
1772 | ||
1773 | ld-partial.o: ld-new$(EXEEXT) | |
1774 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) | |
1775 | ld1$(EXEEXT): ld-partial.o | |
af28fce3 | 1776 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1777 | |
1778 | ld1-full$(EXEEXT): ld-new | |
af28fce3 | 1779 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1780 | |
1781 | ld2$(EXEEXT): ld1$(EXEEXT) | |
af28fce3 | 1782 | ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1783 | |
1784 | ld3$(EXEEXT): ld2$(EXEEXT) | |
af28fce3 | 1785 | ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
252b5132 RH |
1786 | |
1787 | bootstrap: ld3$(EXEEXT) | |
1788 | cmp ld2$(EXEEXT) ld3$(EXEEXT) | |
1789 | ||
1790 | .PHONY: bootstrap | |
1791 | ||
1792 | # A test program for C++ constructors and destructors. | |
1793 | # This test is now in the testsuite. | |
1794 | # | |
1795 | #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1796 | # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ | |
1797 | # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS) | |
1798 | # | |
1799 | #cdtest.out: cdtest | |
1800 | # ./cdtest > cdtest.tmp | |
1801 | # mv cdtest.tmp cdtest.out | |
1802 | # | |
1803 | #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1804 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \ | |
1805 | # cdtest-bar.o cdtest-foo.o | |
1806 | # | |
1807 | #cdtest-ur: cdtest-ur.o | |
1808 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \ | |
1809 | # $(HOSTING_LIBS) | |
1810 | # | |
1811 | #cdtest-ur.out: cdtest-ur | |
1812 | # ./cdtest-ur > cdtest-ur.tmp | |
1813 | # mv cdtest-ur.tmp cdtest-ur.out | |
1814 | # | |
1815 | #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp | |
1816 | # diff $(srcdir)/cdtest.exp cdtest.out | |
1817 | # diff $(srcdir)/cdtest.exp cdtest-ur.out | |
1818 | # | |
1819 | #.PHONY: check-cdtest | |
1820 | ||
1821 | # END OF CHECK TARGETS | |
1822 | ||
1823 | # DOCUMENTATION TARGETS | |
1824 | # Manual configuration file; not usually attached to normal configuration, | |
1825 | # because almost all configs use "gen" version of manual. | |
1826 | # Set DOCVER above to change. | |
1827 | configdoc.texi: ${DOCVER}-doc.texi | |
dff70155 | 1828 | cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi |
b251bf6f | 1829 | chmod u+w ./configdoc.texi |
252b5132 | 1830 | |
0285c67d NC |
1831 | # Build the man page from the texinfo file |
1832 | # The sed command removes the no-adjust Nroff command so that | |
1833 | # the man output looks standard. | |
c428fa83 | 1834 | ld.1: $(srcdir)/ld.texinfo configdoc.texi |
c45021f2 | 1835 | touch $@ |
0285c67d NC |
1836 | -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod |
1837 | -($(POD2MAN) ld.pod | \ | |
c45021f2 NC |
1838 | sed -e '/^.if n .na/d' > $@.T$$$$ && \ |
1839 | mv -f $@.T$$$$ $@) || \ | |
1840 | (rm -f $@.T$$$$ && exit 1) | |
1841 | rm -f ld.pod | |
0285c67d | 1842 | |
c428fa83 | 1843 | MAINTAINERCLEANFILES = configdoc.texi |
252b5132 | 1844 | |
42ecbf5e DJ |
1845 | # We want to reconfigure if configure.host or configure.tgt changes. We |
1846 | # extract version from bfd/configure.in, so we must depend on that also. | |
1847 | CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \ | |
1848 | $(srcdir)/../bfd/configure.in | |
252b5132 RH |
1849 | |
1850 | MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ | |
1851 | ldemul-list.h crtbegin.o crtend.o ld.log ld.sum | |
1852 | mostlyclean-local: | |
1853 | -rm -rf tmpdir | |
cd4a7468 | 1854 | CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.o spu_icache.s spu_icache.o |
252b5132 | 1855 | |
108a6f8e CD |
1856 | .PHONY: install-html install-html-am install-html-recursive |
1857 | ||
1858 | html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | |
1859 | ||
1860 | install-html: install-html-recursive install-html-am | |
1861 | ||
1862 | install-html-am: $(HTMLS) | |
1863 | @$(NORMAL_INSTALL) | |
1864 | test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" | |
1865 | @list='$(HTMLS)'; for p in $$list; do \ | |
1866 | if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \ | |
1867 | f=$(html__strip_dir) \ | |
1868 | if test -d "$$d$$p"; then \ | |
1869 | echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \ | |
1870 | $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ | |
1871 | echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ | |
1872 | $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \ | |
1873 | else \ | |
1874 | echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ | |
1875 | $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ | |
1876 | fi; \ | |
1877 | done | |
1878 | ||
1879 | install-html-recursive: | |
1880 | @failcom='exit 1'; \ | |
1881 | for f in x $$MAKEFLAGS; do \ | |
1882 | case $$f in \ | |
1883 | *=* | --[!k]*);; \ | |
1884 | *k*) failcom='fail=yes';; \ | |
1885 | esac; \ | |
1886 | done; \ | |
1887 | dot_seen=no; \ | |
1888 | target=`echo $@ | sed s/-recursive//`; \ | |
1889 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
1890 | echo "Making $$target in $$subdir"; \ | |
1891 | if test "$$subdir" = "."; then \ | |
1892 | dot_seen=yes; \ | |
1893 | local_target="$$target-am"; \ | |
1894 | else \ | |
1895 | local_target="$$target"; \ | |
1896 | fi; \ | |
1897 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
1898 | || eval $$failcom; \ | |
1899 | done; \ | |
1900 | if test "$$dot_seen" = "no"; then \ | |
1901 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
1902 | fi; test -z "$$fail" | |
1903 | ||
252b5132 RH |
1904 | .PHONY: install-exec-local install-data-local |
1905 | ||
1906 | install-exec-local: ld-new$(EXEEXT) | |
d3d8a9ee | 1907 | $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin |
252b5132 RH |
1908 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
1909 | if test -f $$p; then \ | |
1910 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ | |
d3d8a9ee | 1911 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
252b5132 RH |
1912 | else :; fi; \ |
1913 | done | |
1914 | n=`echo ld | sed '$(transform)'`; \ | |
1915 | if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \ | |
d3d8a9ee NC |
1916 | rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ |
1917 | ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ | |
1918 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ | |
252b5132 RH |
1919 | fi |
1920 | ||
1921 | install-data-local: | |
d3d8a9ee | 1922 | $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts |
252b5132 | 1923 | for f in ldscripts/*; do \ |
d3d8a9ee | 1924 | $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \ |
252b5132 RH |
1925 | done |
1926 | ||
cd8e197b HPN |
1927 | # We want install to imply install-info as per GNU standards, despite the |
1928 | # cygnus option. | |
42ecbf5e | 1929 | install-data-local: install-info |
cd8e197b | 1930 | |
252b5132 RH |
1931 | # Stuff that should be included in a distribution. The diststuff |
1932 | # target is run by the taz target in ../Makefile.in. | |
0332c262 | 1933 | EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.o_c \ |
cd4a7468 | 1934 | emultempl/spu_icache.o_c deffilep.c deffilep.h $(man_MANS) |
c45021f2 | 1935 | diststuff: info $(EXTRA_DIST) |
e3e71e27 | 1936 | all: info ld.1 |
252b5132 | 1937 | |
c428fa83 | 1938 | # Both info (ld.info) and ld.1 depend on configdoc.texi. |
8b803601 L |
1939 | # But info isn't a direct target. Make info-recursive to depend on |
1940 | # ld.1 to support parallel build. | |
1941 | info-recursive: ld.1 | |
1942 | ||
dca7760f | 1943 | DISTCLEANFILES = tdirs site.exp site.bak stringify.sed |
252b5132 RH |
1944 | distclean-local: |
1945 | rm -rf ldscripts | |
1946 | ||
d5fbea21 DJ |
1947 | MAINTAINERCLEANFILES += ld.info |
1948 | ||
1949 | # Automake 1.9 will only build info files in the objdir if they are | |
1950 | # mentioned in DISTCLEANFILES. It doesn't have to be unconditional, | |
1951 | # though, so we use a bogus condition. | |
1952 | if GENINSRC_NEVER | |
1953 | DISTCLEANFILES += ld.info | |
1954 | endif | |
1955 | ||
252b5132 | 1956 | # Targets to rebuild dependencies in this Makefile. |
f4162f5c ILT |
1957 | # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). |
1958 | DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h | |
1959 | rm -f DEP1 | |
41b49281 | 1960 | $(MAKE) MKDEP="$(MKDEP)" DEP1 |
0bdaf48b AM |
1961 | sed -f dep.sed < DEP1 > DEPA |
1962 | echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA | |
1963 | if grep ' /' DEPA > /dev/null 2> /dev/null; then \ | |
1581f8c9 AM |
1964 | echo 'make DEP failed!'; exit 1; \ |
1965 | else \ | |
0bdaf48b | 1966 | mv -f DEPA $@; \ |
1581f8c9 | 1967 | fi |
252b5132 | 1968 | |
f4162f5c | 1969 | DEP1: $(CFILES) $(GENERATED_CFILES) |
f4162f5c | 1970 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |
41b49281 AM |
1971 | echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 |
1972 | $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 | |
1973 | mv -f DEP2 $@ | |
252b5132 RH |
1974 | |
1975 | dep.sed: dep-in.sed config.status | |
1976 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
1977 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
61bef6f1 AM |
1978 | -e 's!@BFDDIR@!$(BFDDIR)!' \ |
1979 | -e 's!@SRCDIR@!$(srcdir)!' \ | |
1980 | -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!' | |
252b5132 | 1981 | |
f4162f5c | 1982 | dep: DEP |
252b5132 | 1983 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
f4162f5c | 1984 | cat DEP >> tmp-Makefile |
252b5132 RH |
1985 | $(srcdir)/../move-if-change tmp-Makefile Makefile |
1986 | ||
f4162f5c | 1987 | dep-in: DEP |
252b5132 | 1988 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
f4162f5c | 1989 | cat DEP >> tmp-Makefile.in |
252b5132 RH |
1990 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
1991 | ||
f4162f5c | 1992 | dep-am: DEP |
252b5132 | 1993 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
f4162f5c | 1994 | cat DEP >> tmp-Makefile.am |
252b5132 RH |
1995 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
1996 | ||
1997 | .PHONY: dep dep-in dep-am | |
1998 | ||
1999 | # What appears below is generated by a hacked mkdep using gcc -MM. | |
2000 | ||
2001 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
2002 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
3db64b00 AM |
2003 | ldctor.o: ldctor.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2004 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2005 | $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h ldexp.h \ |
2006 | ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h | |
3db64b00 AM |
2007 | ldemul.o: ldemul.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2008 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2009 | $(INCDIR)/bfdlink.h ld.h ldmisc.h ldexp.h ldlang.h \ |
2010 | ldfile.h ldemul.h ldmain.h ldemul-list.h | |
3db64b00 AM |
2011 | ldexp.o: ldexp.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2012 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 | 2013 | $(INCDIR)/bfdlink.h ld.h ldmain.h ldmisc.h ldexp.h \ |
73705ac3 | 2014 | ldlex.h ldgram.h ldlang.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
1763d3d8 | 2015 | $(INCDIR)/safe-ctype.h |
3db64b00 AM |
2016 | ldfile.o: ldfile.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2017 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2018 | $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h ldmisc.h \ |
2019 | ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h ldlex.h \ | |
2020 | ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ | |
2021 | $(INCDIR)/filenames.h | |
3db64b00 AM |
2022 | ldlang.o: ldlang.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2023 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2024 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \ |
2025 | $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
1763d3d8 AM |
2026 | ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \ |
2027 | ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h \ | |
92f01d61 | 2028 | $(INCDIR)/libiberty.h $(INCDIR)/hashtab.h |
3db64b00 AM |
2029 | ldmain.o: ldmain.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2030 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2031 | $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
2032 | $(INCDIR)/progress.h $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \ | |
2033 | ld.h ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \ | |
1763d3d8 | 2034 | ldlex.h ldfile.h ldemul.h ldctor.h |
3db64b00 AM |
2035 | ldmisc.o: ldmisc.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2036 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
2037 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ | |
92f01d61 JM |
2038 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h ld.h ldmisc.h \ |
2039 | ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h ldfile.h \ | |
50e7d84b | 2040 | $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \ |
782e11fd | 2041 | $(INCDIR)/elf/internal.h |
3db64b00 AM |
2042 | ldver.o: ldver.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2043 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
2044 | ../bfd/bfdver.h ld.h ldver.h ldexp.h ldlang.h ldfile.h \ | |
2045 | ldemul.h ldmain.h | |
2046 | ldwrite.o: ldwrite.c sysdep.h config.h $(INCDIR)/fopen-same.h \ | |
2047 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2048 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
2049 | $(INCDIR)/safe-ctype.h ld.h ldexp.h ldlang.h ldwrite.h \ | |
1763d3d8 | 2050 | ldmisc.h ldgram.h ldmain.h |
3db64b00 AM |
2051 | lexsup.o: lexsup.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2052 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
2053 | ../bfd/bfdver.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ | |
2054 | $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
2055 | ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \ | |
2056 | ldver.h ldemul.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h | |
2057 | mri.o: mri.c sysdep.h config.h $(INCDIR)/fopen-same.h \ | |
2058 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
2059 | ld.h ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h \ | |
92f01d61 | 2060 | $(INCDIR)/ansidecl.h |
3db64b00 AM |
2061 | ldcref.o: ldcref.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2062 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 | 2063 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
73705ac3 AM |
2064 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h $(INCDIR)/objalloc.h \ |
2065 | ld.h ldmain.h ldmisc.h ldexp.h ldlang.h | |
3db64b00 AM |
2066 | pe-dll.o: pe-dll.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2067 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2068 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
2069 | $(INCDIR)/safe-ctype.h ld.h ldexp.h ldlang.h ldwrite.h \ | |
1763d3d8 | 2070 | ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \ |
782e11fd | 2071 | $(BFDDIR)/libcoff.h deffile.h pe-dll.h |
3db64b00 AM |
2072 | pep-dll.o: pep-dll.c pe-dll.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2073 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2074 | $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
2075 | $(INCDIR)/safe-ctype.h ld.h ldexp.h ldlang.h ldwrite.h \ | |
99ad8390 | 2076 | ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \ |
782e11fd | 2077 | $(BFDDIR)/libcoff.h deffile.h pe-dll.h pep-dll.h |
3db64b00 AM |
2078 | ldgram.o: ldgram.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2079 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2080 | $(INCDIR)/bfdlink.h ld.h ldexp.h ldver.h ldlang.h ldfile.h \ |
2081 | ldemul.h ldmisc.h ldmain.h mri.h ldctor.h ldlex.h | |
3db64b00 AM |
2082 | ldlex.o: ldlex.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2083 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 JM |
2084 | $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h ldmisc.h \ |
2085 | ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h ldmain.h \ | |
2086 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h | |
3db64b00 AM |
2087 | deffilep.o: deffilep.c sysdep.h config.h $(INCDIR)/fopen-same.h \ |
2088 | $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \ | |
2089 | ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
92f01d61 | 2090 | ld.h ldmisc.h deffile.h |
252b5132 | 2091 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |