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