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