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