fsf address update, but not in COPYING files
[deliverable/binutils-gdb.git] / ld / Makefile.in
1 # Makefile for the GNU linker ld (version 2)
2 # Copyright (C) 1989, 90, 91, 92, 93, 1994 Free Software Foundation, Inc.
3
4 # This file is part of GNU ld.
5
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20
21 srcdir = .
22 objdir = .
23
24 prefix = /usr/local
25
26 program_transform_name =
27 exec_prefix = $(prefix)
28 bindir = $(exec_prefix)/bin
29 libdir = $(exec_prefix)/lib
30 tooldir = $(exec_prefix)/$(target_alias)
31 datadir = $(prefix)/lib
32 mandir = $(prefix)/man
33 man1dir = $(mandir)/man1
34 man2dir = $(mandir)/man2
35 man3dir = $(mandir)/man3
36 man4dir = $(mandir)/man4
37 man5dir = $(mandir)/man5
38 man6dir = $(mandir)/man6
39 man7dir = $(mandir)/man7
40 man8dir = $(mandir)/man8
41 man9dir = $(mandir)/man9
42 infodir = $(prefix)/info
43 includedir = $(prefix)/include
44 docdir = $(datadir)/doc
45 # We put the scripts in the directory $(scriptdir)/ldscripts.
46 # We can't put the scripts in $(datadir) because the SEARCH_DIR
47 # directives need to be different for native and cross linkers.
48 scriptdir = $(tooldir)/lib
49
50 SHELL = /bin/sh
51
52 INSTALL = `cd $(srcdir); pwd`/../install.sh -c
53 INSTALL_PROGRAM = $(INSTALL)
54 INSTALL_DATA = $(INSTALL)
55 INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
56 INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
57
58 AR = ar
59 AR_FLAGS = qv
60 CC = cc
61 CFLAGS = -g
62 MAKEINFO = makeinfo
63 TEXI2DVI = texi2dvi
64 RANLIB = ranlib
65 CC_FOR_BUILD=$(CC)
66 BISON = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
67 LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
68
69 # Seach path to override the default search path for -lfoo libraries.
70 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
71 # (The default is usually /lib:usr/lib:/usr/local/lib, unless building
72 # a cross-linker, in which case the default is empty. See genscripts.sh.)
73 # Otherwise, they are replaced with the ones given in LIB_PATH,
74 # which may have the form: LIB_PATH=/lib:/usr/local/lib
75 LIB_PATH =
76
77 # Additional libraries which are used when ld is built native. This
78 # is set by some host makefile fragments.
79 NATIVE_LIB_DIRS =
80
81 BASEDIR = $(srcdir)/..
82 BFDDIR = $(BASEDIR)/bfd
83 INCDIR = $(BASEDIR)/include
84 INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR)
85 DEP = mkdep
86
87 # What version of the manual to build
88 DOCVER = gen
89
90 # Where to find texinfo.tex to format docn with TeX
91 TEXIDIR = $(srcdir)/../texinfo
92
93 # Where to find other docs needed to format with TeX
94 TEXINPUTS = $(TEXIDIR):$(BFDDIR)/doc:$(srcdir)
95
96 # Whether to get roff to put indexing entries on stderr
97 TEXI2OPT =
98 # You neeed this to generate ld-index.ms (or .mm or .me)
99 # TEXI2OPT = -i
100
101 TEXI2ROFF=texi2roff
102
103 # Which roff program to use to generate index for texi2roff'd doc
104 ROFF = groff
105
106 #stuff for self hosting (can be overridden in config file).
107 HOSTING_CRT0 = /lib/crt0.o
108 HOSTING_LIBS = `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc
109 HOSTING_EMU = -m $(EMUL)
110
111 # These were used by `make check-cdtest'
112 #
113 #CXX = `if [ -f ../gcc/xgcc ] ; then \
114 # echo ../gcc/xgcc -B../gcc/; \
115 # else echo gcc; \
116 # fi`
117 #CXXFLAGS = -fgnu-linker
118 #
119 # FIX_ME: using ../gcc/xgcc breaks the cdtest.
120 #CXX = g++
121
122 # Setup the testing framework, if you have one
123 EXPECT = `if [ -f $$r/../expect/expect ] ; \
124 then echo $$r/../expect/expect ; \
125 else echo expect ; fi`
126
127 RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
128 then echo $${srcroot}/../dejagnu/runtest ; \
129 else echo runtest ; fi`
130
131 RUNTESTFLAGS =
132
133 CC_FOR_TARGET = ` \
134 if [ -f $$r/../gcc/Makefile ] ; then \
135 if [ -f $$r/../newlib/Makefile ] ; then \
136 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
137 else \
138 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
139 fi; \
140 else \
141 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
142 echo $(CC); \
143 else \
144 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
145 fi; \
146 fi`
147
148 CXX = gcc
149 CXX_FOR_TARGET = ` \
150 if [ -f $$r/../gcc/Makefile ] ; then \
151 if [ -f $$r/../newlib/Makefile ] ; then \
152 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
153 else \
154 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
155 fi; \
156 else \
157 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
158 echo $(CXX); \
159 else \
160 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
161 fi; \
162 fi`
163
164 # go directly to ld.new in case this ld isn't capable of
165 # linking native object on this host. It can be renamed on
166 # install.
167 LD_PROG = ld.new
168
169 all: $(LD_PROG)
170 .PHONY: all
171
172 ### Host, target, and site specific Makefile fragments come in here.
173 ####
174
175 LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
176
177 # The .cc suffix was used by `make check-cdtest'.
178
179 .SUFFIXES: .y $(SUFFIXES) .cc
180
181 # Suppress smart makes who think they know how to automake Yacc files
182 .y.c:
183
184 # This rule was used for the check-cdtest target.
185 #.cc.o:
186 # $(CXX) -c -I$(srcdir) $(CXXFLAGS) $(CFLAGS) $<
187
188 ALL_CFLAGS = $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(CFLAGS)
189 .c.o:
190 $(CC) -c $(ALL_CFLAGS) $<
191
192 # for self hosting
193 BFDLIB = ../bfd/libbfd.a
194 LIBIBERTY = ../libiberty/libiberty.a
195
196
197 ALL_EMULATIONS = ea29k.o ealpha.o earmaoutl.o earmoutb.o \
198 ecoff_sparc.o eebmon29k.o \
199 eelf32_sparc.o eelf32bmip.o eelf32lmip.o eelf32ppc.o eelf32lppc.o \
200 eelf64_sparc.o eelf_i386.o egld960.o ego32.o eh8300.o \
201 eh8300h.o eh8500.o eh8500b.o eh8500c.o eh8500m.o eh8500s.o \
202 ehp300bsd.o ehp3hpux.o ehppaelf.o ei386aout.o ei386bsd.o \
203 ei386coff.o ei386go32.o ei386linux.o ei386lynx.o ei386mach.o \
204 ei386nbsd.o ei386nw.o elnk960.o em68kaout.o em68kcoff.o em68kelf.o \
205 em68klynx.o em68knbsd.o em88kbcs.o emipsbig.o emipsbsd.o \
206 emipsidt.o emipsidtl.o emipslit.o enews.o ens32knbsd.o eppcnw.o \
207 eriscix.o esa29200.o eshl.o esh.o esparclynx.o esparcnbsd.o \
208 est2000.o esun3.o esun4.o evanilla.o evax.o evsta.o \
209 ez8ksim.o ei386pe.o earmpe.o
210
211 CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
212 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
213 mri.c
214
215 HFILES = config.h ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
216 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
217 ldwrite.h mri.h
218
219 GENERATED_CFILES = ldgram.c ldlex.c
220 GENERATED_HFILES = ldgram.h ldemul-list.h
221
222 OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
223 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
224 ldfile.o ${EMULATION_OFILES}
225
226 LINTSOURCES = $(CFILES) $(GENERATED_CFILES) e*.c
227
228 STAGESTUFF = *.o ldscripts/* e*.c
229
230 info: ld.info
231 .PHONY: info
232
233 ldgram.c: ldgram.y
234 $(BISON) $(BISONFLAGS) -d $(srcdir)/ldgram.y
235 mv -f y.tab.c ldgram.c
236 mv -f y.tab.h ldgram.h
237
238 # Separate from ldgram.c so that a parallel make doesn't try to build
239 # both ldgram.c and ldgram.h simultaneously.
240 ldgram.h: ldgram.c
241
242 # EMUL is the name of a file in the emulparams subdir, without the .sh.
243 ldmain.o: ldmain.c config.status
244 if [ -z "$(EMUL)" ] ; then \
245 echo "you must set a default emulation" 1>&2 ; \
246 exit 1 ; \
247 else \
248 $(CC) -c $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' $(CFLAGS) $< ; \
249 fi
250
251 ldemul-list.h: Makefile
252 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
253 for f in `echo " " ${EMULATION_OFILES} "" \
254 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
255 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
256 done;\
257 echo "";\
258 echo "#define EMULATION_LIST \\";\
259 for f in `echo " " ${EMULATION_OFILES} "" \
260 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
261 echo " &ld_$${f}_emulation, \\"; \
262 done;\
263 echo " 0") >ldemul-tmp.h
264 mv ldemul-tmp.h ldemul-list.h
265
266 ldlex.c: ldlex.l
267 $(LEX) -I -Cem $(srcdir)/ldlex.l
268 -sed -e '/^int.*free();/d' \
269 -e '/^char.*malloc();/d' \
270 -e 's/malloc/xmalloc/g' \
271 < lex.yy.c > ldlex.c.new
272 -rm lex.yy.c
273 mv ldlex.c.new ./ldlex.c
274
275 # These all start with e so 'make clean' can find them.
276
277 GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} ${host_alias} ${target_alias} ${EMUL} "$(NATIVE_LIB_DIRS)"
278 GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed
279
280 esun4.c: $(srcdir)/emulparams/sun4.sh \
281 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
282 ${GENSCRIPTS} sun4
283 esun3.c: $(srcdir)/emulparams/sun3.sh \
284 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
285 ${GENSCRIPTS} sun3
286 earmpe.c: $(srcdir)/emulparams/armpe.sh \
287 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armpe.sc ${GEN_DEPENDS}
288 ${GENSCRIPTS} armpe
289 evsta.c: $(srcdir)/emulparams/vsta.sh \
290 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
291 ${GENSCRIPTS} vsta
292 ego32.c: $(srcdir)/emulparams/go32.sh \
293 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
294 ${GENSCRIPTS} go32
295 enews.c: $(srcdir)/emulparams/news.sh \
296 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
297 ${GENSCRIPTS} news
298 evax.c: $(srcdir)/emulparams/vax.sh \
299 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
300 ${GENSCRIPTS} vax
301 ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
302 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
303 ${GENSCRIPTS} hp300bsd
304 ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
305 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
306 ${GENSCRIPTS} hp3hpux
307 ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
308 $(srcdir)/emultempl/i386pe.em $(srcdir)/scripttempl/i386pe.sc ${GEN_DEPENDS}
309 ${GENSCRIPTS} i386pe
310 ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
311 $(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
312 ${GENSCRIPTS} hppaelf
313 ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
314 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
315 ${GENSCRIPTS} i386aout
316 ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
317 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
318 ${GENSCRIPTS} i386go32
319 ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
320 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
321 ${GENSCRIPTS} i386mach
322 ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
323 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
324 ${GENSCRIPTS} i386moss
325 ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
326 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
327 ${GENSCRIPTS} i386msdos
328 eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
329 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
330 ${GENSCRIPTS} ebmon29k
331 esa29200.c: $(srcdir)/emulparams/sa29200.sh \
332 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
333 ${GENSCRIPTS} sa29200
334 ea29k.c: $(srcdir)/emulparams/a29k.sh \
335 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
336 ${GENSCRIPTS} a29k
337 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
338 $(srcdir)/emultempl/m88kbcs.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
339 ${GENSCRIPTS} m88kbcs
340 eh8300.c: $(srcdir)/emulparams/h8300.sh \
341 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
342 ${GENSCRIPTS} h8300
343 eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
344 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
345 ${GENSCRIPTS} h8300h
346 eh8500.c: $(srcdir)/emulparams/h8500.sh \
347 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
348 ${GENSCRIPTS} h8500
349 eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
350 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
351 ${GENSCRIPTS} h8500b
352 eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
353 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
354 ${GENSCRIPTS} h8500c
355 eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
356 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
357 ${GENSCRIPTS} h8500m
358 eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
359 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
360 ${GENSCRIPTS} h8500s
361 esh.c: $(srcdir)/emulparams/sh.sh \
362 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
363 ${GENSCRIPTS} sh
364 eshl.c: $(srcdir)/emulparams/shl.sh \
365 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
366 ${GENSCRIPTS} shl
367 est2000.c: $(srcdir)/emulparams/st2000.sh \
368 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
369 ${GENSCRIPTS} st2000
370 evanilla.c: $(srcdir)/emulparams/vanilla.sh \
371 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
372 ${GENSCRIPTS} vanilla
373 elnk960.c: $(srcdir)/emulparams/lnk960.sh \
374 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
375 ${GENSCRIPTS} lnk960
376 egld960.c: $(srcdir)/emulparams/gld960.sh \
377 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
378 ${GENSCRIPTS} gld960
379 egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
380 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
381 ${GENSCRIPTS} gld960coff
382 em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
383 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
384 ${GENSCRIPTS} m68kcoff
385 em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
386 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
387 ${GENSCRIPTS} m68kelf
388 em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
389 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
390 ${GENSCRIPTS} m68klynx
391 ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
392 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
393 ${GENSCRIPTS} i386coff
394 ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
395 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
396 ${GENSCRIPTS} i386lynx
397 emipslit.c: $(srcdir)/emulparams/mipslit.sh \
398 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
399 ${GENSCRIPTS} mipslit
400 ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
401 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
402 ${GENSCRIPTS} i386bsd
403 emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
404 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
405 ${GENSCRIPTS} mipsbig
406 emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
407 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
408 ${GENSCRIPTS} mipsbsd
409 emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
410 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
411 ${GENSCRIPTS} mipsidt
412 emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
413 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
414 ${GENSCRIPTS} mipsidtl
415 eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
416 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
417 ${GENSCRIPTS} elf_i386
418 eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
419 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
420 ${GENSCRIPTS} elf32bmip
421 eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
422 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
423 ${GENSCRIPTS} elf32lmip
424 ealpha.c: $(srcdir)/emulparams/alpha.sh \
425 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
426 ${GENSCRIPTS} alpha
427 ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
428 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
429 ${GENSCRIPTS} coff_sparc
430 esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
431 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
432 ${GENSCRIPTS} sparclynx
433 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
434 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
435 ${GENSCRIPTS} elf32ppc
436 eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
437 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
438 ${GENSCRIPTS} elf32lppc
439 eriscix.c: $(srcdir)/emulparams/riscix.sh \
440 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
441 ${GENSCRIPTS} riscix
442 em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
443 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
444 ${GENSCRIPTS} m68kaout
445 ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
446 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
447 ${GENSCRIPTS} i386linux
448 eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
449 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
450 ${GENSCRIPTS} elf32_sparc
451 eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
452 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
453 ${GENSCRIPTS} elf64_sparc
454
455 epc532machaout.c: $(srcdir)/emulparams/pc532machaout.sh \
456 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
457 ${GENSCRIPTS} pc532machaout
458
459 ew65.c: $(srcdir)/emulparams/w65.sh \
460 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
461 ${GENSCRIPTS} w65
462
463 ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
464 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
465 ${GENSCRIPTS} i386nw
466 eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
467 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
468 ${GENSCRIPTS} ppcnw
469
470 ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
471 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
472 ${GENSCRIPTS} i386nbsd
473 em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
474 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
475 ${GENSCRIPTS} m68knbsd
476 ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
477 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
478 ${GENSCRIPTS} ns32knbsd
479 esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
480 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
481 ${GENSCRIPTS} sparcnbsd
482 earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
483 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
484 ${GENSCRIPTS} armaoutl
485 earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
486 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
487 ${GENSCRIPTS} armaoutb
488 ez8ksim.c: $(srcdir)/emulparams/z8ksim.sh \
489 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8ksim.sc ${GEN_DEPENDS}
490 ${GENSCRIPTS} z8ksim
491
492 # start-sanitize-arc
493 earcelf.c: $(srcdir)/emulparams/arcelf.sh \
494 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
495 ${GENSCRIPTS} arcelf
496 # end-sanitize-arc
497 # start-sanitize-rce
498 erce.c: $(srcdir)/emulparams/rce.sh \
499 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/rce.sc ${GEN_DEPENDS}
500 ${GENSCRIPTS} rce
501 # end-sanitize-rce
502
503 $(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
504 $(CC) $(CFLAGS) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(EXTRALIBS)
505
506 # The generated emulation files mostly have the same dependencies.
507 $(EMULATION_OFILES): ../bfd/bfd.h ../bfd/sysdep.h $(INCDIR)/bfdlink.h \
508 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h config.h \
509 ldctor.h ldexp.h ldlang.h
510
511 # These targets are for the dejagnu testsuites. The file site.exp
512 # contains global variables that all the testsuites will use.
513
514 site.exp: ./config.status Makefile
515 @echo "Making a new config file..."
516 @rm -f ./tmp?
517 @touch site.exp
518 @mv site.exp site.bak
519 @echo "## variables are automatically generated by make ##" > ./tmp0
520 @echo "# Do not edit here. If you wish to override these" >> ./tmp0
521 @echo "# values, add them to the last section" >> ./tmp0
522 @echo "# HOST AND TARGET INFO" >> ./tmp0
523 @echo "set host_os $(host_os)" >> ./tmp0
524 @echo "set host_alias $(host_alias)" >> ./tmp0
525 @echo "set host_cpu $(host_cpu)" >> ./tmp0
526 @echo "set host_vendor $(host_vendor)" >> ./tmp0
527 @echo "set target_os $(target_os)" >> ./tmp0
528 @echo "set target_alias $(target_alias)" >> ./tmp0
529 @echo "set target_cpu $(target_cpu)" >> ./tmp0
530 @echo "set target_vendor $(target_vendor)" >> ./tmp0
531 @echo "set host_triplet $(host_canonical)" >> ./tmp0
532 @echo "set target_triplet $(target_canonical)" >> ./tmp0
533 @echo "# DIRECTORY INFO" >> ./tmp0
534 @echo "set objdir `pwd`" >> ./tmp0
535 @echo "" >> ./tmp0
536 @echo "# LD DEPENDENCIES" >> ./tmp0
537 @echo "set OFILES \"$(OFILES)\"" >> ./tmp0
538 @echo "set BFDLIB \"$(BFDLIB)\"" >> ./tmp0
539 @echo "set LIBIBERTY \"$(LIBIBERTY)\"" >> ./tmp0
540 @echo "set HOSTING_EMU \"$(HOSTING_EMU)\"" >> ./tmp0
541 @echo "set HOSTING_CRT0 \"$(HOSTING_CRT0)\"" >> ./tmp0
542 @echo "set HOSTING_LIBS \"$(HOSTING_LIBS)\"" >> ./tmp0
543 @echo "" >> ./tmp0
544 @echo "## Variables generated by configure. Do Not Edit ##" >> ./tmp0
545 @cat ./tmp0 > site.exp
546 @cat site.bak | sed \
547 -e '1,/^## Variables generated by.*##/ d' >> site.exp
548 -@rm -f ./tmp?
549
550 check: site.exp
551 r=`pwd`; export r; \
552 srcroot=`cd ${srcdir}; pwd` ; export srcroot ; \
553 EXPECT=${EXPECT} ; export EXPECT ; \
554 if [ -f $$r/../expect/expect ] ; then \
555 TCL_LIBRARY=$${srcroot}/../tcl/library ; \
556 export TCL_LIBRARY ; \
557 else true ; fi ; \
558 $(RUNTEST) --tool ld --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
559 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
560 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
561 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)"
562
563 installcheck:
564 .PHONY: check installcheck
565
566 # Rules for testing by relinking ld itself.
567 # A similar test is in the testsuite. This target is for ease of use
568 # when porting ld.
569
570 ld-partial.o: ld.new
571 ./ld.new $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
572 ld1: ld-partial.o
573 ./ld.new $(HOSTING_EMU) -o ld1 $(HOSTING_CRT0) ld-partial.o $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
574
575 ld1-full: ld.new
576 ./ld.new $(HOSTING_EMU) -o ld1-full $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
577
578 ld2: ld1
579 ./ld1 $(HOSTING_EMU) -o ld2 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
580
581 ld3: ld2
582 ./ld2 $(HOSTING_EMU) -o ld3 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
583
584 bootstrap: ld3
585 cmp ld2 ld3
586
587 .PHONY: bootstrap
588
589 # A test program for C++ constructors and destructors.
590 # This test is now in the testsuite.
591 #
592 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
593 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
594 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
595 #
596 #cdtest.out: cdtest
597 # ./cdtest > cdtest.tmp
598 # mv cdtest.tmp cdtest.out
599 #
600 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
601 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
602 # cdtest-bar.o cdtest-foo.o
603 #
604 #cdtest-ur: cdtest-ur.o
605 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
606 # $(HOSTING_LIBS)
607 #
608 #cdtest-ur.out: cdtest-ur
609 # ./cdtest-ur > cdtest-ur.tmp
610 # mv cdtest-ur.tmp cdtest-ur.out
611 #
612 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
613 # diff $(srcdir)/cdtest.exp cdtest.out
614 # diff $(srcdir)/cdtest.exp cdtest-ur.out
615 #
616 #.PHONY: check-cdtest
617
618 # END OF CHECK TARGETS
619
620 # DOCUMENTATION TARGETS
621 # Manual configuration file; not usually attached to normal configuration,
622 # because almost all configs use "gen" version of manual.
623 # Set DOCVER above to change.
624 configdoc.texi: ${DOCVER}-doc.texi
625 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi || \
626 ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi || \
627 cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
628
629 # TeX output
630 dvi: ld.dvi
631 ld.dvi: $(srcdir)/ld.texinfo configdoc.texi $(BFDDIR)/doc/bfdsumm.texi
632 TEXINPUTS=$(BFDDIR)/doc:$$TEXINPUTS $(TEXI2DVI) $(srcdir)/ld.texinfo
633
634 ldint.dvi: $(srcdir)/ldint.texinfo
635 $(TEXI2DVI) $(srcdir)/ldint.texinfo
636
637 # info file for online browsing
638 ld.info: $(srcdir)/ld.texinfo configdoc.texi $(BFDDIR)/doc/bfdsumm.texi
639 $(MAKEINFO) -I$(BFDDIR)/doc -o ld.info $(srcdir)/ld.texinfo
640
641 ldint.info: $(srcdir)/ldint.texinfo
642 $(MAKEINFO) -o ldint.info $(srcdir)/ldint.texinfo
643
644 .PHONY: dvi
645
646 #separate targets for "ms", "me", and "mm" forms of roff doc
647 # Try to use a recent texi2roff. v2 was put on prep in jan91.
648 # If you want an index, see texi2roff doc for postprocessing
649 # and add -i to texi2roff invocations below.
650 # Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
651 # correspondint -e lines when later texi2roff's are current)
652 # + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
653 # + @c's deleted explicitly because texi2roff sees texinfo commands in them
654 # + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
655 # + @alphaenumerate is ridiculously new, turned into @enumerate
656
657 ld.ms: $(srcdir)/ld.texinfo
658 sed -e '/\\input texinfo/d' \
659 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
660 -e '/^@ifinfo/,/^@end ifinfo/d' \
661 -e '/^@c/d' \
662 -e 's/{.*,,/{/' \
663 -e 's/@ / /g' \
664 -e 's/^@alphaenumerate/@enumerate/g' \
665 -e 's/^@end alphaenumerate/@end enumerate/g' \
666 $(srcdir)/ld.texinfo | \
667 $(TEXI2ROFF) $(TEXI2OPT) -ms | \
668 sed -e 's/---/\\(em/g' \
669 >>ld.ms
670
671 # index for roff output
672 ld-index.ms: ld.ms
673 $(ROFF) -ms ld.ms 2>&1 1>/dev/null | \
674 sed -e '/: warning:/d' | \
675 texi2index >ld-index.ms
676
677 # roff output (-mm)
678 ld.mm: $(srcdir)/ld.texinfo
679 sed -e '/\\input texinfo/d' \
680 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
681 -e '/^@ifinfo/,/^@end ifinfo/d' \
682 -e '/^@c/d' \
683 -e 's/{.*,,/{/' \
684 -e '/@noindent/d' \
685 -e 's/@ / /g' \
686 -e 's/^@alphaenumerate/@enumerate/g' \
687 -e 's/^@end alphaenumerate/@end enumerate/g' \
688 $(srcdir)/ld.texinfo | \
689 $(TEXI2ROFF) $(TEXI2OPT) -mm | \
690 sed -e 's/---/\\(em/g' \
691 >ld.mm
692
693 # index for roff output
694 ld-index.mm: ld.mm
695 $(ROFF) -mm ld.mm 2>&1 1>/dev/null | \
696 sed -e '/: warning:/d' | \
697 texi2index >ld-index.mm
698
699 # roff output (-me)
700 ld.me: $(srcdir)/ld.texinfo
701 sed -e '/\\input texinfo/d' \
702 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
703 -e '/^@ifinfo/,/^@end ifinfo/d' \
704 -e '/^@c/d' \
705 -e 's/{.*,,/{/' \
706 -e 's/@ / /g' \
707 -e 's/^@alphaenumerate/@enumerate/g' \
708 -e 's/^@end alphaenumerate/@end enumerate/g' \
709 $(srcdir)/ld.texinfo | \
710 $(TEXI2ROFF) $(TEXI2OPT) -me | \
711 sed -e 's/---/\\(em/g' \
712 >>ld.me
713
714 # index for roff output
715 ld-index.me: ld.me
716 $(ROFF) -me ld.me 2>&1 1>/dev/null | \
717 sed -e '/: warning:/d' | \
718 texi2index >ld-index.me
719
720 stage1: force
721 -mkdir stage1
722 -mv -f $(STAGESTUFF) $(LD_PROG) stage1
723 -(cd stage1 ; ln -s $(LD_PROG) ld)
724
725 stage2: force
726 -mkdir stage2
727 -mv -f $(STAGESTUFF) $(LD_PROG) stage2
728 -(cd stage2 ; ln -s $(LD_PROG) ld)
729
730 stage3: force
731 -mkdir stage3
732 -mv -f $(STAGESTUFF) $(LD_PROG) stage3
733 -(cd stage3 ; ln -s $(LD_PROG) ld)
734
735 against = stage2
736
737 comparison: force
738 for i in $(STAGESTUFF) $(LD_PROG) ; do cmp $$i $(against)/$$i ; done
739
740 de-stage1: force
741 -(cd stage1 ; mv -f * ..)
742 -rm ld
743 -rmdir stage1
744
745 de-stage2: force
746 -(cd stage2 ; mv -f * ..)
747 -rm ld
748 -rmdir stage2
749
750 de-stage3: force
751 -(cd stage3 ; mv -f * ..)
752 -rm ld
753 -rmdir stage3
754
755 .PHONY: stage1 stage2 stage3 comparison de-stage1 de-stage2 de-stage3
756
757 # Stuff that should be included in a distribution:
758 LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
759 diststuff: $(LDDISTSTUFF)
760
761 mostlyclean:
762 -rm -f $(STAGESTUFF) ld.?? ld.??? ldlex.[qp]
763 -rm -f ld ld1 ld2 ld3 *.o y.output cdtest cdtest.out cdtest.tmp
764 -rm -f cdtest-ur cdtest-ur.out cdtest-ur.tmp
765 -rm -f $(GENERATED_CFILES) $(GENERATED_HFILES)
766 -rm -fr tmpdir
767 clean: mostlyclean
768 -rm -f $(LD_PROG) configdoc.texi
769 distclean: clean
770 -rm -rf Makefile config.status TAGS ldscripts site.exp site.bak
771 realclean: clean distclean
772 -rm -f $(LDDISTSTUFF)
773
774 .PHONY: diststuff mostlyclean clean distclean realclean
775
776 lintlog:$(LINTSOURCES) Makefile
777 $(LINT) -abhxzn $(LINTFLAGS) $(LINTSOURCES) \
778 | grep -v "pointer casts may be troublesome" \
779 | grep -v "possible pointer alignment problem" \
780 | grep -v "ignore" \
781 | grep -v "conversion from long may lose accuracy" \
782 | grep -v "warning: constant argument to NOT" \
783 | grep -v "enumeration type clash, operator CAST" \
784 | grep -v "warning: constant in conditional context"\
785 | grep -v "archive\.c"
786
787
788 TAGS:
789 etags -t $(srcdir)/*.[chly] *.[chly]
790
791
792 install:
793 $(INSTALL_XFORM) ld.new $(bindir)/ld
794 $(INSTALL_XFORM1) $(srcdir)/ld.1 $(man1dir)/ld.1
795 for f in ldscripts/*; do \
796 $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
797 done
798 -n=`t='$(program_transform_name)'; echo ld | sed -e "" $$t`; \
799 rm -f $(tooldir)/bin/ld; \
800 ln $(bindir)/$$n $(tooldir)/bin/ld >/dev/null 2>/dev/null \
801 || $(INSTALL_PROGRAM) ld.new $(tooldir)/bin/ld
802
803 install-info: ld.info
804 if [ -r ld.info ]; then \
805 dir=. ; \
806 else \
807 dir=$(srcdir) ; \
808 fi ; \
809 for i in `cd $$dir ; echo ld.info*` ; do \
810 $(INSTALL_DATA) $$dir/$$i $(infodir)/$$i ; \
811 done
812
813 clean-info:
814 -rm -rf *.info*
815
816 .PHONY: install install-info clean-info
817
818 # Targets to rebuild dependencies in this Makefile.
819 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
820 .dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES)
821 rm -f .dep1
822 $(MAKE) DEP=$(DEP) .dep1
823 sed -f dep.sed <.dep1 >.dep
824
825 # This rule really wants a mkdep that runs "gcc -MM".
826 .dep1: $(CFILES) $(GENERATED_CFILES)
827 rm -f .dep2
828 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
829 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
830 $(srcdir)/../move-if-change .dep2 .dep1
831
832 dep.sed: dep-in.sed config.status
833 sed <$(srcdir)/dep-in.sed >dep.sed \
834 -e 's!@INCDIR@!$(INCDIR)!' \
835 -e 's!@srcdir@!$(srcdir)!'
836
837 dep: .dep
838 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
839 cat .dep >> tmp-Makefile
840 $(srcdir)/../move-if-change tmp-Makefile Makefile
841
842 dep-in: .dep
843 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
844 cat .dep >> tmp-Makefile.in
845 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
846
847 .PHONY: dep dep-in
848
849 # Dummy target to force execution of dependent targets.
850 #
851 force:
852
853 .PHONY: force
854
855 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
856 $(SHELL) ./config.status
857
858 # What appears below is generated by a hacked mkdep using gcc -MM.
859
860 # DO NOT DELETE THIS LINE -- mkdep uses it.
861 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
862
863 ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
864 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
865 $(INCDIR)/bfdlink.h ld.h ldexp.h ldlang.h ldmisc.h \
866 ldgram.h ldmain.h ldctor.h
867 ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
868 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
869 config.h ld.h ldemul.h ldmisc.h ldexp.h ldlang.h ldfile.h \
870 ldmain.h ldemul-list.h
871 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
872 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
873 $(INCDIR)/bfdlink.h ld.h ldmain.h ldmisc.h ldexp.h \
874 ldgram.h ldlang.h
875 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
876 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
877 ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
878 ldlex.h ldemul.h
879 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
880 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
881 $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
882 ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \
883 ldctor.h ldfile.h
884 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
885 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
886 $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h config.h \
887 ld.h ldmain.h ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h \
888 ldemul.h ldlex.h ldfile.h ldctor.h
889 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
890 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
891 ld.h ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
892 ldfile.h
893 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
894 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
895 ld.h ldver.h ldemul.h ldmain.h
896 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
897 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
898 $(INCDIR)/bfdlink.h ld.h ldexp.h ldlang.h ldwrite.h \
899 ldmisc.h ldgram.h ldmain.h
900 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
901 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
902 $(INCDIR)/getopt.h $(INCDIR)/bfdlink.h config.h ld.h \
903 ldmain.h ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h \
904 ldfile.h ldver.h
905 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h \
906 ../bfd/sysdep.h $(INCDIR)/fopen-same.h ld.h ldexp.h \
907 ldlang.h ldmisc.h mri.h ldgram.h
908 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
909 $(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
910 $(INCDIR)/bfdlink.h ld.h ldexp.h ldver.h ldlang.h ldemul.h \
911 ldfile.h ldmisc.h ldmain.h mri.h ldlex.h
912 ldlex.o: ldlex.c ../bfd/bfd.h $(INCDIR)/obstack.h ../bfd/sysdep.h \
913 $(INCDIR)/fopen-same.h ld.h ldgram.h ldmisc.h ldexp.h \
914 ldlang.h ldfile.h ldlex.h ldmain.h
915
916 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.047544 seconds and 5 git commands to generate.