]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/binutils/ld/Makefile.in
Merge ^vendor/binutils/dist@214082 into contrib/binutils.
[FreeBSD/FreeBSD.git] / contrib / binutils / 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 # $FreeBSD$
16
17 @SET_MAKE@
18
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
25 top_builddir = .
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 INSTALL = @INSTALL@
28 install_sh_DATA = $(install_sh) -c -m 644
29 install_sh_PROGRAM = $(install_sh) -c
30 install_sh_SCRIPT = $(install_sh) -c
31 INSTALL_HEADER = $(INSTALL_DATA)
32 transform = $(program_transform_name)
33 NORMAL_INSTALL = :
34 PRE_INSTALL = :
35 POST_INSTALL = :
36 NORMAL_UNINSTALL = :
37 PRE_UNINSTALL = :
38 POST_UNINSTALL = :
39 build_triplet = @build@
40 host_triplet = @host@
41 target_triplet = @target@
42 noinst_PROGRAMS = ld-new$(EXEEXT)
43 DIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub NEWS \
44         README ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
45         $(top_srcdir)/configure $(am__configure_deps) \
46         $(srcdir)/config.in $(srcdir)/../mkinstalldirs \
47         $(top_srcdir)/po/Make-in ldgram.h ldgram.c ldlex.c deffilep.h \
48         deffilep.c $(srcdir)/../ylwrap $(srcdir)/../ltmain.sh \
49         $(srcdir)/../config.guess $(srcdir)/../config.sub
50 subdir = .
51 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
53         $(top_srcdir)/../bfd/acinclude.m4 \
54         $(top_srcdir)/../config/acx.m4 $(top_srcdir)/../bfd/bfd.m4 \
55         $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/../libtool.m4 \
56         $(top_srcdir)/../gettext.m4 $(top_srcdir)/configure.in
57 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58         $(ACLOCAL_M4)
59 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
60  configure.lineno configure.status.lineno
61 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
62 CONFIG_HEADER = config.h
63 CONFIG_CLEAN_FILES = po/Makefile.in
64 PROGRAMS = $(noinst_PROGRAMS)
65 am_ld_new_OBJECTS = ldgram.$(OBJEXT) ldlex.$(OBJEXT) lexsup.$(OBJEXT) \
66         ldlang.$(OBJEXT) mri.$(OBJEXT) ldctor.$(OBJEXT) \
67         ldmain.$(OBJEXT) ldwrite.$(OBJEXT) ldexp.$(OBJEXT) \
68         ldemul.$(OBJEXT) ldver.$(OBJEXT) ldmisc.$(OBJEXT) \
69         ldfile.$(OBJEXT) ldcref.$(OBJEXT)
70 ld_new_OBJECTS = $(am_ld_new_OBJECTS)
71 am__DEPENDENCIES_1 =
72 am__DEPENDENCIES_2 = ../bfd/libbfd.la
73 am__DEPENDENCIES_3 = ../libiberty/libiberty.a
74 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
75 depcomp =
76 am__depfiles_maybe =
77 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
78         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
79 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
80         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
81         $(AM_CFLAGS) $(CFLAGS)
82 CCLD = $(CC)
83 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
84         $(AM_LDFLAGS) $(LDFLAGS) -o $@
85 LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
86 LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
87 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
88 LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) \
89         $(AM_YFLAGS)
90 YLWRAP = $(top_srcdir)/../ylwrap
91 SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
92 INFO_DEPS = $(srcdir)/ld.info
93 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
94 am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
95 DVIS = ld.dvi
96 PDFS = ld.pdf
97 PSS = ld.ps
98 HTMLS = ld.html
99 TEXINFOS = ld.texinfo
100 TEXI2PDF = $(TEXI2DVI) --pdf --batch
101 MAKEINFOHTML = $(MAKEINFO) --html
102 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
103 DVIPS = dvips
104 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
105         html-recursive info-recursive install-data-recursive \
106         install-exec-recursive install-info-recursive \
107         install-recursive installcheck-recursive installdirs-recursive \
108         pdf-recursive ps-recursive uninstall-info-recursive \
109         uninstall-recursive
110 man1dir = $(mandir)/man1
111 am__installdirs = "$(DESTDIR)$(man1dir)"
112 NROFF = nroff
113 MANS = $(man_MANS)
114 ETAGS = etags
115 CTAGS = ctags
116 DEJATOOL = $(PACKAGE)
117 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
118 DIST_SUBDIRS = $(SUBDIRS)
119 ACLOCAL = @ACLOCAL@
120 ALLOCA = @ALLOCA@
121 AMDEP_FALSE = @AMDEP_FALSE@
122 AMDEP_TRUE = @AMDEP_TRUE@
123 AMTAR = @AMTAR@
124 AUTOCONF = @AUTOCONF@
125 AUTOHEADER = @AUTOHEADER@
126 AUTOMAKE = @AUTOMAKE@
127 AWK = @AWK@
128 CATALOGS = @CATALOGS@
129 CATOBJEXT = @CATOBJEXT@
130 CC = @CC@
131 CCDEPMODE = @CCDEPMODE@
132 CFLAGS = @CFLAGS@
133 CPP = @CPP@
134 CPPFLAGS = @CPPFLAGS@
135 CYGPATH_W = @CYGPATH_W@
136 DATADIRNAME = @DATADIRNAME@
137 DEFS = @DEFS@
138 DEPDIR = @DEPDIR@
139 ECHO_C = @ECHO_C@
140 ECHO_N = @ECHO_N@
141 ECHO_T = @ECHO_T@
142 EGREP = @EGREP@
143 EMUL = @EMUL@
144 EMULATION_LIBPATH = @EMULATION_LIBPATH@
145 EMULATION_OFILES = @EMULATION_OFILES@
146 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
147 EXEEXT = @EXEEXT@
148 GMOFILES = @GMOFILES@
149 GMSGFMT = @GMSGFMT@
150 GT_NO = @GT_NO@
151 GT_YES = @GT_YES@
152 HDEFINES = @HDEFINES@
153
154 #stuff for self hosting (can be overridden in config file).
155 HOSTING_CRT0 = @HOSTING_CRT0@
156 HOSTING_LIBS = @HOSTING_LIBS@
157 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
158 INSTALL_DATA = @INSTALL_DATA@
159 INSTALL_PROGRAM = @INSTALL_PROGRAM@
160 INSTALL_SCRIPT = @INSTALL_SCRIPT@
161 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
162 INSTOBJEXT = @INSTOBJEXT@
163 INTLDEPS = @INTLDEPS@
164 INTLLIBS = @INTLLIBS@
165 INTLOBJS = @INTLOBJS@
166 LDFLAGS = @LDFLAGS@
167 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
168 LEXLIB = @LEXLIB@
169 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
170 LIBOBJS = @LIBOBJS@
171 LIBS = @LIBS@
172 LIBTOOL = @LIBTOOL@
173
174 # Search path to override the default search path for -lfoo libraries.
175 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
176 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
177 # a cross-linker, in which case the default is empty.  See genscripts.sh.)
178 # Otherwise, they are replaced with the ones given in LIB_PATH,
179 # which may have the form: LIB_PATH=/lib:/usr/local/lib.  This can be set
180 # when the linker is configured via the --with-lib-path configure switch.
181 LIB_PATH = @LIB_PATH@
182 LN_S = @LN_S@
183 LTLIBOBJS = @LTLIBOBJS@
184 MAINT = @MAINT@
185 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
186 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
187 MAKEINFO = @MAKEINFO@
188 MKINSTALLDIRS = @MKINSTALLDIRS@
189 MSGFMT = @MSGFMT@
190 NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@
191 NO_WERROR = @NO_WERROR@
192 OBJEXT = @OBJEXT@
193 PACKAGE = @PACKAGE@
194 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
195 PACKAGE_NAME = @PACKAGE_NAME@
196 PACKAGE_STRING = @PACKAGE_STRING@
197 PACKAGE_TARNAME = @PACKAGE_TARNAME@
198 PACKAGE_VERSION = @PACKAGE_VERSION@
199 PATH_SEPARATOR = @PATH_SEPARATOR@
200 POFILES = @POFILES@
201 POSUB = @POSUB@
202 RANLIB = @RANLIB@
203 SET_MAKE = @SET_MAKE@
204 SHELL = @SHELL@
205 STRINGIFY = @STRINGIFY@
206 STRIP = @STRIP@
207 TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
208 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
209
210 # This is the real libbfd.a created by libtool.
211 TESTBFDLIB = @TESTBFDLIB@
212 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
213 USE_NLS = @USE_NLS@
214 VERSION = @VERSION@
215 WARN_CFLAGS = @WARN_CFLAGS@
216 XGETTEXT = @XGETTEXT@
217 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
218 ac_ct_CC = @ac_ct_CC@
219 ac_ct_RANLIB = @ac_ct_RANLIB@
220 ac_ct_STRIP = @ac_ct_STRIP@
221 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
222 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
223 am__include = @am__include@
224 am__leading_dot = @am__leading_dot@
225 am__quote = @am__quote@
226 am__tar = @am__tar@
227 am__untar = @am__untar@
228 bindir = @bindir@
229 build = @build@
230 build_alias = @build_alias@
231 build_cpu = @build_cpu@
232 build_os = @build_os@
233 build_vendor = @build_vendor@
234 datadir = @datadir@
235 datarootdir = @datarootdir@
236 docdir = @docdir@
237 exec_prefix = @exec_prefix@
238 host = @host@
239 host_alias = @host_alias@
240 host_cpu = @host_cpu@
241 host_os = @host_os@
242 host_vendor = @host_vendor@
243 htmldir = @htmldir@
244 includedir = @includedir@
245 infodir = @infodir@
246 install_sh = @install_sh@
247 l = @l@
248 libdir = @libdir@
249 libexecdir = @libexecdir@
250 localstatedir = @localstatedir@
251 mandir = @mandir@
252 mkdir_p = @mkdir_p@
253 oldincludedir = @oldincludedir@
254 prefix = @prefix@
255 program_transform_name = @program_transform_name@
256 sbindir = @sbindir@
257 sharedstatedir = @sharedstatedir@
258 sysconfdir = @sysconfdir@
259 target = @target@
260 target_alias = @target_alias@
261 target_cpu = @target_cpu@
262 target_os = @target_os@
263 target_vendor = @target_vendor@
264 use_sysroot = @use_sysroot@
265 AUTOMAKE_OPTIONS = cygnus dejagnu
266 SUBDIRS = po
267 tooldir = $(exec_prefix)/$(target_alias)
268 YFLAGS = -d
269 AM_CFLAGS = $(WARN_CFLAGS)
270
271 # We put the scripts in the directory $(scriptdir)/ldscripts.
272 # We can't put the scripts in $(datadir) because the SEARCH_DIR
273 # directives need to be different for native and cross linkers.
274 scriptdir = $(tooldir)/lib
275 BASEDIR = $(srcdir)/..
276 BFDDIR = $(BASEDIR)/bfd
277 INCDIR = $(BASEDIR)/include
278 MKDEP = gcc -MM
279
280 # What version of the manual to build
281 DOCVER = gen
282
283 # Options to extract the man page from ld.texinfo
284 MANCONF = -Dman
285 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
286 POD2MAN = pod2man --center="GNU Development Tools" \
287         --release="binutils-$(VERSION)" --section=1
288
289 HOSTING_EMU = -m $(EMUL)
290
291 # Setup the testing framework, if you have one
292 EXPECT = expect
293 RUNTEST = runtest
294 RUNTESTFLAGS = 
295 CC_FOR_TARGET = ` \
296   if [ -f $$r/../gcc/xgcc ] ; then \
297     if [ -f $$r/../newlib/Makefile ] ; then \
298       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
299     else \
300       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
301     fi; \
302   else \
303     if [ "@host@" = "@target@" ] ; then \
304       echo $(CC); \
305     else \
306       echo gcc | sed '$(transform)'; \
307     fi; \
308   fi`
309
310 CXX = gcc
311 CXX_FOR_TARGET = ` \
312   if [ -f $$r/../gcc/xgcc ] ; then \
313     if [ -f $$r/../newlib/Makefile ] ; then \
314       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
315     else \
316       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
317     fi; \
318   else \
319     if [ "@host@" = "@target@" ] ; then \
320       echo $(CXX); \
321     else \
322       echo gcc | sed '$(transform)'; \
323     fi; \
324   fi`
325
326 info_TEXINFOS = ld.texinfo
327 noinst_TEXINFOS = ldint.texinfo
328 man_MANS = ld.1
329 AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I $(top_srcdir)/../libiberty
330 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I $(top_srcdir)/../libiberty
331 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(datadir)/locale\""
332 BFDLIB = ../bfd/libbfd.la
333 LIBIBERTY = ../libiberty/libiberty.a
334 ALL_EMULATIONS = \
335         eaixppc.o \
336         eaixrs6.o \
337         ealpha.o \
338         earcelf.o \
339         earm_epoc_pe.o \
340         earmaoutb.o \
341         earmaoutl.o \
342         earmcoff.o \
343         earmelf.o \
344         earmelfb.o \
345         earmelf_fbsd.o \
346         earmelf_linux.o \
347         earmelf_linux_eabi.o \
348         earmelfb_linux.o \
349         earmelfb_linux_eabi.o \
350         earmelf_nbsd.o \
351         earmelfb_nbsd.o \
352         earmelf_vxworks.o \
353         earmnto.o \
354         earmnbsd.o \
355         earmpe.o \
356         earmsymbian.o \
357         eavr2.o \
358         eavr1.o \
359         eavr3.o \
360         eavr4.o \
361         eavr5.o \
362         ecoff_i860.o \
363         ecoff_sparc.o \
364         ecrisaout.o \
365         ecriself.o \
366         ecrislinux.o \
367         ed10velf.o \
368         ed30v_e.o \
369         ed30v_o.o \
370         ed30velf.o \
371         edelta68.o \
372         eelf32_dlx.o \
373         eelf32_i960.o \
374         eelf32_i860.o \
375         eelf32_sparc.o \
376         eelf32_sparc_vxworks.o \
377         eelf32b4300.o \
378         eelf32bfin.o \
379         eelf32bfinfd.o \
380         eelf32cr16c.o \
381         eelf32bmip.o \
382         eelf32bmipn32.o \
383         eelf32btsmip.o \
384         eelf32crx.o \
385         eelf32btsmipn32.o \
386         eelf32ltsmip.o \
387         eelf32ltsmipn32.o \
388         eelf32ebmip.o \
389         eelf32ebmipvxworks.o \
390         eelf32elmip.o \
391         eelf32elmipvxworks.o \
392         eelf32fr30.o \
393         eelf32frv.o \
394         eelf32i370.o \
395         eelf32ip2k.o \
396         eelf32iq2000.o \
397         eelf32iq10.o \
398         eelf32l4300.o \
399         eelf32lmip.o \
400         eelf32lppc.o \
401         eelf32lppcnto.o \
402         eelf32lppcsim.o \
403         eelf32m32c.o \
404         eelf32mcore.o \
405         eelf32mipswindiss.o \
406         eelf32mt.o \
407         eelf32openrisc.o \
408         eelf32ppc.o \
409         eelf32ppc_fbsd.o \
410         eelf32ppclinux.o \
411         eelf32ppcnto.o \
412         eelf32ppcsim.o \
413         eelf32ppcwindiss.o \
414         eelf32ppcvxworks.o \
415         eelf32vax.o \
416         eelf32xc16x.o \
417         eelf32xc16xl.o \
418         eelf32xc16xs.o \
419         eelf32xstormy16.o \
420         eelf32xtensa.o \
421         eelf_i386.o \
422         eelf_i386_be.o \
423         eelf_i386_chaos.o \
424         eelf_i386_fbsd.o \
425         eelf_i386_ldso.o \
426         eelf_i386_vxworks.o \
427         eelf_s390.o \
428         egld960.o \
429         egld960coff.o \
430         eh8300.o \
431         eh8300h.o \
432         eh8300s.o \
433         eh8300elf.o \
434         eh8300hn.o \
435         eh8300sn.o \
436         eh8300sx.o \
437         eh8300helf.o \
438         eh8300self.o \
439         eh8300hnelf.o \
440         eh8300snelf.o \
441         eh8300sxelf.o \
442         eh8300sxn.o \
443         eh8300sxnelf.o \
444         eh8500.o \
445         eh8500b.o \
446         eh8500c.o \
447         eh8500m.o \
448         eh8500s.o \
449         ehp300bsd.o \
450         ehp3hpux.o \
451         ehppaelf.o \
452         ehppalinux.o \
453         ehppanbsd.o \
454         ehppaobsd.o \
455         ei386aout.o \
456         ei386beos.o \
457         ei386bsd.o \
458         ei386coff.o \
459         ei386freebsd.o \
460         ei386go32.o \
461         ei386linux.o \
462         ei386lynx.o \
463         ei386mach.o \
464         ei386moss.o \
465         ei386msdos.o \
466         ei386nbsd.o \
467         ei386nto.o \
468         ei386nw.o \
469         ei386pe.o \
470         ei386pe_posix.o \
471         elnk960.o \
472         em32relf.o \
473         em32rlelf.o \
474         em32relf_linux.o \
475         em32rlelf_linux.o \
476         em68hc11elf.o \
477         em68hc11elfb.o \
478         em68hc12elf.o \
479         em68hc12elfb.o \
480         em68k4knbsd.o \
481         em68kaout.o \
482         em68kaux.o \
483         em68kcoff.o \
484         em68kelf.o \
485         em68kelfnbsd.o \
486         em68klinux.o \
487         em68knbsd.o \
488         em68kpsos.o \
489         em88kbcs.o \
490         emaxqcoff.o \
491         emcorepe.o \
492         emipsbig.o \
493         emipsbsd.o \
494         emipsidt.o \
495         emipsidtl.o \
496         emipslit.o \
497         emipslnews.o \
498         emipspe.o \
499         emsp430x110.o \
500         emsp430x112.o \
501         emsp430x1101.o \
502         emsp430x1111.o \
503         emsp430x1121.o \
504         emsp430x1122.o \
505         emsp430x1132.o \
506         emsp430x122.o \
507         emsp430x123.o \
508         emsp430x1222.o \
509         emsp430x1232.o \
510         emsp430x133.o \
511         emsp430x135.o \
512         emsp430x1331.o \
513         emsp430x1351.o \
514         emsp430x147.o \
515         emsp430x148.o \
516         emsp430x149.o \
517         emsp430x155.o \
518         emsp430x156.o \
519         emsp430x157.o \
520         emsp430x167.o \
521         emsp430x168.o \
522         emsp430x169.o \
523         emsp430x1610.o \
524         emsp430x1611.o \
525         emsp430x1612.o \
526         emsp430x2101.o \
527         emsp430x2111.o \
528         emsp430x2121.o \
529         emsp430x2131.o \
530         emsp430x311.o \
531         emsp430x312.o \
532         emsp430x313.o \
533         emsp430x314.o \
534         emsp430x315.o \
535         emsp430x323.o \
536         emsp430x325.o \
537         emsp430x336.o \
538         emsp430x337.o \
539         emsp430x412.o \
540         emsp430x413.o \
541         emsp430x415.o \
542         emsp430x417.o \
543         emsp430xE423.o \
544         emsp430xE425.o \
545         emsp430xE427.o \
546         emsp430xW423.o \
547         emsp430xW425.o \
548         emsp430xW427.o \
549         emsp430xG437.o \
550         emsp430xG438.o \
551         emsp430xG439.o \
552         emsp430x435.o \
553         emsp430x436.o \
554         emsp430x437.o \
555         emsp430x447.o \
556         emsp430x448.o \
557         emsp430x449.o \
558         enews.o \
559         ens32knbsd.o \
560         eor32.o \
561         eor32elf.o \
562         epc532macha.o \
563         epdp11.o \
564         epjelf.o \
565         epjlelf.o \
566         eppcmacos.o \
567         eppcnw.o \
568         eppcpe.o \
569         eppclynx.o \
570         eriscix.o \
571         esh.o \
572         eshelf32.o \
573         eshlelf32.o \
574         eshelf32_linux.o \
575         eshlelf32_linux.o \
576         eshelf32_nbsd.o \
577         eshlelf32_nbsd.o \
578         eshelf.o \
579         eshelf_linux.o \
580         eshlelf_linux.o \
581         eshelf_nbsd.o \
582         eshlelf_nbsd.o \
583         eshelf_nto.o \
584         eshlelf_nto.o \
585         eshl.o \
586         eshlelf.o \
587         eshlsymbian.o \
588         eshpe.o \
589         esparcaout.o \
590         esparclinux.o \
591         esparcnbsd.o \
592         est2000.o \
593         esun3.o \
594         esun4.o \
595         etic30aout.o \
596         etic30coff.o \
597         etic3xcoff.o \
598         etic3xcoff_onchip.o \
599         etic4xcoff.o \
600         etic54xcoff.o \
601         etic80coff.o \
602         evanilla.o \
603         evax.o \
604         evaxnbsd.o \
605         evsta.o \
606         ew65.o \
607         ez8001.o \
608         eelf32frvfd.o \
609         ez80.o \
610         ez8002.o
611
612 ALL_64_EMULATIONS = \
613         eelf64_aix.o \
614         eelf64_ia64.o \
615         eelf64_ia64_fbsd.o \
616         eshelf64.o \
617         eshlelf64.o \
618         eshelf64_nbsd.o \
619         eshlelf64_nbsd.o \
620         eelf_x86_64.o \
621         eelf_x86_64_fbsd.o \
622         eelf64_s390.o \
623         eelf64_sparc.o \
624         eelf64_sparc_fbsd.o \
625         eelf64alpha.o \
626         eelf64alpha_fbsd.o \
627         eelf64alpha_nbsd.o \
628         eelf64bmip.o \
629         eelf64btsmip.o \
630         eelf64ltsmip.o \
631         eelf64hppa.o \
632         eelf64mmix.o \
633         emmo.o \
634         eelf64ppc.o \
635         eelf64lppc.o \
636         ehppa64linux.o
637
638 ALL_EMUL_EXTRA_OFILES = \
639         deffilep.o \
640         pe-dll.o
641
642 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
643         ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
644         mri.c ldcref.c pe-dll.c
645
646 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
647         ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
648         ldwrite.h mri.h deffile.h pe-dll.h elf-hints-local.h
649
650 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
651 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
652 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
653         ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o \
654         ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
655
656 STAGESTUFF = *.o ldscripts/* e*.c
657
658 # At the moment this is just a list of those emulation template files
659 # that contain internationalised strings.
660 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
661 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
662
663 # These all start with e so 'make clean' can find them.
664 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@
665 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
666
667 # We need this for automake to use YLWRAP.
668 EXTRA_ld_new_SOURCES = deffilep.y
669 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
670         ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
671
672 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
673 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
674 MAINTAINERCLEANFILES = ldver.texi configdoc.texi
675
676 # We want to reconfigure if configure.host or configure.tgt changes.  We
677 # extract version from bfd/configure.in, so we must depend on that also.
678 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
679         $(srcdir)/../bfd/configure.in
680
681 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
682         ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
683
684 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
685 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
686
687 # Stuff that should be included in a distribution.  The diststuff
688 # target is run by the taz target in ../Makefile.in.
689 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
690 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
691 all: config.h
692         $(MAKE) $(AM_MAKEFLAGS) all-recursive
693
694 .SUFFIXES:
695 .SUFFIXES: .c .dvi .html .info .l .lo .o .obj .pdf .ps .texinfo .y
696 am--refresh:
697         @:
698 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
699         @for dep in $?; do \
700           case '$(am__configure_deps)' in \
701             *$$dep*) \
702               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
703               cd $(srcdir) && $(AUTOMAKE) --foreign  \
704                 && exit 0; \
705               exit 1;; \
706           esac; \
707         done; \
708         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
709         cd $(top_srcdir) && \
710           $(AUTOMAKE) --foreign  Makefile
711 .PRECIOUS: Makefile
712 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
713         @case '$?' in \
714           *config.status*) \
715             echo ' $(SHELL) ./config.status'; \
716             $(SHELL) ./config.status;; \
717           *) \
718             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
719             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
720         esac;
721
722 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
723         $(SHELL) ./config.status --recheck
724
725 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
726         cd $(srcdir) && $(AUTOCONF)
727 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
728         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
729
730 config.h: stamp-h1
731         @if test ! -f $@; then \
732           rm -f stamp-h1; \
733           $(MAKE) stamp-h1; \
734         else :; fi
735
736 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
737         @rm -f stamp-h1
738         cd $(top_builddir) && $(SHELL) ./config.status config.h
739 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
740         cd $(top_srcdir) && $(AUTOHEADER)
741         rm -f stamp-h1
742         touch $@
743
744 distclean-hdr:
745         -rm -f config.h stamp-h1
746 po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
747         cd $(top_builddir) && $(SHELL) ./config.status $@
748
749 clean-noinstPROGRAMS:
750         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
751           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
752           echo " rm -f $$p $$f"; \
753           rm -f $$p $$f ; \
754         done
755 ldgram.h: ldgram.c
756         @if test ! -f $@; then \
757           rm -f ldgram.c; \
758           $(MAKE) ldgram.c; \
759         else :; fi
760 deffilep.h: deffilep.c
761         @if test ! -f $@; then \
762           rm -f deffilep.c; \
763           $(MAKE) deffilep.c; \
764         else :; fi
765 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) 
766         @rm -f ld-new$(EXEEXT)
767         $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
768
769 mostlyclean-compile:
770         -rm -f *.$(OBJEXT)
771
772 distclean-compile:
773         -rm -f *.tab.c
774
775 .c.o:
776         $(COMPILE) -c $<
777
778 .c.obj:
779         $(COMPILE) -c `$(CYGPATH_W) '$<'`
780
781 .c.lo:
782         $(LTCOMPILE) -c -o $@ $<
783
784 .l.c:
785         $(LEXCOMPILE) $<
786         sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
787         rm -f $(LEX_OUTPUT_ROOT).c
788
789 .y.c:
790         $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
791
792 mostlyclean-libtool:
793         -rm -f *.lo
794
795 clean-libtool:
796         -rm -rf .libs _libs
797
798 distclean-libtool:
799         -rm -f libtool
800
801 .texinfo.info:
802         restore=: && backupdir="$(am__leading_dot)am$$$$" && \
803         am__cwd=`pwd` && cd $(srcdir) && \
804         rm -rf $$backupdir && mkdir $$backupdir && \
805         if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
806           for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
807             if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
808           done; \
809         else :; fi && \
810         cd "$$am__cwd"; \
811         if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
812          -o $@ $<; \
813         then \
814           rc=0; \
815           cd $(srcdir); \
816         else \
817           rc=$$?; \
818           cd $(srcdir) && \
819           $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
820         fi; \
821         rm -rf $$backupdir; exit $$rc
822
823 .texinfo.dvi:
824         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
825         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
826         $(TEXI2DVI) $<
827
828 .texinfo.pdf:
829         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
830         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
831         $(TEXI2PDF) $<
832
833 .texinfo.html:
834         rm -rf $(@:.html=.htp)
835         if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
836          -o $(@:.html=.htp) $<; \
837         then \
838           rm -rf $@; \
839           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
840             mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
841         else \
842           if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
843             rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
844           exit 1; \
845         fi
846 $(srcdir)/ld.info: ld.texinfo 
847 ld.dvi: ld.texinfo 
848 ld.pdf: ld.texinfo 
849 ld.html: ld.texinfo 
850 .dvi.ps:
851         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
852         $(DVIPS) -o $@ $<
853
854 uninstall-info-am:
855         @$(PRE_UNINSTALL)
856         @if (install-info --version && \
857              install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
858           list='$(INFO_DEPS)'; \
859           for file in $$list; do \
860             relfile=`echo "$$file" | sed 's|^.*/||'`; \
861             echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
862             install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
863           done; \
864         else :; fi
865         @$(NORMAL_UNINSTALL)
866         @list='$(INFO_DEPS)'; \
867         for file in $$list; do \
868           relfile=`echo "$$file" | sed 's|^.*/||'`; \
869           relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
870           (if cd "$(DESTDIR)$(infodir)"; then \
871              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]"; \
872              rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
873            else :; fi); \
874         done
875
876 dist-info: $(INFO_DEPS)
877         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
878         list='$(INFO_DEPS)'; \
879         for base in $$list; do \
880           case $$base in \
881             $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
882           esac; \
883           if test -f $$base; then d=.; else d=$(srcdir); fi; \
884           for file in $$d/$$base*; do \
885             relfile=`expr "$$file" : "$$d/\(.*\)"`; \
886             test -f $(distdir)/$$relfile || \
887               cp -p $$file $(distdir)/$$relfile; \
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 ei386freebsd.c: $(srcdir)/emulparams/i386freebsd.sh \
1857   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1858         ${GENSCRIPTS} i386freebsd "$(tdir_i386freebsd)"
1859 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1860   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1861         ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1862 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1863   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1864         ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1865 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1866   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1867         ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1868 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1869   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1870         ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1871 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1872   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1873         ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1874 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1875   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1876         ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1877 ei386nbsd.c:    $(srcdir)/emulparams/i386nbsd.sh \
1878   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1879         ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1880 ei386nto.c:     $(srcdir)/emulparams/i386nto.sh \
1881   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1882         ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1883 ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
1884   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1885         ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1886 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1887   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1888         ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1889 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1890   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1891         ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1892 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1893   $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1894         ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1895 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1896   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1897   $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1898         ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1899 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1900   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1901   $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1902         ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1903 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1904   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1905   $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1906         ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1907 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1908   $(srcdir)/emultempl/m68hc1xelf.em $(srcdir)/emultempl/elf32.em \
1909   $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1910         ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1911 em68k4knbsd.c:  $(srcdir)/emulparams/m68k4knbsd.sh \
1912   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1913         ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1914 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1915   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1916         ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1917 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1918   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1919         ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1920 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1921   $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1922         ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1923 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1924   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1925   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1926         ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1927 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1928   $(srcdir)/emulparams/m68kelf.sh \
1929   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1930   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1931         ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1932 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1933   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1934         ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1935 em68knbsd.c:    $(srcdir)/emulparams/m68knbsd.sh \
1936   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1937         ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1938 em68kpsos.c:    $(srcdir)/emulparams/m68kpsos.sh \
1939   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1940         ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1941 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1942   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1943         ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1944 emaxqcoff.c: $(srcdir)/emulparams/maxqcoff.sh \
1945   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/maxqcoff.sc ${GEN_DEPENDS}
1946         ${GENSCRIPTS} maxqcoff "$(tdir_maxqcoff)"
1947 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1948   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1949         ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1950 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
1951   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1952         ${GENSCRIPTS} mipsbig
1953 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
1954   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1955         ${GENSCRIPTS} mipsbsd
1956 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
1957   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/emultempl/generic.em \
1958   $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1959         ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1960 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
1961   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/emultempl/generic.em \
1962   $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1963         ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1964 emipslit.c:  $(srcdir)/emulparams/mipslit.sh \
1965   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1966         ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1967 emipslnews.c:  $(srcdir)/emulparams/mipslnews.sh \
1968   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1969         ${GENSCRIPTS} mipslnews
1970 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
1971   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1972         ${GENSCRIPTS} mipspe "$(tdir_mips)"
1973 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1974   $(srcdir)/emulparams/mn10200.sh \
1975   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1976         ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1977 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1978   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1979         ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1980 emsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
1981   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1982   ${GEN_DEPENDS}
1983         ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
1984 emsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
1985   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1986   ${GEN_DEPENDS}
1987         ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
1988 emsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
1989   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1990   ${GEN_DEPENDS}
1991         ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
1992 emsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
1993   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1994   ${GEN_DEPENDS}
1995         ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
1996 emsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
1997   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1998   ${GEN_DEPENDS}
1999         ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
2000 emsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
2001   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2002   ${GEN_DEPENDS}
2003         ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
2004 emsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
2005   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2006   ${GEN_DEPENDS}
2007         ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
2008 emsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
2009   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2010   ${GEN_DEPENDS}
2011         ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
2012 emsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
2013   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2014   ${GEN_DEPENDS}
2015         ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
2016 emsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
2017   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2018   ${GEN_DEPENDS}
2019         ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
2020 emsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
2021   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2022   ${GEN_DEPENDS}
2023         ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
2024 emsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
2025   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2026   ${GEN_DEPENDS}
2027         ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
2028 emsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
2029   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2030   ${GEN_DEPENDS}
2031         ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
2032 emsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
2033   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2034   ${GEN_DEPENDS}
2035         ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
2036 emsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
2037   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2038   ${GEN_DEPENDS}
2039         ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
2040 emsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
2041   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2042   ${GEN_DEPENDS}
2043         ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
2044 emsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
2045   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2046   ${GEN_DEPENDS}
2047         ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
2048 emsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
2049   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2050   ${GEN_DEPENDS}
2051         ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
2052 emsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
2053   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2054   ${GEN_DEPENDS}
2055         ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
2056 emsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
2057   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2058   ${GEN_DEPENDS}
2059         ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
2060 emsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
2061   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2062   ${GEN_DEPENDS}
2063         ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
2064 emsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
2065   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2066   ${GEN_DEPENDS}
2067         ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
2068 emsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
2069   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2070   ${GEN_DEPENDS}
2071         ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
2072 emsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
2073   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2074   ${GEN_DEPENDS}
2075         ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
2076 emsp430x1610.c: $(srcdir)/emulparams/msp430all.sh \
2077   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2078   ${GEN_DEPENDS}
2079         ${GENSCRIPTS} msp430x1610 "$(tdir_msp430x1610)" msp430all
2080 emsp430x1611.c: $(srcdir)/emulparams/msp430all.sh \
2081   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2082   ${GEN_DEPENDS}
2083         ${GENSCRIPTS} msp430x1611 "$(tdir_msp430x1611)" msp430all
2084 emsp430x1612.c: $(srcdir)/emulparams/msp430all.sh \
2085   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2086   ${GEN_DEPENDS}
2087         ${GENSCRIPTS} msp430x1612 "$(tdir_msp430x1612)" msp430all
2088 emsp430x2101.c: $(srcdir)/emulparams/msp430all.sh \
2089   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2090   ${GEN_DEPENDS}
2091         ${GENSCRIPTS} msp430x2101 "$(tdir_msp430x2101)" msp430all
2092 emsp430x2111.c: $(srcdir)/emulparams/msp430all.sh \
2093   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2094   ${GEN_DEPENDS}
2095         ${GENSCRIPTS} msp430x2111 "$(tdir_msp430x2111)" msp430all
2096 emsp430x2121.c: $(srcdir)/emulparams/msp430all.sh \
2097   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2098   ${GEN_DEPENDS}
2099         ${GENSCRIPTS} msp430x2121 "$(tdir_msp430x2121)" msp430all
2100 emsp430x2131.c: $(srcdir)/emulparams/msp430all.sh \
2101   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2102   ${GEN_DEPENDS}
2103         ${GENSCRIPTS} msp430x2131 "$(tdir_msp430x2131)" msp430all
2104 emsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
2105   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2106   ${GEN_DEPENDS}
2107         ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
2108 emsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
2109   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2110   ${GEN_DEPENDS}
2111         ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
2112 emsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
2113   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2114   ${GEN_DEPENDS}
2115         ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
2116 emsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
2117   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2118   ${GEN_DEPENDS}
2119         ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
2120 emsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
2121   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2122   ${GEN_DEPENDS}
2123         ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
2124 emsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
2125   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2126   ${GEN_DEPENDS}
2127         ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
2128 emsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
2129   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2130   ${GEN_DEPENDS}
2131         ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
2132 emsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
2133   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2134   ${GEN_DEPENDS}
2135         ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
2136 emsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
2137   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
2138   ${GEN_DEPENDS}
2139         ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
2140 emsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
2141   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2142   ${GEN_DEPENDS}
2143         ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
2144 emsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
2145   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2146   ${GEN_DEPENDS}
2147         ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
2148 emsp430x415.c: $(srcdir)/emulparams/msp430all.sh \
2149   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2150   ${GEN_DEPENDS}
2151         ${GENSCRIPTS} msp430x415 "$(tdir_msp430x415)" msp430all
2152 emsp430x417.c: $(srcdir)/emulparams/msp430all.sh \
2153   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2154   ${GEN_DEPENDS}
2155         ${GENSCRIPTS} msp430x417 "$(tdir_msp430x417)" msp430all
2156 emsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
2157   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2158   ${GEN_DEPENDS}
2159         ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
2160 emsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
2161   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2162   ${GEN_DEPENDS}
2163         ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
2164 emsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
2165   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2166   ${GEN_DEPENDS}
2167         ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
2168 emsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
2169   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2170   ${GEN_DEPENDS}
2171         ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
2172 emsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
2173   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2174   ${GEN_DEPENDS}
2175         ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
2176 emsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
2177   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2178   ${GEN_DEPENDS}
2179         ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
2180 emsp430xG437.c: $(srcdir)/emulparams/msp430all.sh \
2181   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2182   ${GEN_DEPENDS}
2183         ${GENSCRIPTS} msp430xG437 "$(tdir_msp430xG437)" msp430all
2184 emsp430xG438.c: $(srcdir)/emulparams/msp430all.sh \
2185   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2186   ${GEN_DEPENDS}
2187         ${GENSCRIPTS} msp430xG438 "$(tdir_msp430xG438)" msp430all
2188 emsp430xG439.c: $(srcdir)/emulparams/msp430all.sh \
2189   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2190   ${GEN_DEPENDS}
2191         ${GENSCRIPTS} msp430xG439 "$(tdir_msp430xG439)" msp430all
2192 emsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
2193   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2194   ${GEN_DEPENDS}
2195         ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
2196 emsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
2197   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2198   ${GEN_DEPENDS}
2199         ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
2200 emsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
2201   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2202   ${GEN_DEPENDS}
2203         ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
2204 emsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
2205   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2206   ${GEN_DEPENDS}
2207         ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
2208 emsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
2209   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2210   ${GEN_DEPENDS}
2211         ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
2212 emsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
2213   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
2214   ${GEN_DEPENDS}
2215         ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
2216 enews.c: $(srcdir)/emulparams/news.sh \
2217   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2218         ${GENSCRIPTS} news "$(tdir_news)"
2219 ens32knbsd.c:   $(srcdir)/emulparams/ns32knbsd.sh \
2220   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
2221   $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2222         ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
2223 eor32.c: $(srcdir)/emulparams/or32.sh \
2224   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
2225         ${GENSCRIPTS} or32 "$(tdir_or32)"
2226 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
2227   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2228         ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
2229 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
2230   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2231         ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
2232 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
2233   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2234         ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
2235 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
2236   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2237         ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
2238 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
2239   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2240         ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
2241 eppcmacos.c:    $(srcdir)/emulparams/ppcmacos.sh \
2242   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
2243         ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
2244 eppcnw.c:       $(srcdir)/emulparams/ppcnw.sh \
2245   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
2246         ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
2247 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
2248   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
2249         ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
2250 eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
2251   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2252         ${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
2253 eriscix.c: $(srcdir)/emulparams/riscix.sh \
2254   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2255         ${GENSCRIPTS} riscix "$(tdir_riscix)"
2256 esh.c: $(srcdir)/emulparams/sh.sh \
2257   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
2258         ${GENSCRIPTS} sh "$(tdir_sh)"
2259 eshelf.c: $(srcdir)/emulparams/shelf.sh \
2260   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2261         ${GENSCRIPTS} shelf "$(tdir_shelf)"
2262 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
2263   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2264   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2265   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2266         ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
2267 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
2268   $(srcdir)/emulparams/shelf32.sh \
2269   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2270   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2271   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2272         ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
2273 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
2274   $(srcdir)/emulparams/shelf32.sh \
2275   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2276   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2277   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2278         ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
2279 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2280   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2281         ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
2282 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
2283   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2284   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2285         ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
2286 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
2287   $(srcdir)/emulparams/shlelf_linux.sh \
2288   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2289         ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
2290 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
2291   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2292         ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
2293 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
2294   $(srcdir)/emulparams/shelf.sh \
2295   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2296         ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
2297 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
2298   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2299         ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
2300 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
2301   $(srcdir)/emulparams/shelf_nbsd.sh \
2302   $(srcdir)/emulparams/shelf.sh \
2303   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2304         ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
2305 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
2306   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2307         ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
2308 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
2309   $(srcdir)/emulparams/shelf.sh \
2310   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2311         ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
2312 eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
2313   $(srcdir)/emulparams/shelf.sh \
2314   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
2315         ${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
2316 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
2317   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
2318   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2319   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2320         ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
2321 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
2322   $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
2323   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2324   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2325   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2326         ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
2327 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
2328   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2329   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2330   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2331   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2332         ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
2333 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
2334   $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2335   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2336         ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
2337 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2338   $(srcdir)/emulparams/shelf64_nbsd.sh \
2339   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2340   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2341         ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
2342 eshl.c: $(srcdir)/emulparams/shl.sh \
2343   $(srcdir)/emulparams/sh.sh \
2344   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
2345         ${GENSCRIPTS} shl "$(tdir_shl)"
2346 eshpe.c: $(srcdir)/emulparams/shpe.sh \
2347   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
2348         ${GENSCRIPTS} shpe "$(tdir_shl)"
2349 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
2350   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2351         ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
2352 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
2353   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2354         ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
2355 esparcnbsd.c:   $(srcdir)/emulparams/sparcnbsd.sh \
2356   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2357         ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
2358 est2000.c: $(srcdir)/emulparams/st2000.sh \
2359   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
2360         ${GENSCRIPTS} st2000 "$(tdir_st2000)"
2361 esun3.c: $(srcdir)/emulparams/sun3.sh \
2362   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2363         ${GENSCRIPTS} sun3 "$(tdir_sun3)"
2364 esun4.c: $(srcdir)/emulparams/sun4.sh \
2365   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2366         ${GENSCRIPTS} sun4 "$(tdir_sun4)"
2367 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
2368   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
2369         ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
2370 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
2371   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
2372         ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
2373 etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
2374   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2375         ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
2376 etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
2377   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2378         ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
2379 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
2380   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2381         ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
2382 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
2383   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
2384         ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
2385 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
2386   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
2387         ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
2388 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
2389   $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
2390         ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
2391 evax.c: $(srcdir)/emulparams/vax.sh \
2392   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2393         ${GENSCRIPTS} vax "$(tdir_vax)"
2394 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
2395   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2396         ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
2397 evsta.c: $(srcdir)/emulparams/vsta.sh \
2398   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2399         ${GENSCRIPTS} vsta "$(tdir_vsta)"
2400 ev850.c: $(srcdir)/emulparams/v850.sh \
2401   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
2402         ${GENSCRIPTS} v850 "$(tdir_v850)"
2403 ew65.c: $(srcdir)/emulparams/w65.sh \
2404   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
2405         ${GENSCRIPTS} w65 "$(tdir_w65)"
2406 ez80.c: $(srcdir)/emulparams/z80.sh \
2407   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
2408   $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
2409         ${GENSCRIPTS} z80 "$(tdir_z80)"
2410 ez8001.c: $(srcdir)/emulparams/z8001.sh \
2411   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
2412         ${GENSCRIPTS} z8001 "$(tdir_z8001)"
2413 ez8002.c: $(srcdir)/emulparams/z8002.sh \
2414   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
2415         ${GENSCRIPTS} z8002 "$(tdir_z8002)"
2416 eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
2417   $(srcdir)/emulparams/elf32frv.sh \
2418   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2419         ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
2420 eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
2421   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
2422   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2423         ${GENSCRIPTS} elf32m32c "$(tdir_m32c)"
2424 eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
2425   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2426         ${GENSCRIPTS} elf32mt "$(tdir_mt)"
2427
2428 # The generated emulation files mostly have the same dependencies.
2429 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
2430   ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
2431   ldctor.h ldexp.h ldlang.h ldgram.h
2432
2433 check-DEJAGNU: site.exp
2434         srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2435         r=`pwd`; export r; \
2436         LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
2437         EXPECT=$(EXPECT); export EXPECT; \
2438         runtest=$(RUNTEST); \
2439         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2440           $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2441                 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
2442                 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
2443                 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2444                 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2445                 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
2446                 $(RUNTESTFLAGS); \
2447         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2448         fi
2449
2450 # Rules for testing by relinking ld itself.
2451 # A similar test is in the testsuite.  This target is for ease of use
2452 # when porting ld.
2453
2454 ld-partial.o: ld-new$(EXEEXT)
2455         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
2456 ld1$(EXEEXT): ld-partial.o
2457         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2458
2459 ld1-full$(EXEEXT): ld-new
2460         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2461
2462 ld2$(EXEEXT): ld1$(EXEEXT)
2463         ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2464
2465 ld3$(EXEEXT): ld2$(EXEEXT)
2466         ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2467
2468 bootstrap: ld3$(EXEEXT)
2469         cmp ld2$(EXEEXT) ld3$(EXEEXT)
2470
2471 .PHONY: bootstrap
2472
2473 # A test program for C++ constructors and destructors.
2474 # This test is now in the testsuite.
2475 #
2476 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
2477 #       ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2478 #         cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
2479 #
2480 #cdtest.out: cdtest
2481 #       ./cdtest > cdtest.tmp
2482 #       mv cdtest.tmp cdtest.out
2483 #
2484 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
2485 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
2486 #         cdtest-bar.o cdtest-foo.o
2487 #
2488 #cdtest-ur: cdtest-ur.o
2489 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
2490 #         $(HOSTING_LIBS)
2491 #
2492 #cdtest-ur.out: cdtest-ur
2493 #       ./cdtest-ur > cdtest-ur.tmp
2494 #       mv cdtest-ur.tmp cdtest-ur.out
2495 #
2496 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2497 #       diff $(srcdir)/cdtest.exp cdtest.out
2498 #       diff $(srcdir)/cdtest.exp cdtest-ur.out
2499 #
2500 #.PHONY: check-cdtest
2501
2502 # END OF CHECK TARGETS
2503
2504 # DOCUMENTATION TARGETS
2505 # Manual configuration file; not usually attached to normal configuration,
2506 # because almost all configs use "gen" version of manual.
2507 #  Set DOCVER above to change.
2508 configdoc.texi: ${DOCVER}-doc.texi
2509         cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2510         chmod u+w ./configdoc.texi
2511
2512 ldver.texi: $(srcdir)/../bfd/configure
2513         rm -f $@
2514         eval `grep '^ *VERSION=' $(srcdir)/../bfd/configure`; \
2515           echo "@set VERSION $$VERSION" > $@
2516
2517 $(srcdir)/ld.info ld.dvi ld.html: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2518
2519 # Build the man page from the texinfo file
2520 # The sed command removes the no-adjust Nroff command so that
2521 # the man output looks standard.
2522 ld.1: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2523         touch $@
2524         -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2525         -($(POD2MAN) ld.pod | \
2526                 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2527                 mv -f $@.T$$$$ $@) || \
2528                 (rm -f $@.T$$$$ && exit 1)
2529         rm -f ld.pod
2530 mostlyclean-local:
2531         -rm -rf tmpdir
2532
2533 .PHONY: install-html install-html-am install-html-recursive
2534
2535 install-html: install-html-recursive  install-html-am
2536
2537 install-html-am: $(HTMLS)
2538         @$(NORMAL_INSTALL)
2539         test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
2540         @list='$(HTMLS)'; for p in $$list; do \
2541           if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
2542           f=$(html__strip_dir) \
2543           if test -d "$$d$$p"; then \
2544             echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
2545             $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
2546             echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
2547             $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
2548           else \
2549             echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
2550             $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
2551           fi; \
2552         done
2553
2554 install-html-recursive:
2555         @failcom='exit 1'; \
2556         for f in x $$MAKEFLAGS; do \
2557           case $$f in \
2558             *=* | --[!k]*);; \
2559             *k*) failcom='fail=yes';; \
2560           esac; \
2561         done; \
2562         dot_seen=no; \
2563         target=`echo $@ | sed s/-recursive//`; \
2564         list='$(SUBDIRS)'; for subdir in $$list; do \
2565           echo "Making $$target in $$subdir"; \
2566           if test "$$subdir" = "."; then \
2567             dot_seen=yes; \
2568             local_target="$$target-am"; \
2569           else \
2570             local_target="$$target"; \
2571           fi; \
2572           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2573           || eval $$failcom; \
2574         done; \
2575         if test "$$dot_seen" = "no"; then \
2576           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
2577         fi; test -z "$$fail"
2578
2579 .PHONY: install-exec-local install-data-local
2580
2581 install-exec-local: ld-new$(EXEEXT)
2582         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
2583         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
2584           if test -f $$p; then \
2585             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
2586             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
2587           else :; fi; \
2588         done
2589         n=`echo ld | sed '$(transform)'`; \
2590         if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
2591           rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2592           ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2593           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2594         fi
2595
2596 install-data-local:
2597         $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2598         for f in ldscripts/*; do \
2599           $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2600         done
2601
2602 # We want install to imply install-info as per GNU standards, despite the
2603 # cygnus option.
2604 install-data-local: install-info
2605 diststuff: info $(EXTRA_DIST)
2606 all: info ld.1
2607
2608 # Both info (ld.info) and ld.1 depend on configdoc.texi and ldver.texi.
2609 # But info isn't a direct target. Make info-recursive to depend on
2610 # ld.1 to support parallel build.
2611 info-recursive: ld.1
2612 distclean-local:
2613         rm -rf ldscripts
2614
2615 # Targets to rebuild dependencies in this Makefile.
2616 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
2617 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
2618         rm -f DEP1
2619         $(MAKE) MKDEP="$(MKDEP)" DEP1
2620         sed -f dep.sed < DEP1 > DEPA
2621         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
2622         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
2623           echo 'make DEP failed!'; exit 1; \
2624         else \
2625           mv -f DEPA $@; \
2626         fi
2627
2628 DEP1: $(CFILES) $(GENERATED_CFILES)
2629         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
2630         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
2631         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
2632         mv -f DEP2 $@
2633
2634 dep.sed: dep-in.sed config.status
2635         sed <$(srcdir)/dep-in.sed >dep.sed      \
2636                 -e 's!@INCDIR@!$(INCDIR)!'      \
2637                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
2638                 -e 's!@SRCDIR@!$(srcdir)!'      \
2639                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
2640
2641 dep: DEP
2642         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
2643         cat DEP >> tmp-Makefile
2644         $(srcdir)/../move-if-change tmp-Makefile Makefile
2645
2646 dep-in: DEP
2647         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
2648         cat DEP >> tmp-Makefile.in
2649         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
2650
2651 dep-am: DEP
2652         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
2653         cat DEP >> tmp-Makefile.am
2654         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
2655
2656 .PHONY: dep dep-in dep-am
2657
2658 # What appears below is generated by a hacked mkdep using gcc -MM.
2659
2660 # DO NOT DELETE THIS LINE -- mkdep uses it.
2661 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
2662 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2663   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2664   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
2665   ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
2666 ldemul.o: ldemul.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2667   $(INCDIR)/symcat.h sysdep.h $(INCDIR)/fopen-same.h \
2668   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \
2669   ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h ldemul-list.h
2670 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2671   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2672   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
2673   ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
2674   $(INCDIR)/safe-ctype.h
2675 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2676   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2677   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
2678   ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
2679   ldlex.h ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/filenames.h
2680 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2681   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2682   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
2683   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
2684   ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
2685   ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h \
2686   $(INCDIR)/hashtab.h
2687 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2688   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2689   $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
2690   $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
2691   ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
2692   ldlex.h ldfile.h ldemul.h ldctor.h
2693 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2694   $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h sysdep.h config.h \
2695   $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
2696   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
2697   ldgram.h ldlex.h ldmain.h ldfile.h $(BFDDIR)/elf-bfd.h \
2698   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
2699 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2700   $(INCDIR)/symcat.h ../bfd/bfdver.h sysdep.h config.h \
2701   $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h ldver.h \
2702   ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
2703 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2704   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2705   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
2706   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
2707   ldmisc.h ldgram.h ldmain.h
2708 lexsup.o: lexsup.c config.h ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2709   $(INCDIR)/symcat.h sysdep.h $(INCDIR)/fopen-same.h \
2710   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
2711   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
2712   ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
2713   $(INCDIR)/demangle.h
2714 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2715   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
2716   ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
2717 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2718   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2719   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
2720   ldmain.h ldmisc.h ldexp.h ldlang.h
2721 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2722   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2723   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
2724   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
2725   ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
2726   $(BFDDIR)/libcoff.h deffile.h pe-dll.h
2727 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2728   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2729   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
2730   ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
2731   mri.h ldctor.h ldlex.h
2732 ldlex.o: ldlex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2733   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2734   $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
2735   ldmisc.h ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h \
2736   ldmain.h $(INCDIR)/libiberty.h
2737 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2738   $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
2739   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
2740   ldmisc.h deffile.h
2741 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
2742 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2743 # Otherwise a system limit (for SysV at least) may be exceeded.
2744 .NOEXPORT: