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