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