1218822Sdim# Makefile.in generated by automake 1.9.6 from Makefile.am.
2218822Sdim# @configure_input@
333965Sjdp
4218822Sdim# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5218822Sdim# 2003, 2004, 2005  Free Software Foundation, Inc.
638891Sjdp# This Makefile.in is free software; the Free Software Foundation
738891Sjdp# gives unlimited permission to copy and/or distribute it,
838891Sjdp# with or without modifications, as long as this notice is preserved.
933965Sjdp
1033965Sjdp# This program is distributed in the hope that it will be useful,
1138891Sjdp# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1238891Sjdp# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1338891Sjdp# PARTICULAR PURPOSE.
1433965Sjdp
1560521Sobrien# $FreeBSD$
1633965Sjdp
17218822Sdim@SET_MAKE@
1860521Sobrien
1938891Sjdpsrcdir = @srcdir@
2038891Sjdptop_srcdir = @top_srcdir@
2133965SjdpVPATH = @srcdir@
2238891Sjdppkgdatadir = $(datadir)/@PACKAGE@
2338891Sjdppkglibdir = $(libdir)/@PACKAGE@
2438891Sjdppkgincludedir = $(includedir)/@PACKAGE@
2538891Sjdptop_builddir = .
26218822Sdimam__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2738891SjdpINSTALL = @INSTALL@
28218822Sdiminstall_sh_DATA = $(install_sh) -c -m 644
29218822Sdiminstall_sh_PROGRAM = $(install_sh) -c
30218822Sdiminstall_sh_SCRIPT = $(install_sh) -c
31218822SdimINSTALL_HEADER = $(INSTALL_DATA)
32218822Sdimtransform = $(program_transform_name)
3338891SjdpNORMAL_INSTALL = :
3438891SjdpPRE_INSTALL = :
3538891SjdpPOST_INSTALL = :
3638891SjdpNORMAL_UNINSTALL = :
3738891SjdpPRE_UNINSTALL = :
3838891SjdpPOST_UNINSTALL = :
3938891Sjdpbuild_triplet = @build@
4038891Sjdphost_triplet = @host@
4138891Sjdptarget_triplet = @target@
42218822Sdimnoinst_PROGRAMS = ld-new$(EXEEXT)
43218822Sdim
44218822Sdim# Automake 1.9 will only build info files in the objdir if they are
45218822Sdim# mentioned in DISTCLEANFILES.  It doesn't have to be unconditional,
46218822Sdim# though, so we use a bogus condition.
47218822Sdim@GENINSRC_NEVER_TRUE@am__append_1 = ld.info
48218822SdimDIST_COMMON = $(srcdir)/../config.guess $(srcdir)/../config.sub NEWS \
49218822Sdim	README ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
50218822Sdim	$(top_srcdir)/configure $(am__configure_deps) \
51218822Sdim	$(srcdir)/config.in $(srcdir)/../mkinstalldirs \
52218822Sdim	$(top_srcdir)/po/Make-in ldgram.h ldgram.c ldlex.c deffilep.h \
53218822Sdim	deffilep.c $(srcdir)/../ylwrap $(srcdir)/../ltmain.sh \
54218822Sdim	$(srcdir)/../config.guess $(srcdir)/../config.sub \
55218822Sdim	$(ld_TEXINFOS)
56218822Sdimsubdir = .
57218822SdimACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58218822Sdimam__aclocal_m4_deps = $(top_srcdir)/../bfd/acinclude.m4 \
59218822Sdim	$(top_srcdir)/../bfd/warning.m4 \
60218822Sdim	$(top_srcdir)/../config/depstand.m4 \
61218822Sdim	$(top_srcdir)/../config/gettext-sister.m4 \
62218822Sdim	$(top_srcdir)/../config/lead-dot.m4 \
63218822Sdim	$(top_srcdir)/../config/nls.m4 $(top_srcdir)/../config/po.m4 \
64218822Sdim	$(top_srcdir)/../config/progtest.m4 \
65218822Sdim	$(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
66218822Sdim	$(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
67218822Sdim	$(top_srcdir)/configure.in
68218822Sdimam__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
69218822Sdim	$(ACLOCAL_M4)
70218822Sdimam__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
71218822Sdim configure.lineno configure.status.lineno
72218822Sdimmkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
73218822SdimCONFIG_HEADER = config.h
74218822SdimCONFIG_CLEAN_FILES = po/Makefile.in
75218822SdimPROGRAMS = $(noinst_PROGRAMS)
76218822Sdimam_ld_new_OBJECTS = ldgram.$(OBJEXT) ldlex.$(OBJEXT) lexsup.$(OBJEXT) \
77218822Sdim	ldlang.$(OBJEXT) mri.$(OBJEXT) ldctor.$(OBJEXT) \
78218822Sdim	ldmain.$(OBJEXT) ldwrite.$(OBJEXT) ldexp.$(OBJEXT) \
79218822Sdim	ldemul.$(OBJEXT) ldver.$(OBJEXT) ldmisc.$(OBJEXT) \
80218822Sdim	ldfile.$(OBJEXT) ldcref.$(OBJEXT)
81218822Sdimld_new_OBJECTS = $(am_ld_new_OBJECTS)
82218822Sdimam__DEPENDENCIES_1 =
83218822Sdimam__DEPENDENCIES_2 = ../bfd/libbfd.la
84218822Sdimam__DEPENDENCIES_3 = ../libiberty/libiberty.a
85218822SdimDEFAULT_INCLUDES = -I. -I$(srcdir) -I.
86218822Sdimdepcomp =
87218822Sdimam__depfiles_maybe =
88218822SdimCOMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
89218822Sdim	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
90218822SdimLTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
91218822Sdim	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
92218822Sdim	$(AM_CFLAGS) $(CFLAGS)
93218822SdimCCLD = $(CC)
94218822SdimLINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
95218822Sdim	$(AM_LDFLAGS) $(LDFLAGS) -o $@
96218822SdimLEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
97218822SdimLTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
98218822SdimYACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
99218822SdimLTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) \
100218822Sdim	$(AM_YFLAGS)
101218822SdimYLWRAP = $(top_srcdir)/../ylwrap
102218822SdimSOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
103218822SdimINFO_DEPS = ld.info
104218822SdimTEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
105218822Sdimam__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
106218822SdimDVIS = ld.dvi
107218822SdimPDFS = ld.pdf
108218822SdimPSS = ld.ps
109218822SdimHTMLS = ld.html
110218822SdimTEXINFOS = ld.texinfo
111218822SdimTEXI2PDF = $(TEXI2DVI) --pdf --batch
112218822SdimMAKEINFOHTML = $(MAKEINFO) --html
113218822SdimAM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
114218822SdimDVIPS = dvips
115218822SdimRECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
116218822Sdim	html-recursive info-recursive install-data-recursive \
117218822Sdim	install-exec-recursive install-info-recursive \
118218822Sdim	install-recursive installcheck-recursive installdirs-recursive \
119218822Sdim	pdf-recursive ps-recursive uninstall-info-recursive \
120218822Sdim	uninstall-recursive
121218822Sdimman1dir = $(mandir)/man1
122218822Sdimam__installdirs = "$(DESTDIR)$(man1dir)"
123218822SdimNROFF = nroff
124218822SdimMANS = $(man_MANS)
125218822SdimETAGS = etags
126218822SdimCTAGS = ctags
127218822SdimDEJATOOL = $(PACKAGE)
128218822SdimRUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
129218822SdimDIST_SUBDIRS = $(SUBDIRS)
130218822SdimACLOCAL = @ACLOCAL@
131218822SdimAMDEP_FALSE = @AMDEP_FALSE@
132218822SdimAMDEP_TRUE = @AMDEP_TRUE@
133218822SdimAMTAR = @AMTAR@
134218822SdimAR = @AR@
135218822SdimAUTOCONF = @AUTOCONF@
136218822SdimAUTOHEADER = @AUTOHEADER@
137218822SdimAUTOMAKE = @AUTOMAKE@
138218822SdimAWK = @AWK@
13960521SobrienCATALOGS = @CATALOGS@
14060521SobrienCATOBJEXT = @CATOBJEXT@
14133965SjdpCC = @CC@
142218822SdimCCDEPMODE = @CCDEPMODE@
143218822SdimCFLAGS = @CFLAGS@
144218822SdimCPP = @CPP@
145218822SdimCPPFLAGS = @CPPFLAGS@
146218822SdimCYGPATH_W = @CYGPATH_W@
14760521SobrienDATADIRNAME = @DATADIRNAME@
148218822SdimDEFS = @DEFS@
149218822SdimDEPDIR = @DEPDIR@
150218822SdimDUMPBIN = @DUMPBIN@
151218822SdimECHO_C = @ECHO_C@
152218822SdimECHO_N = @ECHO_N@
153218822SdimECHO_T = @ECHO_T@
154218822SdimEGREP = @EGREP@
155218822SdimEMUL = @EMUL@
15660521SobrienEMULATION_LIBPATH = @EMULATION_LIBPATH@
157218822SdimEMULATION_OFILES = @EMULATION_OFILES@
158218822SdimEMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
15938891SjdpEXEEXT = @EXEEXT@
160218822SdimFGREP = @FGREP@
161218822SdimGENCAT = @GENCAT@
162218822SdimGENINSRC_NEVER_FALSE = @GENINSRC_NEVER_FALSE@
163218822SdimGENINSRC_NEVER_TRUE = @GENINSRC_NEVER_TRUE@
16460521SobrienGMSGFMT = @GMSGFMT@
165218822SdimGREP = @GREP@
16638891SjdpHDEFINES = @HDEFINES@
167218822Sdim
168218822Sdim#stuff for self hosting (can be overridden in config file).
169218822SdimHOSTING_CRT0 = @HOSTING_CRT0@
170218822SdimHOSTING_LIBS = @HOSTING_LIBS@
171218822SdimINCINTL = @INCINTL@
172218822SdimINSTALL_DATA = @INSTALL_DATA@
173218822SdimINSTALL_PROGRAM = @INSTALL_PROGRAM@
174218822SdimINSTALL_SCRIPT = @INSTALL_SCRIPT@
175218822SdimINSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
17660521SobrienINSTOBJEXT = @INSTOBJEXT@
177218822SdimLD = @LD@
178218822SdimLDFLAGS = @LDFLAGS@
179218822SdimLEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
180218822SdimLEXLIB = @LEXLIB@
181218822SdimLEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
182218822SdimLIBINTL = @LIBINTL@
183218822SdimLIBINTL_DEP = @LIBINTL_DEP@
184218822SdimLIBOBJS = @LIBOBJS@
185218822SdimLIBS = @LIBS@
18638891SjdpLIBTOOL = @LIBTOOL@
187218822Sdim
188218822Sdim# Search path to override the default search path for -lfoo libraries.
189218822Sdim# If LIB_PATH is empty, the ones in the script (if any) are left alone.
190218822Sdim# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
191218822Sdim# a cross-linker, in which case the default is empty.  See genscripts.sh.)
192218822Sdim# Otherwise, they are replaced with the ones given in LIB_PATH,
193218822Sdim# which may have the form: LIB_PATH=/lib:/usr/local/lib.  This can be set
194218822Sdim# when the linker is configured via the --with-lib-path configure switch.
195218822SdimLIB_PATH = @LIB_PATH@
19638891SjdpLN_S = @LN_S@
197218822SdimLTLIBOBJS = @LTLIBOBJS@
19838891SjdpMAINT = @MAINT@
199218822SdimMAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
200218822SdimMAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
20138891SjdpMAKEINFO = @MAKEINFO@
20260521SobrienMKINSTALLDIRS = @MKINSTALLDIRS@
20360521SobrienMSGFMT = @MSGFMT@
204218822SdimMSGMERGE = @MSGMERGE@
20538891SjdpNATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@
206218822SdimNM = @NM@
207218822SdimNO_WERROR = @NO_WERROR@
20877315SobrienOBJEXT = @OBJEXT@
20938891SjdpPACKAGE = @PACKAGE@
210218822SdimPACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211218822SdimPACKAGE_NAME = @PACKAGE_NAME@
212218822SdimPACKAGE_STRING = @PACKAGE_STRING@
213218822SdimPACKAGE_TARNAME = @PACKAGE_TARNAME@
214218822SdimPACKAGE_VERSION = @PACKAGE_VERSION@
215218822SdimPATH_SEPARATOR = @PATH_SEPARATOR@
21660521SobrienPOSUB = @POSUB@
21738891SjdpRANLIB = @RANLIB@
218218822SdimSED = @SED@
219218822SdimSET_MAKE = @SET_MAKE@
220218822SdimSHELL = @SHELL@
22160521SobrienSTRINGIFY = @STRINGIFY@
22277315SobrienSTRIP = @STRIP@
223130564SobrienTARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
224130564SobrienTARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
225218822Sdim
226218822Sdim# This is the real libbfd.a created by libtool.
227218822SdimTESTBFDLIB = @TESTBFDLIB@
22860521SobrienUSE_NLS = @USE_NLS@
22938891SjdpVERSION = @VERSION@
230218822SdimWARN_CFLAGS = @WARN_CFLAGS@
231218822SdimXGETTEXT = @XGETTEXT@
232218822SdimYACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
233218822Sdimac_ct_AR = @ac_ct_AR@
234218822Sdimac_ct_CC = @ac_ct_CC@
235218822Sdimac_ct_DUMPBIN = @ac_ct_DUMPBIN@
236218822Sdimac_ct_RANLIB = @ac_ct_RANLIB@
237218822Sdimac_ct_STRIP = @ac_ct_STRIP@
238218822Sdimam__fastdepCC_FALSE = @am__fastdepCC_FALSE@
239218822Sdimam__fastdepCC_TRUE = @am__fastdepCC_TRUE@
240218822Sdimam__include = @am__include@
241218822Sdimam__leading_dot = @am__leading_dot@
242218822Sdimam__quote = @am__quote@
243218822Sdimam__tar = @am__tar@
244218822Sdimam__untar = @am__untar@
245218822Sdimbindir = @bindir@
246218822Sdimbuild = @build@
247218822Sdimbuild_alias = @build_alias@
248218822Sdimbuild_cpu = @build_cpu@
249218822Sdimbuild_os = @build_os@
250218822Sdimbuild_vendor = @build_vendor@
251218822Sdimdatadir = @datadir@
252218822Sdimdatarootdir = @datarootdir@
253218822Sdimdocdir = @docdir@
254218822Sdimexec_prefix = @exec_prefix@
255218822Sdimhost = @host@
256218822Sdimhost_alias = @host_alias@
257218822Sdimhost_cpu = @host_cpu@
258218822Sdimhost_os = @host_os@
259218822Sdimhost_vendor = @host_vendor@
260218822Sdimhtmldir = @htmldir@
261218822Sdimincludedir = @includedir@
262218822Sdiminfodir = @infodir@
263218822Sdiminstall_sh = @install_sh@
264218822Sdimlibdir = @libdir@
265218822Sdimlibexecdir = @libexecdir@
266218822Sdimlocalstatedir = @localstatedir@
267218822Sdimlt_ECHO = @lt_ECHO@
268218822Sdimmandir = @mandir@
269218822Sdimmkdir_p = @mkdir_p@
270218822Sdimoldincludedir = @oldincludedir@
271218822Sdimprefix = @prefix@
272218822Sdimprogram_transform_name = @program_transform_name@
273218822Sdimsbindir = @sbindir@
274218822Sdimsharedstatedir = @sharedstatedir@
275218822Sdimsysconfdir = @sysconfdir@
276218822Sdimtarget = @target@
277218822Sdimtarget_alias = @target_alias@
278218822Sdimtarget_cpu = @target_cpu@
279218822Sdimtarget_os = @target_os@
280218822Sdimtarget_vendor = @target_vendor@
281130564Sobrienuse_sysroot = @use_sysroot@
28238891SjdpAUTOMAKE_OPTIONS = cygnus dejagnu
283218822SdimACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
28460521SobrienSUBDIRS = po
28538891Sjdptooldir = $(exec_prefix)/$(target_alias)
28638891SjdpYFLAGS = -d
28777315SobrienAM_CFLAGS = $(WARN_CFLAGS)
28877315Sobrien
28938891Sjdp# We put the scripts in the directory $(scriptdir)/ldscripts.
29038891Sjdp# We can't put the scripts in $(datadir) because the SEARCH_DIR
29138891Sjdp# directives need to be different for native and cross linkers.
29238891Sjdpscriptdir = $(tooldir)/lib
29333965SjdpBASEDIR = $(srcdir)/..
29433965SjdpBFDDIR = $(BASEDIR)/bfd
29560521SobrienINCDIR = $(BASEDIR)/include
29660521SobrienMKDEP = gcc -MM
29733965Sjdp
29833965Sjdp# What version of the manual to build
29933965SjdpDOCVER = gen
30033965Sjdp
30189869Sobrien# Options to extract the man page from ld.texinfo
30289869SobrienMANCONF = -Dman
303218822SdimTEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
30489869SobrienPOD2MAN = pod2man --center="GNU Development Tools" \
30589869Sobrien	--release="binutils-$(VERSION)" --section=1
30689869Sobrien
30733965SjdpHOSTING_EMU = -m $(EMUL)
30833965Sjdp
30933965Sjdp# Setup the testing framework, if you have one
310218822SdimEXPECT = expect
311218822SdimRUNTEST = runtest
31260521SobrienRUNTESTFLAGS = 
31333965SjdpCC_FOR_TARGET = ` \
31433965Sjdp  if [ -f $$r/../gcc/xgcc ] ; then \
31533965Sjdp    if [ -f $$r/../newlib/Makefile ] ; then \
31633965Sjdp      echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
31733965Sjdp    else \
31833965Sjdp      echo $$r/../gcc/xgcc -B$$r/../gcc/; \
31933965Sjdp    fi; \
32033965Sjdp  else \
32133965Sjdp    if [ "@host@" = "@target@" ] ; then \
32233965Sjdp      echo $(CC); \
32333965Sjdp    else \
32438891Sjdp      echo gcc | sed '$(transform)'; \
32533965Sjdp    fi; \
32633965Sjdp  fi`
32733965Sjdp
328218822SdimCXX = g++
32933965SjdpCXX_FOR_TARGET = ` \
330218822Sdim  if [ -f $$r/../gcc/g++ ] ; then \
33133965Sjdp    if [ -f $$r/../newlib/Makefile ] ; then \
332218822Sdim      echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
33333965Sjdp    else \
334218822Sdim      echo $$r/../gcc/g++ -B$$r/../gcc/; \
33533965Sjdp    fi; \
33633965Sjdp  else \
33733965Sjdp    if [ "@host@" = "@target@" ] ; then \
33833965Sjdp      echo $(CXX); \
33933965Sjdp    else \
340218822Sdim      echo g++ | sed '$(transform)'; \
34133965Sjdp    fi; \
34233965Sjdp  fi`
34333965Sjdp
34438891Sjdpinfo_TEXINFOS = ld.texinfo
345218822Sdimld_TEXINFOS = configdoc.texi
34638891Sjdpnoinst_TEXINFOS = ldint.texinfo
34738891Sjdpman_MANS = ld.1
348218822SdimAM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
349218822Sdim		   -I $(top_srcdir)/../libiberty
35033965Sjdp
351218822SdimTEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
352218822Sdim		    -I $(top_srcdir)/../libiberty
35333965Sjdp
354218822SdimINCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
355218822Sdim	@INCINTL@ $(HDEFINES) $(CFLAGS) \
356218822Sdim	-DLOCALEDIR="\"$(datadir)/locale\""
357218822Sdim
35838891SjdpBFDLIB = ../bfd/libbfd.la
35933965SjdpLIBIBERTY = ../libiberty/libiberty.a
36033965SjdpALL_EMULATIONS = \
36133965Sjdp	eaixppc.o \
36233965Sjdp	eaixrs6.o \
36333965Sjdp	ealpha.o \
36438891Sjdp	earcelf.o \
36577315Sobrien	earm_epoc_pe.o \
366218822Sdim	earm_wince_pe.o \
36733965Sjdp	earmaoutb.o \
36833965Sjdp	earmaoutl.o \
36933965Sjdp	earmcoff.o \
37077315Sobrien	earmelf.o \
371130564Sobrien	earmelfb.o \
37291053Sobrien	earmelf_fbsd.o \
37377315Sobrien	earmelf_linux.o \
374218822Sdim	earmelf_linux_eabi.o \
375130564Sobrien	earmelfb_linux.o \
376218822Sdim	earmelfb_linux_eabi.o \
37789869Sobrien	earmelf_nbsd.o \
378104843Sobrien	earmelfb_nbsd.o \
379218822Sdim	earmelf_vxworks.o \
380130564Sobrien	earmnto.o \
38160521Sobrien	earmnbsd.o \
38233965Sjdp	earmpe.o \
383218822Sdim	earmsymbian.o \
384130564Sobrien	eavr2.o \
385104843Sobrien	eavr1.o \
386104843Sobrien	eavr3.o \
387104843Sobrien	eavr4.o \
388104843Sobrien	eavr5.o \
389218822Sdim	eavr6.o \
390130564Sobrien	ecoff_i860.o \
39133965Sjdp	ecoff_sparc.o \
392218822Sdim	eelf32_spu.o \
39377315Sobrien	ecrisaout.o \
39477315Sobrien	ecriself.o \
39577315Sobrien	ecrislinux.o \
39638891Sjdp	ed10velf.o \
39760521Sobrien	ed30v_e.o \
39860521Sobrien	ed30v_o.o \
39977315Sobrien	ed30velf.o \
40033965Sjdp	edelta68.o \
401104843Sobrien	eelf32_dlx.o \
40277315Sobrien	eelf32_i960.o \
40377315Sobrien	eelf32_i860.o \
40433965Sjdp	eelf32_sparc.o \
405218822Sdim	eelf32_sparc_vxworks.o \
40633965Sjdp	eelf32b4300.o \
407218822Sdim	eelf32bfin.o \
408218822Sdim	eelf32bfinfd.o \
409218822Sdim	eelf32cr16.o \
410218822Sdim	eelf32cr16c.o \
41133965Sjdp	eelf32bmip.o \
41277315Sobrien	eelf32bmipn32.o \
41377315Sobrien	eelf32btsmip.o \
414218822Sdim	eelf32crx.o \
415130564Sobrien	eelf32btsmipn32.o \
41678839Sobrien	eelf32ltsmip.o \
417130564Sobrien	eelf32ltsmipn32.o \
41833965Sjdp	eelf32ebmip.o \
419218822Sdim	eelf32ebmipvxworks.o \
42033965Sjdp	eelf32elmip.o \
421218822Sdim	eelf32elmipvxworks.o \
42277315Sobrien	eelf32fr30.o \
423104843Sobrien	eelf32frv.o \
42460521Sobrien	eelf32i370.o \
425130564Sobrien	eelf32ip2k.o \
426130564Sobrien	eelf32iq2000.o \
427130564Sobrien	eelf32iq10.o \
42833965Sjdp	eelf32l4300.o \
42933965Sjdp	eelf32lmip.o \
43033965Sjdp	eelf32lppc.o \
431130564Sobrien	eelf32lppcnto.o \
43277315Sobrien	eelf32lppcsim.o \
433218822Sdim	eelf32m32c.o \
43477315Sobrien	eelf32mcore.o \
435218822Sdim	eelf32mep.o \
436130564Sobrien	eelf32mipswindiss.o \
437218822Sdim	eelf32mt.o \
43889869Sobrien	eelf32openrisc.o \
43933965Sjdp	eelf32ppc.o \
44091053Sobrien	eelf32ppc_fbsd.o \
44160521Sobrien	eelf32ppclinux.o \
442130564Sobrien	eelf32ppcnto.o \
44377315Sobrien	eelf32ppcsim.o \
444104843Sobrien	eelf32ppcwindiss.o \
445218822Sdim	eelf32ppcvxworks.o \
446104843Sobrien	eelf32vax.o \
447218822Sdim        eelf32xc16x.o \
448218822Sdim        eelf32xc16xl.o \
449218822Sdim        eelf32xc16xs.o \
45089869Sobrien	eelf32xstormy16.o \
451130564Sobrien	eelf32xtensa.o \
45233965Sjdp	eelf_i386.o \
45360521Sobrien	eelf_i386_be.o \
45477315Sobrien	eelf_i386_chaos.o \
45591053Sobrien	eelf_i386_fbsd.o \
45689869Sobrien	eelf_i386_ldso.o \
457218822Sdim	eelf_i386_vxworks.o \
45889869Sobrien	eelf_s390.o \
45933965Sjdp	egld960.o \
46033965Sjdp	egld960coff.o \
46133965Sjdp	eh8300.o \
46233965Sjdp	eh8300h.o \
46333965Sjdp	eh8300s.o \
46489869Sobrien	eh8300elf.o \
465130564Sobrien	eh8300hn.o \
466130564Sobrien	eh8300sn.o \
467130564Sobrien	eh8300sx.o \
46889869Sobrien	eh8300helf.o \
46989869Sobrien	eh8300self.o \
470130564Sobrien	eh8300hnelf.o \
471130564Sobrien	eh8300snelf.o \
472130564Sobrien	eh8300sxelf.o \
473130564Sobrien	eh8300sxn.o \
474130564Sobrien	eh8300sxnelf.o \
47533965Sjdp	eh8500.o \
47633965Sjdp	eh8500b.o \
47733965Sjdp	eh8500c.o \
47833965Sjdp	eh8500m.o \
47933965Sjdp	eh8500s.o \
48033965Sjdp	ehp300bsd.o \
48133965Sjdp	ehp3hpux.o \
48277315Sobrien	ehppaelf.o \
48377315Sobrien	ehppalinux.o \
48491053Sobrien	ehppanbsd.o \
485104843Sobrien	ehppaobsd.o \
48633965Sjdp	ei386aout.o \
48760521Sobrien	ei386beos.o \
48833965Sjdp	ei386bsd.o \
48933965Sjdp	ei386coff.o \
49033973Sjdp	ei386freebsd.o \
49133965Sjdp	ei386go32.o \
49233965Sjdp	ei386linux.o \
49333965Sjdp	ei386lynx.o \
49433965Sjdp	ei386mach.o \
49533965Sjdp	ei386moss.o \
49633965Sjdp	ei386msdos.o \
49733965Sjdp	ei386nbsd.o \
498104843Sobrien	ei386nto.o \
49933965Sjdp	ei386nw.o \
50033965Sjdp	ei386pe.o \
50160521Sobrien	ei386pe_posix.o \
502218822Sdim	ei386pep.o \
50333965Sjdp	elnk960.o \
504130564Sobrien	em32relf.o \
505130564Sobrien	em32rlelf.o \
506130564Sobrien	em32relf_linux.o \
507130564Sobrien	em32rlelf_linux.o \
50877315Sobrien	em68hc11elf.o \
50977315Sobrien	em68hc11elfb.o \
51077315Sobrien	em68hc12elf.o \
51177315Sobrien	em68hc12elfb.o \
51233965Sjdp	em68k4knbsd.o \
51333965Sjdp	em68kaout.o \
51433965Sjdp	em68kaux.o \
51533965Sjdp	em68kcoff.o \
51633965Sjdp	em68kelf.o \
51789869Sobrien	em68kelfnbsd.o \
51833965Sjdp	em68klinux.o \
51933965Sjdp	em68knbsd.o \
52033965Sjdp	em68kpsos.o \
52133965Sjdp	em88kbcs.o \
522218822Sdim	emaxqcoff.o \
52360521Sobrien	emcorepe.o \
52433965Sjdp	emipsbig.o \
52533965Sjdp	emipsbsd.o \
52633965Sjdp	emipsidt.o \
52733965Sjdp	emipsidtl.o \
52833965Sjdp	emipslit.o \
52933965Sjdp	emipslnews.o \
53060521Sobrien	emipspe.o \
531130564Sobrien	emsp430x110.o \
532130564Sobrien	emsp430x112.o \
533130564Sobrien	emsp430x1101.o \
534130564Sobrien	emsp430x1111.o \
535130564Sobrien	emsp430x1121.o \
536130564Sobrien	emsp430x1122.o \
537130564Sobrien	emsp430x1132.o \
538130564Sobrien	emsp430x122.o \
539130564Sobrien	emsp430x123.o \
540130564Sobrien	emsp430x1222.o \
541130564Sobrien	emsp430x1232.o \
542130564Sobrien	emsp430x133.o \
543130564Sobrien	emsp430x135.o \
544130564Sobrien	emsp430x1331.o \
545130564Sobrien	emsp430x1351.o \
546130564Sobrien	emsp430x147.o \
547130564Sobrien	emsp430x148.o \
548130564Sobrien	emsp430x149.o \
549130564Sobrien	emsp430x155.o \
550130564Sobrien	emsp430x156.o \
551130564Sobrien	emsp430x157.o \
552130564Sobrien	emsp430x167.o \
553130564Sobrien	emsp430x168.o \
554130564Sobrien	emsp430x169.o \
555218822Sdim	emsp430x1610.o \
556218822Sdim	emsp430x1611.o \
557218822Sdim	emsp430x1612.o \
558218822Sdim	emsp430x2101.o \
559218822Sdim	emsp430x2111.o \
560218822Sdim	emsp430x2121.o \
561218822Sdim	emsp430x2131.o \
562130564Sobrien	emsp430x311.o \
563130564Sobrien	emsp430x312.o \
564130564Sobrien	emsp430x313.o \
565130564Sobrien	emsp430x314.o \
566130564Sobrien	emsp430x315.o \
567130564Sobrien	emsp430x323.o \
568130564Sobrien	emsp430x325.o \
569130564Sobrien	emsp430x336.o \
570130564Sobrien	emsp430x337.o \
571130564Sobrien	emsp430x412.o \
572130564Sobrien	emsp430x413.o \
573218822Sdim	emsp430x415.o \
574218822Sdim	emsp430x417.o \
575130564Sobrien	emsp430xE423.o \
576130564Sobrien	emsp430xE425.o \
577130564Sobrien	emsp430xE427.o \
578130564Sobrien	emsp430xW423.o \
579130564Sobrien	emsp430xW425.o \
580130564Sobrien	emsp430xW427.o \
581218822Sdim	emsp430xG437.o \
582218822Sdim	emsp430xG438.o \
583218822Sdim	emsp430xG439.o \
584130564Sobrien	emsp430x435.o \
585130564Sobrien	emsp430x436.o \
586130564Sobrien	emsp430x437.o \
587130564Sobrien	emsp430x447.o \
588130564Sobrien	emsp430x448.o \
589130564Sobrien	emsp430x449.o \
59033965Sjdp	enews.o \
59177315Sobrien	ens32knbsd.o \
59291053Sobrien	eor32.o \
59391053Sobrien	eor32elf.o \
59477315Sobrien	epc532macha.o \
59589869Sobrien	epdp11.o \
59660521Sobrien	epjelf.o \
59760521Sobrien	epjlelf.o \
59833965Sjdp	eppcmacos.o \
59933965Sjdp	eppcnw.o \
60033965Sjdp	eppcpe.o \
601218822Sdim	eppclynx.o \
60233965Sjdp	eriscix.o \
603218822Sdim	escoreelf.o \
60433965Sjdp	esh.o \
60591053Sobrien	eshelf32.o \
60691053Sobrien	eshlelf32.o \
607130564Sobrien	eshelf32_linux.o \
608130564Sobrien	eshlelf32_linux.o \
609104843Sobrien	eshelf32_nbsd.o \
610104843Sobrien	eshlelf32_nbsd.o \
61133965Sjdp	eshelf.o \
61277315Sobrien	eshelf_linux.o \
61377315Sobrien	eshlelf_linux.o \
61489869Sobrien	eshelf_nbsd.o \
61589869Sobrien	eshlelf_nbsd.o \
616130564Sobrien	eshelf_nto.o \
617130564Sobrien	eshlelf_nto.o \
618218822Sdim	eshelf_uclinux.o \
619218822Sdim	eshelf_vxworks.o \
620218822Sdim	eshlelf_vxworks.o \
62177315Sobrien	eshl.o \
62233965Sjdp	eshlelf.o \
623218822Sdim	eshlsymbian.o \
62460521Sobrien	eshpe.o \
62533965Sjdp	esparcaout.o \
62633965Sjdp	esparclinux.o \
62733965Sjdp	esparcnbsd.o \
62833965Sjdp	est2000.o \
62933965Sjdp	esun3.o \
63033965Sjdp	esun4.o \
63138891Sjdp	etic30aout.o \
63238891Sjdp	etic30coff.o \
633130564Sobrien	etic3xcoff.o \
634130564Sobrien	etic3xcoff_onchip.o \
635130564Sobrien	etic4xcoff.o \
63677315Sobrien	etic54xcoff.o \
63760521Sobrien	etic80coff.o \
63833965Sjdp	evanilla.o \
63933965Sjdp	evax.o \
640104843Sobrien	evaxnbsd.o \
64133965Sjdp	evsta.o \
64233965Sjdp	ew65.o \
64333965Sjdp	ez8001.o \
644218822Sdim	eelf32frvfd.o \
645218822Sdim	ez80.o \
64633965Sjdp	ez8002.o
64733965Sjdp
64833965SjdpALL_64_EMULATIONS = \
64989869Sobrien	eelf64_aix.o \
65077315Sobrien	eelf64_ia64.o \
65191053Sobrien	eelf64_ia64_fbsd.o \
65291053Sobrien	eshelf64.o \
65391053Sobrien	eshlelf64.o \
654104843Sobrien	eshelf64_nbsd.o \
655104843Sobrien	eshlelf64_nbsd.o \
65677315Sobrien	eelf_x86_64.o \
65791053Sobrien	eelf_x86_64_fbsd.o \
65889869Sobrien	eelf64_s390.o \
65938891Sjdp	eelf64_sparc.o \
66091053Sobrien	eelf64_sparc_fbsd.o \
66160521Sobrien	eelf64alpha.o \
66291053Sobrien	eelf64alpha_fbsd.o \
66389869Sobrien	eelf64alpha_nbsd.o \
66477315Sobrien	eelf64bmip.o \
66578839Sobrien	eelf64btsmip.o \
66678839Sobrien	eelf64ltsmip.o \
66780018Sobrien	eelf64hppa.o \
66889869Sobrien	eelf64mmix.o \
66989869Sobrien	emmo.o \
67089869Sobrien	eelf64ppc.o \
67189869Sobrien	eelf64lppc.o \
67280018Sobrien	ehppa64linux.o
67333965Sjdp
67460521SobrienALL_EMUL_EXTRA_OFILES = \
67577315Sobrien	deffilep.o \
676218822Sdim	pe-dll.o \
677218822Sdim	pep-dll.o
67860521Sobrien
67933965SjdpCFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
68033965Sjdp	ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
681218822Sdim	mri.c ldcref.c pe-dll.c pep-dll.c
68233965Sjdp
68360521SobrienHFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
68433965Sjdp	ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
685218822Sdim	ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h elf-hints-local.h
68633965Sjdp
68760521SobrienGENERATED_CFILES = ldgram.c ldlex.c deffilep.c
68860521SobrienGENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
68933965SjdpOFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
69033965Sjdp	ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o \
69160521Sobrien	ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
69233965Sjdp
69333965SjdpSTAGESTUFF = *.o ldscripts/* e*.c
69433965Sjdp
69560521Sobrien# At the moment this is just a list of those emulation template files
69660521Sobrien# that contain internationalised strings.
69760521SobrienEMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
69860521SobrienPOTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
69960521Sobrien
70038891Sjdp# These all start with e so 'make clean' can find them.
701218822SdimGENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@
70260521SobrienGEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
703218822SdimELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em
704218822SdimELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em
70533965Sjdp
70677315Sobrien# We need this for automake to use YLWRAP.
70777315SobrienEXTRA_ld_new_SOURCES = deffilep.y
70838891Sjdpld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
70938891Sjdp	ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
71038891Sjdp
711218822Sdimld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
712218822Sdimld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
713218822SdimMAINTAINERCLEANFILES = configdoc.texi ld.info
71460521Sobrien
715218822Sdim# We want to reconfigure if configure.host or configure.tgt changes.  We
716218822Sdim# extract version from bfd/configure.in, so we must depend on that also.
717218822SdimCONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
718218822Sdim	$(srcdir)/../bfd/configure.in
71938891Sjdp
72038891SjdpMOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
72138891Sjdp	ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
72238891Sjdp
723218822SdimCLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s
724218822Sdimhtml__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
72560521Sobrien
72638891Sjdp# Stuff that should be included in a distribution.  The diststuff
72738891Sjdp# target is run by the taz target in ../Makefile.in.
728218822SdimEXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.o $(man_MANS)
729218822SdimDISTCLEANFILES = tdirs site.exp site.bak stringify.sed $(am__append_1)
730218822Sdimall: config.h
731218822Sdim	$(MAKE) $(AM_MAKEFLAGS) all-recursive
73238891Sjdp
73338891Sjdp.SUFFIXES:
734218822Sdim.SUFFIXES: .c .dvi .l .lo .o .obj .ps .y
735218822Sdimam--refresh:
736218822Sdim	@:
737218822Sdim$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
738218822Sdim	@for dep in $?; do \
739218822Sdim	  case '$(am__configure_deps)' in \
740218822Sdim	    *$$dep*) \
741218822Sdim	      echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
742218822Sdim	      cd $(srcdir) && $(AUTOMAKE) --cygnus  \
743218822Sdim		&& exit 0; \
744218822Sdim	      exit 1;; \
745218822Sdim	  esac; \
746218822Sdim	done; \
747218822Sdim	echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus  Makefile'; \
748218822Sdim	cd $(top_srcdir) && \
749218822Sdim	  $(AUTOMAKE) --cygnus  Makefile
750218822Sdim.PRECIOUS: Makefile
751218822SdimMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
752218822Sdim	@case '$?' in \
753218822Sdim	  *config.status*) \
754218822Sdim	    echo ' $(SHELL) ./config.status'; \
755218822Sdim	    $(SHELL) ./config.status;; \
756218822Sdim	  *) \
757218822Sdim	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
758218822Sdim	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
759218822Sdim	esac;
76038891Sjdp
761218822Sdim$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
762218822Sdim	$(SHELL) ./config.status --recheck
76338891Sjdp
764218822Sdim$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
76538891Sjdp	cd $(srcdir) && $(AUTOCONF)
766218822Sdim$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
767218822Sdim	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
76838891Sjdp
769218822Sdimconfig.h: stamp-h1
77060521Sobrien	@if test ! -f $@; then \
771218822Sdim	  rm -f stamp-h1; \
772218822Sdim	  $(MAKE) stamp-h1; \
77360521Sobrien	else :; fi
774218822Sdim
775218822Sdimstamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
776218822Sdim	@rm -f stamp-h1
777218822Sdim	cd $(top_builddir) && $(SHELL) ./config.status config.h
778218822Sdim$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
77938891Sjdp	cd $(top_srcdir) && $(AUTOHEADER)
780218822Sdim	rm -f stamp-h1
781218822Sdim	touch $@
78238891Sjdp
78338891Sjdpdistclean-hdr:
784218822Sdim	-rm -f config.h stamp-h1
785218822Sdimpo/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
786218822Sdim	cd $(top_builddir) && $(SHELL) ./config.status $@
78738891Sjdp
78838891Sjdpclean-noinstPROGRAMS:
789218822Sdim	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
790218822Sdim	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
791218822Sdim	  echo " rm -f $$p $$f"; \
792218822Sdim	  rm -f $$p $$f ; \
793218822Sdim	done
794218822Sdimldgram.h: ldgram.c
795218822Sdim	@if test ! -f $@; then \
796218822Sdim	  rm -f ldgram.c; \
797218822Sdim	  $(MAKE) ldgram.c; \
798218822Sdim	else :; fi
799218822Sdimdeffilep.h: deffilep.c
800218822Sdim	@if test ! -f $@; then \
801218822Sdim	  rm -f deffilep.c; \
802218822Sdim	  $(MAKE) deffilep.c; \
803218822Sdim	else :; fi
804218822Sdimld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) 
805218822Sdim	@rm -f ld-new$(EXEEXT)
806218822Sdim	$(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
80738891Sjdp
808218822Sdimmostlyclean-compile:
809218822Sdim	-rm -f *.$(OBJEXT)
81038891Sjdp
811218822Sdimdistclean-compile:
812218822Sdim	-rm -f *.tab.c
81338891Sjdp
81438891Sjdp.c.o:
81538891Sjdp	$(COMPILE) -c $<
81638891Sjdp
81777315Sobrien.c.obj:
818218822Sdim	$(COMPILE) -c `$(CYGPATH_W) '$<'`
81977315Sobrien
82038891Sjdp.c.lo:
821218822Sdim	$(LTCOMPILE) -c -o $@ $<
82238891Sjdp
823218822Sdim.l.c:
824218822Sdim	$(LEXCOMPILE) $<
825218822Sdim	sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
826218822Sdim	rm -f $(LEX_OUTPUT_ROOT).c
82738891Sjdp
828218822Sdim.y.c:
829218822Sdim	$(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE)
83038891Sjdp
83138891Sjdpmostlyclean-libtool:
83238891Sjdp	-rm -f *.lo
83338891Sjdp
83438891Sjdpclean-libtool:
83538891Sjdp	-rm -rf .libs _libs
83638891Sjdp
83738891Sjdpdistclean-libtool:
838218822Sdim	-rm -f libtool
83938891Sjdp
840218822Sdimld.info: ld.texinfo $(ld_TEXINFOS)
841218822Sdim	restore=: && backupdir="$(am__leading_dot)am$$$$" && \
842218822Sdim	rm -rf $$backupdir && mkdir $$backupdir && \
843218822Sdim	if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
844218822Sdim	  for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
845218822Sdim	    if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
846218822Sdim	  done; \
847218822Sdim	else :; fi && \
848218822Sdim	if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
849218822Sdim	 -o $@ `test -f 'ld.texinfo' || echo '$(srcdir)/'`ld.texinfo; \
850218822Sdim	then \
851218822Sdim	  rc=0; \
852218822Sdim	else \
853218822Sdim	  rc=$$?; \
854218822Sdim	  $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
855218822Sdim	fi; \
856218822Sdim	rm -rf $$backupdir; exit $$rc
85738891Sjdp
858218822Sdimld.dvi: ld.texinfo $(ld_TEXINFOS) 
859218822Sdim	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
860218822Sdim	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
861218822Sdim	$(TEXI2DVI) -o $@ `test -f 'ld.texinfo' || echo '$(srcdir)/'`ld.texinfo
86233965Sjdp
863218822Sdimld.pdf: ld.texinfo $(ld_TEXINFOS) 
864218822Sdim	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
865218822Sdim	MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
866218822Sdim	$(TEXI2PDF) -o $@ `test -f 'ld.texinfo' || echo '$(srcdir)/'`ld.texinfo
86738891Sjdp
868218822Sdimld.html: ld.texinfo $(ld_TEXINFOS) 
869218822Sdim	rm -rf $(@:.html=.htp)
870218822Sdim	if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
871218822Sdim	 -o $(@:.html=.htp) `test -f 'ld.texinfo' || echo '$(srcdir)/'`ld.texinfo; \
872218822Sdim	then \
873218822Sdim	  rm -rf $@; \
874218822Sdim	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
875218822Sdim	    mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
876218822Sdim	else \
877218822Sdim	  if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
878218822Sdim	    rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
879218822Sdim	  exit 1; \
880218822Sdim	fi
88138891Sjdp.dvi.ps:
882218822Sdim	TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
883218822Sdim	$(DVIPS) -o $@ $<
88438891Sjdp
885218822Sdimuninstall-info-am:
886218822Sdim	@$(PRE_UNINSTALL)
887218822Sdim	@if (install-info --version && \
888218822Sdim	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
88960521Sobrien	  list='$(INFO_DEPS)'; \
89060521Sobrien	  for file in $$list; do \
891218822Sdim	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
892218822Sdim	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
893218822Sdim	    install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
89438891Sjdp	  done; \
895218822Sdim	else :; fi
89660521Sobrien	@$(NORMAL_UNINSTALL)
897218822Sdim	@list='$(INFO_DEPS)'; \
89860521Sobrien	for file in $$list; do \
899218822Sdim	  relfile=`echo "$$file" | sed 's|^.*/||'`; \
900218822Sdim	  relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
901218822Sdim	  (if cd "$(DESTDIR)$(infodir)"; then \
902218822Sdim	     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]"; \
903218822Sdim	     rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
904218822Sdim	   else :; fi); \
90538891Sjdp	done
90638891Sjdp
90738891Sjdpdist-info: $(INFO_DEPS)
908218822Sdim	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
90960521Sobrien	list='$(INFO_DEPS)'; \
91060521Sobrien	for base in $$list; do \
911218822Sdim	  case $$base in \
912218822Sdim	    $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
913218822Sdim	  esac; \
91438891Sjdp	  if test -f $$base; then d=.; else d=$(srcdir); fi; \
915218822Sdim	  for file in $$d/$$base*; do \
916218822Sdim	    relfile=`expr "$$file" : "$$d/\(.*\)"`; \
917218822Sdim	    test -f $(distdir)/$$relfile || \
918218822Sdim	      cp -p $$file $(distdir)/$$relfile; \
91938891Sjdp	  done; \
92038891Sjdp	done
92138891Sjdp
92238891Sjdpmostlyclean-aminfo:
923218822Sdim	-rm -rf ld.aux ld.cp ld.cps ld.fn ld.fns ld.ky ld.log ld.pg ld.pgs ld.tmp \
924218822Sdim	  ld.toc ld.tp ld.tps ld.vr ld.vrs ld.dvi ld.pdf ld.ps ld.html
92538891Sjdp
92638891Sjdpmaintainer-clean-aminfo:
927218822Sdim	@list='$(INFO_DEPS)'; for i in $$list; do \
928218822Sdim	  i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
929218822Sdim	  echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
930218822Sdim	  rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
93138891Sjdp	done
932218822Sdim
93338891Sjdpclean-info: mostlyclean-aminfo
934218822Sdiminstall-man1: $(man1_MANS) $(man_MANS)
935218822Sdim	@$(NORMAL_INSTALL)
936218822Sdim	test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
937218822Sdim	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
938218822Sdim	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
939218822Sdim	for i in $$l2; do \
94060521Sobrien	  case "$$i" in \
94160521Sobrien	    *.1*) list="$$list $$i" ;; \
94260521Sobrien	  esac; \
94360521Sobrien	done; \
94460521Sobrien	for i in $$list; do \
94560521Sobrien	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
94660521Sobrien	  else file=$$i; fi; \
94760521Sobrien	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
948218822Sdim	  case "$$ext" in \
949218822Sdim	    1*) ;; \
950218822Sdim	    *) ext='1' ;; \
951218822Sdim	  esac; \
95260521Sobrien	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
953218822Sdim	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
95460521Sobrien	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
955218822Sdim	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
956218822Sdim	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
95760521Sobrien	done
95860521Sobrienuninstall-man1:
959218822Sdim	@$(NORMAL_UNINSTALL)
960218822Sdim	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
961218822Sdim	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
962218822Sdim	for i in $$l2; do \
96360521Sobrien	  case "$$i" in \
96460521Sobrien	    *.1*) list="$$list $$i" ;; \
96560521Sobrien	  esac; \
96660521Sobrien	done; \
96760521Sobrien	for i in $$list; do \
96860521Sobrien	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
969218822Sdim	  case "$$ext" in \
970218822Sdim	    1*) ;; \
971218822Sdim	    *) ext='1' ;; \
972218822Sdim	  esac; \
97360521Sobrien	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
974218822Sdim	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
97560521Sobrien	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
976218822Sdim	  echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
977218822Sdim	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
97860521Sobrien	done
97938891Sjdp
98060521Sobrien# This directory's subdirectories are mostly independent; you can cd
98160521Sobrien# into them and run `make' without going through this Makefile.
98260521Sobrien# To change the values of `make' variables: instead of editing Makefiles,
98360521Sobrien# (1) if the variable is set in `config.status', edit `config.status'
98460521Sobrien#     (which will cause the Makefiles to be regenerated when you run `make');
98560521Sobrien# (2) otherwise, pass the desired values on the `make' command line.
986218822Sdim$(RECURSIVE_TARGETS):
987218822Sdim	@failcom='exit 1'; \
988218822Sdim	for f in x $$MAKEFLAGS; do \
989218822Sdim	  case $$f in \
990218822Sdim	    *=* | --[!k]*);; \
991218822Sdim	    *k*) failcom='fail=yes';; \
992218822Sdim	  esac; \
993218822Sdim	done; \
99460521Sobrien	dot_seen=no; \
99560521Sobrien	target=`echo $@ | sed s/-recursive//`; \
99660521Sobrien	list='$(SUBDIRS)'; for subdir in $$list; do \
99760521Sobrien	  echo "Making $$target in $$subdir"; \
99860521Sobrien	  if test "$$subdir" = "."; then \
99960521Sobrien	    dot_seen=yes; \
100060521Sobrien	    local_target="$$target-am"; \
100160521Sobrien	  else \
100260521Sobrien	    local_target="$$target"; \
100360521Sobrien	  fi; \
100460521Sobrien	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1005218822Sdim	  || eval $$failcom; \
100660521Sobrien	done; \
100760521Sobrien	if test "$$dot_seen" = "no"; then \
100860521Sobrien	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
100960521Sobrien	fi; test -z "$$fail"
101060521Sobrien
101160521Sobrienmostlyclean-recursive clean-recursive distclean-recursive \
101260521Sobrienmaintainer-clean-recursive:
1013218822Sdim	@failcom='exit 1'; \
1014218822Sdim	for f in x $$MAKEFLAGS; do \
1015218822Sdim	  case $$f in \
1016218822Sdim	    *=* | --[!k]*);; \
1017218822Sdim	    *k*) failcom='fail=yes';; \
1018218822Sdim	  esac; \
1019218822Sdim	done; \
102060521Sobrien	dot_seen=no; \
1021218822Sdim	case "$@" in \
1022218822Sdim	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1023218822Sdim	  *) list='$(SUBDIRS)' ;; \
1024218822Sdim	esac; \
1025218822Sdim	rev=''; for subdir in $$list; do \
1026218822Sdim	  if test "$$subdir" = "."; then :; else \
1027218822Sdim	    rev="$$subdir $$rev"; \
1028218822Sdim	  fi; \
102960521Sobrien	done; \
1030218822Sdim	rev="$$rev ."; \
103160521Sobrien	target=`echo $@ | sed s/-recursive//`; \
103260521Sobrien	for subdir in $$rev; do \
103360521Sobrien	  echo "Making $$target in $$subdir"; \
103460521Sobrien	  if test "$$subdir" = "."; then \
103560521Sobrien	    local_target="$$target-am"; \
103660521Sobrien	  else \
103760521Sobrien	    local_target="$$target"; \
103860521Sobrien	  fi; \
103960521Sobrien	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1040218822Sdim	  || eval $$failcom; \
104160521Sobrien	done && test -z "$$fail"
104260521Sobrientags-recursive:
104360521Sobrien	list='$(SUBDIRS)'; for subdir in $$list; do \
104460521Sobrien	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
104560521Sobrien	done
1046218822Sdimctags-recursive:
1047218822Sdim	list='$(SUBDIRS)'; for subdir in $$list; do \
1048218822Sdim	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
1049218822Sdim	done
105060521Sobrien
1051218822SdimID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1052218822Sdim	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1053218822Sdim	unique=`for i in $$list; do \
1054218822Sdim	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1055218822Sdim	  done | \
1056218822Sdim	  $(AWK) '    { files[$$0] = 1; } \
1057218822Sdim	       END { for (i in files) print i; }'`; \
1058218822Sdim	mkid -fID $$unique
105938891Sjdptags: TAGS
106038891Sjdp
1061218822SdimTAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
1062218822Sdim		$(TAGS_FILES) $(LISP)
106338891Sjdp	tags=; \
106438891Sjdp	here=`pwd`; \
1065218822Sdim	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1066218822Sdim	  include_option=--etags-include; \
1067218822Sdim	  empty_fix=.; \
1068218822Sdim	else \
1069218822Sdim	  include_option=--include; \
1070218822Sdim	  empty_fix=; \
1071218822Sdim	fi; \
107260521Sobrien	list='$(SUBDIRS)'; for subdir in $$list; do \
1073218822Sdim	  if test "$$subdir" = .; then :; else \
1074218822Sdim	    test ! -f $$subdir/TAGS || \
1075218822Sdim	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
1076218822Sdim	  fi; \
107760521Sobrien	done; \
1078218822Sdim	list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1079218822Sdim	unique=`for i in $$list; do \
1080218822Sdim	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1081218822Sdim	  done | \
1082218822Sdim	  $(AWK) '    { files[$$0] = 1; } \
108338891Sjdp	       END { for (i in files) print i; }'`; \
1084218822Sdim	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1085218822Sdim	  test -n "$$unique" || unique=$$empty_fix; \
1086218822Sdim	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1087218822Sdim	    $$tags $$unique; \
1088218822Sdim	fi
1089218822Sdimctags: CTAGS
1090218822SdimCTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
1091218822Sdim		$(TAGS_FILES) $(LISP)
1092218822Sdim	tags=; \
1093218822Sdim	here=`pwd`; \
1094218822Sdim	list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1095218822Sdim	unique=`for i in $$list; do \
1096218822Sdim	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1097218822Sdim	  done | \
1098218822Sdim	  $(AWK) '    { files[$$0] = 1; } \
1099218822Sdim	       END { for (i in files) print i; }'`; \
1100218822Sdim	test -z "$(CTAGS_ARGS)$$tags$$unique" \
1101218822Sdim	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1102218822Sdim	     $$tags $$unique
110338891Sjdp
1104218822SdimGTAGS:
1105218822Sdim	here=`$(am__cd) $(top_builddir) && pwd` \
1106218822Sdim	  && cd $(top_srcdir) \
1107218822Sdim	  && gtags -i $(GTAGS_ARGS) $$here
110838891Sjdp
110938891Sjdpdistclean-tags:
1110218822Sdim	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
111138891Sjdpsite.exp: Makefile
111238891Sjdp	@echo 'Making a new site.exp file...'
1113218822Sdim	@echo '## these variables are automatically generated by make ##' >site.tmp
1114218822Sdim	@echo '# Do not edit here.  If you wish to override these values' >>site.tmp
1115218822Sdim	@echo '# edit the last section' >>site.tmp
1116218822Sdim	@echo 'set srcdir $(srcdir)' >>site.tmp
1117218822Sdim	@echo "set objdir `pwd`" >>site.tmp
1118218822Sdim	@echo 'set build_alias "$(build_alias)"' >>site.tmp
1119218822Sdim	@echo 'set build_triplet $(build_triplet)' >>site.tmp
1120218822Sdim	@echo 'set host_alias "$(host_alias)"' >>site.tmp
1121218822Sdim	@echo 'set host_triplet $(host_triplet)' >>site.tmp
1122218822Sdim	@echo 'set target_alias "$(target_alias)"' >>site.tmp
1123218822Sdim	@echo 'set target_triplet $(target_triplet)' >>site.tmp
1124218822Sdim	@echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
1125218822Sdim	@test ! -f site.exp || \
1126218822Sdim	  sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
1127218822Sdim	@-rm -f site.bak
112860521Sobrien	@test ! -f site.exp || mv site.exp site.bak
1129218822Sdim	@mv site.tmp site.exp
1130218822Sdim
1131218822Sdimdistclean-DEJAGNU:
1132218822Sdim	-rm -f site.exp site.bak
1133218822Sdim	-l='$(DEJATOOL)'; for tool in $$l; do \
1134218822Sdim	  rm -f $$tool.sum $$tool.log; \
1135218822Sdim	done
113660521Sobriencheck-am:
113760521Sobrien	$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
113860521Sobriencheck: check-recursive
1139218822Sdimall-am: Makefile $(PROGRAMS) $(MANS) config.h
1140218822Sdiminstalldirs: installdirs-recursive
1141218822Sdiminstalldirs-am:
1142218822Sdim	for dir in "$(DESTDIR)$(man1dir)"; do \
1143218822Sdim	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
1144218822Sdim	done
1145218822Sdiminstall: install-recursive
114660521Sobrieninstall-exec: install-exec-recursive
114760521Sobrieninstall-data: install-data-recursive
1148218822Sdimuninstall: uninstall-recursive
114938891Sjdp
115060521Sobrieninstall-am: all-am
115160521Sobrien	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1152218822Sdim
1153218822Sdiminstallcheck: installcheck-recursive
115438891Sjdpinstall-strip:
1155218822Sdim	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1156218822Sdim	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1157218822Sdim	  `test -z '$(STRIP)' || \
1158218822Sdim	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
115938891Sjdpmostlyclean-generic:
116038891Sjdp	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
116138891Sjdp
116238891Sjdpclean-generic:
116338891Sjdp	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
116438891Sjdp
116538891Sjdpdistclean-generic:
1166218822Sdim	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
116760521Sobrien	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
116838891Sjdp
116938891Sjdpmaintainer-clean-generic:
1170218822Sdim	@echo "This command is intended for maintainers to use"
1171218822Sdim	@echo "it deletes files that may require special tools to rebuild."
1172218822Sdim	-rm -f deffilep.c
1173218822Sdim	-rm -f deffilep.h
1174218822Sdim	-rm -f ldgram.c
1175218822Sdim	-rm -f ldgram.h
1176218822Sdim	-rm -f ldlex.c
1177218822Sdim	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1178218822Sdimclean: clean-recursive
117938891Sjdp
1180218822Sdimclean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
1181218822Sdim	mostlyclean-am
118238891Sjdp
1183218822Sdimdistclean: distclean-recursive
1184218822Sdim	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1185218822Sdim	-rm -f Makefile
1186218822Sdimdistclean-am: clean-am distclean-DEJAGNU distclean-compile \
1187218822Sdim	distclean-generic distclean-hdr distclean-libtool \
1188218822Sdim	distclean-local distclean-tags
118960521Sobrien
1190218822Sdimdvi: dvi-recursive
119160521Sobrien
1192218822Sdimdvi-am: $(DVIS)
119338891Sjdp
1194218822Sdimhtml: html-recursive
119560521Sobrien
1196218822Sdimhtml-am: $(HTMLS)
119760521Sobrien
1198218822Sdiminfo: info-recursive
1199218822Sdim
1200218822Sdiminfo-am: $(INFO_DEPS)
1201218822Sdim
1202218822Sdiminstall-data-am: install-data-local install-man
1203218822Sdim
1204218822Sdiminstall-exec-am: install-exec-local
1205218822Sdim
1206218822Sdiminstall-info: install-info-recursive
1207218822Sdim
1208218822Sdiminstall-info-am: $(INFO_DEPS)
1209218822Sdim	@$(NORMAL_INSTALL)
1210218822Sdim	test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"
1211218822Sdim	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
1212218822Sdim	list='$(INFO_DEPS)'; \
1213218822Sdim	for file in $$list; do \
1214218822Sdim	  case $$file in \
1215218822Sdim	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
1216218822Sdim	  esac; \
1217218822Sdim	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
1218218822Sdim	  file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
1219218822Sdim	  for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
1220218822Sdim                       $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
1221218822Sdim	    if test -f $$ifile; then \
1222218822Sdim	      relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
1223218822Sdim	      echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
1224218822Sdim	      $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
1225218822Sdim	    else : ; fi; \
1226218822Sdim	  done; \
1227218822Sdim	done
1228218822Sdim	@$(POST_INSTALL)
1229218822Sdim	@if (install-info --version && \
1230218822Sdim	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
1231218822Sdim	  list='$(INFO_DEPS)'; \
1232218822Sdim	  for file in $$list; do \
1233218822Sdim	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
1234218822Sdim	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
1235218822Sdim	    install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
1236218822Sdim	  done; \
1237218822Sdim	else : ; fi
1238218822Sdiminstall-man: install-man1
1239218822Sdim
1240218822Sdiminstallcheck-am:
1241218822Sdim
124260521Sobrienmaintainer-clean: maintainer-clean-recursive
1243218822Sdim	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1244218822Sdim	-rm -rf $(top_srcdir)/autom4te.cache
1245218822Sdim	-rm -f Makefile
1246218822Sdimmaintainer-clean-am: distclean-am maintainer-clean-aminfo \
1247218822Sdim	maintainer-clean-generic
124838891Sjdp
1249218822Sdimmostlyclean: mostlyclean-recursive
125038891Sjdp
1251218822Sdimmostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
1252218822Sdim	mostlyclean-generic mostlyclean-libtool mostlyclean-local
125338891Sjdp
1254218822Sdimpdf: pdf-recursive
1255218822Sdim
1256218822Sdimpdf-am: $(PDFS)
1257218822Sdim
1258218822Sdimps: ps-recursive
1259218822Sdim
1260218822Sdimps-am: $(PSS)
1261218822Sdim
1262218822Sdimuninstall-am: uninstall-man
1263218822Sdim
1264218822Sdimuninstall-info: uninstall-info-recursive
1265218822Sdim
1266218822Sdimuninstall-man: uninstall-man1
1267218822Sdim
1268218822Sdim.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
1269218822Sdim	check-DEJAGNU check-am clean clean-generic clean-info \
1270218822Sdim	clean-libtool clean-noinstPROGRAMS clean-recursive ctags \
1271218822Sdim	ctags-recursive dist-info distclean distclean-DEJAGNU \
1272218822Sdim	distclean-compile distclean-generic distclean-hdr \
1273218822Sdim	distclean-libtool distclean-local distclean-recursive \
1274218822Sdim	distclean-tags dvi dvi-am html html-am info info-am install \
1275218822Sdim	install-am install-data install-data-am install-data-local \
1276218822Sdim	install-exec install-exec-am install-exec-local install-info \
1277218822Sdim	install-info-am install-man install-man1 install-strip \
1278218822Sdim	installcheck installcheck-am installdirs installdirs-am \
1279218822Sdim	maintainer-clean maintainer-clean-aminfo \
1280218822Sdim	maintainer-clean-generic maintainer-clean-recursive \
1281218822Sdim	mostlyclean mostlyclean-aminfo mostlyclean-compile \
1282218822Sdim	mostlyclean-generic mostlyclean-libtool mostlyclean-local \
1283218822Sdim	mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
1284218822Sdim	uninstall uninstall-am uninstall-info-am uninstall-man \
1285218822Sdim	uninstall-man1
1286218822Sdim
1287218822Sdim
1288218822Sdim# Disable -Werror, if it has been enabled, since old versions of bison/
1289218822Sdim# yacc will produce working code which contain compile time warnings. 
1290218822Sdimldgram.o:
1291218822Sdim	$(COMPILE) -c $< $(NO_WERROR)
1292218822Sdimldlex.o:
1293218822Sdim	$(COMPILE) -c $< $(NO_WERROR)
1294218822Sdimdeffilep.o:
1295218822Sdim	$(COMPILE) -c $< $(NO_WERROR)
1296218822Sdim
129760521Sobrienpo/POTFILES.in: @MAINT@ Makefile
1298130564Sobrien	for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
129960521Sobrien	  && mv tmp $(srcdir)/po/POTFILES.in
130060521Sobrien
130133965Sjdpldmain.o: ldmain.c config.status
1302130564Sobrien	$(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
1303130564Sobrien	  -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
1304130564Sobrien	  -DTOOLBINDIR='"$(tooldir)/bin"' \
1305130564Sobrien	  -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
1306130564Sobrien	  $(srcdir)/ldmain.c
130733965Sjdp
1308218822Sdimeelf32_spu.o: eelf32_spu.c
1309218822Sdim	$(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
1310218822Sdim	  eelf32_spu.c
1311218822Sdim
131233965Sjdpldemul-list.h: Makefile
131333965Sjdp	(echo "/* This file is automatically generated.  DO NOT EDIT! */";\
131433965Sjdp	for f in `echo " " ${EMULATION_OFILES} "" \
131533965Sjdp	 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
131633965Sjdp	    echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
131733965Sjdp	done;\
131833965Sjdp	echo "";\
131933965Sjdp	echo "#define EMULATION_LIST \\";\
132033965Sjdp	for f in `echo " " ${EMULATION_OFILES} "" \
132133965Sjdp	 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
132233965Sjdp	    echo "  &ld_$${f}_emulation, \\"; \
132333965Sjdp	done;\
132433965Sjdp	echo "  0") >ldemul-tmp.h
132533965Sjdp	mv ldemul-tmp.h ldemul-list.h
132660521Sobrien
132760521Sobrienstringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
132860521Sobrien	  cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
1329130564Sobrien
133033965Sjdp@TDIRS@
133133965Sjdp
1332104843Sobrieneaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
1333104843Sobrien  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1334104843Sobrien	${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
1335104843Sobrieneaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
1336104843Sobrien  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1337104843Sobrien	${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
133833965Sjdpeaixppc.c: $(srcdir)/emulparams/aixppc.sh \
133933965Sjdp  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
134033965Sjdp	${GENSCRIPTS} aixppc "$(tdir_aixppc)"
134133965Sjdpeaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
134233965Sjdp  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
134333965Sjdp	${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
134433965Sjdpealpha.c: $(srcdir)/emulparams/alpha.sh \
134533965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
134633965Sjdp	${GENSCRIPTS} alpha "$(tdir_alpha)"
134738891Sjdpearcelf.c: $(srcdir)/emulparams/arcelf.sh \
1348218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
134938891Sjdp	${GENSCRIPTS} arcelf "$(tdir_arcelf)"
135060521Sobrienearmelf.c: $(srcdir)/emulparams/armelf.sh \
1351218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
135277315Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
135360521Sobrien	${GENSCRIPTS} armelf "$(tdir_armelf)"
1354130564Sobrienearmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
1355218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
1356130564Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1357130564Sobrien	${GENSCRIPTS} armelfb "$(tdir_armelfb)"
135891053Sobrienearmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
135991053Sobrien  $(srcdir)/emulparams/armelf.sh \
1360218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
136191053Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
136291053Sobrien	${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
136360521Sobrienearmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
1364218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
136577315Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
136660521Sobrien	${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
1367218822Sdimearmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
1368218822Sdim  $(srcdir)/emulparams/armelf_linux.sh \
1369218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
1370218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1371218822Sdim	${GENSCRIPTS} armelf_linux_eabi "$(tdir_armelf_linux_abi)"
1372130564Sobrienearmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
1373130564Sobrien  $(srcdir)/emulparams/armelf_linux.sh \
1374218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
1375130564Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1376130564Sobrien	${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)"
1377218822Sdimearmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
1378218822Sdim  $(srcdir)/emulparams/armelf_linux_eabi.sh \
1379218822Sdim  $(srcdir)/emulparams/armelf_linux.sh \
1380218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
1381218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1382218822Sdim	${GENSCRIPTS} armelfb_linux_eabi "$(tdir_armelfb_linux_abi)"
138389869Sobrienearmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
138489869Sobrien  $(srcdir)/emulparams/armelf.sh \
1385218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
138689869Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
138789869Sobrien	${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
1388104843Sobrienearmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
1389104843Sobrien  $(srcdir)/emulparams/armelf_nbsd.sh \
1390104843Sobrien  $(srcdir)/emulparams/armelf.sh \
1391218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
1392104843Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1393104843Sobrien	${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
1394218822Sdimearmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
1395218822Sdim  $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
1396218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
1397218822Sdim  $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
1398218822Sdim  ${GEN_DEPENDS}
1399218822Sdim	${GENSCRIPTS} armelf_vxworks "$(tdir_armelf)"
140033965Sjdpearmaoutb.c:	$(srcdir)/emulparams/armaoutb.sh \
140133965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
140233965Sjdp	${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
140333965Sjdpearmaoutl.c:	$(srcdir)/emulparams/armaoutl.sh \
140433965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
140533965Sjdp	${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
140633965Sjdpearmcoff.c:	$(srcdir)/emulparams/armcoff.sh \
140760521Sobrien  $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
140833965Sjdp	${GENSCRIPTS} armcoff "$(tdir_armcoff)"
140960521Sobrienearmnbsd.c:	$(srcdir)/emulparams/armnbsd.sh \
141060521Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
141160521Sobrien	${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
1412130564Sobrienearmnto.c: $(srcdir)/emulparams/armnto.sh \
1413218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
1414130564Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1415130564Sobrien	${GENSCRIPTS} armnto "$(tdir_armnto)"
141660521Sobrienearm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
141760521Sobrien  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
141860521Sobrien	${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
1419218822Sdimearm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
1420218822Sdim  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1421218822Sdim	${GENSCRIPTS} arm_wince_pe "$(tdir_armpe)"
142233965Sjdpearmpe.c: $(srcdir)/emulparams/armpe.sh \
142333965Sjdp  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
142433965Sjdp	${GENSCRIPTS} armpe "$(tdir_armpe)"
1425218822Sdimearmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
1426218822Sdim  $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
1427218822Sdim  $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
142860521Sobrien  ${GEN_DEPENDS}
1429218822Sdim	${GENSCRIPTS} armsymbian "$(tdir_armelf)"
1430218822Sdimeavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
1431218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
1432218822Sdim  ${GEN_DEPENDS}
1433130564Sobrien	${GENSCRIPTS} avr2 "$(tdir_avr2)"
1434218822Sdimeavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
1435218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
1436104843Sobrien  ${GEN_DEPENDS}
1437130564Sobrien	${GENSCRIPTS} avr1 "$(tdir_avr2)"
1438218822Sdimeavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
1439218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
1440104843Sobrien  ${GEN_DEPENDS}
1441130564Sobrien	${GENSCRIPTS} avr3 "$(tdir_avr2)"
1442218822Sdimeavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
1443218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
1444104843Sobrien  ${GEN_DEPENDS}
1445130564Sobrien	${GENSCRIPTS} avr4 "$(tdir_avr2)"
1446218822Sdimeavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
1447218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
1448104843Sobrien  ${GEN_DEPENDS}
1449130564Sobrien	${GENSCRIPTS} avr5 "$(tdir_avr2)"
1450218822Sdimeavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
1451218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
1452218822Sdim  ${GEN_DEPENDS}
1453218822Sdim	${GENSCRIPTS} avr6 "$(tdir_avr2)"
1454130564Sobrienecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
1455130564Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
1456130564Sobrien	${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
145733965Sjdpecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
145833965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
145933965Sjdp	${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
146077315Sobrienecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
146177315Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
146277315Sobrien	${GENSCRIPTS} crisaout "$(tdir_cris)"
146377315Sobrienecriself.c: $(srcdir)/emulparams/criself.sh \
1464218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
146577315Sobrien	${GENSCRIPTS} criself "$(tdir_cris)"
146677315Sobrienecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
1467218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
146877315Sobrien	${GENSCRIPTS} crislinux "$(tdir_cris)"
146933965Sjdped10velf.c: $(srcdir)/emulparams/d10velf.sh \
1470218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
147133965Sjdp	${GENSCRIPTS} d10velf "$(tdir_d10v)"
147260521Sobriened30velf.c: $(srcdir)/emulparams/d30velf.sh \
1473218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
147460521Sobrien	${GENSCRIPTS} d30velf "$(tdir_d30v)"
147560521Sobriened30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
1476218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
147760521Sobrien	${GENSCRIPTS} d30v_o "$(tdir_d30v)"
147860521Sobriened30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
1479218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
148060521Sobrien	${GENSCRIPTS} d30v_e "$(tdir_d30v)"
148133965Sjdpedelta68.c: $(srcdir)/emulparams/delta68.sh \
148233965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
148333965Sjdp	${GENSCRIPTS} delta68 "$(tdir_delta68)"
1484218822Sdimeelf32bfin.c: $(srcdir)/emulparams/bfin.sh \
1485218822Sdim  $(ELF_DEPS) \
1486218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1487218822Sdim	${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin
1488218822Sdimeelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh $(srcdir)/emulparams/bfin.sh \
1489218822Sdim  $(ELF_DEPS) \
1490218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1491218822Sdim	${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd
1492104843Sobrieneelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
1493218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
1494104843Sobrien	${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
1495218822Sdimeelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
1496218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1497218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1498218822Sdim	${GENSCRIPTS} elf32xc16x "$(tdir_xc16x)"
1499218822Sdimeelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
1500218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1501218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1502218822Sdim	${GENSCRIPTS} elf32xc16xl "$(tdir_xc16xl)"
1503218822Sdimeelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
1504218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1505218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1506218822Sdim	${GENSCRIPTS} elf32xc16xs "$(tdir_xc16xs)"		
150789869Sobrieneelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1508218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1509218822Sdim  $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
151089869Sobrien	${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
1511130564Sobrieneelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
1512218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1513130564Sobrien	${GENSCRIPTS} elf32am33lin "$(tdir_mn10300)"
1514104843Sobrieneelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1515218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1516104843Sobrien	${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
1517218822Sdimeelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
1518218822Sdim  $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
1519218822Sdim  $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1520130564Sobrien  $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
1521130564Sobrien	${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
152260521Sobrieneelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1523218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
152460521Sobrien	${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
1525104843Sobrieneelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1526218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1527104843Sobrien	${GENSCRIPTS} elf32frv "$(tdir_frv)"
1528218822Sdimeelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
1529218822Sdim  $(srcdir)/emulparams/elf32frv.sh \
1530218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1531218822Sdim	${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
153260521Sobrieneelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1533218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
153460521Sobrien	${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
1535218822Sdimeelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
1536218822Sdim  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
1537218822Sdim	${GENSCRIPTS} elf32mep "$(tdir_mep)"
153833965Sjdpem32relf.c: $(srcdir)/emulparams/m32relf.sh \
1539218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
154033965Sjdp	${GENSCRIPTS} m32relf "$(tdir_m32r)"
1541130564Sobrienem32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
1542218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1543130564Sobrien	${GENSCRIPTS} m32rlelf "$(tdir_m32rlelf)"
1544130564Sobrienem32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
1545218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1546130564Sobrien	${GENSCRIPTS} m32relf_linux "$(tdir_m32relf_linux)"
1547130564Sobrienem32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
1548218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1549130564Sobrien	${GENSCRIPTS} m32rlelf_linux "$(tdir_m32rlelf_linux)"
155033965Sjdpeelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
1551218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
155233965Sjdp	${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
1553218822Sdimeelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
1554218822Sdim  $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
1555218822Sdim  $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
1556218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1557218822Sdim	${GENSCRIPTS} elf32_sparc_vxworks "$(tdir_elf32_sparc_vxworks)"
1558218822Sdimeelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
1559218822Sdim  $(srcdir)/emultempl/spu_ovl.o \
1560218822Sdim  ldemul-list.h \
1561218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1562218822Sdim	${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)"
1563218822Sdim$(srcdir)/emultempl/spu_ovl.o: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
1564218822Sdim	cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s
1565218822Sdim	if ../gas/as-new --version \
1566218822Sdim		| grep 'target.*spu' >/dev/null 2>/dev/null; then \
1567218822Sdim	  ../gas/as-new -o $@ spu_ovl.s; \
1568218822Sdim	fi
156977315Sobrieneelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
1570218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
157177315Sobrien	${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
157260521Sobrieneelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
1573218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
157460521Sobrien	${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
157533965Sjdpeelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1576218822Sdim  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1577218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
157833965Sjdp	${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
1579218822Sdimeelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
1580218822Sdim  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/cr16elf.em \
1581218822Sdim  $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS} 
1582218822Sdim	${GENSCRIPTS} elf32cr16 "$(tdir_elf32crx)"
1583218822Sdimeelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
1584218822Sdim  $(ELF_DEPS) \
1585218822Sdim  $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
1586218822Sdim	${GENSCRIPTS} elf32cr16c "$(tdir_elf32cr16c)"
1587218822Sdimeelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1588218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
158933965Sjdp	${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
159038891Sjdpeelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1591218822Sdim  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
1592218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
159338891Sjdp	${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
159477315Sobrieneelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1595218822Sdim  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1596218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
159777315Sobrien	${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
1598218822Sdimeelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
1599218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
1600218822Sdim  $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS} 
1601218822Sdim	${GENSCRIPTS} elf32crx "$(tdir_elf32crx)"
1602130564Sobrieneelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
1603218822Sdim  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1604218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1605130564Sobrien	${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
160678839Sobrieneelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
160789869Sobrien  $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1608218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1609218822Sdim  ${GEN_DEPENDS}
161078839Sobrien	${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
1611130564Sobrieneelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
1612218822Sdim  $(srcdir)/emulparams/elf32btsmipn32.sh \
1613218822Sdim  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1614218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1615130564Sobrien	${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
161633965Sjdpeelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1617218822Sdim  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1618218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
161933965Sjdp	${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
1620218822Sdimeelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
1621218822Sdim  $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1622218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1623218822Sdim  $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1624218822Sdim	${GENSCRIPTS} elf32ebmipvxworks "$(tdir_elf32ebmipvxworks)"
162533965Sjdpeelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
162689869Sobrien  $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1627218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1628218822Sdim  ${GEN_DEPENDS}
162933965Sjdp	${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
1630218822Sdimeelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
1631218822Sdim  $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
1632218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
1633218822Sdim  $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1634218822Sdim	${GENSCRIPTS} elf32elmipvxworks "$(tdir_elf32elmipvxworks)"
163560521Sobrieneelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1636218822Sdim  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1637218822Sdim  $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1638218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
163960521Sobrien	${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
164033965Sjdpeelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
164189869Sobrien  $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1642218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1643218822Sdim  ${GEN_DEPENDS}
164433965Sjdp	${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
164533965Sjdpeelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1646218822Sdim  $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
1647218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
164833965Sjdp	${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
1649218822Sdimeelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
1650218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1651130564Sobrien	${GENSCRIPTS} elf32mipswindiss "$(tdir_elf32mipswindiss)"
1652218822Sdimeelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
1653218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
1654218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1655218822Sdim	${GENSCRIPTS} elf32m32c "$(tdir_m32c)"
1656218822Sdimeelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
1657218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1658218822Sdim	${GENSCRIPTS} elf32mt "$(tdir_mt)"
165933965Sjdpeelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1660218822Sdim  $(srcdir)/emulparams/elf32ppccommon.sh \
1661130564Sobrien  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
1662218822Sdim  ldemul-list.h \
1663218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
166433965Sjdp	${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
1665130564Sobrieneelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
1666218822Sdim  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1667218822Sdim  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1668218822Sdim  ldemul-list.h \
1669218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1670130564Sobrien	${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
167177315Sobrieneelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
167289869Sobrien  $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1673218822Sdim  $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1674218822Sdim  ldemul-list.h \
1675218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
167677315Sobrien	${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
1677130564Sobrieneelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
1678218822Sdim  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1679218822Sdim  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1680218822Sdim  ldemul-list.h \
1681218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1682130564Sobrien	${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
1683130564Sobrieneelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
1684218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1685104843Sobrien	${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
1686218822Sdimeelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
1687218822Sdim  $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
1688218822Sdim  $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
1689218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1690218822Sdim	${GENSCRIPTS} elf32ppcvxworks "$(tdir_elf32ppcvxworks)"
169138891Sjdpeelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
169289869Sobrien  $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1693218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
1694218822Sdim  ${GEN_DEPENDS}
169538891Sjdp	${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
169689869Sobrieneelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
1697218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
169889869Sobrien	${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
1699218822Sdimeelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1700218822Sdim  $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emultempl/ppc32elf.em \
1701218822Sdim  ldemul-list.h \
1702218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
170333965Sjdp	${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
170491053Sobrieneelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1705218822Sdim  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1706218822Sdim  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1707218822Sdim  ldemul-list.h \
1708218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
170991053Sobrien	${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
171077315Sobrieneelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1711218822Sdim  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1712218822Sdim  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1713218822Sdim  ldemul-list.h \
1714218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
171577315Sobrien	${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
171660521Sobrieneelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1717218822Sdim  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
1718218822Sdim  $(srcdir)/emultempl/ppc32elf.em $(ELF_DEPS) \
1719218822Sdim  ldemul-list.h \
1720218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
172160521Sobrien	${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
172289869Sobrieneelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1723218822Sdim  ldemul-list.h \
1724218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
172589869Sobrien	${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
172689869Sobrieneelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
172789869Sobrien  $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1728218822Sdim  ldemul-list.h \
1729218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
173089869Sobrien	${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
173160521Sobrieneelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1732218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
173360521Sobrien	${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1734130564Sobrieneelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
1735218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
1736130564Sobrien	${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
1737130564Sobrieneelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
1738218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1739130564Sobrien	${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
1740130564Sobrieneelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
1741218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
1742130564Sobrien	${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
174333965Sjdpeelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1744218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1745218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
174633965Sjdp	${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
174791053Sobrieneelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
174891053Sobrien  $(srcdir)/emulparams/elf64alpha.sh \
1749218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1750218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
175191053Sobrien	${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
175289869Sobrieneelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
175389869Sobrien  $(srcdir)/emulparams/elf64alpha.sh \
1754218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
1755218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
175689869Sobrien	${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
175777315Sobrieneelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
175889869Sobrien  $(srcdir)/emulparams/hppa64linux.sh \
1759218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
176077315Sobrien	${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
176189869Sobrieneelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1762218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
176389869Sobrien	${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
176477315Sobrieneelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1765218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1766130564Sobrien  $(srcdir)/emultempl/needrelax.em \
176785823Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
176877315Sobrien	${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
176991053Sobrieneelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
177091053Sobrien  $(srcdir)/emulparams/elf64_ia64.sh \
1771218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
1772130564Sobrien  $(srcdir)/emultempl/needrelax.em \
177391053Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
177491053Sobrien	${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
177589869Sobrieneelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1776218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
177789869Sobrien	${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
177833965Sjdpeelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1779218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
178033965Sjdp	${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
178191053Sobrieneelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
178291053Sobrien  $(srcdir)/emulparams/elf64_sparc.sh \
1783218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
178491053Sobrien	${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
178560521Sobrieneelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1786218822Sdim  $(srcdir)/emulparams/elf64bmip-defs.sh \
1787218822Sdim  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1788218822Sdim  $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
1789218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
179060521Sobrien	${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
179189869Sobrieneelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1792218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
179389869Sobrien  $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
179489869Sobrien	${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
179589869Sobrienemmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1796218822Sdim  $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
1797218822Sdim  $(srcdir)/emultempl/mmo.em \
179889869Sobrien  $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
179989869Sobrien	${GENSCRIPTS} mmo "$(tdir_mmo)"
180078839Sobrieneelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1801218822Sdim  $(srcdir)/emulparams/elf64bmip-defs.sh \
1802218822Sdim  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1803218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
180478839Sobrien	${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
180578839Sobrieneelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1806218822Sdim  $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
1807218822Sdim  $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
1808218822Sdim  $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
180978839Sobrien	${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
181033965Sjdpeelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1811218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
181233965Sjdp	${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
181377315Sobrieneelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1814218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
181577315Sobrien	${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
181691053Sobrieneelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
181791053Sobrien  $(srcdir)/emulparams/elf_x86_64.sh \
1818218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
181991053Sobrien	${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
182060521Sobrieneelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1821218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
182260521Sobrien	${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
182377315Sobrieneelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1824218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
182577315Sobrien	${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
182691053Sobrieneelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
182791053Sobrien  $(srcdir)/emulparams/elf_i386.sh \
1828218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
182991053Sobrien	${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
183089869Sobrieneelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1831218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
183289869Sobrien	${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
1833218822Sdimeelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
1834218822Sdim  $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
1835218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1836218822Sdim	${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)"
183789869Sobrieneelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1838218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
183989869Sobrien	${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
184033965Sjdpegld960.c: $(srcdir)/emulparams/gld960.sh \
184133965Sjdp  $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
184233965Sjdp	${GENSCRIPTS} gld960 "$(tdir_gld960)"
184333965Sjdpegld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
184433965Sjdp  $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
184533965Sjdp	${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
184633965Sjdpeh8300.c: $(srcdir)/emulparams/h8300.sh \
184733965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
184833965Sjdp	${GENSCRIPTS} h8300 "$(tdir_h8300)"
184933965Sjdpeh8300h.c: $(srcdir)/emulparams/h8300h.sh \
185033965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
185133965Sjdp	${GENSCRIPTS} h8300h "$(tdir_h8300h)"
185233965Sjdpeh8300s.c: $(srcdir)/emulparams/h8300s.sh \
185333965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
185433965Sjdp	${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1855130564Sobrieneh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
1856130564Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
1857130564Sobrien	${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
1858130564Sobrieneh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
1859130564Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
1860130564Sobrien	${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
1861130564Sobrieneh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
1862130564Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
1863130564Sobrien	${GENSCRIPTS} h8300sx "$(tdir_h8300sx)"
1864130564Sobrieneh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
1865130564Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
1866130564Sobrien	${GENSCRIPTS} h8300sxn "$(tdir_h8300sxn)"
186789869Sobrieneh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1868218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
186989869Sobrien	${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
187089869Sobrieneh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
187189869Sobrien  $(srcdir)/emulparams/h8300elf.sh \
1872218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
187389869Sobrien	${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
187489869Sobrieneh8300self.c: $(srcdir)/emulparams/h8300self.sh \
187589869Sobrien  $(srcdir)/emulparams/h8300elf.sh \
1876218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
187789869Sobrien	${GENSCRIPTS} h8300self "$(tdir_h8300self)"
1878130564Sobrieneh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
1879130564Sobrien  $(srcdir)/emulparams/h8300elf.sh \
1880218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1881130564Sobrien	${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
1882130564Sobrieneh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
1883130564Sobrien  $(srcdir)/emulparams/h8300elf.sh \
1884218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1885130564Sobrien	${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
1886130564Sobrieneh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
1887130564Sobrien  $(srcdir)/emulparams/h8300elf.sh \
1888218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1889130564Sobrien	${GENSCRIPTS} h8300sxelf "$(tdir_h8300sxelf)"
1890130564Sobrieneh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
1891130564Sobrien  $(srcdir)/emulparams/h8300elf.sh \
1892218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1893130564Sobrien	${GENSCRIPTS} h8300sxnelf "$(tdir_h8300sxnelf)"
189433965Sjdpeh8500.c: $(srcdir)/emulparams/h8500.sh \
189533965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
189633965Sjdp	${GENSCRIPTS} h8500 "$(tdir_h8500)"
189733965Sjdpeh8500b.c: $(srcdir)/emulparams/h8500b.sh \
189833965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
189933965Sjdp	${GENSCRIPTS} h8500b "$(tdir_h8500b)"
190033965Sjdpeh8500c.c: $(srcdir)/emulparams/h8500c.sh \
190133965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
190233965Sjdp	${GENSCRIPTS} h8500c "$(tdir_h8500c)"
190333965Sjdpeh8500m.c: $(srcdir)/emulparams/h8500m.sh \
190433965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
190533965Sjdp	${GENSCRIPTS} h8500m "$(tdir_h8500m)"
190633965Sjdpeh8500s.c: $(srcdir)/emulparams/h8500s.sh \
190733965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
190833965Sjdp	${GENSCRIPTS} h8500s "$(tdir_h8500s)"
190933965Sjdpehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
191033965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
191133965Sjdp	${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
191233965Sjdpehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
191333965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
191433965Sjdp	${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
191577315Sobrienehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1916218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
191777315Sobrien  $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
191877315Sobrien	${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
191977315Sobrienehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1920218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
192177315Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
192277315Sobrien	${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
192391053Sobrienehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
192491053Sobrien  $(srcdir)/emulparams/hppaelf.sh \
1925218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
192691053Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
192791053Sobrien	${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1928104843Sobrienehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
1929218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
1930104843Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1931104843Sobrien	${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
193280018Sobrienehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1933218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
193480018Sobrien	${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
193533965Sjdpei386aout.c: $(srcdir)/emulparams/i386aout.sh \
193633965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
193733965Sjdp	${GENSCRIPTS} i386aout "$(tdir_i386aout)"
193860521Sobrienei386beos.c: $(srcdir)/emulparams/i386beos.sh \
193960521Sobrien  $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
194060521Sobrien	${GENSCRIPTS} i386beos "$(tdir_i386beos)"
194133965Sjdpei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
194233965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
194333965Sjdp	${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
194433965Sjdpei386coff.c: $(srcdir)/emulparams/i386coff.sh \
194533965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
194633965Sjdp	${GENSCRIPTS} i386coff "$(tdir_i386coff)"
194733973Sjdpei386freebsd.c: $(srcdir)/emulparams/i386freebsd.sh \
194833973Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
194933973Sjdp	${GENSCRIPTS} i386freebsd "$(tdir_i386freebsd)"
195033965Sjdpei386go32.c: $(srcdir)/emulparams/i386go32.sh \
195133965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
195233965Sjdp	${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
195333965Sjdpei386linux.c: $(srcdir)/emulparams/i386linux.sh \
195433965Sjdp  $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
195533965Sjdp	${GENSCRIPTS} i386linux "$(tdir_i386linux)"
195633965Sjdpei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1957218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
195833965Sjdp	${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
195933965Sjdpei386mach.c: $(srcdir)/emulparams/i386mach.sh \
196033965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
196133965Sjdp	${GENSCRIPTS} i386mach "$(tdir_i386mach)"
196233965Sjdpei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1963218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
196433965Sjdp	${GENSCRIPTS} i386moss "$(tdir_i386moss)"
196533965Sjdpei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
196633965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
196733965Sjdp	${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
196833965Sjdpei386nbsd.c:	$(srcdir)/emulparams/i386nbsd.sh \
196933965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
197033965Sjdp	${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1971104843Sobrienei386nto.c:	$(srcdir)/emulparams/i386nto.sh \
1972218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1973104843Sobrien	${GENSCRIPTS} i386nto "$(tdir_i386nto)"
197433965Sjdpei386nw.c:	$(srcdir)/emulparams/i386nw.sh \
1975218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
197633965Sjdp	${GENSCRIPTS} i386nw "$(tdir_i386nw)"
197733965Sjdpei386pe.c: $(srcdir)/emulparams/i386pe.sh \
197833965Sjdp  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
197933965Sjdp	${GENSCRIPTS} i386pe "$(tdir_i386pe)"
198060521Sobrienei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
198160521Sobrien  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
198260521Sobrien	${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1983218822Sdimei386pep.c: $(srcdir)/emulparams/i386pep.sh \
1984218822Sdim  $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
1985218822Sdim	${GENSCRIPTS} i386pep "$(tdir_i386pe)"
198633965Sjdpelnk960.c: $(srcdir)/emulparams/lnk960.sh \
198733965Sjdp  $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
198833965Sjdp	${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
198977315Sobrienem68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1990218822Sdim  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1991130564Sobrien  $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
199277315Sobrien	${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
199377315Sobrienem68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1994218822Sdim  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1995130564Sobrien  $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
199677315Sobrien	${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
199777315Sobrienem68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1998218822Sdim  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
1999130564Sobrien  $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
200077315Sobrien	${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
200177315Sobrienem68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
2002218822Sdim  $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
2003130564Sobrien  $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
200477315Sobrien	${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
200533965Sjdpem68k4knbsd.c:	$(srcdir)/emulparams/m68k4knbsd.sh \
200633965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
200733965Sjdp	${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
200833965Sjdpem68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
200933965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
201033965Sjdp	${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
201133965Sjdpem68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
201233965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
201333965Sjdp	${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
201433965Sjdpem68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
201577315Sobrien  $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
201633965Sjdp	${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
201733965Sjdpem68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
2018218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
201977315Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
202033965Sjdp	${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
202189869Sobrienem68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
202289869Sobrien  $(srcdir)/emulparams/m68kelf.sh \
2023218822Sdim  $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
202489869Sobrien  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
202589869Sobrien	${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
202633965Sjdpem68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
202733965Sjdp  $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
202833965Sjdp	${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
202933965Sjdpem68knbsd.c:	$(srcdir)/emulparams/m68knbsd.sh \
203033965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
203133965Sjdp	${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
203233965Sjdpem68kpsos.c:	$(srcdir)/emulparams/m68kpsos.sh \
2033218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
203433965Sjdp	${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
203533965Sjdpem88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
203633965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
203733965Sjdp	${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
2038218822Sdimemaxqcoff.c: $(srcdir)/emulparams/maxqcoff.sh \
2039218822Sdim  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/maxqcoff.sc ${GEN_DEPENDS}
2040218822Sdim	${GENSCRIPTS} maxqcoff "$(tdir_maxqcoff)"
204160521Sobrienemcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
204260521Sobrien  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
204360521Sobrien	${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
2044218822Sdimemipsbig.c: $(srcdir)/emulparams/mipsbig.sh $(srcdir)/emultempl/generic.em \
2045218822Sdim  $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
2046218822Sdim	${GENSCRIPTS} mipsbig "$(tdir_mipsbig)"
2047218822Sdimemipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh $(srcdir)/emultempl/generic.em \
2048218822Sdim  $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
2049218822Sdim	${GENSCRIPTS} mipsbsd "$(tdir_mipsbsd)"
2050218822Sdimemipsidt.c: $(srcdir)/emulparams/mipsidt.sh $(srcdir)/emultempl/generic.em \
2051218822Sdim  $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
2052218822Sdim  ${GEN_DEPENDS}
205333965Sjdp	${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
2054218822Sdimemipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh $(srcdir)/emultempl/generic.em \
2055218822Sdim  $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc \
2056218822Sdim  ${GEN_DEPENDS}
205733965Sjdp	${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
2058218822Sdimemipslit.c: $(srcdir)/emulparams/mipslit.sh $(srcdir)/emultempl/generic.em \
2059218822Sdim  $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
206033965Sjdp	${GENSCRIPTS} mipslit "$(tdir_mipslit)"
2061218822Sdimemipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
206233965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
2063218822Sdim	${GENSCRIPTS} mipslnews "$(tdir_mipslnews)"
2064218822Sdimemipspe.c: $(srcdir)/emulparams/mipspe.sh $(srcdir)/emultempl/pe.em \
2065218822Sdim  $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
2066218822Sdim	${GENSCRIPTS} mipspe "$(tdir_mipspe)"
206733965Sjdpemn10300.c: $(srcdir)/emulparams/mn10300.sh \
206889869Sobrien  $(srcdir)/emulparams/mn10200.sh \
2069218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
207033965Sjdp	${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
207133965Sjdpemn10200.c: $(srcdir)/emulparams/mn10200.sh \
2072218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
207333965Sjdp	${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
2074130564Sobrienemsp430x110.c: $(srcdir)/emulparams/msp430all.sh \
2075218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2076130564Sobrien  ${GEN_DEPENDS}
2077130564Sobrien	${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" msp430all
2078130564Sobrienemsp430x112.c: $(srcdir)/emulparams/msp430all.sh \
2079218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2080130564Sobrien  ${GEN_DEPENDS}
2081130564Sobrien	${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" msp430all
2082130564Sobrienemsp430x1101.c: $(srcdir)/emulparams/msp430all.sh \
2083218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2084130564Sobrien  ${GEN_DEPENDS}
2085130564Sobrien	${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" msp430all
2086130564Sobrienemsp430x1111.c: $(srcdir)/emulparams/msp430all.sh \
2087218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2088130564Sobrien  ${GEN_DEPENDS}
2089130564Sobrien	${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)" msp430all
2090130564Sobrienemsp430x1121.c: $(srcdir)/emulparams/msp430all.sh \
2091218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2092130564Sobrien  ${GEN_DEPENDS}
2093130564Sobrien	${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)" msp430all
2094130564Sobrienemsp430x1122.c: $(srcdir)/emulparams/msp430all.sh \
2095218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2096130564Sobrien  ${GEN_DEPENDS}
2097130564Sobrien	${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" msp430all
2098130564Sobrienemsp430x1132.c: $(srcdir)/emulparams/msp430all.sh \
2099218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2100130564Sobrien  ${GEN_DEPENDS}
2101130564Sobrien	${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" msp430all
2102130564Sobrienemsp430x122.c: $(srcdir)/emulparams/msp430all.sh \
2103218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2104130564Sobrien  ${GEN_DEPENDS}
2105130564Sobrien	${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" msp430all
2106130564Sobrienemsp430x123.c: $(srcdir)/emulparams/msp430all.sh \
2107218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2108130564Sobrien  ${GEN_DEPENDS}
2109130564Sobrien	${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" msp430all
2110130564Sobrienemsp430x1222.c: $(srcdir)/emulparams/msp430all.sh \
2111218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2112130564Sobrien  ${GEN_DEPENDS}
2113130564Sobrien	${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" msp430all
2114130564Sobrienemsp430x1232.c: $(srcdir)/emulparams/msp430all.sh \
2115218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2116130564Sobrien  ${GEN_DEPENDS}
2117130564Sobrien	${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" msp430all
2118130564Sobrienemsp430x133.c: $(srcdir)/emulparams/msp430all.sh \
2119218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2120130564Sobrien  ${GEN_DEPENDS}
2121130564Sobrien	${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" msp430all
2122130564Sobrienemsp430x135.c: $(srcdir)/emulparams/msp430all.sh \
2123218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2124130564Sobrien  ${GEN_DEPENDS}
2125130564Sobrien	${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" msp430all
2126130564Sobrienemsp430x1331.c: $(srcdir)/emulparams/msp430all.sh \
2127218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2128130564Sobrien  ${GEN_DEPENDS}
2129130564Sobrien	${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" msp430all
2130130564Sobrienemsp430x1351.c: $(srcdir)/emulparams/msp430all.sh \
2131218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2132130564Sobrien  ${GEN_DEPENDS}
2133130564Sobrien	${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" msp430all
2134130564Sobrienemsp430x147.c: $(srcdir)/emulparams/msp430all.sh \
2135218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2136130564Sobrien  ${GEN_DEPENDS}
2137130564Sobrien	${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" msp430all
2138130564Sobrienemsp430x148.c: $(srcdir)/emulparams/msp430all.sh \
2139218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2140130564Sobrien  ${GEN_DEPENDS}
2141130564Sobrien	${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" msp430all
2142130564Sobrienemsp430x149.c: $(srcdir)/emulparams/msp430all.sh \
2143218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2144130564Sobrien  ${GEN_DEPENDS}
2145130564Sobrien	${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" msp430all
2146130564Sobrienemsp430x155.c: $(srcdir)/emulparams/msp430all.sh \
2147218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2148130564Sobrien  ${GEN_DEPENDS}
2149130564Sobrien	${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" msp430all
2150130564Sobrienemsp430x156.c: $(srcdir)/emulparams/msp430all.sh \
2151218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2152130564Sobrien  ${GEN_DEPENDS}
2153130564Sobrien	${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" msp430all
2154130564Sobrienemsp430x157.c: $(srcdir)/emulparams/msp430all.sh \
2155218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2156130564Sobrien  ${GEN_DEPENDS}
2157130564Sobrien	${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" msp430all
2158130564Sobrienemsp430x167.c: $(srcdir)/emulparams/msp430all.sh \
2159218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2160130564Sobrien  ${GEN_DEPENDS}
2161130564Sobrien	${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" msp430all
2162130564Sobrienemsp430x168.c: $(srcdir)/emulparams/msp430all.sh \
2163218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2164130564Sobrien  ${GEN_DEPENDS}
2165130564Sobrien	${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" msp430all
2166130564Sobrienemsp430x169.c: $(srcdir)/emulparams/msp430all.sh \
2167218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2168130564Sobrien  ${GEN_DEPENDS}
2169130564Sobrien	${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" msp430all
2170218822Sdimemsp430x1610.c: $(srcdir)/emulparams/msp430all.sh \
2171218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2172218822Sdim  ${GEN_DEPENDS}
2173218822Sdim	${GENSCRIPTS} msp430x1610 "$(tdir_msp430x1610)" msp430all
2174218822Sdimemsp430x1611.c: $(srcdir)/emulparams/msp430all.sh \
2175218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2176218822Sdim  ${GEN_DEPENDS}
2177218822Sdim	${GENSCRIPTS} msp430x1611 "$(tdir_msp430x1611)" msp430all
2178218822Sdimemsp430x1612.c: $(srcdir)/emulparams/msp430all.sh \
2179218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2180218822Sdim  ${GEN_DEPENDS}
2181218822Sdim	${GENSCRIPTS} msp430x1612 "$(tdir_msp430x1612)" msp430all
2182218822Sdimemsp430x2101.c: $(srcdir)/emulparams/msp430all.sh \
2183218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2184218822Sdim  ${GEN_DEPENDS}
2185218822Sdim	${GENSCRIPTS} msp430x2101 "$(tdir_msp430x2101)" msp430all
2186218822Sdimemsp430x2111.c: $(srcdir)/emulparams/msp430all.sh \
2187218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2188218822Sdim  ${GEN_DEPENDS}
2189218822Sdim	${GENSCRIPTS} msp430x2111 "$(tdir_msp430x2111)" msp430all
2190218822Sdimemsp430x2121.c: $(srcdir)/emulparams/msp430all.sh \
2191218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2192218822Sdim  ${GEN_DEPENDS}
2193218822Sdim	${GENSCRIPTS} msp430x2121 "$(tdir_msp430x2121)" msp430all
2194218822Sdimemsp430x2131.c: $(srcdir)/emulparams/msp430all.sh \
2195218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2196218822Sdim  ${GEN_DEPENDS}
2197218822Sdim	${GENSCRIPTS} msp430x2131 "$(tdir_msp430x2131)" msp430all
2198130564Sobrienemsp430x311.c: $(srcdir)/emulparams/msp430all.sh \
2199218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2200130564Sobrien  ${GEN_DEPENDS}
2201130564Sobrien	${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" msp430all
2202130564Sobrienemsp430x312.c: $(srcdir)/emulparams/msp430all.sh \
2203218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2204130564Sobrien  ${GEN_DEPENDS}
2205130564Sobrien	${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)" msp430all
2206130564Sobrienemsp430x313.c: $(srcdir)/emulparams/msp430all.sh \
2207218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2208130564Sobrien  ${GEN_DEPENDS}
2209130564Sobrien	${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)" msp430all
2210130564Sobrienemsp430x314.c: $(srcdir)/emulparams/msp430all.sh \
2211218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2212130564Sobrien  ${GEN_DEPENDS}
2213130564Sobrien	${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)" msp430all
2214130564Sobrienemsp430x315.c: $(srcdir)/emulparams/msp430all.sh \
2215218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2216130564Sobrien  ${GEN_DEPENDS}
2217130564Sobrien	${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)" msp430all
2218130564Sobrienemsp430x323.c: $(srcdir)/emulparams/msp430all.sh \
2219218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2220130564Sobrien  ${GEN_DEPENDS}
2221130564Sobrien	${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)" msp430all
2222130564Sobrienemsp430x325.c: $(srcdir)/emulparams/msp430all.sh \
2223218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2224130564Sobrien  ${GEN_DEPENDS}
2225130564Sobrien	${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)" msp430all
2226130564Sobrienemsp430x336.c: $(srcdir)/emulparams/msp430all.sh \
2227218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2228130564Sobrien  ${GEN_DEPENDS}
2229130564Sobrien	${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" msp430all
2230130564Sobrienemsp430x337.c: $(srcdir)/emulparams/msp430all.sh \
2231218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430_3.sc \
2232130564Sobrien  ${GEN_DEPENDS}
2233130564Sobrien	${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" msp430all
2234130564Sobrienemsp430x412.c: $(srcdir)/emulparams/msp430all.sh \
2235218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2236130564Sobrien  ${GEN_DEPENDS}
2237130564Sobrien	${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" msp430all
2238130564Sobrienemsp430x413.c: $(srcdir)/emulparams/msp430all.sh \
2239218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2240130564Sobrien  ${GEN_DEPENDS}
2241130564Sobrien	${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" msp430all
2242218822Sdimemsp430x415.c: $(srcdir)/emulparams/msp430all.sh \
2243218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2244218822Sdim  ${GEN_DEPENDS}
2245218822Sdim	${GENSCRIPTS} msp430x415 "$(tdir_msp430x415)" msp430all
2246218822Sdimemsp430x417.c: $(srcdir)/emulparams/msp430all.sh \
2247218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2248218822Sdim  ${GEN_DEPENDS}
2249218822Sdim	${GENSCRIPTS} msp430x417 "$(tdir_msp430x417)" msp430all
2250130564Sobrienemsp430xE423.c: $(srcdir)/emulparams/msp430all.sh \
2251218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2252130564Sobrien  ${GEN_DEPENDS}
2253130564Sobrien	${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" msp430all
2254130564Sobrienemsp430xE425.c: $(srcdir)/emulparams/msp430all.sh \
2255218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2256130564Sobrien  ${GEN_DEPENDS}
2257130564Sobrien	${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" msp430all
2258130564Sobrienemsp430xE427.c: $(srcdir)/emulparams/msp430all.sh \
2259218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2260130564Sobrien  ${GEN_DEPENDS}
2261130564Sobrien	${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" msp430all
2262130564Sobrienemsp430xW423.c: $(srcdir)/emulparams/msp430all.sh \
2263218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2264130564Sobrien  ${GEN_DEPENDS}
2265130564Sobrien	${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" msp430all
2266130564Sobrienemsp430xW425.c: $(srcdir)/emulparams/msp430all.sh \
2267218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2268130564Sobrien  ${GEN_DEPENDS}
2269130564Sobrien	${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" msp430all
2270130564Sobrienemsp430xW427.c: $(srcdir)/emulparams/msp430all.sh \
2271218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2272130564Sobrien  ${GEN_DEPENDS}
2273130564Sobrien	${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" msp430all
2274218822Sdimemsp430xG437.c: $(srcdir)/emulparams/msp430all.sh \
2275218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2276218822Sdim  ${GEN_DEPENDS}
2277218822Sdim	${GENSCRIPTS} msp430xG437 "$(tdir_msp430xG437)" msp430all
2278218822Sdimemsp430xG438.c: $(srcdir)/emulparams/msp430all.sh \
2279218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2280218822Sdim  ${GEN_DEPENDS}
2281218822Sdim	${GENSCRIPTS} msp430xG438 "$(tdir_msp430xG438)" msp430all
2282218822Sdimemsp430xG439.c: $(srcdir)/emulparams/msp430all.sh \
2283218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2284218822Sdim  ${GEN_DEPENDS}
2285218822Sdim	${GENSCRIPTS} msp430xG439 "$(tdir_msp430xG439)" msp430all
2286130564Sobrienemsp430x435.c: $(srcdir)/emulparams/msp430all.sh \
2287218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2288130564Sobrien  ${GEN_DEPENDS}
2289130564Sobrien	${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" msp430all
2290130564Sobrienemsp430x436.c: $(srcdir)/emulparams/msp430all.sh \
2291218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2292130564Sobrien  ${GEN_DEPENDS}
2293130564Sobrien	${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" msp430all
2294130564Sobrienemsp430x437.c: $(srcdir)/emulparams/msp430all.sh \
2295218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2296130564Sobrien  ${GEN_DEPENDS}
2297130564Sobrien	${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" msp430all
2298130564Sobrienemsp430x447.c: $(srcdir)/emulparams/msp430all.sh \
2299218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2300130564Sobrien  ${GEN_DEPENDS}
2301130564Sobrien	${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" msp430all
2302130564Sobrienemsp430x448.c: $(srcdir)/emulparams/msp430all.sh \
2303218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2304130564Sobrien  ${GEN_DEPENDS}
2305130564Sobrien	${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" msp430all
2306130564Sobrienemsp430x449.c: $(srcdir)/emulparams/msp430all.sh \
2307218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc \
2308130564Sobrien  ${GEN_DEPENDS}
2309130564Sobrien	${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" msp430all
231033965Sjdpenews.c: $(srcdir)/emulparams/news.sh \
231133965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
231233965Sjdp	${GENSCRIPTS} news "$(tdir_news)"
231333965Sjdpens32knbsd.c:	$(srcdir)/emulparams/ns32knbsd.sh \
2314130564Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
2315130564Sobrien  $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
231633965Sjdp	${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
231791053Sobrieneor32.c: $(srcdir)/emulparams/or32.sh \
231891053Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
231991053Sobrien	${GENSCRIPTS} or32 "$(tdir_or32)"
232091053Sobrieneor32elf.c: $(srcdir)/emulparams/or32elf.sh \
2321218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
232291053Sobrien	${GENSCRIPTS} or32elf "$(tdir_or32elf)"
232333965Sjdpepc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
232433965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
232533965Sjdp	${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
232689869Sobrienepdp11.c: $(srcdir)/emulparams/pdp11.sh \
232789869Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
232889869Sobrien	${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
232960521Sobrienepjelf.c: $(srcdir)/emulparams/pjelf.sh \
2330218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
233160521Sobrien	${GENSCRIPTS} pjelf "$(tdir_pjelf)"
2332218822Sdimepjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
2333218822Sdim  $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
233460521Sobrien	${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
233533965Sjdpeppcmacos.c:	$(srcdir)/emulparams/ppcmacos.sh \
233633965Sjdp  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
233733965Sjdp	${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
233833965Sjdpeppcnw.c:	$(srcdir)/emulparams/ppcnw.sh \
2339218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
234033965Sjdp	${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
234133965Sjdpeppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
234233965Sjdp  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
234333965Sjdp	${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
2344218822Sdimeppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
2345218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2346218822Sdim	${GENSCRIPTS} ppclynx "$(tdir_ppclynx)"
234733965Sjdperiscix.c: $(srcdir)/emulparams/riscix.sh \
234833965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
234933965Sjdp	${GENSCRIPTS} riscix "$(tdir_riscix)"
2350218822Sdimescoreelf.c: $(srcdir)/emulparams/scoreelf.sh \
2351218822Sdim  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/scoreelf.em \
2352218822Sdim  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2353218822Sdim	${GENSCRIPTS} scoreelf "$(tdir_scoreelf)"
235433965Sjdpesh.c: $(srcdir)/emulparams/sh.sh \
235533965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
235633965Sjdp	${GENSCRIPTS} sh "$(tdir_sh)"
235733965Sjdpeshelf.c: $(srcdir)/emulparams/shelf.sh \
2358218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
235933965Sjdp	${GENSCRIPTS} shelf "$(tdir_shelf)"
236091053Sobrieneshelf32.c: $(srcdir)/emulparams/shelf32.sh \
236191053Sobrien  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
236291053Sobrien  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2363218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
236491053Sobrien	${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
2365130564Sobrieneshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
2366130564Sobrien  $(srcdir)/emulparams/shelf32.sh \
2367130564Sobrien  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2368130564Sobrien  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2369218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2370130564Sobrien	${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
2371104843Sobrieneshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
2372104843Sobrien  $(srcdir)/emulparams/shelf32.sh \
2373104843Sobrien  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2374104843Sobrien  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2375218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2376104843Sobrien	${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
237791053Sobrieneshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2378218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
237991053Sobrien	${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
2380104843Sobrieneshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
2381104843Sobrien  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2382218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2383104843Sobrien	${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
238477315Sobrieneshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
238589869Sobrien  $(srcdir)/emulparams/shlelf_linux.sh \
2386218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
238777315Sobrien	${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
238877315Sobrieneshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
2389218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
239077315Sobrien	${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
239189869Sobrieneshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
239289869Sobrien  $(srcdir)/emulparams/shelf.sh \
2393218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
239489869Sobrien	${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
2395130564Sobrieneshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
2396218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2397130564Sobrien	${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
2398218822Sdimeshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
2399218822Sdim  $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
2400218822Sdim  $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
2401218822Sdim	${GENSCRIPTS} shelf_vxworks "$(tdir_shelf_vxworks)"
240289869Sobrieneshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
240389869Sobrien  $(srcdir)/emulparams/shelf_nbsd.sh \
240489869Sobrien  $(srcdir)/emulparams/shelf.sh \
2405218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
240689869Sobrien	${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
2407130564Sobrieneshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
2408218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2409218822Sdim	${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
2410218822Sdimeshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
2411218822Sdim  $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
2412218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
2413218822Sdim  ${GEN_DEPENDS}
2414218822Sdim	${GENSCRIPTS} shlelf_vxworks "$(tdir_shlelf_vxworks)"
2415218822Sdimeshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
2416130564Sobrien  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2417218822Sdim	${GENSCRIPTS} shelf_uclinux "$(tdir_shelf_uclinux)"
241833965Sjdpeshlelf.c: $(srcdir)/emulparams/shlelf.sh \
241989869Sobrien  $(srcdir)/emulparams/shelf.sh \
2420218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
242133965Sjdp	${GENSCRIPTS} shlelf "$(tdir_shlelf)"
2422218822Sdimeshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
2423218822Sdim  $(srcdir)/emulparams/shelf.sh \
2424218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
2425218822Sdim	${GENSCRIPTS} shlsymbian "$(tdir_shlelf)"
242691053Sobrieneshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
242791053Sobrien  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
242891053Sobrien  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2429218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
243091053Sobrien	${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
2431130564Sobrieneshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
2432130564Sobrien  $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
2433130564Sobrien  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2434130564Sobrien  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2435218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2436130564Sobrien	${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
2437104843Sobrieneshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
2438104843Sobrien  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2439104843Sobrien  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
2440104843Sobrien  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2441218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2442104843Sobrien	${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
244391053Sobrieneshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
244491053Sobrien  $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
2445218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
244691053Sobrien	${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
2447104843Sobrieneshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
2448104843Sobrien  $(srcdir)/emulparams/shelf64_nbsd.sh \
2449104843Sobrien  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
2450218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
2451104843Sobrien	${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
245233965Sjdpeshl.c: $(srcdir)/emulparams/shl.sh \
245389869Sobrien  $(srcdir)/emulparams/sh.sh \
245433965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
245533965Sjdp	${GENSCRIPTS} shl "$(tdir_shl)"
245660521Sobrieneshpe.c: $(srcdir)/emulparams/shpe.sh \
245760521Sobrien  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
245860521Sobrien	${GENSCRIPTS} shpe "$(tdir_shl)"
245933965Sjdpesparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
246033965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
246133965Sjdp	${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
246233965Sjdpesparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
246333965Sjdp  $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
246433965Sjdp	${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
246533965Sjdpesparcnbsd.c:	$(srcdir)/emulparams/sparcnbsd.sh \
246633965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
246733965Sjdp	${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
246833965Sjdpest2000.c: $(srcdir)/emulparams/st2000.sh \
246933965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
247033965Sjdp	${GENSCRIPTS} st2000 "$(tdir_st2000)"
247133965Sjdpesun3.c: $(srcdir)/emulparams/sun3.sh \
247233965Sjdp  $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
247333965Sjdp	${GENSCRIPTS} sun3 "$(tdir_sun3)"
247433965Sjdpesun4.c: $(srcdir)/emulparams/sun4.sh \
247533965Sjdp  $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
247633965Sjdp	${GENSCRIPTS} sun4 "$(tdir_sun4)"
247738891Sjdpetic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
247838891Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
247938891Sjdp	${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
248038891Sjdpetic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
248138891Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
248238891Sjdp	${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
2483130564Sobrienetic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
2484130564Sobrien  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2485130564Sobrien	${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
2486130564Sobrienetic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
2487130564Sobrien  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2488130564Sobrien	${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
2489130564Sobrienetic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
2490130564Sobrien  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
2491130564Sobrien	${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
249277315Sobrienetic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
249377315Sobrien  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
249477315Sobrien	${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
249560521Sobrienetic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
249660521Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
249760521Sobrien	${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
249833965Sjdpevanilla.c: $(srcdir)/emulparams/vanilla.sh \
249933965Sjdp  $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
250033965Sjdp	${GENSCRIPTS} vanilla "$(tdir_vanilla)"
250133965Sjdpevax.c: $(srcdir)/emulparams/vax.sh \
250233965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
250333965Sjdp	${GENSCRIPTS} vax "$(tdir_vax)"
2504104843Sobrienevaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
2505104843Sobrien  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
2506104843Sobrien	${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
250733965Sjdpevsta.c: $(srcdir)/emulparams/vsta.sh \
250833965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
250933965Sjdp	${GENSCRIPTS} vsta "$(tdir_vsta)"
251038891Sjdpev850.c: $(srcdir)/emulparams/v850.sh \
2511218822Sdim  $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
251238891Sjdp	${GENSCRIPTS} v850 "$(tdir_v850)"
251333965Sjdpew65.c: $(srcdir)/emulparams/w65.sh \
251433965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
251533965Sjdp	${GENSCRIPTS} w65 "$(tdir_w65)"
2516218822Sdimez80.c: $(srcdir)/emulparams/z80.sh \
2517218822Sdim  $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
2518218822Sdim  $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
2519218822Sdim	${GENSCRIPTS} z80 "$(tdir_z80)"
252033965Sjdpez8001.c: $(srcdir)/emulparams/z8001.sh \
252133965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
252233965Sjdp	${GENSCRIPTS} z8001 "$(tdir_z8001)"
252333965Sjdpez8002.c: $(srcdir)/emulparams/z8002.sh \
252433965Sjdp  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
252533965Sjdp	${GENSCRIPTS} z8002 "$(tdir_z8002)"
252633965Sjdp
252733965Sjdp# The generated emulation files mostly have the same dependencies.
252833965Sjdp$(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
252933965Sjdp  ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
253033965Sjdp  ldctor.h ldexp.h ldlang.h ldgram.h
253133965Sjdp
253238891Sjdpcheck-DEJAGNU: site.exp
253338891Sjdp	srcroot=`cd $(srcdir) && pwd`; export srcroot; \
253433965Sjdp	r=`pwd`; export r; \
253560521Sobrien	LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
253638891Sjdp	EXPECT=$(EXPECT); export EXPECT; \
253738891Sjdp	runtest=$(RUNTEST); \
253838891Sjdp	if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
253938891Sjdp	  $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
254038891Sjdp		CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
254138891Sjdp		CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
254238891Sjdp		CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
254338891Sjdp		OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
2544218822Sdim		LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
254538891Sjdp		$(RUNTESTFLAGS); \
254638891Sjdp	else echo "WARNING: could not find \`runtest'" 1>&2; :;\
254738891Sjdp	fi
254833965Sjdp
254933965Sjdp# Rules for testing by relinking ld itself.
255033965Sjdp# A similar test is in the testsuite.  This target is for ease of use
255133965Sjdp# when porting ld.
255233965Sjdp
255338891Sjdpld-partial.o: ld-new$(EXEEXT)
255438891Sjdp	./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
255538891Sjdpld1$(EXEEXT): ld-partial.o
255660521Sobrien	./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
255733965Sjdp
255838891Sjdpld1-full$(EXEEXT): ld-new
255960521Sobrien	./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
256033965Sjdp
256138891Sjdpld2$(EXEEXT): ld1$(EXEEXT)
256260521Sobrien	./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
256333965Sjdp
256438891Sjdpld3$(EXEEXT): ld2$(EXEEXT)
256560521Sobrien	./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
256633965Sjdp
256738891Sjdpbootstrap: ld3$(EXEEXT)
256838891Sjdp	cmp ld2$(EXEEXT) ld3$(EXEEXT)
256933965Sjdp
257033965Sjdp.PHONY: bootstrap
257133965Sjdp
257233965Sjdp# A test program for C++ constructors and destructors.
257333965Sjdp# This test is now in the testsuite.
257433965Sjdp#
257533965Sjdp#cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
257633965Sjdp#	./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
257733965Sjdp#	  cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
257833965Sjdp#
257933965Sjdp#cdtest.out: cdtest
258033965Sjdp#	./cdtest > cdtest.tmp
258133965Sjdp#	mv cdtest.tmp cdtest.out
258233965Sjdp#
258333965Sjdp#cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
258433965Sjdp#	./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
258533965Sjdp#	  cdtest-bar.o cdtest-foo.o
258633965Sjdp#
258733965Sjdp#cdtest-ur: cdtest-ur.o
258833965Sjdp#	./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
258933965Sjdp#	  $(HOSTING_LIBS)
259033965Sjdp#
259133965Sjdp#cdtest-ur.out: cdtest-ur
259233965Sjdp#	./cdtest-ur > cdtest-ur.tmp
259333965Sjdp#	mv cdtest-ur.tmp cdtest-ur.out
259433965Sjdp#
259533965Sjdp#check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
259633965Sjdp#	diff $(srcdir)/cdtest.exp cdtest.out
259733965Sjdp#	diff $(srcdir)/cdtest.exp cdtest-ur.out
259833965Sjdp#
259933965Sjdp#.PHONY: check-cdtest
260033965Sjdp
260133965Sjdp# END OF CHECK TARGETS
260233965Sjdp
260333965Sjdp# DOCUMENTATION TARGETS
260433965Sjdp# Manual configuration file; not usually attached to normal configuration,
260533965Sjdp# because almost all configs use "gen" version of manual.
260633965Sjdp#  Set DOCVER above to change.
260733965Sjdpconfigdoc.texi:	${DOCVER}-doc.texi
2608218822Sdim	cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2609218822Sdim	chmod u+w ./configdoc.texi
261033965Sjdp
261189869Sobrien# Build the man page from the texinfo file
261289869Sobrien# The sed command removes the no-adjust Nroff command so that
261389869Sobrien# the man output looks standard.
2614218822Sdimld.1: $(srcdir)/ld.texinfo configdoc.texi
261589869Sobrien	touch $@
261689869Sobrien	-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
261789869Sobrien	-($(POD2MAN) ld.pod | \
261889869Sobrien	        sed -e '/^.if n .na/d' > $@.T$$$$ && \
261989869Sobrien	        mv -f $@.T$$$$ $@) || \
262089869Sobrien	        (rm -f $@.T$$$$ && exit 1)
262189869Sobrien	rm -f ld.pod
262238891Sjdpmostlyclean-local:
262338891Sjdp	-rm -rf tmpdir
262433965Sjdp
2625218822Sdim.PHONY: install-html install-html-am install-html-recursive
2626218822Sdim
2627218822Sdiminstall-html: install-html-recursive  install-html-am
2628218822Sdim
2629218822Sdiminstall-html-am: $(HTMLS)
2630218822Sdim	@$(NORMAL_INSTALL)
2631218822Sdim	test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
2632218822Sdim	@list='$(HTMLS)'; for p in $$list; do \
2633218822Sdim	  if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
2634218822Sdim	  f=$(html__strip_dir) \
2635218822Sdim	  if test -d "$$d$$p"; then \
2636218822Sdim	    echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
2637218822Sdim	    $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
2638218822Sdim	    echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
2639218822Sdim	    $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
2640218822Sdim	  else \
2641218822Sdim	    echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
2642218822Sdim	    $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
2643218822Sdim	  fi; \
2644218822Sdim	done
2645218822Sdim
2646218822Sdiminstall-html-recursive:
2647218822Sdim	@failcom='exit 1'; \
2648218822Sdim	for f in x $$MAKEFLAGS; do \
2649218822Sdim	  case $$f in \
2650218822Sdim	    *=* | --[!k]*);; \
2651218822Sdim	    *k*) failcom='fail=yes';; \
2652218822Sdim	  esac; \
2653218822Sdim	done; \
2654218822Sdim	dot_seen=no; \
2655218822Sdim	target=`echo $@ | sed s/-recursive//`; \
2656218822Sdim	list='$(SUBDIRS)'; for subdir in $$list; do \
2657218822Sdim	  echo "Making $$target in $$subdir"; \
2658218822Sdim	  if test "$$subdir" = "."; then \
2659218822Sdim	    dot_seen=yes; \
2660218822Sdim	    local_target="$$target-am"; \
2661218822Sdim	  else \
2662218822Sdim	    local_target="$$target"; \
2663218822Sdim	  fi; \
2664218822Sdim	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
2665218822Sdim	  || eval $$failcom; \
2666218822Sdim	done; \
2667218822Sdim	if test "$$dot_seen" = "no"; then \
2668218822Sdim	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
2669218822Sdim	fi; test -z "$$fail"
2670218822Sdim
267138891Sjdp.PHONY: install-exec-local install-data-local
267233965Sjdp
267338891Sjdpinstall-exec-local: ld-new$(EXEEXT)
2674104843Sobrien	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
267538891Sjdp	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
267638891Sjdp	  if test -f $$p; then \
267760521Sobrien	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
2678104843Sobrien	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
267938891Sjdp	  else :; fi; \
268038891Sjdp	done
268138891Sjdp	n=`echo ld | sed '$(transform)'`; \
268238891Sjdp	if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
2683104843Sobrien	  rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
2684104843Sobrien	  ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
2685104843Sobrien	  || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
268638891Sjdp	fi
268733965Sjdp
268838891Sjdpinstall-data-local:
2689104843Sobrien	$(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
269033965Sjdp	for f in ldscripts/*; do \
2691104843Sobrien	  $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
269233965Sjdp	done
269391053Sobrien
269491053Sobrien# We want install to imply install-info as per GNU standards, despite the
269591053Sobrien# cygnus option.
2696218822Sdiminstall-data-local: install-info
269789869Sobriendiststuff: info $(EXTRA_DIST)
2698218822Sdimall: info ld.1
2699218822Sdim
2700218822Sdim# Both info (ld.info) and ld.1 depend on configdoc.texi.
2701218822Sdim# But info isn't a direct target. Make info-recursive to depend on
2702218822Sdim# ld.1 to support parallel build.
2703218822Sdiminfo-recursive: ld.1
270438891Sjdpdistclean-local:
270538891Sjdp	rm -rf ldscripts
270633965Sjdp
270733965Sjdp# Targets to rebuild dependencies in this Makefile.
270860521Sobrien# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
270960521SobrienDEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
271060521Sobrien	rm -f DEP1
271160521Sobrien	$(MAKE) MKDEP="$(MKDEP)" DEP1
271277315Sobrien	sed -f dep.sed < DEP1 > DEPA
271377315Sobrien	echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
271477315Sobrien	if grep ' /' DEPA > /dev/null 2> /dev/null; then \
271577315Sobrien	  echo 'make DEP failed!'; exit 1; \
271677315Sobrien	else \
271777315Sobrien	  mv -f DEPA $@; \
271877315Sobrien	fi
271933965Sjdp
272060521SobrienDEP1: $(CFILES) $(GENERATED_CFILES)
272160521Sobrien	echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
272260521Sobrien	echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
272360521Sobrien	$(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
272460521Sobrien	mv -f DEP2 $@
272533965Sjdp
272633965Sjdpdep.sed: dep-in.sed config.status
272733965Sjdp	sed <$(srcdir)/dep-in.sed >dep.sed	\
272833965Sjdp		-e 's!@INCDIR@!$(INCDIR)!'	\
272994547Sobrien		-e 's!@BFDDIR@!$(BFDDIR)!'	\
273094547Sobrien		-e 's!@SRCDIR@!$(srcdir)!'	\
273194547Sobrien		-e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
273233965Sjdp
273360521Sobriendep: DEP
273433965Sjdp	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
273560521Sobrien	cat DEP >> tmp-Makefile
273633965Sjdp	$(srcdir)/../move-if-change tmp-Makefile Makefile
273733965Sjdp
273860521Sobriendep-in: DEP
273933965Sjdp	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
274060521Sobrien	cat DEP >> tmp-Makefile.in
274133965Sjdp	$(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
274233965Sjdp
274360521Sobriendep-am: DEP
274438891Sjdp	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
274560521Sobrien	cat DEP >> tmp-Makefile.am
274638891Sjdp	$(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
274733965Sjdp
274838891Sjdp.PHONY: dep dep-in dep-am
274933965Sjdp
275033965Sjdp# What appears below is generated by a hacked mkdep using gcc -MM.
275133965Sjdp
275233965Sjdp# DO NOT DELETE THIS LINE -- mkdep uses it.
275333965Sjdp# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
2754218822Sdimldctor.o: ldctor.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2755218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2756218822Sdim  $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h ldexp.h \
2757218822Sdim  ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
2758218822Sdimldemul.o: ldemul.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2759218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2760218822Sdim  $(INCDIR)/bfdlink.h ld.h ldmisc.h ldexp.h ldlang.h \
276189869Sobrien  ldfile.h ldemul.h ldmain.h ldemul-list.h
2762218822Sdimldexp.o: ldexp.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2763218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2764218822Sdim  $(INCDIR)/bfdlink.h ld.h ldmain.h ldmisc.h ldexp.h \
2765218822Sdim  ldlex.h ldgram.h ldlang.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2766104843Sobrien  $(INCDIR)/safe-ctype.h
2767218822Sdimldfile.o: ldfile.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2768218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2769218822Sdim  $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h ldmisc.h \
2770218822Sdim  ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h ldlex.h \
2771218822Sdim  ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2772218822Sdim  $(INCDIR)/filenames.h
2773218822Sdimldlang.o: ldlang.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2774218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2775218822Sdim  $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
2776218822Sdim  $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
2777104843Sobrien  ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
2778130564Sobrien  ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h \
2779218822Sdim  $(INCDIR)/libiberty.h $(INCDIR)/hashtab.h
2780218822Sdimldmain.o: ldmain.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2781218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2782218822Sdim  $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2783218822Sdim  $(INCDIR)/progress.h $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \
2784218822Sdim  ld.h ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
278589869Sobrien  ldlex.h ldfile.h ldemul.h ldctor.h
2786218822Sdimldmisc.o: ldmisc.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2787218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2788218822Sdim  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2789218822Sdim  $(INCDIR)/demangle.h $(INCDIR)/libiberty.h ld.h ldmisc.h \
2790218822Sdim  ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h ldfile.h \
2791218822Sdim  $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
2792218822Sdim  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
2793218822Sdimldver.o: ldver.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2794218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2795218822Sdim  ../bfd/bfdver.h ld.h ldver.h ldexp.h ldlang.h ldfile.h \
2796218822Sdim  ldemul.h ldmain.h
2797218822Sdimldwrite.o: ldwrite.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2798218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2799218822Sdim  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2800218822Sdim  $(INCDIR)/safe-ctype.h ld.h ldexp.h ldlang.h ldwrite.h \
2801130564Sobrien  ldmisc.h ldgram.h ldmain.h
2802218822Sdimlexsup.o: lexsup.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2803218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2804218822Sdim  ../bfd/bfdver.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2805218822Sdim  $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
2806218822Sdim  ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
2807218822Sdim  ldver.h ldemul.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
2808218822Sdimmri.o: mri.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2809218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2810218822Sdim  ld.h ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h \
2811218822Sdim  $(INCDIR)/ansidecl.h
2812218822Sdimldcref.o: ldcref.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2813218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2814218822Sdim  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2815218822Sdim  $(INCDIR)/demangle.h $(INCDIR)/libiberty.h $(INCDIR)/objalloc.h \
2816218822Sdim  ld.h ldmain.h ldmisc.h ldexp.h ldlang.h
2817218822Sdimpe-dll.o: pe-dll.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2818218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2819218822Sdim  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2820218822Sdim  $(INCDIR)/safe-ctype.h ld.h ldexp.h ldlang.h ldwrite.h \
282189869Sobrien  ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
2822218822Sdim  $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h deffile.h pe-dll.h
2823218822Sdimpep-dll.o: pep-dll.c pe-dll.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2824218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2825218822Sdim  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
2826218822Sdim  $(INCDIR)/safe-ctype.h ld.h ldexp.h ldlang.h ldwrite.h \
2827218822Sdim  ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
2828218822Sdim  $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h deffile.h pe-dll.h \
2829218822Sdim  pep-dll.h
2830218822Sdimldgram.o: ldgram.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2831218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2832218822Sdim  $(INCDIR)/bfdlink.h ld.h ldexp.h ldver.h ldlang.h ldfile.h \
2833218822Sdim  ldemul.h ldmisc.h ldmain.h mri.h ldctor.h ldlex.h
2834218822Sdimldlex.o: ldlex.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2835218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2836218822Sdim  $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h ldmisc.h \
2837218822Sdim  ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h ldmain.h \
2838218822Sdim  $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h
2839218822Sdimdeffilep.o: deffilep.c sysdep.h config.h $(INCDIR)/fopen-same.h \
2840218822Sdim  $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h \
2841218822Sdim  ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
2842218822Sdim  ld.h ldmisc.h deffile.h
284333965Sjdp# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
284438891Sjdp# Tell versions [3.59,3.63) of GNU make to not export all variables.
284538891Sjdp# Otherwise a system limit (for SysV at least) may be exceeded.
284638891Sjdp.NOEXPORT:
2847