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