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