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