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