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