OSDN Git Service

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