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