* Makefile.am: Bfin support.
[platform/upstream/binutils.git] / ld / Makefile.in
1 # Makefile.in generated by automake 1.9.2 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
18
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
25 top_builddir = .
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 INSTALL = @INSTALL@
28 install_sh_DATA = $(install_sh) -c -m 644
29 install_sh_PROGRAM = $(install_sh) -c
30 install_sh_SCRIPT = $(install_sh) -c
31 INSTALL_HEADER = $(INSTALL_DATA)
32 transform = $(program_transform_name)
33 NORMAL_INSTALL = :
34 PRE_INSTALL = :
35 POST_INSTALL = :
36 NORMAL_UNINSTALL = :
37 PRE_UNINSTALL = :
38 POST_UNINSTALL = :
39 build_triplet = @build@
40 host_triplet = @host@
41 target_triplet = @target@
42 noinst_PROGRAMS = ld-new$(EXEEXT)
43 DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub \
44         INSTALL NEWS README AUTHORS ChangeLog COPYING THANKS \
45         $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
46         $(top_srcdir)/configure $(am__configure_deps) \
47         $(srcdir)/config.in $(srcdir)/../mkinstalldirs \
48         $(top_srcdir)/po/Make-in ldgram.h ldgram.c ldlex.c deffilep.h \
49         deffilep.c $(srcdir)/../ylwrap $(srcdir)/../ltmain.sh \
50         $(srcdir)/../config.guess $(srcdir)/../config.sub
51 subdir = .
52 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
53 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
54         $(top_srcdir)/../bfd/acinclude.m4 \
55         $(top_srcdir)/../config/acx.m4 $(top_srcdir)/../bfd/bfd.m4 \
56         $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/../libtool.m4 \
57         $(top_srcdir)/../gettext.m4 $(top_srcdir)/configure.in
58 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59         $(ACLOCAL_M4)
60 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
61  configure.lineno configure.status.lineno
62 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
63 CONFIG_HEADER = config.h
64 CONFIG_CLEAN_FILES = po/Makefile.in
65 PROGRAMS = $(noinst_PROGRAMS)
66 am_ld_new_OBJECTS = ldgram.$(OBJEXT) ldlex.$(OBJEXT) lexsup.$(OBJEXT) \
67         ldlang.$(OBJEXT) mri.$(OBJEXT) ldctor.$(OBJEXT) \
68         ldmain.$(OBJEXT) ldwrite.$(OBJEXT) ldexp.$(OBJEXT) \
69         ldemul.$(OBJEXT) ldver.$(OBJEXT) ldmisc.$(OBJEXT) \
70         ldfile.$(OBJEXT) ldcref.$(OBJEXT)
71 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
72 am__DEPENDENCIES_1 =
73 am__DEPENDENCIES_2 = ../bfd/libbfd.la
74 am__DEPENDENCIES_3 = ../libiberty/libiberty.a
75 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
76 depcomp =
77 am__depfiles_maybe =
78 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
79         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
80 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
81         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
82         $(AM_CFLAGS) $(CFLAGS)
83 CCLD = $(CC)
84 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
85         $(AM_LDFLAGS) $(LDFLAGS) -o $@
86 LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
87 LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
88 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
89 LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) \
90         $(AM_YFLAGS)
91 YLWRAP = $(top_srcdir)/../ylwrap
92 SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
93 INFO_DEPS = $(srcdir)/ld.info
94 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
95 am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
96 DVIS = ld.dvi
97 PDFS = ld.pdf
98 PSS = ld.ps
99 HTMLS = ld.html
100 TEXINFOS = ld.texinfo
101 TEXI2PDF = $(TEXI2DVI) --pdf --batch
102 MAKEINFOHTML = $(MAKEINFO) --html
103 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
104 DVIPS = dvips
105 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
106         html-recursive info-recursive install-data-recursive \
107         install-exec-recursive install-info-recursive \
108         install-recursive installcheck-recursive installdirs-recursive \
109         pdf-recursive ps-recursive uninstall-info-recursive \
110         uninstall-recursive
111 man1dir = $(mandir)/man1
112 am__installdirs = "$(DESTDIR)$(man1dir)"
113 NROFF = nroff
114 MANS = $(man_MANS)
115 ETAGS = etags
116 CTAGS = ctags
117 DEJATOOL = $(PACKAGE)
118 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
119 DIST_SUBDIRS = $(SUBDIRS)
120 ACLOCAL = @ACLOCAL@
121 ALLOCA = @ALLOCA@
122 AMDEP_FALSE = @AMDEP_FALSE@
123 AMDEP_TRUE = @AMDEP_TRUE@
124 AMTAR = @AMTAR@
125 AUTOCONF = @AUTOCONF@
126 AUTOHEADER = @AUTOHEADER@
127 AUTOMAKE = @AUTOMAKE@
128 AWK = @AWK@
129 CATALOGS = @CATALOGS@
130 CATOBJEXT = @CATOBJEXT@
131 CC = @CC@
132 CCDEPMODE = @CCDEPMODE@
133 CFLAGS = @CFLAGS@
134 CPP = @CPP@
135 CPPFLAGS = @CPPFLAGS@
136 CYGPATH_W = @CYGPATH_W@
137 DATADIRNAME = @DATADIRNAME@
138 DEFS = @DEFS@
139 DEPDIR = @DEPDIR@
140 ECHO_C = @ECHO_C@
141 ECHO_N = @ECHO_N@
142 ECHO_T = @ECHO_T@
143 EGREP = @EGREP@
144 EMUL = @EMUL@
145 EMULATION_LIBPATH = @EMULATION_LIBPATH@
146 EMULATION_OFILES = @EMULATION_OFILES@
147 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
148 EXEEXT = @EXEEXT@
149 GMOFILES = @GMOFILES@
150 GMSGFMT = @GMSGFMT@
151 GT_NO = @GT_NO@
152 GT_YES = @GT_YES@
153 HDEFINES = @HDEFINES@
154
155 #stuff for self hosting (can be overridden in config file).
156 HOSTING_CRT0 = @HOSTING_CRT0@
157 HOSTING_LIBS = @HOSTING_LIBS@
158 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
159 INSTALL_DATA = @INSTALL_DATA@
160 INSTALL_PROGRAM = @INSTALL_PROGRAM@
161 INSTALL_SCRIPT = @INSTALL_SCRIPT@
162 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
163 INSTOBJEXT = @INSTOBJEXT@
164 INTLDEPS = @INTLDEPS@
165 INTLLIBS = @INTLLIBS@
166 INTLOBJS = @INTLOBJS@
167 LDFLAGS = @LDFLAGS@
168 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
169 LEXLIB = @LEXLIB@
170 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
171 LIBOBJS = @LIBOBJS@
172 LIBS = @LIBS@
173 LIBTOOL = @LIBTOOL@
174
175 # Search path to override the default search path for -lfoo libraries.
176 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
177 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
178 # a cross-linker, in which case the default is empty.  See genscripts.sh.)
179 # Otherwise, they are replaced with the ones given in LIB_PATH,
180 # which may have the form: LIB_PATH=/lib:/usr/local/lib.  This can be set
181 # when the linker is configured via the --with-lib-path configure switch.
182 LIB_PATH = @LIB_PATH@
183 LN_S = @LN_S@
184 LTLIBOBJS = @LTLIBOBJS@
185 MAINT = @MAINT@
186 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
187 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
188 MAKEINFO = @MAKEINFO@
189 MKINSTALLDIRS = @MKINSTALLDIRS@
190 MSGFMT = @MSGFMT@
191 NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@
192 NO_WERROR = @NO_WERROR@
193 OBJEXT = @OBJEXT@
194 PACKAGE = @PACKAGE@
195 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
196 PACKAGE_NAME = @PACKAGE_NAME@
197 PACKAGE_STRING = @PACKAGE_STRING@
198 PACKAGE_TARNAME = @PACKAGE_TARNAME@
199 PACKAGE_VERSION = @PACKAGE_VERSION@
200 PATH_SEPARATOR = @PATH_SEPARATOR@
201 POFILES = @POFILES@
202 POSUB = @POSUB@
203 RANLIB = @RANLIB@
204 SET_MAKE = @SET_MAKE@
205 SHELL = @SHELL@
206 STRINGIFY = @STRINGIFY@
207 STRIP = @STRIP@
208 TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
209 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
210
211 # This is the real libbfd.a created by libtool.
212 TESTBFDLIB = @TESTBFDLIB@
213 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
214 USE_NLS = @USE_NLS@
215 VERSION = @VERSION@
216 WARN_CFLAGS = @WARN_CFLAGS@
217 XGETTEXT = @XGETTEXT@
218 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
219 ac_ct_CC = @ac_ct_CC@
220 ac_ct_RANLIB = @ac_ct_RANLIB@
221 ac_ct_STRIP = @ac_ct_STRIP@
222 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
223 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
224 am__include = @am__include@
225 am__leading_dot = @am__leading_dot@
226 am__quote = @am__quote@
227 am__tar = @am__tar@
228 am__untar = @am__untar@
229 bindir = @bindir@
230 build = @build@
231 build_alias = @build_alias@
232 build_cpu = @build_cpu@
233 build_os = @build_os@
234 build_vendor = @build_vendor@
235 datadir = @datadir@
236 exec_prefix = @exec_prefix@
237 host = @host@
238 host_alias = @host_alias@
239 host_cpu = @host_cpu@
240 host_os = @host_os@
241 host_vendor = @host_vendor@
242 includedir = @includedir@
243 infodir = @infodir@
244 install_sh = @install_sh@
245 l = @l@
246 libdir = @libdir@
247 libexecdir = @libexecdir@
248 localstatedir = @localstatedir@
249 mandir = @mandir@
250 mkdir_p = @mkdir_p@
251 oldincludedir = @oldincludedir@
252 prefix = @prefix@
253 program_transform_name = @program_transform_name@
254 sbindir = @sbindir@
255 sharedstatedir = @sharedstatedir@
256 sysconfdir = @sysconfdir@
257 target = @target@
258 target_alias = @target_alias@
259 target_cpu = @target_cpu@
260 target_os = @target_os@
261 target_vendor = @target_vendor@
262 use_sysroot = @use_sysroot@
263 AUTOMAKE_OPTIONS = cygnus dejagnu
264 SUBDIRS = po
265 tooldir = $(exec_prefix)/$(target_alias)
266 YFLAGS = -d
267 AM_CFLAGS = $(WARN_CFLAGS)
268
269 # We put the scripts in the directory $(scriptdir)/ldscripts.
270 # We can't put the scripts in $(datadir) because the SEARCH_DIR
271 # directives need to be different for native and cross linkers.
272 scriptdir = $(tooldir)/lib
273 BASEDIR = $(srcdir)/..
274 BFDDIR = $(BASEDIR)/bfd
275 INCDIR = $(BASEDIR)/include
276 MKDEP = gcc -MM
277
278 # What version of the manual to build
279 DOCVER = gen
280
281 # Options to extract the man page from ld.texinfo
282 MANCONF = -Dman
283 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
284 POD2MAN = pod2man --center="GNU Development Tools" \
285         --release="binutils-$(VERSION)" --section=1
286
287 HOSTING_EMU = -m $(EMUL)
288
289 # Setup the testing framework, if you have one
290 EXPECT = expect
291 RUNTEST = runtest
292 RUNTESTFLAGS = 
293 CC_FOR_TARGET = ` \
294   if [ -f $$r/../gcc/xgcc ] ; then \
295     if [ -f $$r/../newlib/Makefile ] ; then \
296       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
297     else \
298       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
299     fi; \
300   else \
301     if [ "@host@" = "@target@" ] ; then \
302       echo $(CC); \
303     else \
304       echo gcc | sed '$(transform)'; \
305     fi; \
306   fi`
307
308 CXX = gcc
309 CXX_FOR_TARGET = ` \
310   if [ -f $$r/../gcc/xgcc ] ; then \
311     if [ -f $$r/../newlib/Makefile ] ; then \
312       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
313     else \
314       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
315     fi; \
316   else \
317     if [ "@host@" = "@target@" ] ; then \
318       echo $(CXX); \
319     else \
320       echo gcc | sed '$(transform)'; \
321     fi; \
322   fi`
323
324 info_TEXINFOS = ld.texinfo
325 noinst_TEXINFOS = ldint.texinfo
326 man_MANS = ld.1
327 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc
328 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc
329 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(datadir)/locale\""
330 BFDLIB = ../bfd/libbfd.la
331 LIBIBERTY = ../libiberty/libiberty.a
332 ALL_EMULATIONS = \
333         eaixppc.o \
334         eaixrs6.o \
335         ealpha.o \
336         earcelf.o \
337         earm_epoc_pe.o \
338         earmaoutb.o \
339         earmaoutl.o \
340         earmcoff.o \
341         earmelf.o \
342         earmelfb.o \
343         earmelf_fbsd.o \
344         earmelf_linux.o \
345         earmelf_linux_eabi.o \
346         earmelfb_linux.o \
347         earmelfb_linux_eabi.o \
348         earmelf_nbsd.o \
349         earmelfb_nbsd.o \
350         earmelf_vxworks.o \
351         earmnto.o \
352         earmnbsd.o \
353         earmpe.o \
354         earmsymbian.o \
355         eavr2.o \
356         eavr1.o \
357         eavr3.o \
358         eavr4.o \
359         eavr5.o \
360         ecoff_i860.o \
361         ecoff_sparc.o \
362         ecrisaout.o \
363         ecriself.o \
364         ecrislinux.o \
365         ed10velf.o \
366         ed30v_e.o \
367         ed30v_o.o \
368         ed30velf.o \
369         edelta68.o \
370         eelf32_dlx.o \
371         eelf32_i960.o \
372         eelf32_i860.o \
373         eelf32_sparc.o \
374         eelf32b4300.o \
375         eelf32bfin.o \
376         eelf32cr16c.o \
377         eelf32bmip.o \
378         eelf32bmipn32.o \
379         eelf32btsmip.o \
380         eelf32crx.o \
381         eelf32btsmipn32.o \
382         eelf32ltsmip.o \
383         eelf32ltsmipn32.o \
384         eelf32ebmip.o \
385         eelf32elmip.o \
386         eelf32fr30.o \
387         eelf32frv.o \
388         eelf32i370.o \
389         eelf32ip2k.o \
390         eelf32iq2000.o \
391         eelf32iq10.o \
392         eelf32l4300.o \
393         eelf32lmip.o \
394         eelf32lppc.o \
395         eelf32lppcnto.o \
396         eelf32lppcsim.o \
397         eelf32m32c.o \
398         eelf32mcore.o \
399         eelf32mipswindiss.o \
400         eelf32ms1.o \
401         eelf32openrisc.o \
402         eelf32ppc.o \
403         eelf32ppc_fbsd.o \
404         eelf32ppclinux.o \
405         eelf32ppcnto.o \
406         eelf32ppcsim.o \
407         eelf32ppcwindiss.o \
408         eelf32ppcvxworks.o \
409         eelf32vax.o \
410         eelf32xstormy16.o \
411         eelf32xtensa.o \
412         eelf_i386.o \
413         eelf_i386_be.o \
414         eelf_i386_chaos.o \
415         eelf_i386_fbsd.o \
416         eelf_i386_ldso.o \
417         eelf_i386_vxworks.o \
418         eelf_s390.o \
419         egld960.o \
420         egld960coff.o \
421         eh8300.o \
422         eh8300h.o \
423         eh8300s.o \
424         eh8300elf.o \
425         eh8300hn.o \
426         eh8300sn.o \
427         eh8300sx.o \
428         eh8300helf.o \
429         eh8300self.o \
430         eh8300hnelf.o \
431         eh8300snelf.o \
432         eh8300sxelf.o \
433         eh8300sxn.o \
434         eh8300sxnelf.o \
435         eh8500.o \
436         eh8500b.o \
437         eh8500c.o \
438         eh8500m.o \
439         eh8500s.o \
440         ehp300bsd.o \
441         ehp3hpux.o \
442         ehppaelf.o \
443         ehppalinux.o \
444         ehppanbsd.o \
445         ehppaobsd.o \
446         ei386aout.o \
447         ei386beos.o \
448         ei386bsd.o \
449         ei386coff.o \
450         ei386go32.o \
451         ei386linux.o \
452         ei386lynx.o \
453         ei386mach.o \
454         ei386moss.o \
455         ei386msdos.o \
456         ei386nbsd.o \
457         ei386nto.o \
458         ei386nw.o \
459         ei386pe.o \
460         ei386pe_posix.o \
461         elnk960.o \
462         em32relf.o \
463         em32rlelf.o \
464         em32relf_linux.o \
465         em32rlelf_linux.o \
466         em68hc11elf.o \
467         em68hc11elfb.o \
468         em68hc12elf.o \
469         em68hc12elfb.o \
470         em68k4knbsd.o \
471         em68kaout.o \
472         em68kaux.o \
473         em68kcoff.o \
474         em68kelf.o \
475         em68kelfnbsd.o \
476         em68klinux.o \
477         em68knbsd.o \
478         em68kpsos.o \
479         em88kbcs.o \
480         emaxqcoff.o \
481         emcorepe.o \
482         emipsbig.o \
483         emipsbsd.o \
484         emipsidt.o \
485         emipsidtl.o \
486         emipslit.o \
487         emipslnews.o \
488         emipspe.o \
489         emsp430x110.o \
490         emsp430x112.o \
491         emsp430x1101.o \
492         emsp430x1111.o \
493         emsp430x1121.o \
494         emsp430x1122.o \
495         emsp430x1132.o \
496         emsp430x122.o \
497         emsp430x123.o \
498         emsp430x1222.o \
499         emsp430x1232.o \
500         emsp430x133.o \
501         emsp430x135.o \
502         emsp430x1331.o \
503         emsp430x1351.o \
504         emsp430x147.o \
505         emsp430x148.o \
506         emsp430x149.o \
507         emsp430x155.o \
508         emsp430x156.o \
509         emsp430x157.o \
510         emsp430x167.o \
511         emsp430x168.o \
512         emsp430x169.o \
513         emsp430x1610.o \
514         emsp430x1611.o \
515         emsp430x1612.o \
516         emsp430x2101.o \
517         emsp430x2111.o \
518         emsp430x2121.o \
519         emsp430x2131.o \
520         emsp430x311.o \
521         emsp430x312.o \
522         emsp430x313.o \
523         emsp430x314.o \
524         emsp430x315.o \
525         emsp430x323.o \
526         emsp430x325.o \
527         emsp430x336.o \
528         emsp430x337.o \
529         emsp430x412.o \
530         emsp430x413.o \
531         emsp430x415.o \
532         emsp430x417.o \
533         emsp430xE423.o \
534         emsp430xE425.o \
535         emsp430xE427.o \
536         emsp430xW423.o \
537         emsp430xW425.o \
538         emsp430xW427.o \
539         emsp430xG437.o \
540         emsp430xG438.o \
541         emsp430xG439.o \
542         emsp430x435.o \
543         emsp430x436.o \
544         emsp430x437.o \
545         emsp430x447.o \
546         emsp430x448.o \
547         emsp430x449.o \
548         enews.o \
549         ens32knbsd.o \
550         eor32.o \
551         eor32elf.o \
552         epc532macha.o \
553         epdp11.o \
554         epjelf.o \
555         epjlelf.o \
556         eppcmacos.o \
557         eppcnw.o \
558         eppcpe.o \
559         eppclynx.o \
560         eriscix.o \
561         esh.o \
562         eshelf32.o \
563         eshlelf32.o \
564         eshelf32_linux.o \
565         eshlelf32_linux.o \
566         eshelf32_nbsd.o \
567         eshlelf32_nbsd.o \
568         eshelf.o \
569         eshelf_linux.o \
570         eshlelf_linux.o \
571         eshelf_nbsd.o \
572         eshlelf_nbsd.o \
573         eshelf_nto.o \
574         eshlelf_nto.o \
575         eshl.o \
576         eshlelf.o \
577         eshlsymbian.o \
578         eshpe.o \
579         esparcaout.o \
580         esparclinux.o \
581         esparcnbsd.o \
582         est2000.o \
583         esun3.o \
584         esun4.o \
585         etic30aout.o \
586         etic30coff.o \
587         etic3xcoff.o \
588         etic3xcoff_onchip.o \
589         etic4xcoff.o \
590         etic54xcoff.o \
591         etic80coff.o \
592         evanilla.o \
593         evax.o \
594         evaxnbsd.o \
595         evsta.o \
596         ew65.o \
597         ez8001.o \
598         eelf32frvfd.o \
599         ez8002.o
600
601 ALL_64_EMULATIONS = \
602         eelf64_aix.o \
603         eelf64_ia64.o \
604         eelf64_ia64_fbsd.o \
605         eshelf64.o \
606         eshlelf64.o \
607         eshelf64_nbsd.o \
608         eshlelf64_nbsd.o \
609         eelf_x86_64.o \
610         eelf_x86_64_fbsd.o \
611         eelf64_s390.o \
612         eelf64_sparc.o \
613         eelf64_sparc_fbsd.o \
614         eelf64alpha.o \
615         eelf64alpha_fbsd.o \
616         eelf64alpha_nbsd.o \
617         eelf64bmip.o \
618         eelf64btsmip.o \
619         eelf64ltsmip.o \
620         eelf64hppa.o \
621         eelf64mmix.o \
622         emmo.o \
623         eelf64ppc.o \
624         eelf64lppc.o \
625         ehppa64linux.o
626
627 ALL_EMUL_EXTRA_OFILES = \
628         deffilep.o \
629         pe-dll.o
630
631 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
632         ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
633         mri.c ldcref.c pe-dll.c
634
635 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
636         ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
637         ldwrite.h mri.h deffile.h pe-dll.h
638
639 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
640 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
641 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
642         ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o \
643         ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
644
645 STAGESTUFF = *.o ldscripts/* e*.c
646
647 # At the moment this is just a list of those emulation template files
648 # that contain internationalised strings.
649 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
650 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
651
652 # These all start with e so 'make clean' can find them.
653 GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@
654 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
655
656 # We need this for automake to use YLWRAP.
657 EXTRA_ld_new_SOURCES = deffilep.y
658 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
659         ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
660
661 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
662 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
663 MAINTAINERCLEANFILES = ldver.texi configdoc.texi
664
665 # We want to reconfigure if configure.host or configure.tgt changes.  We
666 # extract version from bfd/configure.in, so we must depend on that also.
667 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
668         $(srcdir)/../bfd/configure.in
669
670 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
671         ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
672
673 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
674
675 # Stuff that should be included in a distribution.  The diststuff
676 # target is run by the taz target in ../Makefile.in.
677 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
678 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
679 all: config.h
680         $(MAKE) $(AM_MAKEFLAGS) all-recursive
681
682 .SUFFIXES:
683 .SUFFIXES: .c .dvi .html .info .l .lo .o .obj .pdf .ps .texinfo .y
684 am--refresh:
685         @:
686 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
687         @for dep in $?; do \
688           case '$(am__configure_deps)' in \
689             *$$dep*) \
690               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
691               cd $(srcdir) && $(AUTOMAKE) --foreign  \
692                 && exit 0; \
693               exit 1;; \
694           esac; \
695         done; \
696         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
697         cd $(top_srcdir) && \
698           $(AUTOMAKE) --foreign  Makefile
699 .PRECIOUS: Makefile
700 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
701         @case '$?' in \
702           *config.status*) \
703             echo ' $(SHELL) ./config.status'; \
704             $(SHELL) ./config.status;; \
705           *) \
706             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
707             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
708         esac;
709
710 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
711         $(SHELL) ./config.status --recheck
712
713 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
714         cd $(srcdir) && $(AUTOCONF)
715 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
716         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
717
718 config.h: stamp-h1
719         @if test ! -f $@; then \
720           rm -f stamp-h1; \
721           $(MAKE) stamp-h1; \
722         else :; fi
723
724 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
725         @rm -f stamp-h1
726         cd $(top_builddir) && $(SHELL) ./config.status config.h
727 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
728         cd $(top_srcdir) && $(AUTOHEADER)
729         rm -f stamp-h1
730         touch $@
731
732 distclean-hdr:
733         -rm -f config.h stamp-h1
734 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
735         cd $(top_builddir) && $(SHELL) ./config.status $@
736
737 clean-noinstPROGRAMS:
738         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
739           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
740           echo " rm -f $$p $$f"; \
741           rm -f $$p $$f ; \
742         done
743 ldgram.h: ldgram.c
744         @if test ! -f $@; then \
745           rm -f ldgram.c; \
746           $(MAKE) ldgram.c; \
747         else :; fi
748 deffilep.h: deffilep.c
749         @if test ! -f $@; then \
750           rm -f deffilep.c; \
751           $(MAKE) deffilep.c; \
752         else :; fi
753 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) 
754         @rm -f ld-new$(EXEEXT)
755         $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
756
757 mostlyclean-compile:
758         -rm -f *.$(OBJEXT)
759
760 distclean-compile:
761         -rm -f *.tab.c
762
763 .c.o:
764         $(COMPILE) -c $<
765
766 .c.obj:
767         $(COMPILE) -c `$(CYGPATH_W) '$<'`
768
769 .c.lo:
770         $(LTCOMPILE) -c -o $@ $<
771
772 .l.c:
773         $(LEXCOMPILE) $<
774         sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
775         rm -f $(LEX_OUTPUT_ROOT).c
776
777 .y.c:
778         $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
779
780 mostlyclean-libtool:
781         -rm -f *.lo
782
783 clean-libtool:
784         -rm -rf .libs _libs
785
786 distclean-libtool:
787         -rm -f libtool
788
789 .texinfo.info:
790         restore=: && backupdir="$(am__leading_dot)am$$$$" && \
791         am__cwd=`pwd` && cd $(srcdir) && \
792         rm -rf $$backupdir && mkdir $$backupdir && \
793         for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
794           if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
795         done; \
796         cd "$$am__cwd"; \
797         if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
798          -o $@ $<; \
799         then \
800           rc=0; \
801           cd $(srcdir); \
802         else \
803           rc=$$?; \
804           cd $(srcdir) && \
805           $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
806         fi; \
807         rm -rf $$backupdir; exit $$rc
808
809 .texinfo.dvi:
810         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
811         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
812         $(TEXI2DVI) $<
813
814 .texinfo.pdf:
815         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
816         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
817         $(TEXI2PDF) $<
818
819 .texinfo.html:
820         rm -rf $(@:.html=.htp)
821         if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
822          -o $(@:.html=.htp) $<; \
823         then \
824           rm -rf $@; \
825           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
826             mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
827         else \
828           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
829             rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
830           exit 1; \
831         fi
832 ld.pdf: ld.texinfo 
833 ld.html: ld.texinfo 
834 .dvi.ps:
835         $(DVIPS) -o $@ $<
836
837 uninstall-info-am:
838         $(PRE_UNINSTALL)
839         @if (install-info --version && \
840              install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
841           list='$(INFO_DEPS)'; \
842           for file in $$list; do \
843             relfile=`echo "$$file" | sed 's|^.*/||'`; \
844             echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
845             install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
846           done; \
847         else :; fi
848         @$(NORMAL_UNINSTALL)
849         @list='$(INFO_DEPS)'; \
850         for file in $$list; do \
851           relfile=`echo "$$file" | sed 's|^.*/||'`; \
852           relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
853           (if cd "$(DESTDIR)$(infodir)"; then \
854              echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
855              rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
856            else :; fi); \
857         done
858
859 dist-info: $(INFO_DEPS)
860         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
861         list='$(INFO_DEPS)'; \
862         for base in $$list; do \
863           case $$base in \
864             $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
865           esac; \
866           if test -f $$base; then d=.; else d=$(srcdir); fi; \
867           for file in $$d/$$base*; do \
868             relfile=`expr "$$file" : "$$d/\(.*\)"`; \
869             test -f $(distdir)/$$relfile || \
870               cp -p $$file $(distdir)/$$relfile; \
871           done; \
872         done
873
874 mostlyclean-aminfo:
875         -rm -rf ld.aux ld.cp ld.cps ld.fn ld.fns ld.ky ld.log ld.pg ld.pgs ld.tmp \
876           ld.toc ld.tp ld.tps ld.vr ld.vrs ld.dvi ld.pdf ld.ps ld.html
877
878 maintainer-clean-aminfo:
879         @list='$(INFO_DEPS)'; for i in $$list; do \
880           i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
881           echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
882           rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
883         done
884
885 clean-info: mostlyclean-aminfo
886 install-man1: $(man1_MANS) $(man_MANS)
887         @$(NORMAL_INSTALL)
888         test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
889         @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
890         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
891         for i in $$l2; do \
892           case "$$i" in \
893             *.1*) list="$$list $$i" ;; \
894           esac; \
895         done; \
896         for i in $$list; do \
897           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
898           else file=$$i; fi; \
899           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
900           case "$$ext" in \
901             1*) ;; \
902             *) ext='1' ;; \
903           esac; \
904           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
905           inst=`echo $$inst | sed -e 's/^.*\///'`; \
906           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
907           echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
908           $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
909         done
910 uninstall-man1:
911         @$(NORMAL_UNINSTALL)
912         @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
913         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
914         for i in $$l2; do \
915           case "$$i" in \
916             *.1*) list="$$list $$i" ;; \
917           esac; \
918         done; \
919         for i in $$list; do \
920           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
921           case "$$ext" in \
922             1*) ;; \
923             *) ext='1' ;; \
924           esac; \
925           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
926           inst=`echo $$inst | sed -e 's/^.*\///'`; \
927           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
928           echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
929           rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
930         done
931
932 # This directory's subdirectories are mostly independent; you can cd
933 # into them and run `make' without going through this Makefile.
934 # To change the values of `make' variables: instead of editing Makefiles,
935 # (1) if the variable is set in `config.status', edit `config.status'
936 #     (which will cause the Makefiles to be regenerated when you run `make');
937 # (2) otherwise, pass the desired values on the `make' command line.
938 $(RECURSIVE_TARGETS):
939         @set fnord $$MAKEFLAGS; amf=$$2; \
940         dot_seen=no; \
941         target=`echo $@ | sed s/-recursive//`; \
942         list='$(SUBDIRS)'; for subdir in $$list; do \
943           echo "Making $$target in $$subdir"; \
944           if test "$$subdir" = "."; then \
945             dot_seen=yes; \
946             local_target="$$target-am"; \
947           else \
948             local_target="$$target"; \
949           fi; \
950           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
951            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
952         done; \
953         if test "$$dot_seen" = "no"; then \
954           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
955         fi; test -z "$$fail"
956
957 mostlyclean-recursive clean-recursive distclean-recursive \
958 maintainer-clean-recursive:
959         @set fnord $$MAKEFLAGS; amf=$$2; \
960         dot_seen=no; \
961         case "$@" in \
962           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
963           *) list='$(SUBDIRS)' ;; \
964         esac; \
965         rev=''; for subdir in $$list; do \
966           if test "$$subdir" = "."; then :; else \
967             rev="$$subdir $$rev"; \
968           fi; \
969         done; \
970         rev="$$rev ."; \
971         target=`echo $@ | sed s/-recursive//`; \
972         for subdir in $$rev; do \
973           echo "Making $$target in $$subdir"; \
974           if test "$$subdir" = "."; then \
975             local_target="$$target-am"; \
976           else \
977             local_target="$$target"; \
978           fi; \
979           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
980            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
981         done && test -z "$$fail"
982 tags-recursive:
983         list='$(SUBDIRS)'; for subdir in $$list; do \
984           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
985         done
986 ctags-recursive:
987         list='$(SUBDIRS)'; for subdir in $$list; do \
988           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
989         done
990
991 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
992         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
993         unique=`for i in $$list; do \
994             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
995           done | \
996           $(AWK) '    { files[$$0] = 1; } \
997                END { for (i in files) print i; }'`; \
998         mkid -fID $$unique
999 tags: TAGS
1000
1001 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
1002                 $(TAGS_FILES) $(LISP)
1003         tags=; \
1004         here=`pwd`; \
1005         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1006           include_option=--etags-include; \
1007           empty_fix=.; \
1008         else \
1009           include_option=--include; \
1010           empty_fix=; \
1011         fi; \
1012         list='$(SUBDIRS)'; for subdir in $$list; do \
1013           if test "$$subdir" = .; then :; else \
1014             test ! -f $$subdir/TAGS || \
1015               tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
1016           fi; \
1017         done; \
1018         list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1019         unique=`for i in $$list; do \
1020             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1021           done | \
1022           $(AWK) '    { files[$$0] = 1; } \
1023                END { for (i in files) print i; }'`; \
1024         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1025           test -n "$$unique" || unique=$$empty_fix; \
1026           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1027             $$tags $$unique; \
1028         fi
1029 ctags: CTAGS
1030 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
1031                 $(TAGS_FILES) $(LISP)
1032         tags=; \
1033         here=`pwd`; \
1034         list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1035         unique=`for i in $$list; do \
1036             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1037           done | \
1038           $(AWK) '    { files[$$0] = 1; } \
1039                END { for (i in files) print i; }'`; \
1040         test -z "$(CTAGS_ARGS)$$tags$$unique" \
1041           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1042              $$tags $$unique
1043
1044 GTAGS:
1045         here=`$(am__cd) $(top_builddir) && pwd` \
1046           && cd $(top_srcdir) \
1047           && gtags -i $(GTAGS_ARGS) $$here
1048
1049 distclean-tags:
1050         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1051 site.exp: Makefile
1052         @echo 'Making a new site.exp file...'
1053         @echo '## these variables are automatically generated by make ##' >site.tmp
1054         @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
1055         @echo '# edit the last section' >>site.tmp
1056         @echo 'set srcdir $(srcdir)' >>site.tmp
1057         @echo "set objdir `pwd`" >>site.tmp
1058         @echo 'set build_alias "$(build_alias)"' >>site.tmp
1059         @echo 'set build_triplet $(build_triplet)' >>site.tmp
1060         @echo 'set host_alias "$(host_alias)"' >>site.tmp
1061         @echo 'set host_triplet $(host_triplet)' >>site.tmp
1062         @echo 'set target_alias "$(target_alias)"' >>site.tmp
1063         @echo 'set target_triplet $(target_triplet)' >>site.tmp
1064         @echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
1065         @test ! -f site.exp || \
1066           sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
1067         @-rm -f site.bak
1068         @test ! -f site.exp || mv site.exp site.bak
1069         @mv site.tmp site.exp
1070
1071 distclean-DEJAGNU:
1072         -rm -f site.exp site.bak
1073         -l='$(DEJATOOL)'; for tool in $$l; do \
1074           rm -f $$tool.sum $$tool.log; \
1075         done
1076 check-am:
1077         $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
1078 check: check-recursive
1079 all-am: Makefile $(PROGRAMS) $(MANS) config.h
1080 installdirs: installdirs-recursive
1081 installdirs-am:
1082         for dir in "$(DESTDIR)$(man1dir)"; do \
1083           test -z "$$dir" || $(mkdir_p) "$$dir"; \
1084         done
1085 install: install-recursive
1086 install-exec: install-exec-recursive
1087 install-data: install-data-recursive
1088 uninstall: uninstall-recursive
1089
1090 install-am: all-am
1091         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1092
1093 installcheck: installcheck-recursive
1094 install-strip:
1095         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1096           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1097           `test -z '$(STRIP)' || \
1098             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1099 mostlyclean-generic:
1100         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1101
1102 clean-generic:
1103         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1104
1105 distclean-generic:
1106         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1107         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1108
1109 maintainer-clean-generic:
1110         @echo "This command is intended for maintainers to use"
1111         @echo "it deletes files that may require special tools to rebuild."
1112         -rm -f deffilep.c
1113         -rm -f deffilep.h
1114         -rm -f ldgram.c
1115         -rm -f ldgram.h
1116         -rm -f ldlex.c
1117         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1118 clean: clean-recursive
1119
1120 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
1121         mostlyclean-am
1122
1123 distclean: distclean-recursive
1124         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1125         -rm -f Makefile
1126 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
1127         distclean-generic distclean-hdr distclean-libtool \
1128         distclean-local distclean-tags
1129
1130 dvi: dvi-recursive
1131
1132 dvi-am: $(DVIS)
1133
1134 html: html-recursive
1135
1136 html-am: $(HTMLS)
1137
1138 info: info-recursive
1139
1140 info-am: $(INFO_DEPS)
1141
1142 install-data-am: install-data-local install-man
1143
1144 install-exec-am: install-exec-local
1145
1146 install-info: install-info-recursive
1147
1148 install-info-am: $(INFO_DEPS)
1149         @$(NORMAL_INSTALL)
1150         test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
1151         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
1152         list='$(INFO_DEPS)'; \
1153         for file in $$list; do \
1154           case $$file in \
1155             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
1156           esac; \
1157           if test -f $$file; then d=.; else d=$(srcdir); fi; \
1158           file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
1159           for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
1160                        $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
1161             if test -f $$ifile; then \
1162               relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
1163               echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
1164               $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
1165             else : ; fi; \
1166           done; \
1167         done
1168         @$(POST_INSTALL)
1169         @if (install-info --version && \
1170              install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
1171           list='$(INFO_DEPS)'; \
1172           for file in $$list; do \
1173             relfile=`echo "$$file" | sed 's|^.*/||'`; \
1174             echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
1175             install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
1176           done; \
1177         else : ; fi
1178 install-man: install-man1
1179
1180 installcheck-am:
1181
1182 maintainer-clean: maintainer-clean-recursive
1183         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1184         -rm -rf $(top_srcdir)/autom4te.cache
1185         -rm -f Makefile
1186 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
1187         maintainer-clean-generic
1188
1189 mostlyclean: mostlyclean-recursive
1190
1191 mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
1192         mostlyclean-generic mostlyclean-libtool mostlyclean-local
1193
1194 pdf: pdf-recursive
1195
1196 pdf-am: $(PDFS)
1197
1198 ps: ps-recursive
1199
1200 ps-am: $(PSS)
1201
1202 uninstall-am: uninstall-man
1203
1204 uninstall-info: uninstall-info-recursive
1205
1206 uninstall-man: uninstall-man1
1207
1208 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
1209         check-DEJAGNU check-am clean clean-generic clean-info \
1210         clean-libtool clean-noinstPROGRAMS clean-recursive ctags \
1211         ctags-recursive dist-info distclean distclean-DEJAGNU \
1212         distclean-compile distclean-generic distclean-hdr \
1213         distclean-libtool distclean-local distclean-recursive \
1214         distclean-tags dvi dvi-am html html-am info info-am install \
1215         install-am install-data install-data-am install-data-local \
1216         install-exec install-exec-am install-exec-local install-info \
1217         install-info-am install-man install-man1 install-strip \
1218         installcheck installcheck-am installdirs installdirs-am \
1219         maintainer-clean maintainer-clean-aminfo \
1220         maintainer-clean-generic maintainer-clean-recursive \
1221         mostlyclean mostlyclean-aminfo mostlyclean-compile \
1222         mostlyclean-generic mostlyclean-libtool mostlyclean-local \
1223         mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
1224         uninstall uninstall-am uninstall-info-am uninstall-man \
1225         uninstall-man1
1226
1227
1228 # Disable -Werror, if it has been enabled, since old versions of bison/
1229 # yacc will produce working code which contain compile time warnings. 
1230 ldgram.o:
1231         $(COMPILE) -c $< $(NO_WERROR)
1232 ldlex.o:
1233         $(COMPILE) -c $< $(NO_WERROR)
1234 deffilep.o:
1235         $(COMPILE) -c $< $(NO_WERROR)
1236
1237 po/POTFILES.in: @MAINT@ Makefile
1238         for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
1239           && mv tmp $(srcdir)/po/POTFILES.in
1240
1241 ldmain.o: ldmain.c config.status
1242         $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
1243           -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
1244           -DTOOLBINDIR='"$(tooldir)/bin"' \
1245           -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
1246           $(srcdir)/ldmain.c
1247
1248 ldemul-list.h: Makefile
1249         (echo "/* This file is automatically generated.  DO NOT EDIT! */";\
1250         for f in `echo " " ${EMULATION_OFILES} "" \
1251          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
1252             echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
1253         done;\
1254         echo "";\
1255         echo "#define EMULATION_LIST \\";\
1256         for f in `echo " " ${EMULATION_OFILES} "" \
1257          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
1258             echo "  &ld_$${f}_emulation, \\"; \
1259         done;\
1260         echo "  0") >ldemul-tmp.h
1261         mv ldemul-tmp.h ldemul-list.h
1262
1263 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
1264           cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
1265
1266 @TDIRS@
1267
1268 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
1269   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1270         ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
1271 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
1272   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1273         ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
1274 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
1275   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1276         ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
1277 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
1278   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1279         ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
1280 ealpha.c: $(srcdir)/emulparams/alpha.sh \
1281   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
1282         ${GENSCRIPTS} alpha "$(tdir_alpha)"
1283 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
1284   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1285         ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
1286 earmelf.c: $(srcdir)/emulparams/armelf.sh \
1287   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1288   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1289         ${GENSCRIPTS} armelf "$(tdir_armelf)"
1290 earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
1291   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1292   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1293         ${GENSCRIPTS} armelfb "$(tdir_armelfb)"
1294 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
1295   $(srcdir)/emulparams/armelf.sh \
1296   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1297   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1298         ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
1299 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
1300   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1301   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1302         ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
1303 earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
1304   $(srcdir)/emulparams/armelf_linux.sh \
1305   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1306   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1307         ${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)"
1308 earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
1309   $(srcdir)/emulparams/armelf_linux.sh \
1310   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1311   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1312         ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
1313 earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
1314   $(srcdir)/emulparams/armelf_linux_eabi.sh \
1315   $(srcdir)/emulparams/armelf_linux.sh \
1316   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1317   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1318         ${GENSCRIPTS} armelfb_linux_eabi "$(tdir_armelfb_linux_abi)"
1319 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
1320   $(srcdir)/emulparams/armelf.sh \
1321   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1322   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1323         ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
1324 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
1325   $(srcdir)/emulparams/armelf_nbsd.sh \
1326   $(srcdir)/emulparams/armelf.sh \
1327   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1328   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1329         ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
1330 earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
1331   $(srcdir)/emulparams/armelf.sh $(srcdir)/emultempl/elf32.em \
1332   $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
1333   ${GEN_DEPENDS}
1334         ${GENSCRIPTS} armelf_vxworks "$(tdir_armelf)"
1335 earmaoutb.c:    $(srcdir)/emulparams/armaoutb.sh \
1336   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
1337         ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
1338 earmaoutl.c:    $(srcdir)/emulparams/armaoutl.sh \
1339   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
1340         ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
1341 earmcoff.c:     $(srcdir)/emulparams/armcoff.sh \
1342   $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
1343         ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
1344 earmnbsd.c:     $(srcdir)/emulparams/armnbsd.sh \
1345   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1346         ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
1347 earmnto.c: $(srcdir)/emulparams/armnto.sh \
1348   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1349   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1350         ${GENSCRIPTS} armnto "$(tdir_armnto)"
1351 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
1352   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
1353         ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
1354 earmpe.c: $(srcdir)/emulparams/armpe.sh \
1355   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1356         ${GENSCRIPTS} armpe "$(tdir_armpe)"
1357 earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
1358   $(srcdir)/emulparams/armelf.sh $(srcdir)/emultempl/elf32.em \
1359   $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
1360   ${GEN_DEPENDS}
1361         ${GENSCRIPTS} armsymbian "$(tdir_armelf)"
1362 eavr2.c: $(srcdir)/emulparams/avr2.sh \
1363   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1364   ${GEN_DEPENDS}
1365         ${GENSCRIPTS} avr2 "$(tdir_avr2)"
1366 eavr1.c: $(srcdir)/emulparams/avr1.sh \
1367   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1368   ${GEN_DEPENDS}
1369         ${GENSCRIPTS} avr1 "$(tdir_avr2)"
1370 eavr3.c: $(srcdir)/emulparams/avr3.sh \
1371   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1372   ${GEN_DEPENDS}
1373         ${GENSCRIPTS} avr3 "$(tdir_avr2)"
1374 eavr4.c: $(srcdir)/emulparams/avr4.sh \
1375   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1376   ${GEN_DEPENDS}
1377         ${GENSCRIPTS} avr4 "$(tdir_avr2)"
1378 eavr5.c: $(srcdir)/emulparams/avr5.sh \
1379   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1380   ${GEN_DEPENDS}
1381         ${GENSCRIPTS} avr5 "$(tdir_avr2)"
1382 ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
1383   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
1384         ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
1385 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
1386   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
1387         ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
1388 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
1389   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
1390         ${GENSCRIPTS} crisaout "$(tdir_cris)"
1391 ecriself.c: $(srcdir)/emulparams/criself.sh \
1392   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1393         ${GENSCRIPTS} criself "$(tdir_cris)"
1394 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
1395   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1396         ${GENSCRIPTS} crislinux "$(tdir_cris)"
1397 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
1398   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
1399         ${GENSCRIPTS} d10velf "$(tdir_d10v)"
1400 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
1401   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
1402         ${GENSCRIPTS} d30velf "$(tdir_d30v)"
1403 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
1404   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
1405         ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
1406 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
1407   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
1408         ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
1409 edelta68.c: $(srcdir)/emulparams/delta68.sh \
1410   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
1411         ${GENSCRIPTS} delta68 "$(tdir_delta68)"
1412 eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \
1413   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/bfin.em \
1414   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1415         ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin
1416 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
1417   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
1418         ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
1419 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1420   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
1421   $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
1422         ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
1423 eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
1424   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1425         ${GENSCRIPTS} elf32am33lin "$(tdir_mn10300)"
1426 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1427   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1428         ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
1429 eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh \
1430   $(srcdir)/emulparams/xtensa-config.sh $(srcdir)/emultempl/elf32.em \
1431   $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1432   $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1433   $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1434         ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
1435 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1436   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1437         ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
1438 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1439   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1440         ${GENSCRIPTS} elf32frv "$(tdir_frv)"
1441 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1442   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1443         ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
1444 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1445   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1446         ${GENSCRIPTS} m32relf "$(tdir_m32r)"
1447 em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1448   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1449         ${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
1450 em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1451   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1452         ${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
1453 em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1454   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1455         ${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
1456 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
1457   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1458         ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
1459 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
1460   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1461         ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
1462 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
1463   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1464         ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
1465 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1466   $(srcdir)/emulparams/elf32bmip.sh \
1467   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1468         ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
1469 eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1470   $(srcdir)/emultempl/elf32.em \
1471   $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1472         ${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
1473 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
1474   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1475         ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
1476 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1477   $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emultempl/irix.em \
1478   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1479         ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
1480 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1481   $(srcdir)/emulparams/elf32bmip.sh \
1482   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1483         ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
1484 eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1485   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/crxelf.em \
1486   $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS} 
1487         ${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
1488 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1489   $(srcdir)/emulparams/elf32bmip.sh \
1490   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1491         ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
1492 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1493   $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1494   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1495         ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
1496 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1497   $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1498   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1499         ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
1500 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1501   $(srcdir)/emulparams/elf32bmip.sh \
1502   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1503         ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
1504 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1505   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1506   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1507         ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
1508 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1509   $(srcdir)/emultempl/irix.em \
1510   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1511         ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
1512 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1513   $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1514   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1515         ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
1516 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1517   $(srcdir)/emulparams/elf32bmip.sh \
1518   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1519         ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
1520 eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh \
1521   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1522         ${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
1523 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1524   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1525   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1526         ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
1527 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1528   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1529   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1530         ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
1531 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1532   $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1533   $(srcdir)/emultempl/ppc32elf.em \
1534   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1535         ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
1536 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1537   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1538   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1539         ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
1540 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1541   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1542         ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
1543 eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1544   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1545         ${GENSCRIPTS} elf32ppcvxworks "$(tdir_elf32ppcvxworks)"
1546 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1547   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1548   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1549         ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
1550 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
1551   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1552         ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
1553 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1554   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1555         ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
1556 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1557   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1558   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1559         ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
1560 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1561   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1562   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1563         ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
1564 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1565   $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1566   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1567         ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
1568 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1569   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1570         ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
1571 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1572   $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1573   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1574         ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
1575 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1576   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1577         ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1578 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1579   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
1580         ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1581 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1582   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1583         ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
1584 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1585   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1586         ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
1587 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1588   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/alphaelf.em \
1589   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1590         ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
1591 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1592   $(srcdir)/emulparams/elf64alpha.sh \
1593   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/alphaelf.em \
1594   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1595         ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
1596 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1597   $(srcdir)/emulparams/elf64alpha.sh \
1598   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/alphaelf.em \
1599   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1600         ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
1601 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1602   $(srcdir)/emulparams/hppa64linux.sh \
1603   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1604         ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
1605 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1606   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1607         ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
1608 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1609   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/ia64elf.em \
1610   $(srcdir)/emultempl/needrelax.em \
1611   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1612         ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
1613 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1614   $(srcdir)/emulparams/elf64_ia64.sh \
1615   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/ia64elf.em \
1616   $(srcdir)/emultempl/needrelax.em \
1617   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1618         ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
1619 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1620   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1621         ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
1622 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1623   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1624         ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
1625 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1626   $(srcdir)/emulparams/elf64_sparc.sh \
1627   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1628         ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
1629 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1630   $(srcdir)/emulparams/elf32bmipn32.sh $(srcdir)/emultempl/irix.em \
1631   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1632         ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
1633 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1634   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
1635   $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1636         ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
1637 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1638   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
1639   $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1640         ${GENSCRIPTS} mmo "$(tdir_mmo)"
1641 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1642   $(srcdir)/emulparams/elf32bmipn32.sh \
1643   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1644         ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
1645 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1646   $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
1647   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1648         ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
1649 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1650   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1651         ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
1652 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1653   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1654         ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
1655 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1656   $(srcdir)/emulparams/elf_x86_64.sh \
1657   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1658         ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
1659 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1660   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1661         ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
1662 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1663   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1664         ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
1665 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1666   $(srcdir)/emulparams/elf_i386.sh \
1667   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1668         ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
1669 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1670   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1671         ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
1672 eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1673   $(srcdir)/emulparams/vxworks.sh \
1674   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1675         ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)"
1676 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1677   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1678         ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
1679 egld960.c: $(srcdir)/emulparams/gld960.sh \
1680   $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1681         ${GENSCRIPTS} gld960 "$(tdir_gld960)"
1682 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1683   $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1684         ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
1685 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1686   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1687         ${GENSCRIPTS} h8300 "$(tdir_h8300)"
1688 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1689   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1690         ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
1691 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1692   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1693         ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1694 eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1695   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1696         ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
1697 eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1698   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1699         ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
1700 eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1701   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1702         ${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
1703 eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1704   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1705         ${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
1706 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1707   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1708         ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
1709 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1710   $(srcdir)/emulparams/h8300elf.sh \
1711   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1712         ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
1713 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1714   $(srcdir)/emulparams/h8300elf.sh \
1715   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1716         ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
1717 eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1718   $(srcdir)/emulparams/h8300elf.sh \
1719   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1720         ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
1721 eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1722   $(srcdir)/emulparams/h8300elf.sh \
1723   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1724         ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
1725 eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1726   $(srcdir)/emulparams/h8300elf.sh \
1727   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1728         ${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
1729 eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1730   $(srcdir)/emulparams/h8300elf.sh \
1731   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1732         ${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
1733 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1734   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1735         ${GENSCRIPTS} h8500 "$(tdir_h8500)"
1736 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1737   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1738         ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
1739 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1740   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1741         ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1742 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1743   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1744         ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1745 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1746   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1747         ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
1748 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1749   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1750         ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
1751 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1752   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1753         ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
1754 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1755   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1756   $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1757         ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
1758 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1759   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1760   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1761         ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
1762 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1763   $(srcdir)/emulparams/hppaelf.sh \
1764   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1765   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1766         ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1767 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1768   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1769   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1770         ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
1771 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1772   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1773         ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
1774 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1775   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1776         ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
1777 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1778   $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1779         ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
1780 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1781   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1782         ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1783 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1784   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1785         ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
1786 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1787   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1788         ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1789 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1790   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1791         ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1792 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1793   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1794         ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1795 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1796   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1797         ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1798 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1799   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1800         ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1801 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1802   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1803         ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1804 ei386nbsd.c:    $(srcdir)/emulparams/i386nbsd.sh \
1805   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1806         ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1807 ei386nto.c:     $(srcdir)/emulparams/i386nto.sh \
1808   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1809         ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1810 ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
1811   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1812         ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1813 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1814   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1815         ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1816 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1817   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1818         ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1819 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1820   $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1821         ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1822 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1823   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1824   $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1825         ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1826 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1827   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1828   $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1829         ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1830 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1831   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1832   $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1833         ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1834 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1835   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1836   $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1837         ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1838 em68k4knbsd.c:  $(srcdir)/emulparams/m68k4knbsd.sh \
1839   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1840         ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1841 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1842   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1843         ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1844 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1845   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1846         ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1847 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1848   $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1849         ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1850 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1851   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1852   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1853         ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1854 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1855   $(srcdir)/emulparams/m68kelf.sh \
1856   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1857   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1858         ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1859 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1860   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1861         ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1862 em68knbsd.c:    $(srcdir)/emulparams/m68knbsd.sh \
1863   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1864         ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1865 em68kpsos.c:    $(srcdir)/emulparams/m68kpsos.sh \
1866   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1867         ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1868 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1869   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1870         ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1871 emaxqcoff.c: $(srcdir)/emulparams/maxqcoff.sh \
1872   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/maxqcoff.sc ${GEN_DEPENDS}
1873         ${GENSCRIPTS} maxqcoff "$(tdir_maxqcoff)"
1874 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1875   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1876         ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1877 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
1878   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1879         ${GENSCRIPTS} mipsbig
1880 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
1881   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1882         ${GENSCRIPTS} mipsbsd
1883 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
1884   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/emultempl/generic.em \
1885   $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1886         ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1887 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
1888   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/emultempl/generic.em \
1889   $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1890         ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1891 emipslit.c:  $(srcdir)/emulparams/mipslit.sh \
1892   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1893         ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1894 emipslnews.c:  $(srcdir)/emulparams/mipslnews.sh \
1895   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1896         ${GENSCRIPTS} mipslnews
1897 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
1898   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1899         ${GENSCRIPTS} mipspe "$(tdir_mips)"
1900 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1901   $(srcdir)/emulparams/mn10200.sh \
1902   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1903         ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1904 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1905   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1906         ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1907 emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
1908   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1909   ${GEN_DEPENDS}
1910         ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
1911 emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
1912   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1913   ${GEN_DEPENDS}
1914         ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
1915 emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
1916   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1917   ${GEN_DEPENDS}
1918         ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
1919 emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
1920   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1921   ${GEN_DEPENDS}
1922         ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
1923 emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
1924   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1925   ${GEN_DEPENDS}
1926         ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
1927 emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
1928   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1929   ${GEN_DEPENDS}
1930         ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
1931 emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
1932   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1933   ${GEN_DEPENDS}
1934         ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
1935 emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
1936   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1937   ${GEN_DEPENDS}
1938         ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
1939 emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
1940   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1941   ${GEN_DEPENDS}
1942         ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
1943 emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
1944   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1945   ${GEN_DEPENDS}
1946         ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
1947 emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
1948   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1949   ${GEN_DEPENDS}
1950         ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
1951 emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
1952   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1953   ${GEN_DEPENDS}
1954         ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
1955 emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
1956   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1957   ${GEN_DEPENDS}
1958         ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
1959 emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
1960   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1961   ${GEN_DEPENDS}
1962         ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
1963 emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
1964   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1965   ${GEN_DEPENDS}
1966         ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
1967 emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
1968   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1969   ${GEN_DEPENDS}
1970         ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
1971 emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
1972   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1973   ${GEN_DEPENDS}
1974         ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
1975 emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
1976   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1977   ${GEN_DEPENDS}
1978         ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
1979 emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
1980   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1981   ${GEN_DEPENDS}
1982         ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
1983 emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
1984   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1985   ${GEN_DEPENDS}
1986         ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
1987 emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
1988   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1989   ${GEN_DEPENDS}
1990         ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
1991 emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
1992   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1993   ${GEN_DEPENDS}
1994         ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
1995 emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
1996   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1997   ${GEN_DEPENDS}
1998         ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
1999 emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
2000   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2001   ${GEN_DEPENDS}
2002         ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
2003 emsp430x1610.c: $(srcdir)/emulparams/msp430all.sh \
2004   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2005   ${GEN_DEPENDS}
2006         ${GENSCRIPTS} msp430x1610 "$(tdir_msp430x1610)" msp430all
2007 emsp430x1611.c: $(srcdir)/emulparams/msp430all.sh \
2008   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2009   ${GEN_DEPENDS}
2010         ${GENSCRIPTS} msp430x1611 "$(tdir_msp430x1611)" msp430all
2011 emsp430x1612.c: $(srcdir)/emulparams/msp430all.sh \
2012   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2013   ${GEN_DEPENDS}
2014         ${GENSCRIPTS} msp430x1612 "$(tdir_msp430x1612)" msp430all
2015 emsp430x2101.c: $(srcdir)/emulparams/msp430all.sh \
2016   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2017   ${GEN_DEPENDS}
2018         ${GENSCRIPTS} msp430x2101 "$(tdir_msp430x2101)" msp430all
2019 emsp430x2111.c: $(srcdir)/emulparams/msp430all.sh \
2020   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2021   ${GEN_DEPENDS}
2022         ${GENSCRIPTS} msp430x2111 "$(tdir_msp430x2111)" msp430all
2023 emsp430x2121.c: $(srcdir)/emulparams/msp430all.sh \
2024   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2025   ${GEN_DEPENDS}
2026         ${GENSCRIPTS} msp430x2121 "$(tdir_msp430x2121)" msp430all
2027 emsp430x2131.c: $(srcdir)/emulparams/msp430all.sh \
2028   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2029   ${GEN_DEPENDS}
2030         ${GENSCRIPTS} msp430x2131 "$(tdir_msp430x2131)" msp430all
2031 emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
2032   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2033   ${GEN_DEPENDS}
2034         ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
2035 emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
2036   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2037   ${GEN_DEPENDS}
2038         ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
2039 emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
2040   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2041   ${GEN_DEPENDS}
2042         ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
2043 emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
2044   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2045   ${GEN_DEPENDS}
2046         ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
2047 emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
2048   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2049   ${GEN_DEPENDS}
2050         ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
2051 emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
2052   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2053   ${GEN_DEPENDS}
2054         ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
2055 emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
2056   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2057   ${GEN_DEPENDS}
2058         ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
2059 emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
2060   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2061   ${GEN_DEPENDS}
2062         ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
2063 emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
2064   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2065   ${GEN_DEPENDS}
2066         ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
2067 emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
2068   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2069   ${GEN_DEPENDS}
2070         ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
2071 emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
2072   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2073   ${GEN_DEPENDS}
2074         ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
2075 emsp430x415.c: $(srcdir)/emulparams/msp430all.sh \
2076   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2077   ${GEN_DEPENDS}
2078         ${GENSCRIPTS} msp430x415 "$(tdir_msp430x415)" msp430all
2079 emsp430x417.c: $(srcdir)/emulparams/msp430all.sh \
2080   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2081   ${GEN_DEPENDS}
2082         ${GENSCRIPTS} msp430x417 "$(tdir_msp430x417)" msp430all
2083 emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
2084   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2085   ${GEN_DEPENDS}
2086         ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
2087 emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
2088   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2089   ${GEN_DEPENDS}
2090         ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
2091 emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
2092   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2093   ${GEN_DEPENDS}
2094         ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
2095 emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
2096   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2097   ${GEN_DEPENDS}
2098         ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
2099 emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
2100   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2101   ${GEN_DEPENDS}
2102         ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
2103 emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
2104   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2105   ${GEN_DEPENDS}
2106         ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
2107 emsp430xG437.c: $(srcdir)/emulparams/msp430all.sh \
2108   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2109   ${GEN_DEPENDS}
2110         ${GENSCRIPTS} msp430xG437 "$(tdir_msp430xG437)" msp430all
2111 emsp430xG438.c: $(srcdir)/emulparams/msp430all.sh \
2112   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2113   ${GEN_DEPENDS}
2114         ${GENSCRIPTS} msp430xG438 "$(tdir_msp430xG438)" msp430all
2115 emsp430xG439.c: $(srcdir)/emulparams/msp430all.sh \
2116   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2117   ${GEN_DEPENDS}
2118         ${GENSCRIPTS} msp430xG439 "$(tdir_msp430xG439)" msp430all
2119 emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
2120   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2121   ${GEN_DEPENDS}
2122         ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
2123 emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
2124   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2125   ${GEN_DEPENDS}
2126         ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
2127 emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
2128   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2129   ${GEN_DEPENDS}
2130         ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
2131 emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
2132   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2133   ${GEN_DEPENDS}
2134         ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
2135 emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
2136   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2137   ${GEN_DEPENDS}
2138         ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
2139 emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
2140   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2141   ${GEN_DEPENDS}
2142         ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
2143 enews.c: $(srcdir)/emulparams/news.sh \
2144   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2145         ${GENSCRIPTS} news "$(tdir_news)"
2146 ens32knbsd.c:   $(srcdir)/emulparams/ns32knbsd.sh \
2147   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
2148   $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2149         ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
2150 eor32.c: $(srcdir)/emulparams/or32.sh \
2151   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
2152         ${GENSCRIPTS} or32 "$(tdir_or32)"
2153 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
2154   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2155         ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
2156 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
2157   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2158         ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
2159 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
2160   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2161         ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
2162 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
2163   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2164         ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
2165 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
2166   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2167         ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
2168 eppcmacos.c:    $(srcdir)/emulparams/ppcmacos.sh \
2169   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
2170         ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
2171 eppcnw.c:       $(srcdir)/emulparams/ppcnw.sh \
2172   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
2173         ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
2174 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
2175   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
2176         ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
2177 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
2178   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2179         ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
2180 eriscix.c: $(srcdir)/emulparams/riscix.sh \
2181   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2182         ${GENSCRIPTS} riscix "$(tdir_riscix)"
2183 esh.c: $(srcdir)/emulparams/sh.sh \
2184   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
2185         ${GENSCRIPTS} sh "$(tdir_sh)"
2186 eshelf.c: $(srcdir)/emulparams/shelf.sh \
2187   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2188         ${GENSCRIPTS} shelf "$(tdir_shelf)"
2189 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
2190   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2191   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2192   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2193         ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
2194 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
2195   $(srcdir)/emulparams/shelf32.sh \
2196   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2197   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2198   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2199         ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
2200 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
2201   $(srcdir)/emulparams/shelf32.sh \
2202   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2203   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2204   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2205         ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
2206 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2207   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2208         ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
2209 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
2210   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2211   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2212         ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
2213 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
2214   $(srcdir)/emulparams/shlelf_linux.sh \
2215   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2216         ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
2217 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
2218   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2219         ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
2220 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
2221   $(srcdir)/emulparams/shelf.sh \
2222   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2223         ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
2224 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
2225   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2226         ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
2227 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
2228   $(srcdir)/emulparams/shelf_nbsd.sh \
2229   $(srcdir)/emulparams/shelf.sh \
2230   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2231         ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
2232 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
2233   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2234         ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
2235 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
2236   $(srcdir)/emulparams/shelf.sh \
2237   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2238         ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
2239 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
2240   $(srcdir)/emulparams/shelf.sh \
2241   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
2242         ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
2243 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
2244   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
2245   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2246   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2247         ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
2248 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
2249   $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
2250   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2251   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2252   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2253         ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
2254 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
2255   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2256   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2257   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2258   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2259         ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
2260 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
2261   $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2262   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2263         ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
2264 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2265   $(srcdir)/emulparams/shelf64_nbsd.sh \
2266   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2267   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2268         ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
2269 eshl.c: $(srcdir)/emulparams/shl.sh \
2270   $(srcdir)/emulparams/sh.sh \
2271   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
2272         ${GENSCRIPTS} shl "$(tdir_shl)"
2273 eshpe.c: $(srcdir)/emulparams/shpe.sh \
2274   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
2275         ${GENSCRIPTS} shpe "$(tdir_shl)"
2276 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
2277   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2278         ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
2279 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
2280   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2281         ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
2282 esparcnbsd.c:   $(srcdir)/emulparams/sparcnbsd.sh \
2283   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2284         ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
2285 est2000.c: $(srcdir)/emulparams/st2000.sh \
2286   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
2287         ${GENSCRIPTS} st2000 "$(tdir_st2000)"
2288 esun3.c: $(srcdir)/emulparams/sun3.sh \
2289   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2290         ${GENSCRIPTS} sun3 "$(tdir_sun3)"
2291 esun4.c: $(srcdir)/emulparams/sun4.sh \
2292   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2293         ${GENSCRIPTS} sun4 "$(tdir_sun4)"
2294 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
2295   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
2296         ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
2297 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
2298   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
2299         ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
2300 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
2301   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2302         ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
2303 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
2304   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2305         ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
2306 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
2307   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2308         ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
2309 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
2310   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
2311         ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
2312 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
2313   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
2314         ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
2315 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
2316   $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
2317         ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
2318 evax.c: $(srcdir)/emulparams/vax.sh \
2319   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2320         ${GENSCRIPTS} vax "$(tdir_vax)"
2321 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
2322   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2323         ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
2324 evsta.c: $(srcdir)/emulparams/vsta.sh \
2325   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2326         ${GENSCRIPTS} vsta "$(tdir_vsta)"
2327 ev850.c: $(srcdir)/emulparams/v850.sh \
2328   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
2329         ${GENSCRIPTS} v850 "$(tdir_v850)"
2330 ew65.c: $(srcdir)/emulparams/w65.sh \
2331   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
2332         ${GENSCRIPTS} w65 "$(tdir_w65)"
2333 ez8001.c: $(srcdir)/emulparams/z8001.sh \
2334   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
2335         ${GENSCRIPTS} z8001 "$(tdir_z8001)"
2336 ez8002.c: $(srcdir)/emulparams/z8002.sh \
2337   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
2338         ${GENSCRIPTS} z8002 "$(tdir_z8002)"
2339 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
2340   $(srcdir)/emulparams/elf32frv.sh \
2341   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2342         ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
2343 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
2344   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
2345   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2346         ${GENSCRIPTS} elf32m32c "$(tdir_m32c)"
2347 eelf32ms1.c: $(srcdir)/emulparams/elf32ms1.sh \
2348   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2349         ${GENSCRIPTS} elf32ms1 "$(tdir_ms1)"
2350
2351 # The generated emulation files mostly have the same dependencies.
2352 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
2353   ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
2354   ldctor.h ldexp.h ldlang.h ldgram.h
2355
2356 check-DEJAGNU: site.exp
2357         srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2358         r=`pwd`; export r; \
2359         LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
2360         EXPECT=$(EXPECT); export EXPECT; \
2361         runtest=$(RUNTEST); \
2362         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2363           $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2364                 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
2365                 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
2366                 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2367                 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2368                 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
2369                 $(RUNTESTFLAGS); \
2370         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2371         fi
2372
2373 # Rules for testing by relinking ld itself.
2374 # A similar test is in the testsuite.  This target is for ease of use
2375 # when porting ld.
2376
2377 ld-partial.o: ld-new$(EXEEXT)
2378         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
2379 ld1$(EXEEXT): ld-partial.o
2380         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2381
2382 ld1-full$(EXEEXT): ld-new
2383         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2384
2385 ld2$(EXEEXT): ld1$(EXEEXT)
2386         ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2387
2388 ld3$(EXEEXT): ld2$(EXEEXT)
2389         ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2390
2391 bootstrap: ld3$(EXEEXT)
2392         cmp ld2$(EXEEXT) ld3$(EXEEXT)
2393
2394 .PHONY: bootstrap
2395
2396 # A test program for C++ constructors and destructors.
2397 # This test is now in the testsuite.
2398 #
2399 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
2400 #       ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2401 #         cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
2402 #
2403 #cdtest.out: cdtest
2404 #       ./cdtest > cdtest.tmp
2405 #       mv cdtest.tmp cdtest.out
2406 #
2407 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
2408 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
2409 #         cdtest-bar.o cdtest-foo.o
2410 #
2411 #cdtest-ur: cdtest-ur.o
2412 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
2413 #         $(HOSTING_LIBS)
2414 #
2415 #cdtest-ur.out: cdtest-ur
2416 #       ./cdtest-ur > cdtest-ur.tmp
2417 #       mv cdtest-ur.tmp cdtest-ur.out
2418 #
2419 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2420 #       diff $(srcdir)/cdtest.exp cdtest.out
2421 #       diff $(srcdir)/cdtest.exp cdtest-ur.out
2422 #
2423 #.PHONY: check-cdtest
2424
2425 # END OF CHECK TARGETS
2426
2427 # DOCUMENTATION TARGETS
2428 # Manual configuration file; not usually attached to normal configuration,
2429 # because almost all configs use "gen" version of manual.
2430 #  Set DOCVER above to change.
2431 configdoc.texi: ${DOCVER}-doc.texi
2432         ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
2433           || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
2434           || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2435
2436 ldver.texi: $(srcdir)/../bfd/configure
2437         rm -f $@
2438         eval `grep '^ *VERSION=' $(srcdir)/../bfd/configure`; \
2439           echo "@set VERSION $$VERSION" > $@
2440
2441 $(srcdir)/ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2442 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2443
2444 # Build the man page from the texinfo file
2445 # The sed command removes the no-adjust Nroff command so that
2446 # the man output looks standard.
2447 ld.1: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2448         touch $@
2449         -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2450         -($(POD2MAN) ld.pod | \
2451                 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2452                 mv -f $@.T$$$$ $@) || \
2453                 (rm -f $@.T$$$$ && exit 1)
2454         rm -f ld.pod
2455 mostlyclean-local:
2456         -rm -rf tmpdir
2457
2458 .PHONY: install-exec-local install-data-local
2459
2460 install-exec-local: ld-new$(EXEEXT)
2461         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
2462         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
2463           if test -f $$p; then \
2464             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
2465             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
2466           else :; fi; \
2467         done
2468         n=`echo ld | sed '$(transform)'`; \
2469         if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
2470           rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2471           ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2472           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2473         fi
2474
2475 install-data-local:
2476         $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2477         for f in ldscripts/*; do \
2478           $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2479         done
2480
2481 # We want install to imply install-info as per GNU standards, despite the
2482 # cygnus option.
2483 install-data-local: install-info
2484 diststuff: info $(EXTRA_DIST)
2485 all: info ld.1
2486
2487 # Both info (ld.info) and ld.1 depend on configdoc.texi and ldver.texi.
2488 # But info isn't a direct target. Make info-recursive to depend on
2489 # ld.1 to support parallel build.
2490 info-recursive: ld.1
2491 distclean-local:
2492         rm -rf ldscripts
2493
2494 # Targets to rebuild dependencies in this Makefile.
2495 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
2496 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
2497         rm -f DEP1
2498         $(MAKE) MKDEP="$(MKDEP)" DEP1
2499         sed -f dep.sed < DEP1 > DEPA
2500         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
2501         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
2502           echo 'make DEP failed!'; exit 1; \
2503         else \
2504           mv -f DEPA $@; \
2505         fi
2506
2507 DEP1: $(CFILES) $(GENERATED_CFILES)
2508         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
2509         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
2510         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
2511         mv -f DEP2 $@
2512
2513 dep.sed: dep-in.sed config.status
2514         sed <$(srcdir)/dep-in.sed >dep.sed      \
2515                 -e 's!@INCDIR@!$(INCDIR)!'      \
2516                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
2517                 -e 's!@SRCDIR@!$(srcdir)!'      \
2518                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
2519
2520 dep: DEP
2521         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
2522         cat DEP >> tmp-Makefile
2523         $(srcdir)/../move-if-change tmp-Makefile Makefile
2524
2525 dep-in: DEP
2526         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
2527         cat DEP >> tmp-Makefile.in
2528         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
2529
2530 dep-am: DEP
2531         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
2532         cat DEP >> tmp-Makefile.am
2533         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
2534
2535 .PHONY: dep dep-in dep-am
2536
2537 # What appears below is generated by a hacked mkdep using gcc -MM.
2538
2539 # DO NOT DELETE THIS LINE -- mkdep uses it.
2540 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
2541 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2542   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2543   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
2544   ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
2545 ldemul.o: ldemul.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2546   $(INCDIR)/symcat.h sysdep.h $(INCDIR)/fopen-same.h \
2547   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \
2548   ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h ldemul-list.h
2549 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2550   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2551   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
2552   ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
2553   $(INCDIR)/safe-ctype.h
2554 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2555   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2556   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
2557   ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
2558   ldlex.h ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/filenames.h
2559 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2560   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2561   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
2562   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
2563   ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
2564   ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h \
2565   $(INCDIR)/hashtab.h
2566 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2567   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2568   $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
2569   $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
2570   ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
2571   ldlex.h ldfile.h ldemul.h ldctor.h
2572 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2573   $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h sysdep.h config.h \
2574   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
2575   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
2576   ldgram.h ldlex.h ldmain.h ldfile.h $(BFDDIR)/elf-bfd.h \
2577   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
2578 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2579   $(INCDIR)/symcat.h ../bfd/bfdver.h sysdep.h config.h \
2580   $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h ldver.h \
2581   ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
2582 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2583   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2584   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
2585   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
2586   ldmisc.h ldgram.h ldmain.h
2587 lexsup.o: lexsup.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2588   $(INCDIR)/symcat.h sysdep.h $(INCDIR)/fopen-same.h \
2589   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
2590   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
2591   ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
2592   $(INCDIR)/demangle.h
2593 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2594   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
2595   ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
2596 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2597   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2598   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
2599   ldmain.h ldmisc.h ldexp.h ldlang.h
2600 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2601   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2602   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
2603   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
2604   ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
2605   $(BFDDIR)/libcoff.h deffile.h pe-dll.h
2606 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2607   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2608   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
2609   ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
2610   mri.h ldctor.h ldlex.h
2611 ldlex.o: ldlex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2612   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2613   $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
2614   ldmisc.h ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h \
2615   ldmain.h $(INCDIR)/libiberty.h
2616 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2617   $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
2618   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
2619   ldmisc.h deffile.h
2620 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
2621 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2622 # Otherwise a system limit (for SysV at least) may be exceeded.
2623 .NOEXPORT: