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