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