]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/Makefile.in
2002-06-25 H.J. Lu <hjl@gnu.org>
[thirdparty/binutils-gdb.git] / ld / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
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
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AS = @AS@
67 CATALOGS = @CATALOGS@
68 CATOBJEXT = @CATOBJEXT@
69 CC = @CC@
70 CC_FOR_BUILD = @CC_FOR_BUILD@
71 CXXCPP = @CXXCPP@
72 DATADIRNAME = @DATADIRNAME@
73 DLLTOOL = @DLLTOOL@
74 EMULATION_LIBPATH = @EMULATION_LIBPATH@
75 EXEEXT = @EXEEXT@
76 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
77 GCJ = @GCJ@
78 GCJFLAGS = @GCJFLAGS@
79 GMOFILES = @GMOFILES@
80 GMSGFMT = @GMSGFMT@
81 GT_NO = @GT_NO@
82 GT_YES = @GT_YES@
83 HDEFINES = @HDEFINES@
84 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
85 INSTOBJEXT = @INSTOBJEXT@
86 INTLDEPS = @INTLDEPS@
87 INTLOBJS = @INTLOBJS@
88 LIBTOOL = @LIBTOOL@
89 LN_S = @LN_S@
90 MAINT = @MAINT@
91 MAKEINFO = @MAKEINFO@
92 MKINSTALLDIRS = @MKINSTALLDIRS@
93 MSGFMT = @MSGFMT@
94 NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@
95 OBJDUMP = @OBJDUMP@
96 OBJEXT = @OBJEXT@
97 PACKAGE = @PACKAGE@
98 POFILES = @POFILES@
99 POSUB = @POSUB@
100 RANLIB = @RANLIB@
101 STRINGIFY = @STRINGIFY@
102 STRIP = @STRIP@
103 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
104 USE_NLS = @USE_NLS@
105 VERSION = @VERSION@
106 bfdincludedir = @bfdincludedir@
107 bfdlibdir = @bfdlibdir@
108 l = @l@
109
110 INTLLIBS = @INTLLIBS@
111
112 AUTOMAKE_OPTIONS = cygnus dejagnu
113
114 SUBDIRS = po
115
116 tooldir = $(exec_prefix)/$(target_alias)
117
118 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
119 YFLAGS = -d
120 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
121
122 WARN_CFLAGS = @WARN_CFLAGS@
123 AM_CFLAGS = $(WARN_CFLAGS)
124
125 # We put the scripts in the directory $(scriptdir)/ldscripts.
126 # We can't put the scripts in $(datadir) because the SEARCH_DIR
127 # directives need to be different for native and cross linkers.
128 scriptdir = $(tooldir)/lib
129
130 EMUL = @EMUL@
131 EMULATION_OFILES = @EMULATION_OFILES@
132 EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
133
134 # Search path to override the default search path for -lfoo libraries.
135 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
136 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
137 # a cross-linker, in which case the default is empty. See genscripts.sh.)
138 # Otherwise, they are replaced with the ones given in LIB_PATH,
139 # which may have the form: LIB_PATH=/lib:/usr/local/lib
140 LIB_PATH =
141
142 BASEDIR = $(srcdir)/..
143 BFDDIR = $(BASEDIR)/bfd
144 INCDIR = $(BASEDIR)/include
145 MKDEP = gcc -MM
146
147 # What version of the manual to build
148 DOCVER = gen
149
150 # Options to extract the man page from ld.texinfo
151 MANCONF = -Dman
152
153 TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
154
155 POD2MAN = pod2man --center="GNU Development Tools" --release="binutils-$(VERSION)" --section=1
156
157
158 #stuff for self hosting (can be overridden in config file).
159 HOSTING_CRT0 = @HOSTING_CRT0@
160 HOSTING_LIBS = @HOSTING_LIBS@
161 HOSTING_EMU = -m $(EMUL)
162
163 # Setup the testing framework, if you have one
164 EXPECT = `if [ -f $$r/../expect/expect ] ; then echo $$r/../expect/expect ; else echo expect ; fi`
165
166
167 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; then echo $${srcroot}/../dejagnu/runtest ; else echo runtest ; fi`
168
169
170 RUNTESTFLAGS =
171
172 CC_FOR_TARGET = ` if [ -f $$r/../gcc/xgcc ] ; then if [ -f $$r/../newlib/Makefile ] ; then echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; else echo $$r/../gcc/xgcc -B$$r/../gcc/; fi; else if [ "@host@" = "@target@" ] ; then echo $(CC); else echo gcc | sed '$(transform)'; fi; fi`
173
174
175 CXX = gcc
176 CXX_FOR_TARGET = ` if [ -f $$r/../gcc/xgcc ] ; then if [ -f $$r/../newlib/Makefile ] ; then echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; else echo $$r/../gcc/xgcc -B$$r/../gcc/; fi; else if [ "@host@" = "@target@" ] ; then echo $(CXX); else echo gcc | sed '$(transform)'; fi; fi`
177
178
179 noinst_PROGRAMS = ld-new
180 info_TEXINFOS = ld.texinfo
181 noinst_TEXINFOS = ldint.texinfo
182 man_MANS = ld.1
183
184 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\""
185
186 BFDLIB = ../bfd/libbfd.la
187 LIBIBERTY = ../libiberty/libiberty.a
188
189 ALL_EMULATIONS = ea29k.o eaixppc.o eaixrs6.o ealpha.o earcelf.o earm_epoc_pe.o earmaoutb.o earmaoutl.o earmcoff.o earmelf.o earmelf_fbsd.o earmelf_linux.o earmelf_nbsd.o earmelfb_nbsd.o earmelf_oabi.o earmnbsd.o earmpe.o eavr1200.o eavr23xx.o eavr4433.o eavr44x4.o eavr85xx.o eavrmega103.o eavrmega161.o eavrmega603.o eavr1.o eavr2.o eavr3.o eavr4.o eavr5.o ecoff_sparc.o ecrisaout.o ecriself.o ecrislinux.o ed10velf.o ed30v_e.o ed30v_o.o ed30velf.o edelta68.o eelf32_dlx.o eebmon29k.o eelf32_i960.o eelf32_i860.o eelf32_sparc.o eelf32b4300.o eelf32bmip.o eelf32bmipn32.o eelf32btsmip.o eelf32ltsmip.o eelf32ebmip.o eelf32elmip.o eelf32fr30.o eelf32frv.o eelf32i370.o eelf32l4300.o eelf32lmip.o eelf32lppc.o eelf32lppcsim.o eelf32mcore.o eelf32openrisc.o eelf32ppc.o eelf32ppc_fbsd.o eelf32ppclinux.o eelf32ppcsim.o eelf32ppcwindiss.o eelf32vax.o eelf32xstormy16.o eelf_i386.o eelf_i386_be.o eelf_i386_chaos.o eelf_i386_fbsd.o eelf_i386_ldso.o eelf_s390.o egld960.o egld960coff.o eh8300.o eh8300h.o eh8300s.o eh8300elf.o eh8300helf.o eh8300self.o eh8500.o eh8500b.o eh8500c.o eh8500m.o eh8500s.o ehp300bsd.o ehp3hpux.o ehppaelf.o ehppalinux.o ehppanbsd.o ei386aout.o ei386beos.o ei386bsd.o ei386coff.o ei386go32.o ei386linux.o ei386lynx.o ei386mach.o ei386moss.o ei386msdos.o ei386nbsd.o ei386nto.o ei386nw.o ei386pe.o ei386pe_posix.o elnk960.o em68hc11elf.o em68hc11elfb.o em68hc12elf.o em68hc12elfb.o em68k4knbsd.o em68kaout.o em68kaux.o em68kcoff.o em68kelf.o em68kelfnbsd.o em68klinux.o em68klynx.o em68knbsd.o em68kpsos.o em88kbcs.o emcorepe.o emipsbig.o emipsbsd.o emipsidt.o emipsidtl.o emipslit.o emipslnews.o emipspe.o enews.o ens32knbsd.o eor32.o eor32elf.o epc532macha.o epdp11.o epjelf.o epjlelf.o eppcmacos.o eppcnw.o eppcpe.o eriscix.o esa29200.o esh.o eshelf32.o eshlelf32.o eshelf32_nbsd.o eshlelf32_nbsd.o eshelf.o eshelf_linux.o eshlelf_linux.o eshelf_nbsd.o eshlelf_nbsd.o eshl.o eshlelf.o eshpe.o esparcaout.o esparclinux.o esparclynx.o esparcnbsd.o est2000.o esun3.o esun4.o etic30aout.o etic30coff.o etic54xcoff.o etic80coff.o evanilla.o evax.o evaxnbsd.o evsta.o ew65.o ez8001.o ez8002.o
190
191
192 ALL_64_EMULATIONS = eelf64_aix.o eelf64_ia64.o eelf64_ia64_fbsd.o eshelf64.o eshlelf64.o eshelf64_nbsd.o eshlelf64_nbsd.o eelf_x86_64.o eelf_x86_64_fbsd.o eelf64_s390.o eelf64_sparc.o eelf64_sparc_fbsd.o eelf64alpha.o eelf64alpha_fbsd.o eelf64alpha_nbsd.o eelf64bmip.o eelf64btsmip.o eelf64ltsmip.o eelf64hppa.o eelf64mmix.o emmo.o eelf64ppc.o eelf64lppc.o ehppa64linux.o
193
194
195 ALL_EMUL_EXTRA_OFILES = deffilep.o pe-dll.o
196
197
198 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c mri.c ldcref.c pe-dll.c
199
200
201 HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h ldwrite.h mri.h deffile.h pe-dll.h
202
203
204 GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
205 GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
206
207 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES}
208
209
210 STAGESTUFF = *.o ldscripts/* e*.c
211
212 # At the moment this is just a list of those emulation template files
213 # that contain internationalised strings.
214 EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
215
216 POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
217
218 # These all start with e so 'make clean' can find them.
219
220 GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
221 GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
222
223 # We need this for automake to use YLWRAP.
224 EXTRA_ld_new_SOURCES = deffilep.y
225
226 ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
227
228 ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
229 ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
230
231 # This is the real libbfd.a created by libtool.
232 TESTBFDLIB = @TESTBFDLIB@
233
234 MAINTAINERCLEANFILES = ldver.texi
235
236 # We want to reconfigure if configure.host or configure.tgt changes.
237 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
238
239 MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
240
241 CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
242
243 # Stuff that should be included in a distribution. The diststuff
244 # target is run by the taz target in ../Makefile.in.
245 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
246
247 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
248 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
249 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
250 CONFIG_HEADER = config.h
251 CONFIG_CLEAN_FILES =
252 noinst_PROGRAMS = ld-new$(EXEEXT)
253 PROGRAMS = $(noinst_PROGRAMS)
254
255
256 DEFS = @DEFS@ -I. -I$(srcdir) -I.
257 CPPFLAGS = @CPPFLAGS@
258 LDFLAGS = @LDFLAGS@
259 LIBS = @LIBS@
260 ld_new_OBJECTS = ldgram.$(OBJEXT) ldlex.$(OBJEXT) lexsup.$(OBJEXT) \
261 ldlang.$(OBJEXT) mri.$(OBJEXT) ldctor.$(OBJEXT) ldmain.$(OBJEXT) \
262 ldwrite.$(OBJEXT) ldexp.$(OBJEXT) ldemul.$(OBJEXT) ldver.$(OBJEXT) \
263 ldmisc.$(OBJEXT) ldfile.$(OBJEXT) ldcref.$(OBJEXT)
264 ld_new_LDFLAGS =
265 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
266 LEXLIB = @LEXLIB@
267 YLWRAP = $(top_srcdir)/../ylwrap
268 CFLAGS = @CFLAGS@
269 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
270 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
271 CCLD = $(CC)
272 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
273 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
274 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
275 INFO_DEPS = ld.info
276 DVIS = ld.dvi
277 TEXINFOS = ld.texinfo
278 man1dir = $(mandir)/man1
279 MANS = $(man_MANS)
280
281 NROFF = nroff
282 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
283 NEWS TODO acinclude.m4 aclocal.m4 config.in configure configure.in \
284 deffilep.c ldgram.c ldlex.c
285
286
287 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
288
289 TAR = tar
290 GZIP_ENV = --best
291 SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
292 OBJECTS = $(ld_new_OBJECTS)
293
294 all: all-redirect
295 .SUFFIXES:
296 .SUFFIXES: .S .c .dvi .info .l .lo .o .obj .ps .s .texi .texinfo .txi .y
297 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
298 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
299
300 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
301 cd $(top_builddir) \
302 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
303
304 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
305 cd $(srcdir) && $(ACLOCAL)
306
307 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
308 $(SHELL) ./config.status --recheck
309 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
310 cd $(srcdir) && $(AUTOCONF)
311
312 config.h: stamp-h
313 @if test ! -f $@; then \
314 rm -f stamp-h; \
315 $(MAKE) stamp-h; \
316 else :; fi
317 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
318 cd $(top_builddir) \
319 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
320 $(SHELL) ./config.status
321 @echo timestamp > stamp-h 2> /dev/null
322 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
323 @if test ! -f $@; then \
324 rm -f $(srcdir)/stamp-h.in; \
325 $(MAKE) $(srcdir)/stamp-h.in; \
326 else :; fi
327 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
328 cd $(top_srcdir) && $(AUTOHEADER)
329 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
330
331 mostlyclean-hdr:
332
333 clean-hdr:
334
335 distclean-hdr:
336 -rm -f config.h
337
338 maintainer-clean-hdr:
339
340 mostlyclean-noinstPROGRAMS:
341
342 clean-noinstPROGRAMS:
343 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
344
345 distclean-noinstPROGRAMS:
346
347 maintainer-clean-noinstPROGRAMS:
348
349 .c.o:
350 $(COMPILE) -c $<
351
352 # FIXME: We should only use cygpath when building on Windows,
353 # and only if it is available.
354 .c.obj:
355 $(COMPILE) -c `cygpath -w $<`
356
357 .s.o:
358 $(COMPILE) -c $<
359
360 .S.o:
361 $(COMPILE) -c $<
362
363 mostlyclean-compile:
364 -rm -f *.o core *.core
365 -rm -f *.$(OBJEXT)
366
367 clean-compile:
368
369 distclean-compile:
370 -rm -f *.tab.c
371
372 maintainer-clean-compile:
373
374 .c.lo:
375 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
376
377 .s.lo:
378 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
379
380 .S.lo:
381 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
382
383 mostlyclean-libtool:
384 -rm -f *.lo
385
386 clean-libtool:
387 -rm -rf .libs _libs
388
389 distclean-libtool:
390
391 maintainer-clean-libtool:
392
393 ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
394 @rm -f ld-new$(EXEEXT)
395 $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
396 .l.c:
397 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
398 .y.c:
399 $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS)
400 deffilep.h: deffilep.c
401 ldgram.h: ldgram.c
402
403
404 ld.info: ld.texinfo
405 ld.dvi: ld.texinfo
406
407
408 DVIPS = dvips
409
410 .texi.info:
411 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
412 $(MAKEINFO) -I $(srcdir) $<
413
414 .texi.dvi:
415 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
416 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
417
418 .texi:
419 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
420 $(MAKEINFO) -I $(srcdir) $<
421
422 .texinfo.info:
423 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
424 $(MAKEINFO) -I $(srcdir) $<
425
426 .texinfo:
427 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
428 $(MAKEINFO) -I $(srcdir) $<
429
430 .texinfo.dvi:
431 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
432 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
433
434 .txi.info:
435 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
436 $(MAKEINFO) -I $(srcdir) $<
437
438 .txi.dvi:
439 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
440 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
441
442 .txi:
443 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
444 $(MAKEINFO) -I $(srcdir) $<
445 .dvi.ps:
446 $(DVIPS) $< -o $@
447
448 install-info-am: $(INFO_DEPS)
449 @$(NORMAL_INSTALL)
450 $(mkinstalldirs) $(DESTDIR)$(infodir)
451 @list='$(INFO_DEPS)'; \
452 for file in $$list; do \
453 if test -f $$file; then d=.; else d=$(srcdir); fi; \
454 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
455 if test -f $$d/$$ifile; then \
456 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
457 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
458 else : ; fi; \
459 done; \
460 done
461 @$(POST_INSTALL)
462 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
463 list='$(INFO_DEPS)'; \
464 for file in $$list; do \
465 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
466 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
467 done; \
468 else : ; fi
469
470 uninstall-info:
471 $(PRE_UNINSTALL)
472 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
473 ii=yes; \
474 else ii=; fi; \
475 list='$(INFO_DEPS)'; \
476 for file in $$list; do \
477 test -z "$$ii" \
478 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
479 done
480 @$(NORMAL_UNINSTALL)
481 list='$(INFO_DEPS)'; \
482 for file in $$list; do \
483 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
484 done
485
486 dist-info: $(INFO_DEPS)
487 list='$(INFO_DEPS)'; \
488 for base in $$list; do \
489 if test -f $$base; then d=.; else d=$(srcdir); fi; \
490 for file in `cd $$d && eval echo $$base*`; do \
491 test -f $(distdir)/$$file \
492 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
493 || cp -p $$d/$$file $(distdir)/$$file; \
494 done; \
495 done
496
497 mostlyclean-aminfo:
498 -rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.ky ld.kys ld.ps \
499 ld.log ld.pg ld.toc ld.tp ld.tps ld.vr ld.vrs ld.op ld.tr \
500 ld.cv ld.cn
501
502 clean-aminfo:
503
504 distclean-aminfo:
505
506 maintainer-clean-aminfo:
507 for i in $(INFO_DEPS); do \
508 rm -f $$i; \
509 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
510 rm -f $$i-[0-9]*; \
511 fi; \
512 done
513 clean-info: mostlyclean-aminfo
514
515 install-man1:
516 $(mkinstalldirs) $(DESTDIR)$(man1dir)
517 @list='$(man1_MANS)'; \
518 l2='$(man_MANS)'; for i in $$l2; do \
519 case "$$i" in \
520 *.1*) list="$$list $$i" ;; \
521 esac; \
522 done; \
523 for i in $$list; do \
524 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
525 else file=$$i; fi; \
526 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
527 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
528 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
529 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
530 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
531 done
532
533 uninstall-man1:
534 @list='$(man1_MANS)'; \
535 l2='$(man_MANS)'; for i in $$l2; do \
536 case "$$i" in \
537 *.1*) list="$$list $$i" ;; \
538 esac; \
539 done; \
540 for i in $$list; do \
541 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
542 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
543 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
544 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
545 rm -f $(DESTDIR)$(man1dir)/$$inst; \
546 done
547 install-man: $(MANS)
548 @$(NORMAL_INSTALL)
549 $(MAKE) $(AM_MAKEFLAGS) install-man1
550 uninstall-man:
551 @$(NORMAL_UNINSTALL)
552 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
553
554 # This directory's subdirectories are mostly independent; you can cd
555 # into them and run `make' without going through this Makefile.
556 # To change the values of `make' variables: instead of editing Makefiles,
557 # (1) if the variable is set in `config.status', edit `config.status'
558 # (which will cause the Makefiles to be regenerated when you run `make');
559 # (2) otherwise, pass the desired values on the `make' command line.
560
561 @SET_MAKE@
562
563 all-recursive install-data-recursive install-exec-recursive \
564 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
565 check-recursive installcheck-recursive info-recursive dvi-recursive:
566 @set fnord $(MAKEFLAGS); amf=$$2; \
567 dot_seen=no; \
568 target=`echo $@ | sed s/-recursive//`; \
569 list='$(SUBDIRS)'; for subdir in $$list; do \
570 echo "Making $$target in $$subdir"; \
571 if test "$$subdir" = "."; then \
572 dot_seen=yes; \
573 local_target="$$target-am"; \
574 else \
575 local_target="$$target"; \
576 fi; \
577 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
578 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
579 done; \
580 if test "$$dot_seen" = "no"; then \
581 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
582 fi; test -z "$$fail"
583
584 mostlyclean-recursive clean-recursive distclean-recursive \
585 maintainer-clean-recursive:
586 @set fnord $(MAKEFLAGS); amf=$$2; \
587 dot_seen=no; \
588 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
589 rev="$$subdir $$rev"; \
590 test "$$subdir" != "." || dot_seen=yes; \
591 done; \
592 test "$$dot_seen" = "no" && rev=". $$rev"; \
593 target=`echo $@ | sed s/-recursive//`; \
594 for subdir in $$rev; do \
595 echo "Making $$target in $$subdir"; \
596 if test "$$subdir" = "."; then \
597 local_target="$$target-am"; \
598 else \
599 local_target="$$target"; \
600 fi; \
601 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
602 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
603 done && test -z "$$fail"
604 tags-recursive:
605 list='$(SUBDIRS)'; for subdir in $$list; do \
606 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
607 done
608
609 tags: TAGS
610
611 ID: $(HEADERS) $(SOURCES) $(LISP)
612 list='$(SOURCES) $(HEADERS)'; \
613 unique=`for i in $$list; do echo $$i; done | \
614 awk ' { files[$$0] = 1; } \
615 END { for (i in files) print i; }'`; \
616 here=`pwd` && cd $(srcdir) \
617 && mkid -f$$here/ID $$unique $(LISP)
618
619 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
620 tags=; \
621 here=`pwd`; \
622 list='$(SUBDIRS)'; for subdir in $$list; do \
623 if test "$$subdir" = .; then :; else \
624 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
625 fi; \
626 done; \
627 list='$(SOURCES) $(HEADERS)'; \
628 unique=`for i in $$list; do echo $$i; done | \
629 awk ' { files[$$0] = 1; } \
630 END { for (i in files) print i; }'`; \
631 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
632 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
633
634 mostlyclean-tags:
635
636 clean-tags:
637
638 distclean-tags:
639 -rm -f TAGS ID
640
641 maintainer-clean-tags:
642
643 distdir = $(PACKAGE)-$(VERSION)
644 top_distdir = $(distdir)
645
646 # This target untars the dist file and tries a VPATH configuration. Then
647 # it guarantees that the distribution is self-contained by making another
648 # tarfile.
649 distcheck: dist
650 -rm -rf $(distdir)
651 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
652 mkdir $(distdir)/=build
653 mkdir $(distdir)/=inst
654 dc_install_base=`cd $(distdir)/=inst && pwd`; \
655 cd $(distdir)/=build \
656 && ../configure --srcdir=.. --prefix=$$dc_install_base \
657 && $(MAKE) $(AM_MAKEFLAGS) \
658 && $(MAKE) $(AM_MAKEFLAGS) dvi \
659 && $(MAKE) $(AM_MAKEFLAGS) check \
660 && $(MAKE) $(AM_MAKEFLAGS) install \
661 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
662 && $(MAKE) $(AM_MAKEFLAGS) dist
663 -rm -rf $(distdir)
664 @banner="$(distdir).tar.gz is ready for distribution"; \
665 dashes=`echo "$$banner" | sed s/./=/g`; \
666 echo "$$dashes"; \
667 echo "$$banner"; \
668 echo "$$dashes"
669 dist: distdir
670 -chmod -R a+r $(distdir)
671 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
672 -rm -rf $(distdir)
673 dist-all: distdir
674 -chmod -R a+r $(distdir)
675 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
676 -rm -rf $(distdir)
677 distdir: $(DISTFILES)
678 -rm -rf $(distdir)
679 mkdir $(distdir)
680 -chmod 777 $(distdir)
681 @for file in $(DISTFILES); do \
682 if test -f $$file; then d=.; else d=$(srcdir); fi; \
683 if test -d $$d/$$file; then \
684 cp -pr $$d/$$file $(distdir)/$$file; \
685 else \
686 test -f $(distdir)/$$file \
687 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
688 || cp -p $$d/$$file $(distdir)/$$file || :; \
689 fi; \
690 done
691 for subdir in $(SUBDIRS); do \
692 if test "$$subdir" = .; then :; else \
693 test -d $(distdir)/$$subdir \
694 || mkdir $(distdir)/$$subdir \
695 || exit 1; \
696 chmod 777 $(distdir)/$$subdir; \
697 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
698 || exit 1; \
699 fi; \
700 done
701 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
702
703 DEJATOOL = $(PACKAGE)
704
705 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
706 site.exp: Makefile
707 @echo 'Making a new site.exp file...'
708 @test ! -f site.bak || rm -f site.bak
709 @echo '## these variables are automatically generated by make ##' > $@-t
710 @echo '# Do not edit here. If you wish to override these values' >> $@-t
711 @echo '# edit the last section' >> $@-t
712 @echo 'set tool $(DEJATOOL)' >> $@-t
713 @echo 'set srcdir $(srcdir)' >> $@-t
714 @echo 'set objdir' `pwd` >> $@-t
715 @echo 'set host_alias $(host_alias)' >> $@-t
716 @echo 'set host_triplet $(host_triplet)' >> $@-t
717 @echo 'set target_alias $(target_alias)' >> $@-t
718 @echo 'set target_triplet $(target_triplet)' >> $@-t
719 @echo 'set build_alias $(build_alias)' >> $@-t
720 @echo 'set build_triplet $(build_triplet)' >> $@-t
721 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
722 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
723 @test ! -f site.exp || mv site.exp site.bak
724 @mv $@-t site.exp
725 info-am: $(INFO_DEPS)
726 info: info-recursive
727 dvi-am: $(DVIS)
728 dvi: dvi-recursive
729 check-am:
730 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
731 check: check-recursive
732 installcheck-am:
733 installcheck: installcheck-recursive
734 install-info-am:
735 install-info: install-info-recursive
736 all-recursive-am: config.h
737 $(MAKE) $(AM_MAKEFLAGS) all-recursive
738
739 install-exec-am: install-exec-local
740 install-exec: install-exec-recursive
741
742 install-data-am: install-man install-data-local
743 install-data: install-data-recursive
744
745 install-am: all-am
746 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
747 install: install-recursive
748 uninstall-am: uninstall-man
749 uninstall: uninstall-recursive
750 all-am: Makefile $(PROGRAMS) $(MANS) config.h
751 all-redirect: all-recursive-am
752 install-strip:
753 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
754 installdirs: installdirs-recursive
755 installdirs-am:
756 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
757
758
759 mostlyclean-generic:
760 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
761
762 clean-generic:
763 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
764
765 distclean-generic:
766 -rm -f Makefile $(CONFIG_CLEAN_FILES)
767 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
768 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
769
770 maintainer-clean-generic:
771 -test -z "ldlexldeffilephdeffilepcldgramhldgramc$(MAINTAINERCLEANFILES)" || rm -f ldlexl deffileph deffilepc ldgramh ldgramc $(MAINTAINERCLEANFILES)
772 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstPROGRAMS \
773 mostlyclean-compile mostlyclean-libtool \
774 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic \
775 mostlyclean-local
776
777 mostlyclean: mostlyclean-recursive
778
779 clean-am: clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \
780 clean-aminfo clean-tags clean-generic mostlyclean-am
781
782 clean: clean-recursive
783
784 distclean-am: distclean-hdr distclean-noinstPROGRAMS distclean-compile \
785 distclean-libtool distclean-aminfo distclean-tags \
786 distclean-generic clean-am distclean-local
787 -rm -f libtool
788
789 distclean: distclean-recursive
790 -rm -f config.status
791
792 maintainer-clean-am: maintainer-clean-hdr \
793 maintainer-clean-noinstPROGRAMS \
794 maintainer-clean-compile maintainer-clean-libtool \
795 maintainer-clean-aminfo maintainer-clean-tags \
796 maintainer-clean-generic distclean-am
797 @echo "This command is intended for maintainers to use;"
798 @echo "it deletes files that may require special tools to rebuild."
799
800 maintainer-clean: maintainer-clean-recursive
801 -rm -f config.status
802
803 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
804 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
805 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
806 mostlyclean-compile distclean-compile clean-compile \
807 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
808 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
809 mostlyclean-aminfo distclean-aminfo clean-aminfo \
810 maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
811 uninstall-man install-data-recursive uninstall-data-recursive \
812 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
813 uninstalldirs-recursive all-recursive check-recursive \
814 installcheck-recursive info-recursive dvi-recursive \
815 mostlyclean-recursive distclean-recursive clean-recursive \
816 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
817 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
818 info-am info dvi-am dvi check check-am installcheck-am installcheck \
819 install-info-am install-info all-recursive-am install-exec-local \
820 install-exec-am install-exec install-data-local install-data-am \
821 install-data install-am install uninstall-am uninstall all-redirect \
822 all-am all installdirs-am installdirs mostlyclean-generic \
823 distclean-generic clean-generic maintainer-clean-generic clean \
824 mostlyclean distclean maintainer-clean
825
826
827 po/POTFILES.in: @MAINT@ Makefile
828 for file in $(POTFILES); do echo $$file; done | sort > tmp \
829 && mv tmp $(srcdir)/po/POTFILES.in
830
831 ldmain.o: ldmain.c config.status
832 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
833
834 ldemul-list.h: Makefile
835 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
836 for f in `echo " " ${EMULATION_OFILES} "" \
837 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
838 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
839 done;\
840 echo "";\
841 echo "#define EMULATION_LIST \\";\
842 for f in `echo " " ${EMULATION_OFILES} "" \
843 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
844 echo " &ld_$${f}_emulation, \\"; \
845 done;\
846 echo " 0") >ldemul-tmp.h
847 mv ldemul-tmp.h ldemul-list.h
848
849 stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
850 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
851 @TDIRS@
852
853 ea29k.c: $(srcdir)/emulparams/a29k.sh \
854 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
855 ${GENSCRIPTS} a29k "$(tdir_a29k)"
856 eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
857 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
858 ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
859 eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
860 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
861 ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
862 eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
863 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
864 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
865 eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
866 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
867 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
868 ealpha.c: $(srcdir)/emulparams/alpha.sh \
869 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
870 ${GENSCRIPTS} alpha "$(tdir_alpha)"
871 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
872 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
873 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
874 earmelf.c: $(srcdir)/emulparams/armelf.sh \
875 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
876 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
877 ${GENSCRIPTS} armelf "$(tdir_armelf)"
878 earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \
879 $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
880 ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
881 earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
882 $(srcdir)/emulparams/armelf.sh \
883 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
884 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
885 ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
886 earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
887 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
888 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
889 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
890 earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
891 $(srcdir)/emulparams/armelf.sh \
892 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
893 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
894 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
895 earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
896 $(srcdir)/emulparams/armelf_nbsd.sh \
897 $(srcdir)/emulparams/armelf.sh \
898 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
899 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
900 ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
901 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
902 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
903 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
904 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
905 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
906 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
907 earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
908 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
909 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
910 earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
911 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
912 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
913 earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
914 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
915 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)"
916 earmpe.c: $(srcdir)/emulparams/armpe.sh \
917 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
918 ${GENSCRIPTS} armpe "$(tdir_armpe)"
919 eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \
920 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
921 ${GEN_DEPENDS}
922 ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)"
923 eavr1200.c: $(srcdir)/emulparams/avr1200.sh \
924 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
925 ${GEN_DEPENDS}
926 ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)"
927 eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \
928 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
929 ${GEN_DEPENDS}
930 ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)"
931 eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \
932 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
933 ${GEN_DEPENDS}
934 ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)"
935 eavr4433.c: $(srcdir)/emulparams/avr4433.sh \
936 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
937 ${GEN_DEPENDS}
938 ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)"
939 eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \
940 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
941 ${GEN_DEPENDS}
942 ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)"
943 eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \
944 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
945 ${GEN_DEPENDS}
946 ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)"
947 eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \
948 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \
949 ${GEN_DEPENDS}
950 ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)"
951 eavr1.c: $(srcdir)/emulparams/avr1.sh \
952 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
953 ${GEN_DEPENDS}
954 ${GENSCRIPTS} avr1 "$(tdir_avr85xx)"
955 eavr2.c: $(srcdir)/emulparams/avr2.sh \
956 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
957 ${GEN_DEPENDS}
958 ${GENSCRIPTS} avr2 "$(tdir_avr85xx)"
959 eavr3.c: $(srcdir)/emulparams/avr3.sh \
960 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
961 ${GEN_DEPENDS}
962 ${GENSCRIPTS} avr3 "$(tdir_avr85xx)"
963 eavr4.c: $(srcdir)/emulparams/avr4.sh \
964 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
965 ${GEN_DEPENDS}
966 ${GENSCRIPTS} avr4 "$(tdir_avr85xx)"
967 eavr5.c: $(srcdir)/emulparams/avr5.sh \
968 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
969 ${GEN_DEPENDS}
970 ${GENSCRIPTS} avr5 "$(tdir_avr85xx)"
971 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
972 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
973 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
974 ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
975 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
976 ${GENSCRIPTS} crisaout "$(tdir_cris)"
977 ecriself.c: $(srcdir)/emulparams/criself.sh \
978 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
979 ${GENSCRIPTS} criself "$(tdir_cris)"
980 ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
981 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
982 ${GENSCRIPTS} crislinux "$(tdir_cris)"
983 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
984 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
985 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
986 ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
987 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
988 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
989 ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
990 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
991 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
992 ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
993 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
994 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
995 edelta68.c: $(srcdir)/emulparams/delta68.sh \
996 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
997 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
998 eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
999 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
1000 ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
1001 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
1002 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
1003 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
1004 eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
1005 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
1006 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1007 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
1008 eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
1009 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1010 ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
1011 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
1012 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1013 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
1014 eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
1015 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1016 ${GENSCRIPTS} elf32frv "$(tdir_frv)"
1017 eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
1018 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1019 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
1020 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
1021 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1022 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
1023 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
1024 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1025 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
1026 eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
1027 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1028 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)"
1029 eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
1030 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1031 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
1032 eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
1033 $(srcdir)/emulparams/elf32bmip.sh \
1034 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1035 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
1036 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
1037 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1038 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
1039 eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
1040 $(srcdir)/emulparams/elf32bmip.sh \
1041 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1042 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
1043 eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
1044 $(srcdir)/emulparams/elf32bmip.sh \
1045 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1046 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
1047 eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
1048 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1049 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1050 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
1051 eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
1052 $(srcdir)/emulparams/elf32bmip.sh \
1053 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1054 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
1055 eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
1056 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1057 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1058 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
1059 eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
1060 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1061 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
1062 eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
1063 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
1064 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1065 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
1066 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
1067 $(srcdir)/emulparams/elf32bmip.sh \
1068 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1069 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
1070 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
1071 $(srcdir)/emulparams/elf32ppc.sh \
1072 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1073 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
1074 eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
1075 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
1076 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1077 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
1078 eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh ${GEN_DEPENDS}
1079 ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
1080 eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
1081 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
1082 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1083 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
1084 eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
1085 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1086 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
1087 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
1088 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1089 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
1090 eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
1091 $(srcdir)/emulparams/elf32ppc.sh \
1092 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1093 ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
1094 eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
1095 $(srcdir)/emulparams/elf32ppc.sh \
1096 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1097 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
1098 eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
1099 $(srcdir)/emulparams/elf32ppc.sh \
1100 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1101 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
1102 eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1103 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1104 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
1105 eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
1106 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
1107 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1108 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
1109 eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
1110 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
1111 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
1112 eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
1113 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1114 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
1115 eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
1116 $(srcdir)/emulparams/elf64alpha.sh \
1117 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1118 ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
1119 eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
1120 $(srcdir)/emulparams/elf64alpha.sh \
1121 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1122 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
1123 eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
1124 $(srcdir)/emulparams/hppa64linux.sh \
1125 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1126 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
1127 eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
1128 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1129 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
1130 eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
1131 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
1132 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1133 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
1134 eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
1135 $(srcdir)/emulparams/elf64_ia64.sh \
1136 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
1137 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1138 ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
1139 eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
1140 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1141 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
1142 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
1143 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1144 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
1145 eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
1146 $(srcdir)/emulparams/elf64_sparc.sh \
1147 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1148 ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
1149 eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
1150 $(srcdir)/emulparams/elf32bmipn32.sh \
1151 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1152 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
1153 eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
1154 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
1155 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1156 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
1157 emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
1158 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
1159 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
1160 ${GENSCRIPTS} mmo "$(tdir_mmo)"
1161 eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
1162 $(srcdir)/emulparams/elf32bmipn32.sh \
1163 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1164 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
1165 eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
1166 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
1167 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1168 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
1169 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
1170 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1171 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
1172 eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
1173 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1174 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
1175 eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
1176 $(srcdir)/emulparams/elf_x86_64.sh \
1177 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1178 ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
1179 eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
1180 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1181 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
1182 eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
1183 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
1184 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
1185 eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
1186 $(srcdir)/emulparams/elf_i386.sh \
1187 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1188 ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
1189 eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
1190 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1191 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
1192 eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
1193 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1194 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
1195 egld960.c: $(srcdir)/emulparams/gld960.sh \
1196 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1197 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
1198 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
1199 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1200 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
1201 eh8300.c: $(srcdir)/emulparams/h8300.sh \
1202 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
1203 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
1204 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
1205 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
1206 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
1207 eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
1208 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
1209 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
1210 eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
1211 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1212 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
1213 eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
1214 $(srcdir)/emulparams/h8300elf.sh \
1215 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1216 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
1217 eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
1218 $(srcdir)/emulparams/h8300elf.sh \
1219 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1220 ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
1221 eh8500.c: $(srcdir)/emulparams/h8500.sh \
1222 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
1223 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
1224 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
1225 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
1226 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
1227 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
1228 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
1229 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1230 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1231 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1232 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1233 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1234 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1235 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
1236 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
1237 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1238 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
1239 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
1240 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1241 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
1242 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
1243 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1244 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
1245 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
1246 ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
1247 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1248 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1249 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
1250 ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
1251 $(srcdir)/emulparams/hppaelf.sh \
1252 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
1253 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1254 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
1255 ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
1256 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1257 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
1258 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
1259 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1260 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
1261 ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
1262 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
1263 ${GENSCRIPTS} i386beos "$(tdir_i386beos)"
1264 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1265 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1266 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1267 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1268 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1269 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
1270 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
1271 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
1272 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
1273 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1274 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1275 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1276 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1277 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
1278 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
1279 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
1280 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1281 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
1282 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1283 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1284 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
1285 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1286 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
1287 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
1288 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1289 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1290 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1291 ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
1292 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1293 ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
1294 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1295 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1296 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1297 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1298 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1299 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
1300 ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
1301 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1302 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
1303 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
1304 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
1305 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
1306 em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
1307 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1308 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)"
1309 em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
1310 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
1311 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)"
1312 em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
1313 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1314 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)"
1315 em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
1316 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
1317 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)"
1318 em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1319 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1320 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1321 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1322 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1323 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
1324 em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1325 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
1326 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
1327 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
1328 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
1329 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
1330 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1331 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1332 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1333 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
1334 em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
1335 $(srcdir)/emulparams/m68kelf.sh \
1336 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
1337 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1338 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
1339 em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1340 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1341 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
1342 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
1343 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
1344 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
1345 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
1346 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1347 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1348 em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1349 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1350 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1351 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
1352 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
1353 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
1354 emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
1355 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1356 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
1357 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
1358 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1359 ${GENSCRIPTS} mipsbig
1360 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
1361 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
1362 ${GENSCRIPTS} mipsbsd
1363 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
1364 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1365 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
1366 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
1367 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1368 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
1369 emipslit.c: $(srcdir)/emulparams/mipslit.sh \
1370 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1371 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
1372 emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
1373 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1374 ${GENSCRIPTS} mipslnews
1375 emipspe.c: $(srcdir)/emulparams/mipspe.sh \
1376 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1377 ${GENSCRIPTS} mipspe "$(tdir_mips)"
1378 emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1379 $(srcdir)/emulparams/mn10200.sh \
1380 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1381 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1382 emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1383 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1384 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
1385 enews.c: $(srcdir)/emulparams/news.sh \
1386 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1387 ${GENSCRIPTS} news "$(tdir_news)"
1388 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
1389 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1390 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1391 eor32.c: $(srcdir)/emulparams/or32.sh \
1392 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
1393 ${GENSCRIPTS} or32 "$(tdir_or32)"
1394 eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
1395 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1396 ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
1397 epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
1398 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1399 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
1400 epdp11.c: $(srcdir)/emulparams/pdp11.sh \
1401 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1402 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
1403 epjelf.c: $(srcdir)/emulparams/pjelf.sh \
1404 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1405 ${GENSCRIPTS} pjelf "$(tdir_pjelf)"
1406 epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \
1407 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1408 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)"
1409 eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1410 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
1411 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
1412 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1413 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1414 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
1415 eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1416 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1417 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
1418 eriscix.c: $(srcdir)/emulparams/riscix.sh \
1419 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1420 ${GENSCRIPTS} riscix "$(tdir_riscix)"
1421 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
1422 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
1423 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
1424 esh.c: $(srcdir)/emulparams/sh.sh \
1425 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1426 ${GENSCRIPTS} sh "$(tdir_sh)"
1427 eshelf.c: $(srcdir)/emulparams/shelf.sh \
1428 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1429 ${GENSCRIPTS} shelf "$(tdir_shelf)"
1430 eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
1431 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1432 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1433 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1434 ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
1435 eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
1436 $(srcdir)/emulparams/shelf32.sh \
1437 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1438 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1439 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1440 ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
1441 eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1442 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1443 ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
1444 eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
1445 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1446 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1447 ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
1448 eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
1449 $(srcdir)/emulparams/shlelf_linux.sh \
1450 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1451 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
1452 eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
1453 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1454 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
1455 eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
1456 $(srcdir)/emulparams/shelf.sh \
1457 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1458 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
1459 eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
1460 $(srcdir)/emulparams/shelf_nbsd.sh \
1461 $(srcdir)/emulparams/shelf.sh \
1462 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1463 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
1464 eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1465 $(srcdir)/emulparams/shelf.sh \
1466 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1467 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
1468 eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
1469 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
1470 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1471 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1472 ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
1473 eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
1474 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1475 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
1476 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1477 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1478 ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
1479 eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
1480 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
1481 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1482 ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
1483 eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
1484 $(srcdir)/emulparams/shelf64_nbsd.sh \
1485 $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
1486 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1487 ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
1488 eshl.c: $(srcdir)/emulparams/shl.sh \
1489 $(srcdir)/emulparams/sh.sh \
1490 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1491 ${GENSCRIPTS} shl "$(tdir_shl)"
1492 eshpe.c: $(srcdir)/emulparams/shpe.sh \
1493 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1494 ${GENSCRIPTS} shpe "$(tdir_shl)"
1495 esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
1496 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1497 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
1498 esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1499 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1500 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
1501 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
1502 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
1503 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
1504 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
1505 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1506 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
1507 est2000.c: $(srcdir)/emulparams/st2000.sh \
1508 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1509 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1510 esun3.c: $(srcdir)/emulparams/sun3.sh \
1511 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1512 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1513 esun4.c: $(srcdir)/emulparams/sun4.sh \
1514 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1515 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
1516 etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1517 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1518 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1519 etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1520 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1521 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
1522 etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
1523 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
1524 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)"
1525 etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1526 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1527 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
1528 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1529 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1530 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1531 evax.c: $(srcdir)/emulparams/vax.sh \
1532 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1533 ${GENSCRIPTS} vax "$(tdir_vax)"
1534 evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
1535 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1536 ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
1537 evsta.c: $(srcdir)/emulparams/vsta.sh \
1538 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1539 ${GENSCRIPTS} vsta "$(tdir_vsta)"
1540 ev850.c: $(srcdir)/emulparams/v850.sh \
1541 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
1542 ${GENSCRIPTS} v850 "$(tdir_v850)"
1543 ew65.c: $(srcdir)/emulparams/w65.sh \
1544 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1545 ${GENSCRIPTS} w65 "$(tdir_w65)"
1546 ez8001.c: $(srcdir)/emulparams/z8001.sh \
1547 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1548 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
1549 ez8002.c: $(srcdir)/emulparams/z8002.sh \
1550 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
1551 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
1552
1553 # The generated emulation files mostly have the same dependencies.
1554 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
1555 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
1556 ldctor.h ldexp.h ldlang.h ldgram.h
1557
1558 check-DEJAGNU: site.exp
1559 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
1560 r=`pwd`; export r; \
1561 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
1562 EXPECT=$(EXPECT); export EXPECT; \
1563 if [ -f $(top_builddir)/../expect/expect ]; then \
1564 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
1565 export TCL_LIBRARY; \
1566 fi; \
1567 LC_ALL=C; export LC_ALL; \
1568 runtest=$(RUNTEST); \
1569 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1570 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1571 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1572 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1573 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1574 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
1575 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \
1576 $(RUNTESTFLAGS); \
1577 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1578 fi
1579
1580 # Rules for testing by relinking ld itself.
1581 # A similar test is in the testsuite. This target is for ease of use
1582 # when porting ld.
1583
1584 ld-partial.o: ld-new$(EXEEXT)
1585 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
1586 ld1$(EXEEXT): ld-partial.o
1587 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1588
1589 ld1-full$(EXEEXT): ld-new
1590 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1591
1592 ld2$(EXEEXT): ld1$(EXEEXT)
1593 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1594
1595 ld3$(EXEEXT): ld2$(EXEEXT)
1596 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
1597
1598 bootstrap: ld3$(EXEEXT)
1599 cmp ld2$(EXEEXT) ld3$(EXEEXT)
1600
1601 .PHONY: bootstrap
1602
1603 # A test program for C++ constructors and destructors.
1604 # This test is now in the testsuite.
1605 #
1606 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1607 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1608 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
1609 #
1610 #cdtest.out: cdtest
1611 # ./cdtest > cdtest.tmp
1612 # mv cdtest.tmp cdtest.out
1613 #
1614 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1615 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
1616 # cdtest-bar.o cdtest-foo.o
1617 #
1618 #cdtest-ur: cdtest-ur.o
1619 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1620 # $(HOSTING_LIBS)
1621 #
1622 #cdtest-ur.out: cdtest-ur
1623 # ./cdtest-ur > cdtest-ur.tmp
1624 # mv cdtest-ur.tmp cdtest-ur.out
1625 #
1626 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1627 # diff $(srcdir)/cdtest.exp cdtest.out
1628 # diff $(srcdir)/cdtest.exp cdtest-ur.out
1629 #
1630 #.PHONY: check-cdtest
1631
1632 # END OF CHECK TARGETS
1633
1634 # DOCUMENTATION TARGETS
1635 # Manual configuration file; not usually attached to normal configuration,
1636 # because almost all configs use "gen" version of manual.
1637 # Set DOCVER above to change.
1638 configdoc.texi: ${DOCVER}-doc.texi
1639 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1640 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1641 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
1642
1643 ldver.texi: Makefile
1644 rm -f $@
1645 echo '@set VERSION $(VERSION)' > $@
1646
1647 ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1648 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
1649 $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1650
1651 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
1652 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
1653 MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
1654
1655 # Build the man page from the texinfo file
1656 # The sed command removes the no-adjust Nroff command so that
1657 # the man output looks standard.
1658 ld.1: $(srcdir)/ld.texinfo
1659 touch $@
1660 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
1661 -($(POD2MAN) ld.pod | \
1662 sed -e '/^.if n .na/d' > $@.T$$$$ && \
1663 mv -f $@.T$$$$ $@) || \
1664 (rm -f $@.T$$$$ && exit 1)
1665 rm -f ld.pod
1666 mostlyclean-local:
1667 -rm -rf tmpdir
1668
1669 .PHONY: install-exec-local install-data-local
1670
1671 install-exec-local: ld-new$(EXEEXT)
1672 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
1673 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1674 if test -f $$p; then \
1675 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1676 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1677 else :; fi; \
1678 done
1679 n=`echo ld | sed '$(transform)'`; \
1680 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1681 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1682 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1683 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
1684 fi
1685
1686 install-data-local:
1687 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
1688 for f in ldscripts/*; do \
1689 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
1690 done
1691
1692 # We want install to imply install-info as per GNU standards, despite the
1693 # cygnus option.
1694 install: install-info
1695 diststuff: info $(EXTRA_DIST)
1696 distclean-local:
1697 rm -rf ldscripts
1698
1699 Makefile: $(BFDDIR)/configure.in
1700
1701 # Targets to rebuild dependencies in this Makefile.
1702 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1703 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1704 rm -f DEP1
1705 $(MAKE) MKDEP="$(MKDEP)" DEP1
1706 sed -f dep.sed < DEP1 > DEPA
1707 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
1708 if grep ' /' DEPA > /dev/null 2> /dev/null; then \
1709 echo 'make DEP failed!'; exit 1; \
1710 else \
1711 mv -f DEPA $@; \
1712 fi
1713
1714 DEP1: $(CFILES) $(GENERATED_CFILES)
1715 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1716 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1717 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1718 mv -f DEP2 $@
1719
1720 dep.sed: dep-in.sed config.status
1721 sed <$(srcdir)/dep-in.sed >dep.sed \
1722 -e 's!@INCDIR@!$(INCDIR)!' \
1723 -e 's!@BFDDIR@!$(BFDDIR)!' \
1724 -e 's!@SRCDIR@!$(srcdir)!' \
1725 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
1726
1727 dep: DEP
1728 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1729 cat DEP >> tmp-Makefile
1730 $(srcdir)/../move-if-change tmp-Makefile Makefile
1731
1732 dep-in: DEP
1733 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1734 cat DEP >> tmp-Makefile.in
1735 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1736
1737 dep-am: DEP
1738 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1739 cat DEP >> tmp-Makefile.am
1740 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1741
1742 .PHONY: dep dep-in dep-am
1743
1744 @MAINT@.PHONY: mpw
1745 @MAINT@mpw: $(srcdir)/mpw-ei386go32.c $(srcdir)/mpw-elfmips.c \
1746 @MAINT@ $(srcdir)/mpw-em68kcoff.c $(srcdir)/mpw-eppcmac.c \
1747 @MAINT@ $(srcdir)/mpw-esh.c $(srcdir)/mpw-idtmips.c
1748 @MAINT@
1749 @MAINT@$(srcdir)/mpw-ei386go32.c: ei386go32.c
1750 @MAINT@ $(srcdir)/../move-if-change $< $@
1751 @MAINT@
1752 @MAINT@$(srcdir)/mpw-elfmips.c: eelf32ebmip.c
1753 @MAINT@ $(srcdir)/../move-if-change $< $@
1754 @MAINT@
1755 @MAINT@$(srcdir)/mpw-em68kcoff.c: em68kcoff.c
1756 @MAINT@ $(srcdir)/../move-if-change $< $@
1757 @MAINT@
1758 @MAINT@$(srcdir)/mpw-eppcmac.c: eppcmacos.c
1759 @MAINT@ $(srcdir)/../move-if-change $< $@
1760 @MAINT@
1761 @MAINT@$(srcdir)/mpw-esh.c: esh.c
1762 @MAINT@ $(srcdir)/../move-if-change $< $@
1763 @MAINT@
1764 @MAINT@$(srcdir)/mpw-idtmips.c: emipsidt.c
1765 @MAINT@ $(srcdir)/../move-if-change $< $@
1766
1767 # What appears below is generated by a hacked mkdep using gcc -MM.
1768
1769 # DO NOT DELETE THIS LINE -- mkdep uses it.
1770 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1771 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1772 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1773 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1774 ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
1775 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1776 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1777 ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
1778 ldfile.h ldemul.h ldmain.h ldemul-list.h
1779 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1780 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1781 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1782 ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
1783 $(INCDIR)/safe-ctype.h
1784 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1785 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1786 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
1787 ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
1788 ldlex.h ldemul.h $(INCDIR)/libiberty.h
1789 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1790 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1791 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
1792 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
1793 ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
1794 ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
1795 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1796 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1797 $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
1798 $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
1799 ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
1800 ldlex.h ldfile.h ldemul.h ldctor.h
1801 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1802 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1803 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \
1804 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
1805 ldfile.h
1806 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1807 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1808 ld.h $(INCDIR)/bin-bugs.h ldver.h ldexp.h ldlang.h \
1809 ldfile.h ldemul.h ldmain.h
1810 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1811 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1812 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1813 ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
1814 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1815 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1816 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1817 ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
1818 ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
1819 $(INCDIR)/demangle.h
1820 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
1821 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1822 ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
1823 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1824 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1825 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
1826 ldmain.h ldmisc.h ldexp.h ldlang.h
1827 pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1828 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1829 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
1830 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
1831 ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
1832 $(BFDDIR)/libcoff.h deffile.h pe-dll.h
1833 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1834 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1835 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
1836 ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
1837 mri.h ldctor.h ldlex.h
1838 ldlex.o: ldlex.c $(INCDIR)/ansidecl.h ../bfd/bfd.h \
1839 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1840 $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \
1841 ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h ldmain.h \
1842 $(INCDIR)/libiberty.h
1843 deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1844 $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
1845 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
1846 ldmisc.h deffile.h
1847 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1848
1849 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1850 # Otherwise a system limit (for SysV at least) may be exceeded.
1851 .NOEXPORT: