* configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than
[deliverable/binutils-gdb.git] / ld / Makefile.am
CommitLineData
49c009b5
ILT
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = dejagnu
4
5tooldir = $(exec_prefix)/$(target_alias)
6
7YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
8YFLAGS = -d
9LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
10
11# We put the scripts in the directory $(scriptdir)/ldscripts.
12# We can't put the scripts in $(datadir) because the SEARCH_DIR
13# directives need to be different for native and cross linkers.
14scriptdir = $(tooldir)/lib
15
16EMUL = @EMUL@
17EMULATION_OFILES = @EMULATION_OFILES@
18
19# Search path to override the default search path for -lfoo libraries.
20# If LIB_PATH is empty, the ones in the script (if any) are left alone.
21# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
22# a cross-linker, in which case the default is empty. See genscripts.sh.)
23# Otherwise, they are replaced with the ones given in LIB_PATH,
24# which may have the form: LIB_PATH=/lib:/usr/local/lib
25LIB_PATH =
26
27BASEDIR = $(srcdir)/..
28BFDDIR = $(BASEDIR)/bfd
29INCDIR = $(BASEDIR)/include
30DEP = mkdep
31
32# What version of the manual to build
33DOCVER = gen
34
35#stuff for self hosting (can be overridden in config file).
36HOSTING_CRT0 = @HOSTING_CRT0@
37HOSTING_LIBS = @HOSTING_LIBS@
38HOSTING_EMU = -m $(EMUL)
39
40# Setup the testing framework, if you have one
41EXPECT = `if [ -f $$r/../expect/expect ] ; \
42 then echo $$r/../expect/expect ; \
43 else echo expect ; fi`
44
45RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
46 then echo $${srcroot}/../dejagnu/runtest ; \
47 else echo runtest ; fi`
48
49RUNTESTFLAGS =
50
51CC_FOR_TARGET = ` \
52 if [ -f $$r/../gcc/xgcc ] ; then \
53 if [ -f $$r/../newlib/Makefile ] ; then \
54 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
55 else \
56 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
57 fi; \
58 else \
59 if [ "@host@" = "@target@" ] ; then \
60 echo $(CC); \
61 else \
62 echo gcc | sed '$(program_transform_name)'; \
63 fi; \
64 fi`
65
66CXX = gcc
67CXX_FOR_TARGET = ` \
68 if [ -f $$r/../gcc/xgcc ] ; then \
69 if [ -f $$r/../newlib/Makefile ] ; then \
70 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
71 else \
72 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
73 fi; \
74 else \
75 if [ "@host@" = "@target@" ] ; then \
76 echo $(CXX); \
77 else \
78 echo gcc | sed '$(program_transform_name)'; \
79 fi; \
80 fi`
81
82noinst_PROGRAMS = ld-new
83info_TEXINFOS = ld.texinfo
84noinst_TEXINFOS = ldint.texinfo
85man_MANS = ld.1
86
87INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) $(HDEFINES) $(CFLAGS)
88
89BFDLIB = ../bfd/libbfd.la
90LIBIBERTY = ../libiberty/libiberty.a
91
92ALL_EMULATIONS = \
93 ea29k.o \
94 eaixppc.o \
95 eaixrs6.o \
96 ealpha.o \
0c0b16f9 97 earcelf.o \
49c009b5
ILT
98 earmaoutb.o \
99 earmaoutl.o \
100 earmcoff.o \
101 earmpe.o \
102 ecoff_sparc.o \
103 edelta68.o \
104 eebmon29k.o \
105 eelf32_sparc.o \
106 eelf32b4300.o \
107 eelf32bmip.o \
108 eelf32ebmip.o \
109 eelf32elmip.o \
110 eelf32l4300.o \
111 eelf32lmip.o \
112 eelf32lppc.o \
113 eelf32ppc.o \
114 eelf64_sparc.o \
115 eelf_i386.o \
116 egld960.o \
117 egld960coff.o \
118 ego32.o \
119 eh8300.o \
120 eh8300h.o \
121 eh8300s.o \
122 eh8500.o \
123 eh8500b.o \
124 eh8500c.o \
125 eh8500m.o \
126 eh8500s.o \
127 ehp300bsd.o \
128 ehp3hpux.o \
129 ehppaelf.o \
130 ei386aout.o \
131 ei386bsd.o \
132 ei386coff.o \
133 ei386go32.o \
134 ei386linux.o \
135 ei386lynx.o \
136 ei386mach.o \
137 ei386moss.o \
138 ei386msdos.o \
139 ei386nbsd.o \
140 ei386nw.o \
141 ei386pe.o \
142 elnk960.o \
143 em68k4knbsd.o \
144 em68kaout.o \
145 em68kaux.o \
146 em68kcoff.o \
147 em68kelf.o \
148 em68klinux.o \
149 em68klynx.o \
150 em68knbsd.o \
151 em68kpsos.o \
152 em88kbcs.o \
153 emipsbig.o \
154 emipsbsd.o \
155 emipsidt.o \
156 emipsidtl.o \
157 emipslit.o \
158 emipslnews.o \
159 enews.o \
160 ens32knbsd.o \
161 epc532macha.o \
162 eppcmacos.o \
163 eppcnw.o \
164 eppcpe.o \
165 eriscix.o \
166 esa29200.o \
167 esh.o \
168 eshelf.o \
169 eshlelf.o \
170 eshl.o \
171 esparcaout.o \
172 esparclinux.o \
173 esparclynx.o \
174 esparcnbsd.o \
175 est2000.o \
176 esun3.o \
177 esun4.o \
178 evanilla.o \
179 evax.o \
180 evsta.o \
181 ew65.o \
182 ez8001.o \
183 ez8002.o
184
185ALL_64_EMULATIONS = \
186 eelf64alpha.o
187
188CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
189 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
190 mri.c ldcref.c
191
192HFILES = config.h ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
193 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
194 ldwrite.h mri.h
195
196GENERATED_CFILES = ldgram.c ldlex.c
197GENERATED_HFILES = ldgram.h ldemul-list.h
198
199OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
200 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
201 ldfile.o ldcref.o ${EMULATION_OFILES}
202
203STAGESTUFF = *.o ldscripts/* e*.c
204
205ldmain.o: ldmain.c config.status
206 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
207
208ldemul-list.h: Makefile
209 (echo "/* This file is automatically generated. DO NOT EDIT! */";\
210 for f in `echo " " ${EMULATION_OFILES} "" \
211 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
212 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
213 done;\
214 echo "";\
215 echo "#define EMULATION_LIST \\";\
216 for f in `echo " " ${EMULATION_OFILES} "" \
217 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
218 echo " &ld_$${f}_emulation, \\"; \
219 done;\
220 echo " 0") >ldemul-tmp.h
221 mv ldemul-tmp.h ldemul-list.h
222
223# These all start with e so 'make clean' can find them.
224
225GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ ${EMUL} "@NATIVE_LIB_DIRS@"
226GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed
227@TDIRS@
228
229ea29k.c: $(srcdir)/emulparams/a29k.sh \
230 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
231 ${GENSCRIPTS} a29k "$(tdir_a29k)"
232eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
233 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
234 ${GENSCRIPTS} aixppc "$(tdir_aixppc)"
235eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
236 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
237 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)"
238ealpha.c: $(srcdir)/emulparams/alpha.sh \
239 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
240 ${GENSCRIPTS} alpha "$(tdir_alpha)"
49c009b5
ILT
241earcelf.c: $(srcdir)/emulparams/arcelf.sh \
242 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
243 ${GENSCRIPTS} arcelf "$(tdir_arcelf)"
49c009b5
ILT
244earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
245 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
246 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)"
247earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
248 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
249 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)"
250earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
251 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
252 ${GENSCRIPTS} armcoff "$(tdir_armcoff)"
253earmpe.c: $(srcdir)/emulparams/armpe.sh \
254 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
255 ${GENSCRIPTS} armpe "$(tdir_armpe)"
256ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
257 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
258 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)"
259ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
260 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
261 ${GENSCRIPTS} d10velf "$(tdir_d10v)"
262start-sanitize-d30v:
263ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
264 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
265 ${GENSCRIPTS} d30velf "$(tdir_d30v)"
266end-sanitize-d30v:
267edelta68.c: $(srcdir)/emulparams/delta68.sh \
268 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
269 ${GENSCRIPTS} delta68 "$(tdir_delta68)"
270eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
271 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
272 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
273em32relf.c: $(srcdir)/emulparams/m32relf.sh \
274 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
275 ${GENSCRIPTS} m32relf "$(tdir_m32r)"
276eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
277 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
278 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)"
279eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
280 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
281 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
282eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \
283 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
284 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
285eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
286 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
287 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
288eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
289 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
290 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
291eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
292 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
293 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
294eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
295 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
296 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
297eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
298 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS}
299 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
300eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
301 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS}
302 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
303eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
304 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
305 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
306eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
307 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
308 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
309eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
310 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
311 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
312egld960.c: $(srcdir)/emulparams/gld960.sh \
313 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
314 ${GENSCRIPTS} gld960 "$(tdir_gld960)"
315egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
316 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
317 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)"
318ego32.c: $(srcdir)/emulparams/go32.sh \
319 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
320 ${GENSCRIPTS} go32 "$(tdir_go32)"
321eh8300.c: $(srcdir)/emulparams/h8300.sh \
322 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
323 ${GENSCRIPTS} h8300 "$(tdir_h8300)"
324eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
325 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
326 ${GENSCRIPTS} h8300h "$(tdir_h8300h)"
327eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
328 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
329 ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
330eh8500.c: $(srcdir)/emulparams/h8500.sh \
331 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
332 ${GENSCRIPTS} h8500 "$(tdir_h8500)"
333eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
334 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
335 ${GENSCRIPTS} h8500b "$(tdir_h8500b)"
336eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
337 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
338 ${GENSCRIPTS} h8500c "$(tdir_h8500c)"
339eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
340 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
341 ${GENSCRIPTS} h8500m "$(tdir_h8500m)"
342eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
343 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
344 ${GENSCRIPTS} h8500s "$(tdir_h8500s)"
345ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
346 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
347 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)"
348ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
349 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
350 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)"
351ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
352 $(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
353 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)"
354ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
355 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
356 ${GENSCRIPTS} i386aout "$(tdir_i386aout)"
357ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
358 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
359 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)"
360ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
361 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
362 ${GENSCRIPTS} i386coff "$(tdir_i386coff)"
363ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
364 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
365 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)"
366ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
367 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
368 ${GENSCRIPTS} i386linux "$(tdir_i386linux)"
369ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
370 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS}
371 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)"
372ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
373 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
374 ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
375ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
376 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
377 ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
378ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
379 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
380 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)"
381ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
382 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
383 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
384ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
385 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
386 ${GENSCRIPTS} i386nw "$(tdir_i386nw)"
387ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
388 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
389 ${GENSCRIPTS} i386pe "$(tdir_i386pe)"
390elnk960.c: $(srcdir)/emulparams/lnk960.sh \
391 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
392 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)"
393em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
394 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
395 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)"
396em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
397 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
398 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)"
399em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
400 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
401 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)"
402em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
403 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
404 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)"
405em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
406 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
407 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
408em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
409 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
410 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)"
411em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \
412 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS}
413 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)"
414em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
415 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
416 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)"
417em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
418 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
419 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)"
420em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
421 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
422 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
423emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \
424 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
425 ${GENSCRIPTS} mipsbig
426emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \
427 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS}
428 ${GENSCRIPTS} mipsbsd
429emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \
430 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
431 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)"
432emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
433 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
434 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)"
435emipslit.c: $(srcdir)/emulparams/mipslit.sh \
436 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
437 ${GENSCRIPTS} mipslit "$(tdir_mipslit)"
438emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \
439 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
440 ${GENSCRIPTS} mipslnews
441emn10300.c: $(srcdir)/emulparams/mn10300.sh \
442 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
443 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
444emn10200.c: $(srcdir)/emulparams/mn10200.sh \
445 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
446 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
447enews.c: $(srcdir)/emulparams/news.sh \
448 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
449 ${GENSCRIPTS} news "$(tdir_news)"
450ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
451 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
452 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
453epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
454 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
455 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
456eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
457 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
458 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)"
459eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
460 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
461 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)"
462eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
463 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
464 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)"
465eriscix.c: $(srcdir)/emulparams/riscix.sh \
466 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
467 ${GENSCRIPTS} riscix "$(tdir_riscix)"
468esa29200.c: $(srcdir)/emulparams/sa29200.sh \
469 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS}
470 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)"
471esh.c: $(srcdir)/emulparams/sh.sh \
472 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
473 ${GENSCRIPTS} sh "$(tdir_sh)"
474eshelf.c: $(srcdir)/emulparams/shelf.sh \
475 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
476 ${GENSCRIPTS} shelf "$(tdir_shelf)"
477eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
478 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
479 ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
480eshl.c: $(srcdir)/emulparams/shl.sh \
481 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
482 ${GENSCRIPTS} shl "$(tdir_shl)"
483esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
484 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
485 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)"
486esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
487 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
488 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)"
489esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \
490 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS}
491 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)"
492esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
493 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
494 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)"
495est2000.c: $(srcdir)/emulparams/st2000.sh \
496 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
497 ${GENSCRIPTS} st2000 "$(tdir_st2000)"
498esun3.c: $(srcdir)/emulparams/sun3.sh \
499 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
500 ${GENSCRIPTS} sun3 "$(tdir_sun3)"
501esun4.c: $(srcdir)/emulparams/sun4.sh \
502 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
503 ${GENSCRIPTS} sun4 "$(tdir_sun4)"
504start-sanitize-tic80:
505etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
506 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
507 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)"
508end-sanitize-tic80:
509evanilla.c: $(srcdir)/emulparams/vanilla.sh \
510 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
511 ${GENSCRIPTS} vanilla "$(tdir_vanilla)"
512evax.c: $(srcdir)/emulparams/vax.sh \
513 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
514 ${GENSCRIPTS} vax "$(tdir_vax)"
515evsta.c: $(srcdir)/emulparams/vsta.sh \
516 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
517 ${GENSCRIPTS} vsta "$(tdir_vsta)"
518start-sanitize-v850:
519ev850.c: $(srcdir)/emulparams/v850.sh \
520 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
521 ${GENSCRIPTS} v850 "$(tdir_v850)"
522end-sanitize-v850:
523ew65.c: $(srcdir)/emulparams/w65.sh \
524 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
525 ${GENSCRIPTS} w65 "$(tdir_w65)"
526ez8001.c: $(srcdir)/emulparams/z8001.sh \
527 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
528 ${GENSCRIPTS} z8001 "$(tdir_z8001)"
529ez8002.c: $(srcdir)/emulparams/z8002.sh \
530 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
531 ${GENSCRIPTS} z8002 "$(tdir_z8002)"
532
533ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
534 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c
24d2330e 535ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY)
49c009b5
ILT
536ld_new_LDADD = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) @LEXLIB@
537
538# The generated emulation files mostly have the same dependencies.
539$(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
540 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
541 ldctor.h ldexp.h ldlang.h ldgram.h
542
543# This is the real libbfd.a created by libtool.
544TESTBFDLIB = ../bfd/.libs/libbfd.a
545
546check-DEJAGNU: site.exp
547 srcroot=`cd $(srcdir) && pwd`; export srcroot; \
548 r=`pwd`; export r; \
549 EXPECT=$(EXPECT); export EXPECT; \
550 if [ -f $(top_builddir)/../expect/expect ]; then \
551 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
552 export TCL_LIBRARY; \
553 fi; \
554 runtest=$(RUNTEST); \
555 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
556 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
557 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
558 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
559 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
560 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
561 LIBIBERTY="$(LIBIBERTY)" HOSTING_EMU="$(HOSTING_EMU)" \
562 HOSTING_CRT0="$(HOSTING_CRT0)" HOSTING_LIBS="$(HOSTING_LIBS)" \
563 $(RUNTESTFLAGS); \
564 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
565 fi
566
567# Rules for testing by relinking ld itself.
568# A similar test is in the testsuite. This target is for ease of use
569# when porting ld.
570
571ld-partial.o: ld-new$(EXEEXT)
572 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES)
573ld1$(EXEEXT): ld-partial.o
574 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
575
576ld1-full$(EXEEXT): ld-new
577 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
578
579ld2$(EXEEXT): ld1$(EXEEXT)
580 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
581
582ld3$(EXEEXT): ld2$(EXEEXT)
583 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS)
584
585bootstrap: ld3$(EXEEXT)
586 cmp ld2$(EXEEXT) ld3$(EXEEXT)
587
588.PHONY: bootstrap
589
590# A test program for C++ constructors and destructors.
591# This test is now in the testsuite.
592#
593#cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
594# ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
595# cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
596#
597#cdtest.out: cdtest
598# ./cdtest > cdtest.tmp
599# mv cdtest.tmp cdtest.out
600#
601#cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
602# ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
603# cdtest-bar.o cdtest-foo.o
604#
605#cdtest-ur: cdtest-ur.o
606# ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
607# $(HOSTING_LIBS)
608#
609#cdtest-ur.out: cdtest-ur
610# ./cdtest-ur > cdtest-ur.tmp
611# mv cdtest-ur.tmp cdtest-ur.out
612#
613#check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
614# diff $(srcdir)/cdtest.exp cdtest.out
615# diff $(srcdir)/cdtest.exp cdtest-ur.out
616#
617#.PHONY: check-cdtest
618
619# END OF CHECK TARGETS
620
621# DOCUMENTATION TARGETS
622# Manual configuration file; not usually attached to normal configuration,
623# because almost all configs use "gen" version of manual.
624# Set DOCVER above to change.
625configdoc.texi: ${DOCVER}-doc.texi
626 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
627 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
628 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
629
0c0b16f9
DE
630ld.info: $(srcdir)/ld.texinfo configdoc.texi bfdsumm.texi
631ld.dvi: $(srcdir)/ld.texinfo configdoc.texi bfdsumm.texi
632
633# We want to include a file from the BFD documentation. automake
634# doesn't give us a way to set the include directories for makeinfo,
635# so we just create a file locally to include it.
636bfdsumm.texi: Makefile
637 echo @include $(BFDDIR)/doc/bfdsumm.texi > bfdsumm.texi
49c009b5
ILT
638
639MOSTCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
640 ldemul-list.h tmpdir crtbegin.o crtend.o
0c0b16f9 641CLEANFILES = dep.sed .dep .dep1 bfdsumm.texi
49c009b5
ILT
642DISTCLEANFILES = ldscripts
643
644.PHONY: install-exec-local install-data-local
645
646install-exec-local: ld-new$(EXEEXT)
647 $(mkinstalldirs) $(bindir) $(tooldir)/bin
648 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
649 if test -f $$p; then \
650 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`"; \
651 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`; \
652 else :; fi; \
653 done
654 rm -f $(tooldir)/bin/ld$(EXEEXT)
655 n=`echo ld | sed '$(transform)'`; \
656 ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
657 || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT)
658
659install-data-local:
660 $(mkinstalldirs) $(scriptdir)
661 for f in ldscripts/*; do \
662 $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
663 done
664
665# Targets to rebuild dependencies in this Makefile.
666# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
667.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
668 rm -f .dep1
669 $(MAKE) DEP=$(DEP) .dep1
670 sed -f dep.sed <.dep1 >.dep
671
672# This rule really wants a mkdep that runs "gcc -MM".
673.dep1: $(CFILES) $(GENERATED_CFILES)
674 rm -f .dep2
675 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
676 $(DEP) -f .dep2 $(INCLUDES) $?
677 $(srcdir)/../move-if-change .dep2 .dep1
678
679dep.sed: dep-in.sed config.status
680 sed <$(srcdir)/dep-in.sed >dep.sed \
681 -e 's!@INCDIR@!$(INCDIR)!' \
682 -e 's!@SRCDIR@!$(srcdir)!'
683
684dep: .dep
685 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
686 cat .dep >> tmp-Makefile
687 $(srcdir)/../move-if-change tmp-Makefile Makefile
688
689dep-in: .dep
690 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
691 cat .dep >> tmp-Makefile.in
692 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
693
694dep-am: .dep
695 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
696 cat .dep >> tmp-Makefile.am
697 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
698
699.PHONY: dep dep-in dep-am
700
701# What appears below is generated by a hacked mkdep using gcc -MM.
702
703# DO NOT DELETE THIS LINE -- mkdep uses it.
704# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
705
706ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
707 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
708 ld.h ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
709ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
710 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldemul.h \
711 ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldemul-list.h
712ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
713 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
714 ld.h ldmain.h ldmisc.h ldexp.h ldgram.h ldlang.h
715ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
716 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
717 ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
718 ldlex.h ldemul.h
719ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
720 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
721 $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
722 ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \
723 ldctor.h ldfile.h $(INCDIR)/fnmatch.h
724ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
725 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
726 $(INCDIR)/progress.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
727 ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h ldemul.h \
728 ldlex.h ldfile.h ldctor.h
729ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
730 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
731 $(INCDIR)/demangle.h ld.h ldmisc.h ldexp.h ldlang.h \
732 ldgram.h ldlex.h ldmain.h ldfile.h
733ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
734 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldver.h \
735 ldemul.h ldmain.h
736ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
737 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
738 $(INCDIR)/libiberty.h ld.h ldexp.h ldlang.h ldwrite.h \
739 ldmisc.h ldgram.h ldmain.h
740lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
741 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
742 $(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
743 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
744 ldver.h ldemul.h
745mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \
746 config.h $(INCDIR)/fopen-same.h ld.h ldexp.h ldlang.h \
747 ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
748ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
749 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
750 $(INCDIR)/libiberty.h ld.h ldmain.h ldmisc.h ldexp.h \
751 ldlang.h
752ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
753 sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
754 ld.h ldexp.h ldver.h ldlang.h ldemul.h ldfile.h ldmisc.h \
755 ldmain.h mri.h ldlex.h
756ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
757 ld.h ldgram.h ldmisc.h ldexp.h ldlang.h ldfile.h ldlex.h \
758 ldmain.h
759
760# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.19131 seconds and 4 git commands to generate.