* m10300-dis.c (disassemble): When printing RREGs and XRREGs, map
[deliverable/binutils-gdb.git] / ld / Makefile.in
CommitLineData
8bc8f4bc 1# Makefile.in generated automatically by automake 1.3 from Makefile.am
ce4d59e2 2
51b9a79b 3# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
49c009b5 4# This Makefile.in is free software; the Free Software Foundation
51b9a79b
ILT
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.
eb02fd64 12
eb02fd64 13
f5870264 14SHELL = @SHELL@
e06ba18d 15
49c009b5
ILT
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
d66c832b 20exec_prefix = @exec_prefix@
49c009b5 21
f14a5192 22bindir = @bindir@
49c009b5
ILT
23sbindir = @sbindir@
24libexecdir = @libexecdir@
f14a5192 25datadir = @datadir@
49c009b5
ILT
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
f14a5192 30infodir = @infodir@
49c009b5 31mandir = @mandir@
f14a5192 32includedir = @includedir@
49c009b5 33oldincludedir = /usr/include
f14a5192 34
8bc8f4bc
TT
35DISTDIR =
36
49c009b5
ILT
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
e06ba18d 40
49c009b5
ILT
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
e06ba18d 47
ba69384d 48INSTALL = @INSTALL@
f14a5192
JM
49INSTALL_PROGRAM = @INSTALL_PROGRAM@
50INSTALL_DATA = @INSTALL_DATA@
49c009b5
ILT
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
51b9a79b
ILT
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
49c009b5
ILT
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
d66c832b 66CC = @CC@
8bc8f4bc 67CC_FOR_BUILD = @CC_FOR_BUILD@
b9a5c27f 68EXEEXT = @EXEEXT@
8bc8f4bc 69EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
49c009b5 70HDEFINES = @HDEFINES@
49c009b5 71LIBTOOL = @LIBTOOL@
49c009b5 72NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@
49c009b5 73RANLIB = @RANLIB@
8bc8f4bc
TT
74
75INTLLIBS = @INTLLIBS@
49c009b5 76
51b9a79b 77AUTOMAKE_OPTIONS = cygnus dejagnu
49c009b5 78
8bc8f4bc
TT
79SUBDIRS = po
80
49c009b5
ILT
81tooldir = $(exec_prefix)/$(target_alias)
82
83YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
84YFLAGS = -d
85LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
86
87# We put the scripts in the directory $(scriptdir)/ldscripts.
88# We can't put the scripts in $(datadir) because the SEARCH_DIR
89# directives need to be different for native and cross linkers.
90scriptdir = $(tooldir)/lib
8c32cf6e 91
d66c832b
ILT
92EMUL = @EMUL@
93EMULATION_OFILES = @EMULATION_OFILES@
94
efa6c497 95# Search path to override the default search path for -lfoo libraries.
ee17cac9 96# If LIB_PATH is empty, the ones in the script (if any) are left alone.
208bc89e 97# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
917bffa7 98# a cross-linker, in which case the default is empty. See genscripts.sh.)
ee17cac9
PB
99# Otherwise, they are replaced with the ones given in LIB_PATH,
100# which may have the form: LIB_PATH=/lib:/usr/local/lib
101LIB_PATH =
102
959eba20
JO
103BASEDIR = $(srcdir)/..
104BFDDIR = $(BASEDIR)/bfd
105INCDIR = $(BASEDIR)/include
4a6afc88 106DEP = mkdep
2ee11735 107
2412a768
RP
108# What version of the manual to build
109DOCVER = gen
110
5cdea2ac 111#stuff for self hosting (can be overridden in config file).
d66c832b
ILT
112HOSTING_CRT0 = @HOSTING_CRT0@
113HOSTING_LIBS = @HOSTING_LIBS@
74e6b793 114HOSTING_EMU = -m $(EMUL)
5cdea2ac 115
3a9149a7 116# Setup the testing framework, if you have one
32286e08
C
117EXPECT = `if [ -f $$r/../expect/expect ] ; \
118 then echo $$r/../expect/expect ; \
119 else echo expect ; fi`
120
121RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
122 then echo $${srcroot}/../dejagnu/runtest ; \
123 else echo runtest ; fi`
099c286e 124
03372cf4 125RUNTESTFLAGS =
32286e08
C
126
127CC_FOR_TARGET = ` \
65d22248 128 if [ -f $$r/../gcc/xgcc ] ; then \
32286e08
C
129 if [ -f $$r/../newlib/Makefile ] ; then \
130 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
131 else \
132 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
133 fi; \
134 else \
dfc84b08 135 if [ "@host@" = "@target@" ] ; then \
32286e08
C
136 echo $(CC); \
137 else \
ca7f5c98 138 echo gcc | sed '$(transform)'; \
32286e08
C
139 fi; \
140 fi`
141
142CXX = gcc
143CXX_FOR_TARGET = ` \
65d22248 144 if [ -f $$r/../gcc/xgcc ] ; then \
32286e08
C
145 if [ -f $$r/../newlib/Makefile ] ; then \
146 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
147 else \
148 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
149 fi; \
150 else \
dfc84b08 151 if [ "@host@" = "@target@" ] ; then \
32286e08
C
152 echo $(CXX); \
153 else \
ca7f5c98 154 echo gcc | sed '$(transform)'; \
32286e08
C
155 fi; \
156 fi`
c97b9003 157
49c009b5
ILT
158noinst_PROGRAMS = ld-new
159info_TEXINFOS = ld.texinfo
160noinst_TEXINFOS = ldint.texinfo
161man_MANS = ld.1
565c93e9 162
8bc8f4bc 163INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\""
f78e2569 164
49c009b5 165BFDLIB = ../bfd/libbfd.la
959eba20 166LIBIBERTY = ../libiberty/libiberty.a
eb02fd64 167
efa6c497
ILT
168ALL_EMULATIONS = \
169 ea29k.o \
170 eaixppc.o \
171 eaixrs6.o \
172 ealpha.o \
0c0b16f9 173 earcelf.o \
efa6c497
ILT
174 earmaoutb.o \
175 earmaoutl.o \
176 earmcoff.o \
177 earmpe.o \
178 ecoff_sparc.o \
e48412a2
MM
179 ed10velf.o \
180 $(start-sanitize-d30v) \
181 ed30velf.o \
f5870264
DE
182 ed30v_e.o \
183 ed30v_o.o \
e48412a2 184 $(end-sanitize-d30v) \
efa6c497
ILT
185 edelta68.o \
186 eebmon29k.o \
187 eelf32_sparc.o \
188 eelf32b4300.o \
189 eelf32bmip.o \
719de0ea
ILT
190 eelf32ebmip.o \
191 eelf32elmip.o \
efa6c497 192 eelf32l4300.o \
bd8a4ea4
JL
193 $(start-sanitize-r5900) \
194 eelf32l5900.o \
195 $(end-sanitize-r5900) \
efa6c497
ILT
196 eelf32lmip.o \
197 eelf32lppc.o \
198 eelf32ppc.o \
efa6c497
ILT
199 eelf_i386.o \
200 egld960.o \
201 egld960coff.o \
202 ego32.o \
203 eh8300.o \
204 eh8300h.o \
f14a5192 205 eh8300s.o \
efa6c497
ILT
206 eh8500.o \
207 eh8500b.o \
208 eh8500c.o \
209 eh8500m.o \
210 eh8500s.o \
211 ehp300bsd.o \
212 ehp3hpux.o \
213 ehppaelf.o \
214 ei386aout.o \
215 ei386bsd.o \
216 ei386coff.o \
217 ei386go32.o \
218 ei386linux.o \
219 ei386lynx.o \
220 ei386mach.o \
221 ei386moss.o \
222 ei386msdos.o \
223 ei386nbsd.o \
224 ei386nw.o \
225 ei386pe.o \
226 elnk960.o \
227 em68k4knbsd.o \
228 em68kaout.o \
229 em68kaux.o \
230 em68kcoff.o \
231 em68kelf.o \
232 em68klinux.o \
233 em68klynx.o \
234 em68knbsd.o \
235 em68kpsos.o \
236 em88kbcs.o \
237 emipsbig.o \
238 emipsbsd.o \
239 emipsidt.o \
240 emipsidtl.o \
241 emipslit.o \
9ae9e582 242 emipslnews.o \
efa6c497
ILT
243 enews.o \
244 ens32knbsd.o \
1ab4cd57 245 epc532macha.o \
efa6c497
ILT
246 eppcmacos.o \
247 eppcnw.o \
248 eppcpe.o \
249 eriscix.o \
250 esa29200.o \
251 esh.o \
79e9dc20
DE
252 eshelf.o \
253 eshlelf.o \
efa6c497
ILT
254 eshl.o \
255 esparcaout.o \
ba69384d 256 esparclinux.o \
efa6c497
ILT
257 esparclynx.o \
258 esparcnbsd.o \
259 est2000.o \
260 esun3.o \
261 esun4.o \
cdf91fe4
ILT
262 etic30aout.o \
263 etic30coff.o \
e48412a2
MM
264 $(start-sanitize-tic80) \
265 etic80coff.o \
266 $(end-sanitize-tic80) \
efa6c497
ILT
267 evanilla.o \
268 evax.o \
269 evsta.o \
270 ew65.o \
271 ez8001.o \
272 ez8002.o
7e5c1057 273
30bddd33 274ALL_64_EMULATIONS = \
e48412a2 275 eelf64_sparc.o \
30bddd33
ILT
276 eelf64alpha.o
277
74e6b793 278CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
4a6afc88 279 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
3fac4887 280 mri.c ldcref.c
eb02fd64 281
7e419672 282HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
4a6afc88 283 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
3fac4887 284 ldwrite.h mri.h
eb02fd64 285
74e6b793 286GENERATED_CFILES = ldgram.c ldlex.c
208bc89e 287GENERATED_HFILES = ldgram.h ldemul-list.h
eb02fd64 288
74e6b793 289OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
4a6afc88 290 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
3fac4887 291 ldfile.o ldcref.o ${EMULATION_OFILES}
eb02fd64 292
82ebe9a2 293STAGESTUFF = *.o ldscripts/* e*.c
e06ba18d 294
7e419672
ILT
295# At the moment this is just a list of those emulation template files
296# that contain internationalised strings.
297EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
298
299POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
8bc8f4bc 300
49c009b5
ILT
301# These all start with e so 'make clean' can find them.
302
303GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ ${EMUL} "@NATIVE_LIB_DIRS@"
304GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed
305
306ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
307 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
8bc8f4bc
TT
308ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS)
309ld_new_LDADD = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
49c009b5
ILT
310
311# This is the real libbfd.a created by libtool.
8bc8f4bc 312TESTBFDLIB = @TESTBFDLIB@
49c009b5 313
36977730 314MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
193bbe85 315 ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
83a33a21 316CLEANFILES = dep.sed .dep .dep1
51b9a79b
ILT
317
318# Stuff that should be included in a distribution. The diststuff
319# target is run by the taz target in ../Makefile.in.
320LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
321
193bbe85 322DISTCLEANFILES = tdirs site.exp site.bak
49c009b5
ILT
323ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
324mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
325CONFIG_HEADER = config.h
326CONFIG_CLEAN_FILES =
327noinst_PROGRAMS = ld-new$(EXEEXT)
328PROGRAMS = $(noinst_PROGRAMS)
329
330
331DEFS = @DEFS@ -I. -I$(srcdir) -I.
332CPPFLAGS = @CPPFLAGS@
333LDFLAGS = @LDFLAGS@
334LIBS = @LIBS@
335ld_new_OBJECTS = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o \
336ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o
337ld_new_LDFLAGS =
338LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
339LEXLIB = @LEXLIB@
340CFLAGS = @CFLAGS@
341COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
342LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
343LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
8bc8f4bc 344MAKEINFO = `if test -f $(top_builddir)/../texinfo/makeinfo/makeinfo; then echo $(top_builddir)/../texinfo/makeinfo/makeinfo; else echo makeinfo; fi`
49c009b5
ILT
345TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
346TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
347INFO_DEPS = ld.info
348DVIS = ld.dvi
349TEXINFOS = ld.texinfo
8bc8f4bc
TT
350man1dir = $(mandir)/man1
351MANS = $(man_MANS)
49c009b5
ILT
352
353NROFF = nroff
354DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \
355acconfig.h acinclude.m4 aclocal.m4 config.in configure configure.in \
356ldgram.c ldlex.c stamp-h.in
357
358
8bc8f4bc
TT
359PACKAGE = @PACKAGE@
360VERSION = @VERSION@
361
49c009b5
ILT
362DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
363
364TAR = tar
365GZIP = --best
366SOURCES = $(ld_new_SOURCES)
367OBJECTS = $(ld_new_OBJECTS)
368
8bc8f4bc 369all: all-recursive-am all-am
49c009b5
ILT
370
371.SUFFIXES:
8bc8f4bc
TT
372.SUFFIXES: .S .c .dvi .info .l .lo .o .ps .s .texi .texinfo .txi .y
373$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
49c009b5
ILT
374 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
375
8bc8f4bc 376Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
49c009b5
ILT
377 cd $(top_builddir) \
378 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
379
380$(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
381 cd $(srcdir) && $(ACLOCAL)
49c009b5
ILT
382$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
383 cd $(srcdir) && $(AUTOCONF)
384
51b9a79b
ILT
385config.h: stamp-h
386 @:
49c009b5
ILT
387stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
388 cd $(top_builddir) \
389 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
390 $(SHELL) ./config.status
391 @echo timestamp > stamp-h
392$(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in
393$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
394 cd $(top_srcdir) && $(AUTOHEADER)
395 @echo timestamp > $(srcdir)/stamp-h.in
396
397mostlyclean-hdr:
398
399clean-hdr:
400
401distclean-hdr:
51b9a79b 402 -rm -f config.h
49c009b5
ILT
403
404maintainer-clean-hdr:
405
406mostlyclean-noinstPROGRAMS:
407
408clean-noinstPROGRAMS:
51b9a79b 409 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
49c009b5
ILT
410
411distclean-noinstPROGRAMS:
412
413maintainer-clean-noinstPROGRAMS:
414
51b9a79b 415.c.o:
f5870264
DE
416 $(COMPILE) -c $<
417
51b9a79b 418.s.o:
f5870264
DE
419 $(COMPILE) -c $<
420
51b9a79b 421.S.o:
49c009b5
ILT
422 $(COMPILE) -c $<
423
424mostlyclean-compile:
51b9a79b 425 -rm -f *.o core *.core
49c009b5
ILT
426
427clean-compile:
428
429distclean-compile:
51b9a79b 430 -rm -f *.tab.c
49c009b5
ILT
431
432maintainer-clean-compile:
433
434.c.lo:
435 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
436
f5870264
DE
437.s.lo:
438 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
439
440.S.lo:
441 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
442
49c009b5 443mostlyclean-libtool:
51b9a79b 444 -rm -f *.lo
49c009b5
ILT
445
446clean-libtool:
51b9a79b 447 -rm -rf .libs _libs
49c009b5
ILT
448
449distclean-libtool:
450
451maintainer-clean-libtool:
452
453ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
454 @rm -f ld-new$(EXEEXT)
455 $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
456.y.c:
51b9a79b 457 $(YACC) $(YFLAGS) $< && mv y.tab.c $*.c
49c009b5
ILT
458 if test -f y.tab.h; then \
459 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
460 else :; fi
51b9a79b
ILT
461ldgram.h: ldgram.c
462
49c009b5
ILT
463.l.c:
464 $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
465
466ld.info: ld.texinfo
467ld.dvi: ld.texinfo
468
469
470DVIPS = dvips
471
472.texi.info:
473 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
474 $(MAKEINFO) -I $(srcdir) $<
475
476.texi.dvi:
477 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
478 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
479
480.texi:
481 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
482 $(MAKEINFO) -I $(srcdir) $<
483
484.texinfo.info:
485 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
486 $(MAKEINFO) -I $(srcdir) $<
487
488.texinfo:
489 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
490 $(MAKEINFO) -I $(srcdir) $<
491
492.texinfo.dvi:
493 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
494 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
8bc8f4bc
TT
495
496.txi.info:
497 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
498 $(MAKEINFO) -I $(srcdir) $<
499
500.txi.dvi:
501 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
502 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
503
504.txi:
505 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
506 $(MAKEINFO) -I $(srcdir) $<
49c009b5
ILT
507.dvi.ps:
508 $(DVIPS) $< -o $@
509
510install-info-am: $(INFO_DEPS)
511 @$(NORMAL_INSTALL)
8bc8f4bc 512 $(mkinstalldirs) $(DESTDIR)$(infodir)
49c009b5
ILT
513 @for file in $(INFO_DEPS); do \
514 if test -f $$file; then d=.; else d=$(srcdir); fi; \
515 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
516 if test -f $$d/$$ifile; then \
8bc8f4bc
TT
517 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
518 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
49c009b5
ILT
519 else : ; fi; \
520 done; \
521 done
522 @$(POST_INSTALL)
523 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
524 for file in $(INFO_DEPS); do \
8bc8f4bc
TT
525 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
526 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
49c009b5
ILT
527 done; \
528 else : ; fi
529
530uninstall-info:
531 $(PRE_UNINSTALL)
532 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
533 ii=yes; \
534 else ii=; fi; \
535 for file in $(INFO_DEPS); do \
51b9a79b 536 test -z "$ii" \
8bc8f4bc 537 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
49c009b5 538 done
8bc8f4bc 539 @$(NORMAL_UNINSTALL)
49c009b5 540 for file in $(INFO_DEPS); do \
8bc8f4bc 541 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
49c009b5
ILT
542 done
543
544dist-info: $(INFO_DEPS)
545 for base in $(INFO_DEPS); do \
546 if test -f $$base; then d=.; else d=$(srcdir); fi; \
547 for file in `cd $$d && eval echo $$base*`; do \
548 test -f $(distdir)/$$file \
549 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
550 || cp -p $$d/$$file $(distdir)/$$file; \
551 done; \
552 done
553
554mostlyclean-aminfo:
51b9a79b
ILT
555 -rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.ky ld.kys ld.ps \
556 ld.log ld.pg ld.toc ld.tp ld.tps ld.vr ld.vrs ld.op ld.tr \
557 ld.cv ld.cn
49c009b5
ILT
558
559clean-aminfo:
560
561distclean-aminfo:
562
563maintainer-clean-aminfo:
51b9a79b
ILT
564 for i in $(INFO_DEPS); do \
565 rm -f $$i; \
566 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
567 rm -f $$i-[0-9]*; \
568 fi; \
569 done
49c009b5 570clean-info: mostlyclean-aminfo
49c009b5 571
8bc8f4bc
TT
572install-man1:
573 $(mkinstalldirs) $(DESTDIR)$(man1dir)
574 @list='$(man1_MANS)'; \
575 l2='$(man_MANS)'; for i in $$l2; do \
576 case "$$i" in \
577 *.1*) list="$$list $$i" ;; \
578 esac; \
579 done; \
580 for i in $$list; do \
581 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
582 else file=$$i; fi; \
583 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
584 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
585 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
586 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
587 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
588 done
49c009b5 589
8bc8f4bc
TT
590uninstall-man1:
591 @list='$(man1_MANS)'; \
592 l2='$(man_MANS)'; for i in $$l2; do \
593 case "$$i" in \
594 *.1*) list="$$list $$i" ;; \
595 esac; \
596 done; \
597 for i in $$list; do \
598 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
599 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
600 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
601 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
602 rm -f $(DESTDIR)$(man1dir)/$$inst; \
603 done
604install-man: $(MANS)
605 @$(NORMAL_INSTALL)
606 $(MAKE) install-man1
607uninstall-man:
608 @$(NORMAL_UNINSTALL)
609 $(MAKE) uninstall-man1
610
611# This directory's subdirectories are mostly independent; you can cd
612# into them and run `make' without going through this Makefile.
613# To change the values of `make' variables: instead of editing Makefiles,
614# (1) if the variable is set in `config.status', edit `config.status'
615# (which will cause the Makefiles to be regenerated when you run `make');
616# (2) otherwise, pass the desired values on the `make' command line.
617
618@SET_MAKE@
619
620all-recursive install-data-recursive install-exec-recursive \
621installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
622check-recursive installcheck-recursive info-recursive dvi-recursive:
623 @set fnord $(MAKEFLAGS); amf=$$2; \
624 list='$(SUBDIRS)'; for subdir in $$list; do \
625 target=`echo $@ | sed s/-recursive//`; \
626 echo "Making $$target in $$subdir"; \
627 (cd $$subdir && $(MAKE) $$target) \
628 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
629 done && test -z "$$fail"
630
631mostlyclean-recursive clean-recursive distclean-recursive \
632maintainer-clean-recursive:
633 @set fnord $(MAKEFLAGS); amf=$$2; \
634 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
635 rev="$$subdir $$rev"; \
636 done; \
637 for subdir in $$rev; do \
638 target=`echo $@ | sed s/-recursive//`; \
639 echo "Making $$target in $$subdir"; \
640 (cd $$subdir && $(MAKE) $$target) \
641 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
642 done && test -z "$$fail"
643tags-recursive:
644 list='$(SUBDIRS)'; for subdir in $$list; do \
645 (cd $$subdir && $(MAKE) tags); \
646 done
49c009b5
ILT
647
648tags: TAGS
649
51b9a79b
ILT
650ID: $(HEADERS) $(SOURCES) $(LISP)
651 here=`pwd` && cd $(srcdir) \
652 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
49c009b5 653
8bc8f4bc 654TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
49c009b5
ILT
655 tags=; \
656 here=`pwd`; \
8bc8f4bc
TT
657 list='$(SUBDIRS)'; for subdir in $$list; do \
658 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
659 done; \
51b9a79b
ILT
660 list='$(SOURCES) $(HEADERS)'; \
661 unique=`for i in $$list; do echo $$i; done | \
662 awk ' { files[$$0] = 1; } \
663 END { for (i in files) print i; }'`; \
664 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
665 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
49c009b5
ILT
666
667mostlyclean-tags:
668
669clean-tags:
670
671distclean-tags:
51b9a79b 672 -rm -f TAGS ID
49c009b5
ILT
673
674maintainer-clean-tags:
675
676distdir = $(PACKAGE)-$(VERSION)
677top_distdir = $(distdir)
678
679# This target untars the dist file and tries a VPATH configuration. Then
680# it guarantees that the distribution is self-contained by making another
681# tarfile.
682distcheck: dist
51b9a79b 683 -rm -rf $(distdir)
49c009b5
ILT
684 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
685 mkdir $(distdir)/=build
686 mkdir $(distdir)/=inst
687 dc_install_base=`cd $(distdir)/=inst && pwd`; \
688 cd $(distdir)/=build \
689 && ../configure --srcdir=.. --prefix=$$dc_install_base \
690 && $(MAKE) \
691 && $(MAKE) dvi \
692 && $(MAKE) check \
693 && $(MAKE) install \
694 && $(MAKE) installcheck \
695 && $(MAKE) dist
51b9a79b 696 -rm -rf $(distdir)
49c009b5
ILT
697 @echo "========================"; \
698 echo "$(distdir).tar.gz is ready for distribution"; \
699 echo "========================"
700dist: distdir
701 -chmod -R a+r $(distdir)
702 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
51b9a79b 703 -rm -rf $(distdir)
49c009b5
ILT
704dist-all: distdir
705 -chmod -R a+r $(distdir)
706 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
51b9a79b 707 -rm -rf $(distdir)
49c009b5 708distdir: $(DISTFILES)
51b9a79b 709 -rm -rf $(distdir)
49c009b5
ILT
710 mkdir $(distdir)
711 -chmod 777 $(distdir)
712 @for file in $(DISTFILES); do \
713 if test -f $$file; then d=.; else d=$(srcdir); fi; \
714 test -f $(distdir)/$$file \
715 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
716 || cp -p $$d/$$file $(distdir)/$$file; \
717 done
8bc8f4bc
TT
718 for subdir in $(SUBDIRS); do \
719 test -d $(distdir)/$$subdir \
720 || mkdir $(distdir)/$$subdir \
721 || exit 1; \
722 chmod 777 $(distdir)/$$subdir; \
723 (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
724 || exit 1; \
725 done
49c009b5
ILT
726 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
727
728DEJATOOL = $(PACKAGE)
51b9a79b
ILT
729
730RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
49c009b5
ILT
731site.exp: Makefile
732 @echo 'Making a new site.exp file...'
733 -@rm -f site.bak
734 @echo '## these variables are automatically generated by make ##' > $@-t
735 @echo '# Do not edit here. If you wish to override these values' >> $@-t
736 @echo '# edit the last section' >> $@-t
737 @echo 'set tool $(DEJATOOL)' >> $@-t
738 @echo 'set srcdir $(srcdir)' >> $@-t
739 @echo 'set objdir' `pwd` >> $@-t
740 @echo 'set host_alias $(host_alias)' >> $@-t
741 @echo 'set host_triplet $(host_triplet)' >> $@-t
742 @echo 'set target_alias $(target_alias)' >> $@-t
743 @echo 'set target_triplet $(target_triplet)' >> $@-t
744 @echo 'set build_alias $(build_alias)' >> $@-t
745 @echo 'set build_triplet $(build_triplet)' >> $@-t
746 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
747 -@sed '1,/^## All variables above are.*##/ d' site.bak >> $@-t
748 -@mv site.exp site.bak
749 @mv $@-t site.exp
8bc8f4bc
TT
750info: $(INFO_DEPS) info-recursive
751dvi: $(DVIS) dvi-recursive
51b9a79b 752check:
8bc8f4bc
TT
753 $(MAKE) check-recursive check-DEJAGNU
754installcheck: installcheck-recursive
755install-info: install-info-am install-info-recursive
756all-recursive-am: config.h
757 $(MAKE) all-recursive
758
759all-am: Makefile $(PROGRAMS) $(MANS) config.h
760
761install-exec-am: install-exec-local
762
763install-data-am: install-man install-data-local
764
765uninstall-am: uninstall-man
766
767install-exec: install-exec-recursive install-exec-am
49c009b5
ILT
768 @$(NORMAL_INSTALL)
769
8bc8f4bc 770install-data: install-data-recursive install-data-am
49c009b5
ILT
771 @$(NORMAL_INSTALL)
772
8bc8f4bc 773install: install-recursive install-exec-am install-data-am
49c009b5
ILT
774 @:
775
8bc8f4bc 776uninstall: uninstall-recursive uninstall-am
49c009b5
ILT
777
778install-strip:
779 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
8bc8f4bc
TT
780installdirs: installdirs-recursive
781 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
49c009b5 782
2ee11735 783
49c009b5 784mostlyclean-generic:
51b9a79b 785 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
49c009b5
ILT
786
787clean-generic:
51b9a79b 788 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
49c009b5
ILT
789
790distclean-generic:
51b9a79b
ILT
791 -rm -f Makefile $(DISTCLEANFILES)
792 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
793 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
49c009b5
ILT
794
795maintainer-clean-generic:
51b9a79b
ILT
796 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
797 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
8bc8f4bc 798mostlyclean-am: mostlyclean-hdr mostlyclean-noinstPROGRAMS \
49c009b5 799 mostlyclean-compile mostlyclean-libtool \
8bc8f4bc 800 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
49c009b5 801
8bc8f4bc
TT
802clean-am: clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \
803 clean-aminfo clean-tags clean-generic mostlyclean-am
49c009b5 804
8bc8f4bc 805distclean-am: distclean-hdr distclean-noinstPROGRAMS distclean-compile \
49c009b5 806 distclean-libtool distclean-aminfo distclean-tags \
8bc8f4bc 807 distclean-generic clean-am
49c009b5 808
8bc8f4bc
TT
809maintainer-clean-am: maintainer-clean-hdr \
810 maintainer-clean-noinstPROGRAMS \
49c009b5
ILT
811 maintainer-clean-compile maintainer-clean-libtool \
812 maintainer-clean-aminfo maintainer-clean-tags \
8bc8f4bc
TT
813 maintainer-clean-generic distclean-am
814
815mostlyclean: mostlyclean-recursive mostlyclean-am mostlyclean-local
816
817clean: clean-recursive clean-am
818
819distclean: distclean-recursive distclean-am distclean-local
820 -rm -f config.status
821 -rm -f libtool
822
823maintainer-clean: maintainer-clean-recursive maintainer-clean-am
49c009b5
ILT
824 @echo "This command is intended for maintainers to use;"
825 @echo "it deletes files that may require special tools to rebuild."
51b9a79b 826 -rm -f config.status
49c009b5 827
8bc8f4bc
TT
828.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
829mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
830clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
831mostlyclean-compile distclean-compile clean-compile \
832maintainer-clean-compile mostlyclean-libtool distclean-libtool \
833clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
834mostlyclean-aminfo distclean-aminfo clean-aminfo \
835maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
836uninstall-man install-data-recursive uninstall-data-recursive \
837install-exec-recursive uninstall-exec-recursive installdirs-recursive \
838uninstalldirs-recursive all-recursive check-recursive \
839installcheck-recursive info-recursive dvi-recursive \
840mostlyclean-recursive distclean-recursive clean-recursive \
841maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
842distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
843info dvi installcheck install-info all-recursive-am all-am \
844install-exec-am install-data-am uninstall-am install-exec install-data \
845install uninstall all installdirs mostlyclean-generic distclean-generic \
846clean-generic maintainer-clean-generic clean mostlyclean distclean \
847maintainer-clean
848
7e419672 849
8bc8f4bc
TT
850po/POTFILES.in: @MAINT@ Makefile
851 for file in $(POTFILES); do echo $$file; done | sort > tmp \
852 && mv tmp $(srcdir)/po/POTFILES.in
32286e08 853
4a6afc88 854ldmain.o: ldmain.c config.status
49c009b5 855 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
4a6afc88 856
82ebe9a2 857ldemul-list.h: Makefile
7e5c1057
PB
858 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
859 for f in `echo " " ${EMULATION_OFILES} "" \
82ebe9a2 860 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
7e5c1057
PB
861 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
862 done;\
863 echo "";\
864 echo "#define EMULATION_LIST \\";\
865 for f in `echo " " ${EMULATION_OFILES} "" \
82ebe9a2 866 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
7e5c1057
PB
867 echo " &ld_$${f}_emulation, \\"; \
868 done;\
4a6afc88
ILT
869 echo " 0") >ldemul-tmp.h
870 mv ldemul-tmp.h ldemul-list.h
95d31c3c 871@TDIRS@
7e5c1057 872
efa6c497
ILT
873ea29k.c: $(srcdir)/emulparams/a29k.sh \
874 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
875 ${GENSCRIPTS} a29k "$(tdir_a29k)"
876eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
877 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
878 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
879eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
880 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
881 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
882ealpha.c: $(srcdir)/emulparams/alpha.sh \
883 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
884 ${GENSCRIPTS} alpha "$(tdir_alpha)"
efa6c497
ILT
885earcelf.c: $(srcdir)/emulparams/arcelf.sh \
886 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
887 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
efa6c497
ILT
888earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
889 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
890 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
891earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
892 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
893 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
894earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
7e419672 895 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
efa6c497 896 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
28d0c3ce 897earmpe.c: $(srcdir)/emulparams/armpe.sh \
d66c832b 898 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
95d31c3c 899 ${GENSCRIPTS} armpe "$(tdir_armpe)"
efa6c497
ILT
900ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
901 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
902 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
e9525d96 903ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
10e31c75 904 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
04c17a75 905 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
49c009b5 906start-sanitize-d30v:
9ae9e582
ILT
907ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
908 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
909 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
f5870264
DE
910ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
911 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
912 ${GENSCRIPTS} d30v_o "$(tdir_d30v)"
913ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
914 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
915 ${GENSCRIPTS} d30v_e "$(tdir_d30v)"
49c009b5 916end-sanitize-d30v:
efa6c497
ILT
917edelta68.c: $(srcdir)/emulparams/delta68.sh \
918 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
919 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
920eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
921 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
922 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
79e9dc20
DE
923em32relf.c: $(srcdir)/emulparams/m32relf.sh \
924 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
925 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
efa6c497
ILT
926eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
927 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
928 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
929eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
930 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
931 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
932eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
b9a5c27f 933 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
efa6c497 934 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
532fe3e5
ILT
935eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
936 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
937 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
719de0ea 938eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
b9a5c27f 939 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
719de0ea
ILT
940 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
941eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
b9a5c27f 942 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
719de0ea 943 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
efa6c497
ILT
944eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
945 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
946 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
bd8a4ea4
JL
947start-sanitize-r5900:
948eelf32l5900.c: $(srcdir)/emulparams/elf32l5900.sh \
949 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
950 ${GENSCRIPTS} elf32l5900 "$(tdir_elf32l5900)"
951end-sanitize-r5900:
efa6c497 952eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
b9a5c27f 953 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
efa6c497
ILT
954 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
955eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
956 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS}
957 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
532fe3e5
ILT
958eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
959 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
960 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
efa6c497
ILT
961eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
962 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS}
963 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
f14a5192
JM
964eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
965 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
966 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
efa6c497 967eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
e48412a2 968 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
efa6c497
ILT
969 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
970eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
971 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
972 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
973egld960.c: $(srcdir)/emulparams/gld960.sh \
974 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
975 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
976egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
977 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
978 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
82ebe9a2 979ego32.c: $(srcdir)/emulparams/go32.sh \
8ddef552 980 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
95d31c3c 981 ${GENSCRIPTS} go32 "$(tdir_go32)"
efa6c497
ILT
982eh8300.c: $(srcdir)/emulparams/h8300.sh \
983 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
984 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
985eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
986 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
987 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
f14a5192
JM
988eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
989 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
990 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
efa6c497
ILT
991eh8500.c: $(srcdir)/emulparams/h8500.sh \
992 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
993 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
994eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
995 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
996 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
997eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
998 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
999 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
1000eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
1001 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
1002 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
1003eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
1004 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
1005 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
82ebe9a2 1006ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
8ddef552 1007 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
95d31c3c 1008 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
82ebe9a2 1009ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
8ddef552 1010 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
95d31c3c 1011 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
82ebe9a2 1012ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
db0a7149 1013 $(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
95d31c3c 1014 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
82ebe9a2 1015ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
8ddef552 1016 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
95d31c3c 1017 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
efa6c497
ILT
1018ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
1019 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1020 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
1021ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
1022 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
1023 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
82ebe9a2 1024ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
6c86b9ff 1025 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
95d31c3c 1026 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
efa6c497
ILT
1027ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
1028 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1029 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
1030ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
1031 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
1032 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
82ebe9a2 1033ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
3c1af24d 1034 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
95d31c3c 1035 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
943fbd5b
KR
1036ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
1037 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
95d31c3c 1038 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
943fbd5b
KR
1039ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
1040 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
95d31c3c 1041 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
efa6c497
ILT
1042ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
1043 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1044 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
1045ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
1046 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
1047 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
1048ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
1049 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
1050 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
82ebe9a2 1051elnk960.c: $(srcdir)/emulparams/lnk960.sh \
8ddef552 1052 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
95d31c3c 1053 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
efa6c497
ILT
1054em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
1055 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1056 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
1057em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
1058 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1059 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
2e598345
ILT
1060em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
1061 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
95d31c3c 1062 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
82ebe9a2 1063em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
8ddef552 1064 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
95d31c3c 1065 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
417ced0d
MM
1066em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
1067 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
95d31c3c 1068 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
efa6c497
ILT
1069em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
1070 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1071 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
82ebe9a2 1072em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
028f8872 1073 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
95d31c3c 1074 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
efa6c497 1075em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
8ddef552 1076 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
efa6c497
ILT
1077 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
1078em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
1079 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
1080 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
1081em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
9ae9e582 1082 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
efa6c497 1083 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
82ebe9a2 1084emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
8ddef552 1085 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
efa6c497 1086 ${GENSCRIPTS} mipsbig
82ebe9a2
KR
1087emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
1088 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
efa6c497 1089 ${GENSCRIPTS} mipsbsd
82ebe9a2 1090emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
417ced0d 1091 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
95d31c3c 1092 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
82ebe9a2 1093emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
417ced0d 1094 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
95d31c3c 1095 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
efa6c497
ILT
1096emipslit.c: $(srcdir)/emulparams/mipslit.sh \
1097 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1098 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
9ae9e582
ILT
1099emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
1100 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
1101 ${GENSCRIPTS} mipslnews
10e31c75
JL
1102emn10300.c: $(srcdir)/emulparams/mn10300.sh \
1103 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1104 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
1105emn10200.c: $(srcdir)/emulparams/mn10200.sh \
1106 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1107 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
efa6c497 1108enews.c: $(srcdir)/emulparams/news.sh \
dd37f215 1109 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
efa6c497
ILT
1110 ${GENSCRIPTS} news "$(tdir_news)"
1111ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
82ebe9a2 1112 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
efa6c497 1113 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
1ab4cd57 1114epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
cdf71377 1115 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1ab4cd57 1116 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
4fe13b2b
MM
1117eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
1118 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
95d31c3c 1119 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
32286e08
C
1120eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
1121 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
95d31c3c 1122 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
efa6c497
ILT
1123eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
1124 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
1125 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
efa6c497 1126eriscix.c: $(srcdir)/emulparams/riscix.sh \
e93e87cb 1127 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
efa6c497
ILT
1128 ${GENSCRIPTS} riscix "$(tdir_riscix)"
1129esa29200.c: $(srcdir)/emulparams/sa29200.sh \
1130 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
1131 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
1132esh.c: $(srcdir)/emulparams/sh.sh \
1133 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1134 ${GENSCRIPTS} sh "$(tdir_sh)"
79e9dc20
DE
1135eshelf.c: $(srcdir)/emulparams/shelf.sh \
1136 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1137 ${GENSCRIPTS} shelf "$(tdir_shelf)"
1138eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
1139 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1140 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
efa6c497
ILT
1141eshl.c: $(srcdir)/emulparams/shl.sh \
1142 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
1143 ${GENSCRIPTS} shl "$(tdir_shl)"
1144esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
e93e87cb 1145 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
efa6c497 1146 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
ba69384d
ILT
1147esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
1148 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1149 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
efa6c497
ILT
1150esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
1151 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
1152 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
32286e08 1153esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
e93e87cb 1154 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
95d31c3c 1155 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
efa6c497
ILT
1156est2000.c: $(srcdir)/emulparams/st2000.sh \
1157 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
1158 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
1159esun3.c: $(srcdir)/emulparams/sun3.sh \
1160 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1161 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
1162esun4.c: $(srcdir)/emulparams/sun4.sh \
1163 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1164 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
cdf91fe4
ILT
1165etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
1166 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
1167 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)"
1168etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
1169 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
1170 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
49c009b5 1171start-sanitize-tic80:
c6c7035c
MM
1172etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
1173 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
1174 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
49c009b5 1175end-sanitize-tic80:
efa6c497
ILT
1176evanilla.c: $(srcdir)/emulparams/vanilla.sh \
1177 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
1178 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
1179evax.c: $(srcdir)/emulparams/vax.sh \
1180 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1181 ${GENSCRIPTS} vax "$(tdir_vax)"
1182evsta.c: $(srcdir)/emulparams/vsta.sh \
1183 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
1184 ${GENSCRIPTS} vsta "$(tdir_vsta)"
04c17a75 1185ev850.c: $(srcdir)/emulparams/v850.sh \
d27d34c3 1186 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
04c17a75 1187 ${GENSCRIPTS} v850 "$(tdir_v850)"
efa6c497
ILT
1188ew65.c: $(srcdir)/emulparams/w65.sh \
1189 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
1190 ${GENSCRIPTS} w65 "$(tdir_w65)"
65d22248
C
1191ez8001.c: $(srcdir)/emulparams/z8001.sh \
1192 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
95d31c3c 1193 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
65d22248
C
1194ez8002.c: $(srcdir)/emulparams/z8002.sh \
1195 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
95d31c3c 1196 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
eb02fd64 1197
d17eb3db 1198# The generated emulation files mostly have the same dependencies.
d66c832b
ILT
1199$(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
1200 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
2a80ec10 1201 ldctor.h ldexp.h ldlang.h ldgram.h
4a6afc88 1202
49c009b5
ILT
1203check-DEJAGNU: site.exp
1204 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
32286e08 1205 r=`pwd`; export r; \
49c009b5
ILT
1206 EXPECT=$(EXPECT); export EXPECT; \
1207 if [ -f $(top_builddir)/../expect/expect ]; then \
1208 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
1209 export TCL_LIBRARY; \
1210 fi; \
1211 runtest=$(RUNTEST); \
1212 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1213 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
1214 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
1215 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
1216 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
1217 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
7e419672
ILT
1218 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" \
1219 HOSTING_EMU="$(HOSTING_EMU)" \
49c009b5
ILT
1220 HOSTING_CRT0="$(HOSTING_CRT0)" HOSTING_LIBS="$(HOSTING_LIBS)" \
1221 $(RUNTESTFLAGS); \
1222 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1223 fi
e7921bd4 1224
7e5c1057 1225# Rules for testing by relinking ld itself.
32286e08
C
1226# A similar test is in the testsuite. This target is for ease of use
1227# when porting ld.
eb02fd64 1228
49c009b5
ILT
1229ld-partial.o: ld-new$(EXEEXT)
1230 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
1231ld1$(EXEEXT): ld-partial.o
1232 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
eb02fd64 1233
49c009b5
ILT
1234ld1-full$(EXEEXT): ld-new
1235 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
eb02fd64 1236
49c009b5
ILT
1237ld2$(EXEEXT): ld1$(EXEEXT)
1238 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
60048a2c 1239
49c009b5
ILT
1240ld3$(EXEEXT): ld2$(EXEEXT)
1241 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
eb02fd64 1242
49c009b5
ILT
1243bootstrap: ld3$(EXEEXT)
1244 cmp ld2$(EXEEXT) ld3$(EXEEXT)
d20fb445 1245
4a6afc88
ILT
1246.PHONY: bootstrap
1247
8ddef552 1248# A test program for C++ constructors and destructors.
32286e08
C
1249# This test is now in the testsuite.
1250#
1251#cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1252# ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
1253# cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
1254#
1255#cdtest.out: cdtest
1256# ./cdtest > cdtest.tmp
1257# mv cdtest.tmp cdtest.out
1258#
1259#cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
1260# ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
1261# cdtest-bar.o cdtest-foo.o
1262#
1263#cdtest-ur: cdtest-ur.o
1264# ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
1265# $(HOSTING_LIBS)
1266#
1267#cdtest-ur.out: cdtest-ur
1268# ./cdtest-ur > cdtest-ur.tmp
1269# mv cdtest-ur.tmp cdtest-ur.out
1270#
1271#check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
1272# diff $(srcdir)/cdtest.exp cdtest.out
1273# diff $(srcdir)/cdtest.exp cdtest-ur.out
1274#
1275#.PHONY: check-cdtest
4a6afc88 1276
d301e438 1277# END OF CHECK TARGETS
917bffa7 1278
8073190b 1279# DOCUMENTATION TARGETS
2412a768
RP
1280# Manual configuration file; not usually attached to normal configuration,
1281# because almost all configs use "gen" version of manual.
1282# Set DOCVER above to change.
1283configdoc.texi: ${DOCVER}-doc.texi
49c009b5
ILT
1284 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1285 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
1286 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
2412a768 1287
3964a18a
ILT
1288ldver.texi: Makefile
1289 rm -f $@
1290 echo '@set VERSION $(VERSION)' > $@
1291
1292ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
83a33a21
ILT
1293 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
1294 $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
0c0b16f9 1295
3964a18a 1296ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
83a33a21
ILT
1297 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
1298 MAKEINFO='$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc' $(TEXI2DVI) $(srcdir)/ld.texinfo
2412a768 1299
51b9a79b 1300# We want to reconfigure if configure.host or configure.tgt changes.
3964a18a
ILT
1301config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt
1302 $(SHELL) ./config.status --recheck
437a04cb
ILT
1303mostlyclean-local:
1304 -rm -rf tmpdir
51b9a79b 1305
49c009b5 1306.PHONY: install-exec-local install-data-local
8d317d2a 1307
49c009b5
ILT
1308install-exec-local: ld-new$(EXEEXT)
1309 $(mkinstalldirs) $(bindir) $(tooldir)/bin
1310 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1311 if test -f $$p; then \
3964a18a
ILT
1312 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1313 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
49c009b5 1314 else :; fi; \
d360d135 1315 done
49c009b5
ILT
1316 rm -f $(tooldir)/bin/ld$(EXEEXT)
1317 n=`echo ld | sed '$(transform)'`; \
51b9a79b
ILT
1318 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
1319 ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
1320 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \
1321 fi
ba69384d 1322
49c009b5 1323install-data-local:
3964a18a 1324 $(mkinstalldirs) $(scriptdir)/ldscripts
49c009b5
ILT
1325 for f in ldscripts/*; do \
1326 $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
afe3aa73 1327 done
51b9a79b 1328diststuff: $(LDDISTSTUFF) info
03abc2bd
ILT
1329distclean-local:
1330 rm -rf ldscripts
afe3aa73 1331
4a6afc88
ILT
1332# Targets to rebuild dependencies in this Makefile.
1333# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
208bc89e 1334.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
4a6afc88
ILT
1335 rm -f .dep1
1336 $(MAKE) DEP=$(DEP) .dep1
1337 sed -f dep.sed <.dep1 >.dep
eb02fd64 1338
4a6afc88
ILT
1339# This rule really wants a mkdep that runs "gcc -MM".
1340.dep1: $(CFILES) $(GENERATED_CFILES)
1341 rm -f .dep2
1342 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
49c009b5 1343 $(DEP) -f .dep2 $(INCLUDES) $?
4a6afc88 1344 $(srcdir)/../move-if-change .dep2 .dep1
eb02fd64 1345
4a6afc88
ILT
1346dep.sed: dep-in.sed config.status
1347 sed <$(srcdir)/dep-in.sed >dep.sed \
1348 -e 's!@INCDIR@!$(INCDIR)!' \
d66c832b 1349 -e 's!@SRCDIR@!$(srcdir)!'
eb02fd64 1350
4a6afc88
ILT
1351dep: .dep
1352 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1353 cat .dep >> tmp-Makefile
1354 $(srcdir)/../move-if-change tmp-Makefile Makefile
239d28f3 1355
4a6afc88
ILT
1356dep-in: .dep
1357 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1358 cat .dep >> tmp-Makefile.in
1359 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1360
49c009b5
ILT
1361dep-am: .dep
1362 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1363 cat .dep >> tmp-Makefile.am
1364 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
eb02fd64 1365
49c009b5 1366.PHONY: dep dep-in dep-am
eb02fd64 1367
4a6afc88
ILT
1368# What appears below is generated by a hacked mkdep using gcc -MM.
1369
1370# DO NOT DELETE THIS LINE -- mkdep uses it.
1371# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1372
dd37f215 1373ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1374 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1375 ld.h ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
dd37f215 1376ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1377 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldemul.h \
1378 ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldemul-list.h
dd37f215 1379ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1380 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1381 ld.h ldmain.h ldmisc.h ldexp.h ldgram.h ldlang.h
dd37f215 1382ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1383 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1384 ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
1385 ldlex.h ldemul.h
dd37f215 1386ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1387 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1388 $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
4725fb48 1389 ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \
3fac4887 1390 ldctor.h ldfile.h $(INCDIR)/fnmatch.h
dd37f215 1391ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1392 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1393 $(INCDIR)/progress.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
1394 ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h ldemul.h \
1395 ldlex.h ldfile.h ldctor.h
dd37f215 1396ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1397 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1398 $(INCDIR)/demangle.h ld.h ldmisc.h ldexp.h ldlang.h \
1399 ldgram.h ldlex.h ldmain.h ldfile.h
dd37f215 1400ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1401 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldver.h \
1402 ldemul.h ldmain.h
dd37f215 1403ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1404 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1405 $(INCDIR)/libiberty.h ld.h ldexp.h ldlang.h ldwrite.h \
1406 ldmisc.h ldgram.h ldmain.h
dd37f215 1407lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1408 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1409 $(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
1410 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
1411 ldver.h ldemul.h
1412mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \
1413 config.h $(INCDIR)/fopen-same.h ld.h ldexp.h ldlang.h \
1414 ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
f14a5192 1415ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1416 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1417 $(INCDIR)/libiberty.h ld.h ldmain.h ldmisc.h ldexp.h \
1418 ldlang.h
dd37f215 1419ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ba69384d
ILT
1420 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
1421 ld.h ldexp.h ldver.h ldlang.h ldemul.h ldfile.h ldmisc.h \
1422 ldmain.h mri.h ldlex.h
1423ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
1424 ld.h ldgram.h ldmisc.h ldexp.h ldlang.h ldfile.h ldlex.h \
1425 ldmain.h
239d28f3
SC
1426
1427# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
49c009b5
ILT
1428
1429# Tell versions [3.59,3.63) of GNU make to not export all variables.
1430# Otherwise a system limit (for SysV at least) may be exceeded.
1431.NOEXPORT:
This page took 0.309938 seconds and 4 git commands to generate.