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