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