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