* Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
[external/binutils.git] / ld / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AS = @AS@
67 CATALOGS = @CATALOGS@
68 CATOBJEXT = @CATOBJEXT@
69 CC = @CC@
70 CC_FOR_BUILD = @CC_FOR_BUILD@
71 CXXCPP = @CXXCPP@
72 DATADIRNAME = @DATADIRNAME@
73 DLLTOOL = @DLLTOOL@
74 EMULATION_LIBPATH = @EMULATION_LIBPATH@
75 EXEEXT = @EXEEXT@
76 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
77 GCJ = @GCJ@
78 GCJFLAGS = @GCJFLAGS@
79 GMOFILES = @GMOFILES@
80 GMSGFMT = @GMSGFMT@
81 GT_NO = @GT_NO@
82 GT_YES = @GT_YES@
83 HDEFINES = @HDEFINES@
84 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
85 INSTOBJEXT = @INSTOBJEXT@
86 INTLDEPS = @INTLDEPS@
87 INTLOBJS = @INTLOBJS@
88 LIBTOOL = @LIBTOOL@
89 LN_S = @LN_S@
90 MAINT = @MAINT@
91 MAKEINFO = @MAKEINFO@
92 MKINSTALLDIRS = @MKINSTALLDIRS@
93 MSGFMT = @MSGFMT@
94 NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@
95 OBJDUMP = @OBJDUMP@
96 OBJEXT = @OBJEXT@
97 PACKAGE = @PACKAGE@
98 POFILES = @POFILES@
99 POSUB = @POSUB@
100 RANLIB = @RANLIB@
101 STRINGIFY = @STRINGIFY@
102 STRIP = @STRIP@
103 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
104 USE_NLS = @USE_NLS@
105 VERSION = @VERSION@
106 bfdincludedir = @bfdincludedir@
107 bfdlibdir = @bfdlibdir@
108 l = @l@
109
110 INTLLIBS = @INTLLIBS@
111
112 AUTOMAKE_OPTIONS = cygnus dejagnu
113
114 SUBDIRS = po
115
116 tooldir = $(exec_prefix)/$(target_alias)
117
118 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
119 YFLAGS = -d
120 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
121
122 WARN_CFLAGS = @WARN_CFLAGS@
123 AM_CFLAGS = $(WARN_CFLAGS)
124
125 # We put the scripts in the directory $(scriptdir)/ldscripts.
126 # We can't put the scripts in $(datadir) because the SEARCH_DIR
127 # directives need to be different for native and cross linkers.
128 scriptdir = $(tooldir)/lib
129
130 EMUL = @EMUL@
131 EMULATION_OFILES = @EMULATION_OFILES@
132 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
133
134 # Search path to override the default search path for -lfoo libraries.
135 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
136 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
137 # a cross-linker, in which case the default is empty.  See genscripts.sh.)
138 # Otherwise, they are replaced with the ones given in LIB_PATH,
139 # which may have the form: LIB_PATH=/lib:/usr/local/lib.  This can be set
140 # when the linker is configured via the --with-lib-path configure switch.
141 LIB_PATH = @LIB_PATH@
142
143 BASEDIR = $(srcdir)/..
144 BFDDIR = $(BASEDIR)/bfd
145 INCDIR = $(BASEDIR)/include
146 MKDEP = gcc -MM
147
148 # What version of the manual to build
149 DOCVER = gen
150
151 # Options to extract the man page from ld.texinfo
152 MANCONF = -Dman
153
154 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
155
156 POD2MAN = pod2man --center="GNU Development Tools" \
157         --release="binutils-$(VERSION)" --section=1
158
159
160 #stuff for self hosting (can be overridden in config file).
161 HOSTING_CRT0 = @HOSTING_CRT0@
162 HOSTING_LIBS = @HOSTING_LIBS@
163 HOSTING_EMU = -m $(EMUL)
164
165 # Setup the testing framework, if you have one
166 EXPECT = `if [ -f $$r/../expect/expect ] ; \
167         then echo $$r/../expect/expect ; \
168         else echo expect ; fi`
169
170
171 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
172         then echo $${srcroot}/../dejagnu/runtest ; \
173         else echo runtest ; fi`
174
175
176 RUNTESTFLAGS = 
177
178 CC_FOR_TARGET = ` \
179   if [ -f $$r/../gcc/xgcc ] ; then \
180     if [ -f $$r/../newlib/Makefile ] ; then \
181       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
182     else \
183       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
184     fi; \
185   else \
186     if [ "@host@" = "@target@" ] ; then \
187       echo $(CC); \
188     else \
189       echo gcc | sed '$(transform)'; \
190     fi; \
191   fi`
192
193
194 CXX = gcc
195 CXX_FOR_TARGET = ` \
196   if [ -f $$r/../gcc/xgcc ] ; then \
197     if [ -f $$r/../newlib/Makefile ] ; then \
198       echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
199     else \
200       echo $$r/../gcc/xgcc -B$$r/../gcc/; \
201     fi; \
202   else \
203     if [ "@host@" = "@target@" ] ; then \
204       echo $(CXX); \
205     else \
206       echo gcc | sed '$(transform)'; \
207     fi; \
208   fi`
209
210
211 noinst_PROGRAMS = ld-new
212 info_TEXINFOS = ld.texinfo
213 noinst_TEXINFOS = ldint.texinfo
214 man_MANS = ld.1
215
216 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\""
217
218 BFDLIB = ../bfd/libbfd.la
219 LIBIBERTY = ../libiberty/libiberty.a
220
221 ALL_EMULATIONS = \
222         ea29k.o \
223         eaixppc.o \
224         eaixrs6.o \
225         ealpha.o \
226         earcelf.o \
227         earm_epoc_pe.o \
228         earmaoutb.o \
229         earmaoutl.o \
230         earmcoff.o \
231         earmelf.o \
232         earmelf_fbsd.o \
233         earmelf_linux.o \
234         earmelf_nbsd.o \
235         earmelfb_nbsd.o \
236         earmelf_oabi.o \
237         earmnto.o \
238         earmnbsd.o \
239         earmpe.o \
240         eavr1200.o \
241         eavr23xx.o \
242         eavr4433.o \
243         eavr44x4.o \
244         eavr85xx.o \
245         eavrmega103.o \
246         eavrmega161.o \
247         eavrmega603.o \
248         eavr1.o \
249         eavr2.o \
250         eavr3.o \
251         eavr4.o \
252         eavr5.o \
253         ecoff_sparc.o \
254         ecrisaout.o \
255         ecriself.o \
256         ecrislinux.o \
257         ed10velf.o \
258         ed30v_e.o \
259         ed30v_o.o \
260         ed30velf.o \
261         edelta68.o \
262         eelf32_dlx.o \
263         eebmon29k.o \
264         eelf32_i960.o \
265         eelf32_i860.o \
266         eelf32_sparc.o \
267         eelf32b4300.o \
268         eelf32bmip.o \
269         eelf32bmipn32.o \
270         eelf32btsmip.o \
271         eelf32btsmipn32.o \
272         eelf32ltsmip.o \
273         eelf32ltsmipn32.o \
274         eelf32ebmip.o \
275         eelf32elmip.o \
276         eelf32fr30.o \
277         eelf32frv.o \
278         eelf32i370.o \
279         eelf32ip2k.o \
280         eelf32iq2000.o \
281         eelf32iq10.o \
282         eelf32l4300.o \
283         eelf32lmip.o \
284         eelf32lppc.o \
285         eelf32lppcnto.o \
286         eelf32lppcsim.o \
287         eelf32mcore.o \
288         eelf32openrisc.o \
289         eelf32ppc.o \
290         eelf32ppc_fbsd.o \
291         eelf32ppclinux.o \
292         eelf32ppcnto.o \
293         eelf32ppcsim.o \
294         eelf32ppcwindiss.o \
295         eelf32vax.o \
296         eelf32xstormy16.o \
297         eelf_i386.o \
298         eelf_i386_be.o \
299         eelf_i386_chaos.o \
300         eelf_i386_fbsd.o \
301         eelf_i386_ldso.o \
302         eelf_s390.o \
303         egld960.o \
304         egld960coff.o \
305         eh8300.o \
306         eh8300h.o \
307         eh8300s.o \
308         eh8300elf.o \
309         eh8300helf.o \
310         eh8300self.o \
311         eh8500.o \
312         eh8500b.o \
313         eh8500c.o \
314         eh8500m.o \
315         eh8500s.o \
316         ehp300bsd.o \
317         ehp3hpux.o \
318         ehppaelf.o \
319         ehppalinux.o \
320         ehppanbsd.o \
321         ehppaobsd.o \
322         ei386aout.o \
323         ei386beos.o \
324         ei386bsd.o \
325         ei386coff.o \
326         ei386go32.o \
327         ei386linux.o \
328         ei386lynx.o \
329         ei386mach.o \
330         ei386moss.o \
331         ei386msdos.o \
332         ei386nbsd.o \
333         ei386nto.o \
334         ei386nw.o \
335         ei386pe.o \
336         ei386pe_posix.o \
337         elnk960.o \
338         em68hc11elf.o \
339         em68hc11elfb.o \
340         em68hc12elf.o \
341         em68hc12elfb.o \
342         em68k4knbsd.o \
343         em68kaout.o \
344         em68kaux.o \
345         em68kcoff.o \
346         em68kelf.o \
347         em68kelfnbsd.o \
348         em68klinux.o \
349         em68klynx.o \
350         em68knbsd.o \
351         em68kpsos.o \
352         em88kbcs.o \
353         emcorepe.o \
354         emipsbig.o \
355         emipsbsd.o \
356         emipsidt.o \
357         emipsidtl.o \
358         emipslit.o \
359         emipslnews.o \
360         emipspe.o \
361         emsp430x1101.o \
362         emsp430x1111.o \
363         emsp430x1121.o \
364         emsp430x1331.o \
365         emsp430x1351.o \
366         emsp430x149.o \
367         emsp430x148.o \
368         emsp430x147.o \
369         emsp430x135.o \
370         emsp430x133.o \
371         emsp430x110.o \
372         emsp430x112.o \
373         emsp430x122.o \
374         emsp430x1222.o \
375         emsp430x123.o \
376         emsp430x1232.o \
377         emsp430x412.o \
378         emsp430x413.o \
379         emsp430x311.o \
380         emsp430x312.o \
381         emsp430x313.o \
382         emsp430x314.o \
383         emsp430x315.o \
384         emsp430x323.o \
385         emsp430x325.o \
386         emsp430x336.o \
387         emsp430x337.o \
388         emsp430x435.o \
389         emsp430x436.o \
390         emsp430x447.o \
391         emsp430x448.o \
392         emsp430x449.o \
393         emsp430x169.o \
394         emsp430x168.o \
395         emsp430x167.o \
396         emsp430x155.o \
397         emsp430x156.o \
398         emsp430x157.o \
399         enews.o \
400         ens32knbsd.o \
401         eor32.o \
402         eor32elf.o \
403         epc532macha.o \
404         epdp11.o \
405         epjelf.o \
406         epjlelf.o \
407         eppcmacos.o \
408         eppcnw.o \
409         eppcpe.o \
410         eriscix.o \
411         esa29200.o \
412         esh.o \
413         eshelf32.o \
414         eshlelf32.o \
415         eshelf32_linux.o \
416         eshlelf32_linux.o \
417         eshelf32_nbsd.o \
418         eshlelf32_nbsd.o \
419         eshelf.o \
420         eshelf_linux.o \
421         eshlelf_linux.o \
422         eshelf_nbsd.o \
423         eshlelf_nbsd.o \
424         eshelf_nto.o \
425         eshlelf_nto.o \
426         eshl.o \
427         eshlelf.o \
428         eshpe.o \
429         esparcaout.o \
430         esparclinux.o \
431         esparclynx.o \
432         esparcnbsd.o \
433         est2000.o \
434         esun3.o \
435         esun4.o \
436         etic30aout.o \
437         etic30coff.o \
438         etic4xcoff.o \
439         etic54xcoff.o \
440         etic80coff.o \
441         evanilla.o \
442         evax.o \
443         evaxnbsd.o \
444         evsta.o \
445         ew65.o \
446         ez8001.o \
447         ez8002.o
448
449
450 ALL_64_EMULATIONS = \
451         eelf64_aix.o \
452         eelf64_ia64.o \
453         eelf64_ia64_fbsd.o \
454         eshelf64.o \
455         eshlelf64.o \
456         eshelf64_nbsd.o \
457         eshlelf64_nbsd.o \
458         eelf_x86_64.o \
459         eelf_x86_64_fbsd.o \
460         eelf64_s390.o \
461         eelf64_sparc.o \
462         eelf64_sparc_fbsd.o \
463         eelf64alpha.o \
464         eelf64alpha_fbsd.o \
465         eelf64alpha_nbsd.o \
466         eelf64bmip.o \
467         eelf64btsmip.o \
468         eelf64ltsmip.o \
469         eelf64hppa.o \
470         eelf64mmix.o \
471         emmo.o \
472         eelf64ppc.o \
473         eelf64lppc.o \
474         ehppa64linux.o
475
476
477 ALL_EMUL_EXTRA_OFILES = \
478         deffilep.o \
479         pe-dll.o
480
481
482 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
483         ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
484         mri.c ldcref.c pe-dll.c
485
486
487 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
488         ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
489         ldwrite.h mri.h deffile.h pe-dll.h
490
491
492 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
493 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
494
495 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
496         ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o \
497         ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
498
499
500 STAGESTUFF = *.o ldscripts/* e*.c
501
502 # At the moment this is just a list of those emulation template files
503 # that contain internationalised strings.
504 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
505
506 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
507
508 # These all start with e so 'make clean' can find them.
509
510 GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
511 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
512
513 # We need this for automake to use YLWRAP.
514 EXTRA_ld_new_SOURCES = deffilep.y
515
516 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
517         ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
518
519 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
520 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
521
522 # This is the real libbfd.a created by libtool.
523 TESTBFDLIB = @TESTBFDLIB@
524
525 MAINTAINERCLEANFILES = ldver.texi
526
527 # We want to reconfigure if configure.host or configure.tgt changes.
528 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
529
530 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
531         ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
532
533 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
534
535 # Stuff that should be included in a distribution.  The diststuff
536 # target is run by the taz target in ../Makefile.in.
537 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
538
539 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
540 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
541 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
542 CONFIG_HEADER = config.h
543 CONFIG_CLEAN_FILES = 
544 noinst_PROGRAMS =  ld-new$(EXEEXT)
545 PROGRAMS =  $(noinst_PROGRAMS)
546
547
548 DEFS = @DEFS@ -I. -I$(srcdir) -I.
549 CPPFLAGS = @CPPFLAGS@
550 LDFLAGS = @LDFLAGS@
551 LIBS = @LIBS@
552 ld_new_OBJECTS =  ldgram.$(OBJEXT) ldlex.$(OBJEXT) lexsup.$(OBJEXT) \
553 ldlang.$(OBJEXT) mri.$(OBJEXT) ldctor.$(OBJEXT) ldmain.$(OBJEXT) \
554 ldwrite.$(OBJEXT) ldexp.$(OBJEXT) ldemul.$(OBJEXT) ldver.$(OBJEXT) \
555 ldmisc.$(OBJEXT) ldfile.$(OBJEXT) ldcref.$(OBJEXT)
556 ld_new_LDFLAGS = 
557 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
558 LEXLIB = @LEXLIB@
559 YLWRAP = $(top_srcdir)/../ylwrap
560 CFLAGS = @CFLAGS@
561 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
562 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
563 CCLD = $(CC)
564 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
565 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
566 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
567 INFO_DEPS = ld.info
568 DVIS = ld.dvi
569 TEXINFOS = ld.texinfo
570 man1dir = $(mandir)/man1
571 MANS = $(man_MANS)
572
573 NROFF = nroff
574 DIST_COMMON =  README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
575 NEWS TODO acinclude.m4 aclocal.m4 config.in configure configure.in \
576 deffilep.c ldgram.c ldlex.c
577
578
579 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
580
581 TAR = gtar
582 GZIP_ENV = --best
583 SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
584 OBJECTS = $(ld_new_OBJECTS)
585
586 all: all-redirect
587 .SUFFIXES:
588 .SUFFIXES: .S .c .dvi .info .l .lo .o .obj .ps .s .texi .texinfo .txi .y
589 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
590         cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
591
592 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
593         cd $(top_builddir) \
594           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
595
596 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
597         cd $(srcdir) && $(ACLOCAL)
598
599 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
600         $(SHELL) ./config.status --recheck
601 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
602         cd $(srcdir) && $(AUTOCONF)
603
604 config.h: stamp-h
605         @if test ! -f $@; then \
606                 rm -f stamp-h; \
607                 $(MAKE) stamp-h; \
608         else :; fi
609 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
610         cd $(top_builddir) \
611           && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
612              $(SHELL) ./config.status
613         @echo timestamp > stamp-h 2> /dev/null
614 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
615         @if test ! -f $@; then \
616                 rm -f $(srcdir)/stamp-h.in; \
617                 $(MAKE) $(srcdir)/stamp-h.in; \
618         else :; fi
619 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
620         cd $(top_srcdir) && $(AUTOHEADER)
621         @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
622
623 mostlyclean-hdr:
624
625 clean-hdr:
626
627 distclean-hdr:
628         -rm -f config.h
629
630 maintainer-clean-hdr:
631
632 mostlyclean-noinstPROGRAMS:
633
634 clean-noinstPROGRAMS:
635         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
636
637 distclean-noinstPROGRAMS:
638
639 maintainer-clean-noinstPROGRAMS:
640
641 .c.o:
642         $(COMPILE) -c $<
643
644 # FIXME: We should only use cygpath when building on Windows,
645 # and only if it is available.
646 .c.obj:
647         $(COMPILE) -c `cygpath -w $<`
648
649 .s.o:
650         $(COMPILE) -c $<
651
652 .S.o:
653         $(COMPILE) -c $<
654
655 mostlyclean-compile:
656         -rm -f *.o core *.core
657         -rm -f *.$(OBJEXT)
658
659 clean-compile:
660
661 distclean-compile:
662         -rm -f *.tab.c
663
664 maintainer-clean-compile:
665
666 .c.lo:
667         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
668
669 .s.lo:
670         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
671
672 .S.lo:
673         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
674
675 mostlyclean-libtool:
676         -rm -f *.lo
677
678 clean-libtool:
679         -rm -rf .libs _libs
680
681 distclean-libtool:
682
683 maintainer-clean-libtool:
684
685 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
686         @rm -f ld-new$(EXEEXT)
687         $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
688 .l.c:
689         $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
690 .y.c:
691         $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS)
692 deffilep.h: deffilep.c
693 ldgram.h: ldgram.c
694
695
696 ld.info: ld.texinfo
697 ld.dvi: ld.texinfo
698
699
700 DVIPS = dvips
701
702 .texi.info:
703         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
704         $(MAKEINFO) -I $(srcdir) $<
705
706 .texi.dvi:
707         TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
708           MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
709
710 .texi:
711         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
712         $(MAKEINFO) -I $(srcdir) $<
713
714 .texinfo.info:
715         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
716         $(MAKEINFO) -I $(srcdir) $<
717
718 .texinfo:
719         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
720         $(MAKEINFO) -I $(srcdir) $<
721
722 .texinfo.dvi:
723         TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
724           MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
725
726 .txi.info:
727         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
728         $(MAKEINFO) -I $(srcdir) $<
729
730 .txi.dvi:
731         TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
732           MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
733
734 .txi:
735         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
736         $(MAKEINFO) -I $(srcdir) $<
737 .dvi.ps:
738         $(DVIPS) $< -o $@
739
740 install-info-am: $(INFO_DEPS)
741         @$(NORMAL_INSTALL)
742         $(mkinstalldirs) $(DESTDIR)$(infodir)
743         @list='$(INFO_DEPS)'; \
744         for file in $$list; do \
745           if test -f $$file; then d=.; else d=$(srcdir); fi; \
746           for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
747             if test -f $$d/$$ifile; then \
748               echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
749               $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
750             else : ; fi; \
751           done; \
752         done
753         @$(POST_INSTALL)
754         @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
755           list='$(INFO_DEPS)'; \
756           for file in $$list; do \
757             echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
758             install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
759           done; \
760         else : ; fi
761
762 uninstall-info:
763         $(PRE_UNINSTALL)
764         @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
765           ii=yes; \
766         else ii=; fi; \
767         list='$(INFO_DEPS)'; \
768         for file in $$list; do \
769           test -z "$$ii" \
770             || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
771         done
772         @$(NORMAL_UNINSTALL)
773         list='$(INFO_DEPS)'; \
774         for file in $$list; do \
775           (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
776         done
777
778 dist-info: $(INFO_DEPS)
779         list='$(INFO_DEPS)'; \
780         for base in $$list; do \
781           if test -f $$base; then d=.; else d=$(srcdir); fi; \
782           for file in `cd $$d && eval echo $$base*`; do \
783             test -f $(distdir)/$$file \
784             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
785             || cp -p $$d/$$file $(distdir)/$$file; \
786           done; \
787         done
788
789 mostlyclean-aminfo:
790         -rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.ky ld.kys ld.ps \
791           ld.log ld.pg ld.toc ld.tp ld.tps ld.vr ld.vrs ld.op ld.tr \
792           ld.cv ld.cn
793
794 clean-aminfo:
795
796 distclean-aminfo:
797
798 maintainer-clean-aminfo:
799         for i in $(INFO_DEPS); do \
800           rm -f $$i; \
801           if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
802             rm -f $$i-[0-9]*; \
803           fi; \
804         done
805 clean-info: mostlyclean-aminfo
806
807 install-man1:
808         $(mkinstalldirs) $(DESTDIR)$(man1dir)
809         @list='$(man1_MANS)'; \
810         l2='$(man_MANS)'; for i in $$l2; do \
811           case "$$i" in \
812             *.1*) list="$$list $$i" ;; \
813           esac; \
814         done; \
815         for i in $$list; do \
816           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
817           else file=$$i; fi; \
818           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
819           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
820           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
821           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
822           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
823         done
824
825 uninstall-man1:
826         @list='$(man1_MANS)'; \
827         l2='$(man_MANS)'; for i in $$l2; do \
828           case "$$i" in \
829             *.1*) list="$$list $$i" ;; \
830           esac; \
831         done; \
832         for i in $$list; do \
833           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
834           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
835           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
836           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
837           rm -f $(DESTDIR)$(man1dir)/$$inst; \
838         done
839 install-man: $(MANS)
840         @$(NORMAL_INSTALL)
841         $(MAKE) $(AM_MAKEFLAGS) install-man1
842 uninstall-man:
843         @$(NORMAL_UNINSTALL)
844         $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
845
846 # This directory's subdirectories are mostly independent; you can cd
847 # into them and run `make' without going through this Makefile.
848 # To change the values of `make' variables: instead of editing Makefiles,
849 # (1) if the variable is set in `config.status', edit `config.status'
850 #     (which will cause the Makefiles to be regenerated when you run `make');
851 # (2) otherwise, pass the desired values on the `make' command line.
852
853 @SET_MAKE@
854
855 all-recursive install-data-recursive install-exec-recursive \
856 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
857 check-recursive installcheck-recursive info-recursive dvi-recursive:
858         @set fnord $(MAKEFLAGS); amf=$$2; \
859         dot_seen=no; \
860         target=`echo $@ | sed s/-recursive//`; \
861         list='$(SUBDIRS)'; for subdir in $$list; do \
862           echo "Making $$target in $$subdir"; \
863           if test "$$subdir" = "."; then \
864             dot_seen=yes; \
865             local_target="$$target-am"; \
866           else \
867             local_target="$$target"; \
868           fi; \
869           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
870            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
871         done; \
872         if test "$$dot_seen" = "no"; then \
873           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
874         fi; test -z "$$fail"
875
876 mostlyclean-recursive clean-recursive distclean-recursive \
877 maintainer-clean-recursive:
878         @set fnord $(MAKEFLAGS); amf=$$2; \
879         dot_seen=no; \
880         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
881           rev="$$subdir $$rev"; \
882           test "$$subdir" != "." || dot_seen=yes; \
883         done; \
884         test "$$dot_seen" = "no" && rev=". $$rev"; \
885         target=`echo $@ | sed s/-recursive//`; \
886         for subdir in $$rev; do \
887           echo "Making $$target in $$subdir"; \
888           if test "$$subdir" = "."; then \
889             local_target="$$target-am"; \
890           else \
891             local_target="$$target"; \
892           fi; \
893           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
894            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
895         done && test -z "$$fail"
896 tags-recursive:
897         list='$(SUBDIRS)'; for subdir in $$list; do \
898           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
899         done
900
901 tags: TAGS
902
903 ID: $(HEADERS) $(SOURCES) $(LISP)
904         list='$(SOURCES) $(HEADERS)'; \
905         unique=`for i in $$list; do echo $$i; done | \
906           awk '    { files[$$0] = 1; } \
907                END { for (i in files) print i; }'`; \
908         here=`pwd` && cd $(srcdir) \
909           && mkid -f$$here/ID $$unique $(LISP)
910
911 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
912         tags=; \
913         here=`pwd`; \
914         list='$(SUBDIRS)'; for subdir in $$list; do \
915    if test "$$subdir" = .; then :; else \
916             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
917    fi; \
918         done; \
919         list='$(SOURCES) $(HEADERS)'; \
920         unique=`for i in $$list; do echo $$i; done | \
921           awk '    { files[$$0] = 1; } \
922                END { for (i in files) print i; }'`; \
923         test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
924           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
925
926 mostlyclean-tags:
927
928 clean-tags:
929
930 distclean-tags:
931         -rm -f TAGS ID
932
933 maintainer-clean-tags:
934
935 distdir = $(PACKAGE)-$(VERSION)
936 top_distdir = $(distdir)
937
938 # This target untars the dist file and tries a VPATH configuration.  Then
939 # it guarantees that the distribution is self-contained by making another
940 # tarfile.
941 distcheck: dist
942         -rm -rf $(distdir)
943         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
944         mkdir $(distdir)/=build
945         mkdir $(distdir)/=inst
946         dc_install_base=`cd $(distdir)/=inst && pwd`; \
947         cd $(distdir)/=build \
948           && ../configure --srcdir=.. --prefix=$$dc_install_base \
949           && $(MAKE) $(AM_MAKEFLAGS) \
950           && $(MAKE) $(AM_MAKEFLAGS) dvi \
951           && $(MAKE) $(AM_MAKEFLAGS) check \
952           && $(MAKE) $(AM_MAKEFLAGS) install \
953           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
954           && $(MAKE) $(AM_MAKEFLAGS) dist
955         -rm -rf $(distdir)
956         @banner="$(distdir).tar.gz is ready for distribution"; \
957         dashes=`echo "$$banner" | sed s/./=/g`; \
958         echo "$$dashes"; \
959         echo "$$banner"; \
960         echo "$$dashes"
961 dist: distdir
962         -chmod -R a+r $(distdir)
963         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
964         -rm -rf $(distdir)
965 dist-all: distdir
966         -chmod -R a+r $(distdir)
967         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
968         -rm -rf $(distdir)
969 distdir: $(DISTFILES)
970         -rm -rf $(distdir)
971         mkdir $(distdir)
972         -chmod 777 $(distdir)
973         @for file in $(DISTFILES); do \
974           if test -f $$file; then d=.; else d=$(srcdir); fi; \
975           if test -d $$d/$$file; then \
976             cp -pr $$d/$$file $(distdir)/$$file; \
977           else \
978             test -f $(distdir)/$$file \
979             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
980             || cp -p $$d/$$file $(distdir)/$$file || :; \
981           fi; \
982         done
983         for subdir in $(SUBDIRS); do \
984           if test "$$subdir" = .; then :; else \
985             test -d $(distdir)/$$subdir \
986             || mkdir $(distdir)/$$subdir \
987             || exit 1; \
988             chmod 777 $(distdir)/$$subdir; \
989             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
990               || exit 1; \
991           fi; \
992         done
993         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
994
995 DEJATOOL = $(PACKAGE)
996
997 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
998 site.exp: Makefile
999         @echo 'Making a new site.exp file...'
1000         @test ! -f site.bak || rm -f site.bak
1001         @echo '## these variables are automatically generated by make ##' > $@-t
1002         @echo '# Do not edit here.  If you wish to override these values' >> $@-t
1003         @echo '# edit the last section' >> $@-t
1004         @echo 'set tool $(DEJATOOL)' >> $@-t
1005         @echo 'set srcdir $(srcdir)' >> $@-t
1006         @echo 'set objdir' `pwd` >> $@-t
1007         @echo 'set host_alias $(host_alias)' >> $@-t
1008         @echo 'set host_triplet $(host_triplet)' >> $@-t
1009         @echo 'set target_alias $(target_alias)' >> $@-t
1010         @echo 'set target_triplet $(target_triplet)' >> $@-t
1011         @echo 'set build_alias $(build_alias)' >> $@-t
1012         @echo 'set build_triplet $(build_triplet)' >> $@-t
1013         @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
1014         @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
1015         @test ! -f site.exp || mv site.exp site.bak
1016         @mv $@-t site.exp
1017 info-am: $(INFO_DEPS)
1018 info: info-recursive
1019 dvi-am: $(DVIS)
1020 dvi: dvi-recursive
1021 check-am:
1022         $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
1023 check: check-recursive
1024 installcheck-am:
1025 installcheck: installcheck-recursive
1026 install-info-am: 
1027 install-info: install-info-recursive
1028 all-recursive-am: config.h
1029         $(MAKE) $(AM_MAKEFLAGS) all-recursive
1030
1031 install-exec-am: install-exec-local
1032 install-exec: install-exec-recursive
1033
1034 install-data-am: install-man install-data-local
1035 install-data: install-data-recursive
1036
1037 install-am: all-am
1038         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1039 install: install-recursive
1040 uninstall-am: uninstall-man
1041 uninstall: uninstall-recursive
1042 all-am: Makefile $(PROGRAMS) $(MANS) config.h
1043 all-redirect: all-recursive-am
1044 install-strip:
1045         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
1046 installdirs: installdirs-recursive
1047 installdirs-am:
1048         $(mkinstalldirs)  $(DESTDIR)$(mandir)/man1
1049
1050
1051 mostlyclean-generic:
1052         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1053
1054 clean-generic:
1055         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1056
1057 distclean-generic:
1058         -rm -f Makefile $(CONFIG_CLEAN_FILES)
1059         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
1060         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1061
1062 maintainer-clean-generic:
1063         -test -z "ldlexldeffilephdeffilepcldgramhldgramc$(MAINTAINERCLEANFILES)" || rm -f ldlexl deffileph deffilepc ldgramh ldgramc $(MAINTAINERCLEANFILES)
1064 mostlyclean-am:  mostlyclean-hdr mostlyclean-noinstPROGRAMS \
1065                 mostlyclean-compile mostlyclean-libtool \
1066                 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic \
1067                 mostlyclean-local
1068
1069 mostlyclean: mostlyclean-recursive
1070
1071 clean-am:  clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \
1072                 clean-aminfo clean-tags clean-generic mostlyclean-am
1073
1074 clean: clean-recursive
1075
1076 distclean-am:  distclean-hdr distclean-noinstPROGRAMS distclean-compile \
1077                 distclean-libtool distclean-aminfo distclean-tags \
1078                 distclean-generic clean-am distclean-local
1079         -rm -f libtool
1080
1081 distclean: distclean-recursive
1082         -rm -f config.status
1083
1084 maintainer-clean-am:  maintainer-clean-hdr \
1085                 maintainer-clean-noinstPROGRAMS \
1086                 maintainer-clean-compile maintainer-clean-libtool \
1087                 maintainer-clean-aminfo maintainer-clean-tags \
1088                 maintainer-clean-generic distclean-am
1089         @echo "This command is intended for maintainers to use;"
1090         @echo "it deletes files that may require special tools to rebuild."
1091
1092 maintainer-clean: maintainer-clean-recursive
1093         -rm -f config.status
1094
1095 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
1096 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
1097 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
1098 mostlyclean-compile distclean-compile clean-compile \
1099 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
1100 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
1101 mostlyclean-aminfo distclean-aminfo clean-aminfo \
1102 maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
1103 uninstall-man install-data-recursive uninstall-data-recursive \
1104 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
1105 uninstalldirs-recursive all-recursive check-recursive \
1106 installcheck-recursive info-recursive dvi-recursive \
1107 mostlyclean-recursive distclean-recursive clean-recursive \
1108 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
1109 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
1110 info-am info dvi-am dvi check check-am installcheck-am installcheck \
1111 install-info-am install-info all-recursive-am install-exec-local \
1112 install-exec-am install-exec install-data-local install-data-am \
1113 install-data install-am install uninstall-am uninstall all-redirect \
1114 all-am all installdirs-am installdirs mostlyclean-generic \
1115 distclean-generic clean-generic maintainer-clean-generic clean \
1116 mostlyclean distclean maintainer-clean
1117
1118
1119 po/POTFILES.in: @MAINT@ Makefile
1120         for file in $(POTFILES); do echo $$file; done | sort > tmp \
1121           && mv tmp $(srcdir)/po/POTFILES.in
1122
1123 ldmain.o: ldmain.c config.status
1124         $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
1125
1126 ldemul-list.h: Makefile
1127         (echo "/* This file is automatically generated.  DO NOT EDIT! */";\
1128         for f in `echo " " ${EMULATION_OFILES} "" \
1129          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
1130             echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
1131         done;\
1132         echo "";\
1133         echo "#define EMULATION_LIST \\";\
1134         for f in `echo " " ${EMULATION_OFILES} "" \
1135          | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
1136             echo "  &ld_$${f}_emulation, \\"; \
1137         done;\
1138         echo "  0") >ldemul-tmp.h
1139         mv ldemul-tmp.h ldemul-list.h
1140
1141 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
1142           cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
1143 @TDIRS@
1144
1145 ea29k.c: $(srcdir)/emulparams/a29k.sh \
1146   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
1147         ${GENSCRIPTS} a29k "$(tdir_a29k)"
1148 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
1149   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1150         ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
1151 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
1152   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1153         ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
1154 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
1155   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1156         ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
1157 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
1158   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1159         ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
1160 ealpha.c: $(srcdir)/emulparams/alpha.sh \
1161   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
1162         ${GENSCRIPTS} alpha "$(tdir_alpha)"
1163 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
1164   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1165         ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
1166 earmelf.c: $(srcdir)/emulparams/armelf.sh \
1167   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1168   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1169         ${GENSCRIPTS} armelf "$(tdir_armelf)"
1170 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
1171   $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1172         ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
1173 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
1174   $(srcdir)/emulparams/armelf.sh \
1175   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1176   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1177         ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
1178 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
1179   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1180   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1181         ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
1182 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
1183   $(srcdir)/emulparams/armelf.sh \
1184   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1185   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1186         ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
1187 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
1188   $(srcdir)/emulparams/armelf_nbsd.sh \
1189   $(srcdir)/emulparams/armelf.sh \
1190   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1191   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1192         ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
1193 earmaoutb.c:    $(srcdir)/emulparams/armaoutb.sh \
1194   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
1195         ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
1196 earmaoutl.c:    $(srcdir)/emulparams/armaoutl.sh \
1197   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
1198         ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
1199 earmcoff.c:     $(srcdir)/emulparams/armcoff.sh \
1200   $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
1201         ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
1202 earmnbsd.c:     $(srcdir)/emulparams/armnbsd.sh \
1203   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1204         ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
1205 earmnto.c: $(srcdir)/emulparams/armnto.sh \
1206   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
1207   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1208         ${GENSCRIPTS} armnto "$(tdir_armnto)"
1209 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
1210   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
1211         ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
1212 earmpe.c: $(srcdir)/emulparams/armpe.sh \
1213   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1214         ${GENSCRIPTS} armpe "$(tdir_armpe)"
1215 eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \
1216   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1217   ${GEN_DEPENDS}
1218         ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)"
1219 eavr1200.c: $(srcdir)/emulparams/avr1200.sh \
1220   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1221   ${GEN_DEPENDS}
1222         ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)"
1223 eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \
1224   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1225   ${GEN_DEPENDS}
1226         ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)"
1227 eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \
1228   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1229   ${GEN_DEPENDS}
1230         ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)"
1231 eavr4433.c: $(srcdir)/emulparams/avr4433.sh \
1232   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1233   ${GEN_DEPENDS}
1234         ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)"
1235 eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \
1236   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1237   ${GEN_DEPENDS}
1238         ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)"
1239 eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \
1240   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1241   ${GEN_DEPENDS}
1242         ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)"
1243 eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \
1244   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
1245   ${GEN_DEPENDS}
1246         ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)"
1247 eavr1.c: $(srcdir)/emulparams/avr1.sh \
1248   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1249   ${GEN_DEPENDS}
1250         ${GENSCRIPTS} avr1 "$(tdir_avr85xx)"
1251 eavr2.c: $(srcdir)/emulparams/avr2.sh \
1252   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1253   ${GEN_DEPENDS}
1254         ${GENSCRIPTS} avr2 "$(tdir_avr85xx)"
1255 eavr3.c: $(srcdir)/emulparams/avr3.sh \
1256   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1257   ${GEN_DEPENDS}
1258         ${GENSCRIPTS} avr3 "$(tdir_avr85xx)"
1259 eavr4.c: $(srcdir)/emulparams/avr4.sh \
1260   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1261   ${GEN_DEPENDS}
1262         ${GENSCRIPTS} avr4 "$(tdir_avr85xx)"
1263 eavr5.c: $(srcdir)/emulparams/avr5.sh \
1264   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
1265   ${GEN_DEPENDS}
1266         ${GENSCRIPTS} avr5 "$(tdir_avr85xx)"
1267 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
1268   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
1269         ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
1270 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
1271   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
1272         ${GENSCRIPTS} crisaout "$(tdir_cris)"
1273 ecriself.c: $(srcdir)/emulparams/criself.sh \
1274   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1275         ${GENSCRIPTS} criself "$(tdir_cris)"
1276 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
1277   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1278         ${GENSCRIPTS} crislinux "$(tdir_cris)"
1279 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
1280   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
1281         ${GENSCRIPTS} d10velf "$(tdir_d10v)"
1282 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
1283   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
1284         ${GENSCRIPTS} d30velf "$(tdir_d30v)"
1285 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
1286   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
1287         ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
1288 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
1289   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
1290         ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
1291 edelta68.c: $(srcdir)/emulparams/delta68.sh \
1292   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
1293         ${GENSCRIPTS} delta68 "$(tdir_delta68)"
1294 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
1295   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
1296         ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
1297 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
1298   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
1299         ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
1300 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1301   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
1302   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1303         ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
1304 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1305   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1306         ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
1307 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1308   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1309         ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
1310 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1311   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1312         ${GENSCRIPTS} elf32frv "$(tdir_frv)"
1313 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1314   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1315         ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
1316 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1317   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1318         ${GENSCRIPTS} m32relf "$(tdir_m32r)"
1319 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
1320   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1321         ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
1322 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
1323   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1324         ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
1325 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
1326   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1327         ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
1328 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1329   $(srcdir)/emulparams/elf32bmip.sh \
1330   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1331         ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
1332 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
1333   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1334         ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
1335 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1336   $(srcdir)/emulparams/elf32bmip.sh \
1337   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1338         ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
1339 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1340   $(srcdir)/emulparams/elf32bmip.sh \
1341   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1342         ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
1343 eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1344   $(srcdir)/emulparams/elf32bmip.sh \
1345   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1346         ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
1347 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1348   $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1349   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1350         ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
1351 eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1352   $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1353   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1354         ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
1355 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1356   $(srcdir)/emulparams/elf32bmip.sh \
1357   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1358         ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
1359 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1360   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1361   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1362         ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
1363 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1364   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1365         ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
1366 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1367   $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1368   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1369         ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
1370 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1371   $(srcdir)/emulparams/elf32bmip.sh \
1372   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1373         ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
1374 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1375   $(srcdir)/emulparams/elf32ppc.sh \
1376   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1377         ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
1378 eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1379   $(srcdir)/emulparams/elf32ppc.sh \
1380   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1381         ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
1382 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1383   $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1384   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1385         ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
1386 eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1387   $(srcdir)/emulparams/elf32ppc.sh \
1388   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1389         ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
1390 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1391   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1392         ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
1393 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1394   $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1395   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1396         ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
1397 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
1398   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1399         ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
1400 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1401   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1402         ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
1403 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1404   $(srcdir)/emulparams/elf32ppc.sh \
1405   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1406         ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
1407 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1408   $(srcdir)/emulparams/elf32ppc.sh \
1409   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1410         ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
1411 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1412   $(srcdir)/emulparams/elf32ppc.sh \
1413   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1414         ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
1415 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1416   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1417         ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
1418 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1419   $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1420   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1421         ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
1422 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1423   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1424         ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1425 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1426   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
1427         ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1428 eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1429   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
1430         ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1431 eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1432   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1433         ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
1434 eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1435   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1436         ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
1437 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1438   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1439         ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
1440 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1441   $(srcdir)/emulparams/elf64alpha.sh \
1442   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1443         ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
1444 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1445   $(srcdir)/emulparams/elf64alpha.sh \
1446   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1447         ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
1448 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1449   $(srcdir)/emulparams/hppa64linux.sh \
1450   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1451         ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
1452 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1453   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1454         ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
1455 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1456   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
1457   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1458         ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
1459 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1460   $(srcdir)/emulparams/elf64_ia64.sh \
1461   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
1462   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1463         ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
1464 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1465   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1466         ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
1467 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1468   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1469         ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
1470 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1471   $(srcdir)/emulparams/elf64_sparc.sh \
1472   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1473         ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
1474 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1475   $(srcdir)/emulparams/elf32bmipn32.sh \
1476   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1477         ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
1478 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1479   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
1480   $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1481         ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
1482 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1483   $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
1484   $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1485         ${GENSCRIPTS} mmo "$(tdir_mmo)"
1486 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1487   $(srcdir)/emulparams/elf32bmipn32.sh \
1488   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1489         ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
1490 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1491   $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
1492   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1493         ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
1494 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1495   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1496         ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
1497 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1498   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1499         ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
1500 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1501   $(srcdir)/emulparams/elf_x86_64.sh \
1502   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1503         ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
1504 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1505   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1506         ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
1507 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1508   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1509         ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
1510 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1511   $(srcdir)/emulparams/elf_i386.sh \
1512   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1513         ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
1514 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1515   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1516         ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
1517 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1518   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1519         ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
1520 egld960.c: $(srcdir)/emulparams/gld960.sh \
1521   $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1522         ${GENSCRIPTS} gld960 "$(tdir_gld960)"
1523 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1524   $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1525         ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
1526 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1527   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1528         ${GENSCRIPTS} h8300 "$(tdir_h8300)"
1529 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1530   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1531         ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
1532 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1533   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1534         ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1535 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1536   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1537         ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
1538 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1539   $(srcdir)/emulparams/h8300elf.sh \
1540   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1541         ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
1542 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1543   $(srcdir)/emulparams/h8300elf.sh \
1544   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1545         ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
1546 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1547   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1548         ${GENSCRIPTS} h8500 "$(tdir_h8500)"
1549 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1550   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1551         ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
1552 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1553   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1554         ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1555 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1556   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1557         ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1558 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1559   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1560         ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
1561 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1562   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1563         ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
1564 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1565   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1566         ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
1567 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1568   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1569   $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1570         ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
1571 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1572   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1573   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1574         ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
1575 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1576   $(srcdir)/emulparams/hppaelf.sh \
1577   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1578   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1579         ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1580 ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1581   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1582   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1583         ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
1584 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1585   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1586         ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
1587 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1588   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1589         ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
1590 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1591   $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1592         ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
1593 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1594   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1595         ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1596 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1597   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1598         ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
1599 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1600   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1601         ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1602 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1603   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1604         ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1605 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1606   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
1607         ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1608 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1609   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1610         ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1611 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1612   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1613         ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1614 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1615   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1616         ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1617 ei386nbsd.c:    $(srcdir)/emulparams/i386nbsd.sh \
1618   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1619         ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1620 ei386nto.c:     $(srcdir)/emulparams/i386nto.sh \
1621   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1622         ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1623 ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
1624   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1625         ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1626 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1627   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1628         ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1629 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1630   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1631         ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1632 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1633   $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1634         ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1635 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1636   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1637         ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1638 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1639   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1640         ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1641 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1642   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1643         ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1644 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1645   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1646         ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1647 em68k4knbsd.c:  $(srcdir)/emulparams/m68k4knbsd.sh \
1648   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1649         ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1650 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1651   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1652         ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1653 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1654   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1655         ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1656 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1657   $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1658         ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1659 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1660   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1661   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1662         ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1663 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1664   $(srcdir)/emulparams/m68kelf.sh \
1665   $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1666   $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1667         ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1668 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1669   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1670         ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1671 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
1672   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
1673         ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
1674 em68knbsd.c:    $(srcdir)/emulparams/m68knbsd.sh \
1675   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1676         ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1677 em68kpsos.c:    $(srcdir)/emulparams/m68kpsos.sh \
1678   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1679         ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1680 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1681   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1682         ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1683 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1684   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1685         ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1686 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
1687   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1688         ${GENSCRIPTS} mipsbig
1689 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
1690   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1691         ${GENSCRIPTS} mipsbsd
1692 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
1693   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1694         ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1695 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
1696   $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1697         ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1698 emipslit.c:  $(srcdir)/emulparams/mipslit.sh \
1699   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1700         ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1701 emipslnews.c:  $(srcdir)/emulparams/mipslnews.sh \
1702   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1703         ${GENSCRIPTS} mipslnews
1704 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
1705   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1706         ${GENSCRIPTS} mipspe "$(tdir_mips)"
1707 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1708   $(srcdir)/emulparams/mn10200.sh \
1709   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1710         ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1711 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1712   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1713         ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1714 emsp430x1101.c: $(srcdir)/emulparams/msp430x1101.sh \
1715   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1716   ${GEN_DEPENDS}
1717         ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)"
1718 emsp430x1111.c: $(srcdir)/emulparams/msp430x1111.sh \
1719   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1720   ${GEN_DEPENDS}
1721         ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)"
1722 emsp430x1121.c: $(srcdir)/emulparams/msp430x1121.sh \
1723   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1724   ${GEN_DEPENDS}
1725         ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)"
1726 emsp430x1331.c: $(srcdir)/emulparams/msp430x1331.sh \
1727   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1728   ${GEN_DEPENDS}
1729         ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)"
1730 emsp430x1351.c: $(srcdir)/emulparams/msp430x1351.sh \
1731   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1732   ${GEN_DEPENDS}
1733         ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)"
1734 emsp430x149.c: $(srcdir)/emulparams/msp430x149.sh \
1735   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1736   ${GEN_DEPENDS}
1737         ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)"
1738 emsp430x148.c: $(srcdir)/emulparams/msp430x148.sh \
1739   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1740   ${GEN_DEPENDS}
1741         ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)"
1742 emsp430x449.c: $(srcdir)/emulparams/msp430x449.sh \
1743   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1744   ${GEN_DEPENDS}
1745         ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)"
1746 emsp430x448.c: $(srcdir)/emulparams/msp430x448.sh \
1747   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1748   ${GEN_DEPENDS}
1749         ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)"
1750 emsp430x447.c: $(srcdir)/emulparams/msp430x447.sh \
1751   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1752   ${GEN_DEPENDS}
1753         ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)"
1754 emsp430x412.c: $(srcdir)/emulparams/msp430x412.sh \
1755   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1756   ${GEN_DEPENDS}
1757         ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)"
1758 emsp430x413.c: $(srcdir)/emulparams/msp430x413.sh \
1759   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1760   ${GEN_DEPENDS}
1761         ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)"
1762 emsp430x147.c: $(srcdir)/emulparams/msp430x147.sh \
1763   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1764   ${GEN_DEPENDS}
1765         ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)"
1766 emsp430x135.c: $(srcdir)/emulparams/msp430x135.sh \
1767   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1768   ${GEN_DEPENDS}
1769         ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)"
1770 emsp430x133.c: $(srcdir)/emulparams/msp430x133.sh \
1771   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1772   ${GEN_DEPENDS}
1773         ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)"
1774 emsp430x110.c: $(srcdir)/emulparams/msp430x110.sh \
1775   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1776   ${GEN_DEPENDS}
1777         ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)"
1778 emsp430x112.c: $(srcdir)/emulparams/msp430x112.sh \
1779   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1780   ${GEN_DEPENDS}
1781         ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)"
1782 emsp430x122.c: $(srcdir)/emulparams/msp430x122.sh \
1783   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1784   ${GEN_DEPENDS}
1785         ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)"
1786 emsp430x1222.c: $(srcdir)/emulparams/msp430x1222.sh \
1787   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1788   ${GEN_DEPENDS}
1789         ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)"
1790 emsp430x123.c: $(srcdir)/emulparams/msp430x123.sh \
1791   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1792   ${GEN_DEPENDS}
1793         ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)"
1794 emsp430x1232.c: $(srcdir)/emulparams/msp430x1232.sh \
1795   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1796   ${GEN_DEPENDS}
1797         ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)"
1798 emsp430x311.c: $(srcdir)/emulparams/msp430x311.sh \
1799   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1800   ${GEN_DEPENDS}
1801         ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)"
1802 emsp430x312.c: $(srcdir)/emulparams/msp430x312.sh \
1803   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1804   ${GEN_DEPENDS}
1805         ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)"
1806 emsp430x313.c: $(srcdir)/emulparams/msp430x313.sh \
1807   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1808   ${GEN_DEPENDS}
1809         ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)"
1810 emsp430x314.c: $(srcdir)/emulparams/msp430x314.sh \
1811   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1812   ${GEN_DEPENDS}
1813         ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)"
1814 emsp430x315.c: $(srcdir)/emulparams/msp430x315.sh \
1815   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1816   ${GEN_DEPENDS}
1817         ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)"
1818 emsp430x323.c: $(srcdir)/emulparams/msp430x323.sh \
1819   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1820   ${GEN_DEPENDS}
1821         ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)"
1822 emsp430x325.c: $(srcdir)/emulparams/msp430x325.sh \
1823   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1824   ${GEN_DEPENDS}
1825         ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)"
1826 emsp430x336.c: $(srcdir)/emulparams/msp430x336.sh \
1827   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1828   ${GEN_DEPENDS}
1829         ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)"
1830 emsp430x337.c: $(srcdir)/emulparams/msp430x337.sh \
1831   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
1832   ${GEN_DEPENDS}
1833         ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)"
1834 emsp430x435.c: $(srcdir)/emulparams/msp430x435.sh \
1835   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1836   ${GEN_DEPENDS}
1837         ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)"
1838 emsp430x436.c: $(srcdir)/emulparams/msp430x436.sh \
1839   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1840   ${GEN_DEPENDS}
1841         ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)"
1842 emsp430x437.c: $(srcdir)/emulparams/msp430x437.sh \
1843   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1844   ${GEN_DEPENDS}
1845         ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)"
1846 emsp430x167.c: $(srcdir)/emulparams/msp430x167.sh \
1847   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1848   ${GEN_DEPENDS}
1849         ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)"
1850 emsp430x168.c: $(srcdir)/emulparams/msp430x167.sh \
1851   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1852   ${GEN_DEPENDS}
1853         ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)"
1854 emsp430x169.c: $(srcdir)/emulparams/msp430x169.sh \
1855   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1856   ${GEN_DEPENDS}
1857         ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)"
1858 emsp430x155.c: $(srcdir)/emulparams/msp430x155.sh \
1859   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1860   ${GEN_DEPENDS}
1861         ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)"
1862 emsp430x156.c: $(srcdir)/emulparams/msp430x156.sh \
1863   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1864   ${GEN_DEPENDS}
1865         ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)"
1866 emsp430x157.c: $(srcdir)/emulparams/msp430x157.sh \
1867   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
1868   ${GEN_DEPENDS}
1869         ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)"
1870 enews.c: $(srcdir)/emulparams/news.sh \
1871   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1872         ${GENSCRIPTS} news "$(tdir_news)"
1873 ens32knbsd.c:   $(srcdir)/emulparams/ns32knbsd.sh \
1874   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1875         ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1876 eor32.c: $(srcdir)/emulparams/or32.sh \
1877   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1878         ${GENSCRIPTS} or32 "$(tdir_or32)"
1879 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1880   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1881         ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1882 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1883   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1884         ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1885 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1886   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1887         ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1888 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1889   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1890         ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1891 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
1892   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1893         ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1894 eppcmacos.c:    $(srcdir)/emulparams/ppcmacos.sh \
1895   $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1896         ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1897 eppcnw.c:       $(srcdir)/emulparams/ppcnw.sh \
1898   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1899         ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1900 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1901   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1902         ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1903 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1904   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1905         ${GENSCRIPTS} riscix "$(tdir_riscix)"
1906 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
1907   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
1908         ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
1909 esh.c: $(srcdir)/emulparams/sh.sh \
1910   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1911         ${GENSCRIPTS} sh "$(tdir_sh)"
1912 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1913   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1914         ${GENSCRIPTS} shelf "$(tdir_shelf)"
1915 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1916   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1917   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1918   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1919         ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1920 eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
1921   $(srcdir)/emulparams/shelf32.sh \
1922   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1923   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1924   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1925         ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
1926 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1927   $(srcdir)/emulparams/shelf32.sh \
1928   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1929   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1930   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1931         ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1932 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1933   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1934         ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1935 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1936   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1937   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1938         ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
1939 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1940   $(srcdir)/emulparams/shlelf_linux.sh \
1941   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1942         ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1943 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1944   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1945         ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1946 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1947   $(srcdir)/emulparams/shelf.sh \
1948   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1949         ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1950 eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
1951   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1952         ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
1953 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1954   $(srcdir)/emulparams/shelf_nbsd.sh \
1955   $(srcdir)/emulparams/shelf.sh \
1956   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1957         ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1958 eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
1959   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1960         ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
1961 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1962   $(srcdir)/emulparams/shelf.sh \
1963   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1964         ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1965 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1966   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1967   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1968   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1969         ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1970 eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
1971   $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
1972   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1973   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1974   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1975         ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
1976 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1977   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1978   $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1979   $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1980   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1981         ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1982 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1983   $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1984   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1985         ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1986 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1987   $(srcdir)/emulparams/shelf64_nbsd.sh \
1988   $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1989   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1990         ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1991 eshl.c: $(srcdir)/emulparams/shl.sh \
1992   $(srcdir)/emulparams/sh.sh \
1993   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1994         ${GENSCRIPTS} shl "$(tdir_shl)"
1995 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1996   $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1997         ${GENSCRIPTS} shpe "$(tdir_shl)"
1998 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1999   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2000         ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
2001 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
2002   $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2003         ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
2004 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
2005   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
2006         ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
2007 esparcnbsd.c:   $(srcdir)/emulparams/sparcnbsd.sh \
2008   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2009         ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
2010 est2000.c: $(srcdir)/emulparams/st2000.sh \
2011   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
2012         ${GENSCRIPTS} st2000 "$(tdir_st2000)"
2013 esun3.c: $(srcdir)/emulparams/sun3.sh \
2014   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2015         ${GENSCRIPTS} sun3 "$(tdir_sun3)"
2016 esun4.c: $(srcdir)/emulparams/sun4.sh \
2017   $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2018         ${GENSCRIPTS} sun4 "$(tdir_sun4)"
2019 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
2020   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
2021         ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
2022 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
2023   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
2024         ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
2025 etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
2026   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2027         ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
2028 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
2029   $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
2030         ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
2031 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
2032   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
2033         ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
2034 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
2035   $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
2036         ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
2037 evax.c: $(srcdir)/emulparams/vax.sh \
2038   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2039         ${GENSCRIPTS} vax "$(tdir_vax)"
2040 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
2041   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2042         ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
2043 evsta.c: $(srcdir)/emulparams/vsta.sh \
2044   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2045         ${GENSCRIPTS} vsta "$(tdir_vsta)"
2046 ev850.c: $(srcdir)/emulparams/v850.sh \
2047   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
2048         ${GENSCRIPTS} v850 "$(tdir_v850)"
2049 ew65.c: $(srcdir)/emulparams/w65.sh \
2050   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
2051         ${GENSCRIPTS} w65 "$(tdir_w65)"
2052 ez8001.c: $(srcdir)/emulparams/z8001.sh \
2053   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
2054         ${GENSCRIPTS} z8001 "$(tdir_z8001)"
2055 ez8002.c: $(srcdir)/emulparams/z8002.sh \
2056   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
2057         ${GENSCRIPTS} z8002 "$(tdir_z8002)"
2058
2059 # The generated emulation files mostly have the same dependencies.
2060 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
2061   ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
2062   ldctor.h ldexp.h ldlang.h ldgram.h
2063
2064 check-DEJAGNU: site.exp
2065         srcroot=`cd $(srcdir) && pwd`; export srcroot; \
2066         r=`pwd`; export r; \
2067         LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
2068         EXPECT=$(EXPECT); export EXPECT; \
2069         if [ -f $(top_builddir)/../expect/expect ]; then \
2070           TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
2071           export TCL_LIBRARY; \
2072         fi; \
2073         runtest=$(RUNTEST); \
2074         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
2075           $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
2076                 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
2077                 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
2078                 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
2079                 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2080                 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
2081                 $(RUNTESTFLAGS); \
2082         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
2083         fi
2084
2085 # Rules for testing by relinking ld itself.
2086 # A similar test is in the testsuite.  This target is for ease of use
2087 # when porting ld.
2088
2089 ld-partial.o: ld-new$(EXEEXT)
2090         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
2091 ld1$(EXEEXT): ld-partial.o
2092         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2093
2094 ld1-full$(EXEEXT): ld-new
2095         ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2096
2097 ld2$(EXEEXT): ld1$(EXEEXT)
2098         ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2099
2100 ld3$(EXEEXT): ld2$(EXEEXT)
2101         ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
2102
2103 bootstrap: ld3$(EXEEXT)
2104         cmp ld2$(EXEEXT) ld3$(EXEEXT)
2105
2106 .PHONY: bootstrap
2107
2108 # A test program for C++ constructors and destructors.
2109 # This test is now in the testsuite.
2110 #
2111 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
2112 #       ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
2113 #         cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
2114 #
2115 #cdtest.out: cdtest
2116 #       ./cdtest > cdtest.tmp
2117 #       mv cdtest.tmp cdtest.out
2118 #
2119 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
2120 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
2121 #         cdtest-bar.o cdtest-foo.o
2122 #
2123 #cdtest-ur: cdtest-ur.o
2124 #       ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
2125 #         $(HOSTING_LIBS)
2126 #
2127 #cdtest-ur.out: cdtest-ur
2128 #       ./cdtest-ur > cdtest-ur.tmp
2129 #       mv cdtest-ur.tmp cdtest-ur.out
2130 #
2131 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
2132 #       diff $(srcdir)/cdtest.exp cdtest.out
2133 #       diff $(srcdir)/cdtest.exp cdtest-ur.out
2134 #
2135 #.PHONY: check-cdtest
2136
2137 # END OF CHECK TARGETS
2138
2139 # DOCUMENTATION TARGETS
2140 # Manual configuration file; not usually attached to normal configuration,
2141 # because almost all configs use "gen" version of manual.
2142 #  Set DOCVER above to change.
2143 configdoc.texi: ${DOCVER}-doc.texi
2144         ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
2145           || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
2146           || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2147
2148 ldver.texi: Makefile
2149         rm -f $@
2150         echo '@set VERSION $(VERSION)' > $@
2151
2152 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2153         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
2154         $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
2155
2156 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2157         TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
2158           MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
2159
2160 # Build the man page from the texinfo file
2161 # The sed command removes the no-adjust Nroff command so that
2162 # the man output looks standard.
2163 ld.1: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
2164         touch $@
2165         -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
2166         -($(POD2MAN) ld.pod | \
2167                 sed -e '/^.if n .na/d' > $@.T$$$$ && \
2168                 mv -f $@.T$$$$ $@) || \
2169                 (rm -f $@.T$$$$ && exit 1)
2170         rm -f ld.pod
2171 mostlyclean-local:
2172         -rm -rf tmpdir
2173
2174 .PHONY: install-exec-local install-data-local
2175
2176 install-exec-local: ld-new$(EXEEXT)
2177         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
2178         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
2179           if test -f $$p; then \
2180             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
2181             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
2182           else :; fi; \
2183         done
2184         n=`echo ld | sed '$(transform)'`; \
2185         if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
2186           rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2187           ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2188           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2189         fi
2190
2191 install-data-local:
2192         $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
2193         for f in ldscripts/*; do \
2194           $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
2195         done
2196
2197 # We want install to imply install-info as per GNU standards, despite the
2198 # cygnus option.
2199 install: install-info
2200 diststuff: info $(EXTRA_DIST)
2201 distclean-local:
2202         rm -rf ldscripts
2203
2204 Makefile: $(BFDDIR)/configure.in
2205
2206 # Targets to rebuild dependencies in this Makefile.
2207 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
2208 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
2209         rm -f DEP1
2210         $(MAKE) MKDEP="$(MKDEP)" DEP1
2211         sed -f dep.sed < DEP1 > DEPA
2212         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
2213         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
2214           echo 'make DEP failed!'; exit 1; \
2215         else \
2216           mv -f DEPA $@; \
2217         fi
2218
2219 DEP1: $(CFILES) $(GENERATED_CFILES)
2220         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
2221         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
2222         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
2223         mv -f DEP2 $@
2224
2225 dep.sed: dep-in.sed config.status
2226         sed <$(srcdir)/dep-in.sed >dep.sed      \
2227                 -e 's!@INCDIR@!$(INCDIR)!'      \
2228                 -e 's!@BFDDIR@!$(BFDDIR)!'      \
2229                 -e 's!@SRCDIR@!$(srcdir)!'      \
2230                 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
2231
2232 dep: DEP
2233         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
2234         cat DEP >> tmp-Makefile
2235         $(srcdir)/../move-if-change tmp-Makefile Makefile
2236
2237 dep-in: DEP
2238         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
2239         cat DEP >> tmp-Makefile.in
2240         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
2241
2242 dep-am: DEP
2243         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
2244         cat DEP >> tmp-Makefile.am
2245         $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
2246
2247 .PHONY: dep dep-in dep-am
2248
2249 @MAINT@.PHONY: mpw
2250 @MAINT@mpw: $(srcdir)/mpw-ei386go32.c $(srcdir)/mpw-elfmips.c \
2251 @MAINT@ $(srcdir)/mpw-em68kcoff.c $(srcdir)/mpw-eppcmac.c \
2252 @MAINT@ $(srcdir)/mpw-esh.c $(srcdir)/mpw-idtmips.c
2253 @MAINT@
2254 @MAINT@$(srcdir)/mpw-ei386go32.c: ei386go32.c
2255 @MAINT@ $(srcdir)/../move-if-change $< $@
2256 @MAINT@
2257 @MAINT@$(srcdir)/mpw-elfmips.c: eelf32ebmip.c
2258 @MAINT@ $(srcdir)/../move-if-change $< $@
2259 @MAINT@
2260 @MAINT@$(srcdir)/mpw-em68kcoff.c: em68kcoff.c
2261 @MAINT@ $(srcdir)/../move-if-change $< $@
2262 @MAINT@
2263 @MAINT@$(srcdir)/mpw-eppcmac.c: eppcmacos.c
2264 @MAINT@ $(srcdir)/../move-if-change $< $@
2265 @MAINT@
2266 @MAINT@$(srcdir)/mpw-esh.c: esh.c
2267 @MAINT@ $(srcdir)/../move-if-change $< $@
2268 @MAINT@
2269 @MAINT@$(srcdir)/mpw-idtmips.c: emipsidt.c
2270 @MAINT@ $(srcdir)/../move-if-change $< $@
2271
2272 # What appears below is generated by a hacked mkdep using gcc -MM.
2273
2274 # DO NOT DELETE THIS LINE -- mkdep uses it.
2275 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
2276 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2277   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2278   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
2279   ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
2280 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2281   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2282   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
2283   ldfile.h ldemul.h ldmain.h ldemul-list.h
2284 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2285   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2286   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
2287   ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
2288   $(INCDIR)/safe-ctype.h
2289 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2290   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2291   $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
2292   ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
2293   ldlex.h ldemul.h $(INCDIR)/libiberty.h
2294 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2295   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2296   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
2297   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
2298   ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
2299   ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
2300 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2301   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2302   $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
2303   $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
2304   ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
2305   ldlex.h ldfile.h ldemul.h ldctor.h
2306 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2307   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2308   $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \
2309   ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
2310   ldfile.h
2311 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2312   $(INCDIR)/symcat.h ../bfd/bfdver.h sysdep.h config.h \
2313   $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h ldver.h \
2314   ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
2315 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2316   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2317   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
2318   ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
2319 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2320   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2321   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
2322   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
2323   ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
2324   $(INCDIR)/demangle.h
2325 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2326   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
2327   ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
2328 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2329   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2330   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
2331   ldmain.h ldmisc.h ldexp.h ldlang.h
2332 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2333   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2334   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
2335   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
2336   ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
2337   $(BFDDIR)/libcoff.h deffile.h pe-dll.h
2338 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
2339   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2340   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
2341   ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
2342   mri.h ldctor.h ldlex.h
2343 ldlex.o: ldlex.c $(INCDIR)/ansidecl.h ../bfd/bfd.h \
2344   $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
2345   $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
2346   ldmisc.h ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h \
2347   ldmain.h $(INCDIR)/libiberty.h
2348 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2349   $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
2350   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
2351   ldmisc.h deffile.h
2352 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
2353
2354 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2355 # Otherwise a system limit (for SysV at least) may be exceeded.
2356 .NOEXPORT: