1 # Makefile for the GNU linker ld (version 2)
2 # Copyright (C) 1989, 90, 91, 92, 93, 1994 Free Software Foundation, Inc.
4 # This file is part of GNU ld.
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.
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.
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.
25 target_alias
= @target_alias@
28 program_transform_name
= @program_transform_name@
29 exec_prefix = @
exec_prefix@
30 bindir = $(exec_prefix)/bin
31 libdir = $(exec_prefix)/lib
32 tooldir
= $(exec_prefix)/$(target_alias
)
33 datadir = $(prefix)/lib
34 mandir = $(prefix)/man
35 man1dir = $(mandir)/man1
36 man2dir = $(mandir)/man2
37 man3dir = $(mandir)/man3
38 man4dir = $(mandir)/man4
39 man5dir = $(mandir)/man5
40 man6dir = $(mandir)/man6
41 man7dir = $(mandir)/man7
42 man8dir = $(mandir)/man8
43 man9dir = $(mandir)/man9
44 infodir = $(prefix)/info
45 includedir = $(prefix)/include
46 docdir
= $(datadir)/doc
47 # We put the scripts in the directory $(scriptdir)/ldscripts.
48 # We can't put the scripts in $(datadir) because the SEARCH_DIR
49 # directives need to be different for native and cross linkers.
50 scriptdir
= $(tooldir
)/lib
54 INSTALL
= `cd $(srcdir); pwd`/..
/install.sh
-c
55 INSTALL_PROGRAM
= $(INSTALL
)
56 INSTALL_DATA
= $(INSTALL
)
57 INSTALL_XFORM
= $(INSTALL
) -t
='$(program_transform_name)'
58 INSTALL_XFORM1
= $(INSTALL_XFORM
) -b
=.1
67 BISON
= `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
68 LEX
= `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
71 EMULATION_OFILES
= @EMULATION_OFILES@
73 # Seach path to override the default search path for -lfoo libraries.
74 # If LIB_PATH is empty, the ones in the script (if any) are left alone.
75 # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
76 # a cross-linker, in which case the default is empty. See genscripts.sh.)
77 # Otherwise, they are replaced with the ones given in LIB_PATH,
78 # which may have the form: LIB_PATH=/lib:/usr/local/lib
81 BASEDIR
= $(srcdir)/..
82 BFDDIR
= $(BASEDIR
)/bfd
83 INCDIR
= $(BASEDIR
)/include
84 INCLUDES
= -I.
-I
$(srcdir) -I..
/bfd
-I
$(BFDDIR
) -I
$(INCDIR
)
87 # What version of the manual to build
90 # Where to find texinfo.tex to format docn with TeX
91 TEXIDIR
= $(srcdir)/..
/texinfo
93 # Where to find other docs needed to format with TeX
94 TEXINPUTS
= $(TEXIDIR
):$(BFDDIR
)/doc
:$(srcdir)
96 # Whether to get roff to put indexing entries on stderr
98 # You neeed this to generate ld-index.ms (or .mm or .me)
103 # Which roff program to use to generate index for texi2roff'd doc
106 #stuff for self hosting (can be overridden in config file).
107 HOSTING_CRT0
= @HOSTING_CRT0@
108 HOSTING_LIBS
= @HOSTING_LIBS@
109 HOSTING_EMU
= -m
$(EMUL
)
111 # These were used by `make check-cdtest'
113 #CXX = `if [ -f ../gcc/xgcc ] ; then \
114 # echo ../gcc/xgcc -B../gcc/; \
117 #CXXFLAGS = -fgnu-linker
119 # FIX_ME: using ../gcc/xgcc breaks the cdtest.
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`
127 RUNTEST
= `if [ -f $${srcroot}/../dejagnu/runtest ] ; \
128 then echo $${srcroot}/../dejagnu/runtest ; \
129 else echo runtest ; fi`
134 if [ -f $$r/../gcc/xgcc ] ; 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; \
138 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
141 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
144 echo gcc | sed '$(program_transform_name)'; \
150 if [ -f $$r/../gcc/xgcc ] ; 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; \
154 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
157 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
160 echo gcc | sed '$(program_transform_name)'; \
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
172 LINTFLAGS
= $(INCLUDES
) $(EXTRA_DEF
)
174 # The .cc suffix was used by `make check-cdtest'.
176 .SUFFIXES
: .y
$(SUFFIXES
) .
cc
178 # Suppress smart makes who think they know how to automake Yacc files
181 # This rule was used for the check-cdtest target.
183 # $(CXX) -c -I$(srcdir) $(CXXFLAGS) $(CFLAGS) $<
185 ALL_CFLAGS
= $(INCLUDES
) @HDEFINES@
$(CFLAGS
)
187 $(CC
) -c
$(ALL_CFLAGS
) $<
190 BFDLIB
= ..
/bfd
/libbfd.a
191 LIBIBERTY
= ..
/libiberty
/libiberty.a
193 ALL_EMULATIONS
= ea29k.o ealpha.o earmaoutl.o earmaoutb.o \
194 ecoff_sparc.o eebmon29k.o \
195 eelf32_sparc.o eelf32bmip.o eelf32lmip.o eelf32ppc.o eelf32lppc.o \
196 eelf64_sparc.o eelf_i386.o egld960.o ego32.o eh8300.o \
197 eh8300h.o eh8500.o eh8500b.o eh8500c.o eh8500m.o eh8500s.o \
198 ehp300bsd.o ehp3hpux.o ehppaelf.o ei386aout.o ei386bsd.o \
199 ei386coff.o ei386go32.o ei386linux.o ei386lynx.o ei386mach.o \
200 ei386nbsd.o ei386nw.o elnk960.o em68k4knbsd.o em68kaout.o em68kcoff.o \
201 em68kelf.o em68klynx.o em68knbsd.o em88kbcs.o emipsbig.o emipsbsd.o \
202 emipsidt.o emipsidtl.o emipslit.o enews.o ens32knbsd.o eppcnw.o \
203 eriscix.o esa29200.o eshl.o esh.o esparclynx.o esparcnbsd.o \
204 est2000.o esun3.o esun4.o evanilla.o evax.o evsta.o \
205 ez8001.o ez8002.o ei386pe.o earmpe.o eelf32b4300.o eelf32l4300.o \
206 eaixppc.o eaixrs6.o edelta68.o
208 CFILES
= ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
209 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
212 HFILES
= config.h
ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
213 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
216 GENERATED_CFILES
= ldgram.c ldlex.c
217 GENERATED_HFILES
= ldgram.h ldemul-list.h
219 OFILES
= ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
220 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
221 ldfile.o
${EMULATION_OFILES}
223 LINTSOURCES
= $(CFILES
) $(GENERATED_CFILES
) e
*.c
225 STAGESTUFF
= *.o ldscripts
/* e
*.c
231 $(BISON
) $(BISONFLAGS
) -d
$(srcdir)/ldgram.y
232 mv
-f y.tab.c ldgram.c
233 mv
-f y.tab.h ldgram.h
235 # Separate from ldgram.c so that a parallel make doesn't try to build
236 # both ldgram.c and ldgram.h simultaneously.
239 ldmain.o
: ldmain.c config.status
240 $(CC
) -c
-DDEFAULT_EMULATION
='"$(EMUL)"' -DSCRIPTDIR
='"$(scriptdir)"' $(ALL_CFLAGS
) $<
242 ldemul-list.h
: Makefile
243 (echo
"/* This file is automatically generated. DO NOT EDIT! */";\
244 for f in
`echo " " ${EMULATION_OFILES} "" \
245 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
246 echo
"extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
249 echo
"#define EMULATION_LIST \\";\
250 for f in
`echo " " ${EMULATION_OFILES} "" \
251 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
252 echo
" &ld_$${f}_emulation, \\"; \
254 echo
" 0") >ldemul-tmp.h
255 mv ldemul-tmp.h ldemul-list.h
258 $(LEX
) -I
-Cem
$(srcdir)/ldlex.l
259 -sed
-e
'/^int.*free();/d' \
260 -e
'/^char.*malloc();/d' \
261 -e
's/malloc/xmalloc/g' \
262 < lex.yy.c
> ldlex.c.new
264 mv ldlex.c.new .
/ldlex.c
266 # These all start with e so 'make clean' can find them.
268 GENSCRIPTS
= $(SHELL
) $(srcdir)/genscripts.sh
${srcdir} ${libdir} @host_alias@ @target_alias@
${EMUL} "@NATIVE_LIB_DIRS@"
269 GEN_DEPENDS
= $(srcdir)/genscripts.sh
$(srcdir)/emultempl
/stringify.sed
271 esun4.c
: $(srcdir)/emulparams
/sun4.sh \
272 $(srcdir)/emultempl
/sunos.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
274 esun3.c
: $(srcdir)/emulparams
/sun3.sh \
275 $(srcdir)/emultempl
/sunos.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
277 earmpe.c
: $(srcdir)/emulparams
/armpe.sh \
278 $(srcdir)/emultempl
/pe.em
$(srcdir)/scripttempl
/pe.sc
${GEN_DEPENDS}
280 evsta.c
: $(srcdir)/emulparams
/vsta.sh \
281 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
283 ego32.c
: $(srcdir)/emulparams
/go32.sh \
284 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
286 enews.c
: $(srcdir)/emulparams
/news.sh \
287 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
289 evax.c
: $(srcdir)/emulparams
/vax.sh \
290 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
292 ehp300bsd.c
: $(srcdir)/emulparams
/hp300bsd.sh \
293 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
294 ${GENSCRIPTS} hp300bsd
295 ehp3hpux.c
: $(srcdir)/emulparams
/hp3hpux.sh \
296 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
297 ${GENSCRIPTS} hp3hpux
298 ei386pe.c
: $(srcdir)/emulparams
/i386pe.sh \
299 $(srcdir)/emultempl
/pe.em
$(srcdir)/scripttempl
/pe.sc
${GEN_DEPENDS}
301 ehppaelf.c
: $(srcdir)/emulparams
/hppaelf.sh \
302 $(srcdir)/emultempl
/hppaelf.em
$(srcdir)/scripttempl
/hppaelf.sc
${GEN_DEPENDS}
303 ${GENSCRIPTS} hppaelf
304 ei386aout.c
: $(srcdir)/emulparams
/i386aout.sh \
305 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
306 ${GENSCRIPTS} i386aout
307 ei386go32.c
: $(srcdir)/emulparams
/i386go32.sh \
308 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386go32.sc
${GEN_DEPENDS}
309 ${GENSCRIPTS} i386go32
310 ei386mach.c
: $(srcdir)/emulparams
/i386mach.sh \
311 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
312 ${GENSCRIPTS} i386mach
313 ei386moss.c
: $(srcdir)/emulparams
/i386moss.sh \
314 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
315 ${GENSCRIPTS} i386moss
316 ei386msdos.c
: $(srcdir)/emulparams
/i386msdos.sh \
317 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386msdos.sc
${GEN_DEPENDS}
318 ${GENSCRIPTS} i386msdos
319 eebmon29k.c
: $(srcdir)/emulparams
/ebmon29k.sh \
320 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/ebmon29k.sc
${GEN_DEPENDS}
321 ${GENSCRIPTS} ebmon29k
322 esa29200.c
: $(srcdir)/emulparams
/sa29200.sh \
323 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sa29200.sc
${GEN_DEPENDS}
324 ${GENSCRIPTS} sa29200
325 ea29k.c
: $(srcdir)/emulparams
/a29k.sh \
326 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/a29k.sc
${GEN_DEPENDS}
328 em88kbcs.c
: $(srcdir)/emulparams
/m88kbcs.sh \
329 $(srcdir)/emultempl
/m88kbcs.em
$(srcdir)/scripttempl
/m88kbcs.sc
${GEN_DEPENDS}
330 ${GENSCRIPTS} m88kbcs
331 eh8300.c
: $(srcdir)/emulparams
/h8300.sh \
332 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8300.sc
${GEN_DEPENDS}
334 eh8300h.c
: $(srcdir)/emulparams
/h8300h.sh \
335 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8300h.sc
${GEN_DEPENDS}
337 eh8500.c
: $(srcdir)/emulparams
/h8500.sh \
338 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500.sc
${GEN_DEPENDS}
340 eh8500b.c
: $(srcdir)/emulparams
/h8500b.sh \
341 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500b.sc
${GEN_DEPENDS}
343 eh8500c.c
: $(srcdir)/emulparams
/h8500c.sh \
344 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500c.sc
${GEN_DEPENDS}
346 eh8500m.c
: $(srcdir)/emulparams
/h8500m.sh \
347 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500m.sc
${GEN_DEPENDS}
349 eh8500s.c
: $(srcdir)/emulparams
/h8500s.sh \
350 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500s.sc
${GEN_DEPENDS}
352 esh.c
: $(srcdir)/emulparams
/sh.sh \
353 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sh.sc
${GEN_DEPENDS}
355 eshl.c
: $(srcdir)/emulparams
/shl.sh \
356 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sh.sc
${GEN_DEPENDS}
358 est2000.c
: $(srcdir)/emulparams
/st2000.sh \
359 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/st2000.sc
${GEN_DEPENDS}
361 evanilla.c
: $(srcdir)/emulparams
/vanilla.sh \
362 $(srcdir)/emultempl
/vanilla.em
$(srcdir)/scripttempl
/vanilla.sc
${GEN_DEPENDS}
363 ${GENSCRIPTS} vanilla
364 elnk960.c
: $(srcdir)/emulparams
/lnk960.sh \
365 $(srcdir)/emultempl
/lnk960.em
$(srcdir)/scripttempl
/i960.sc
${GEN_DEPENDS}
367 egld960.c
: $(srcdir)/emulparams
/gld960.sh \
368 $(srcdir)/emultempl
/gld960.em
$(srcdir)/scripttempl
/i960.sc
${GEN_DEPENDS}
370 egld960coff.c
: $(srcdir)/emulparams
/gld960coff.sh \
371 $(srcdir)/emultempl
/gld960c.em
$(srcdir)/scripttempl
/i960.sc
${GEN_DEPENDS}
372 ${GENSCRIPTS} gld960coff
373 em68kcoff.c
: $(srcdir)/emulparams
/m68kcoff.sh \
374 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/m68kcoff.sc
${GEN_DEPENDS}
375 ${GENSCRIPTS} m68kcoff
376 em68kelf.c
: $(srcdir)/emulparams
/m68kelf.sh \
377 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
378 ${GENSCRIPTS} m68kelf
379 em68klynx.c
: $(srcdir)/emulparams
/m68klynx.sh \
380 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/m68klynx.sc
${GEN_DEPENDS}
381 ${GENSCRIPTS} m68klynx
382 ei386coff.c
: $(srcdir)/emulparams
/i386coff.sh \
383 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386coff.sc
${GEN_DEPENDS}
384 ${GENSCRIPTS} i386coff
385 ei386lynx.c
: $(srcdir)/emulparams
/i386lynx.sh \
386 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386lynx.sc
${GEN_DEPENDS}
387 ${GENSCRIPTS} i386lynx
388 emipslit.c
: $(srcdir)/emulparams
/mipslit.sh \
389 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
390 ${GENSCRIPTS} mipslit
391 ei386bsd.c
: $(srcdir)/emulparams
/i386bsd.sh \
392 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
393 ${GENSCRIPTS} i386bsd
394 emipsbig.c
: $(srcdir)/emulparams
/mipsbig.sh \
395 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
396 ${GENSCRIPTS} mipsbig
397 emipsbsd.c
: $(srcdir)/emulparams
/mipsbsd.sh \
398 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/mipsbsd.sc
${GEN_DEPENDS}
399 ${GENSCRIPTS} mipsbsd
400 emipsidt.c
: $(srcdir)/emulparams
/mipsidt.sh \
401 $(srcdir)/emultempl
/mipsecoff.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
402 ${GENSCRIPTS} mipsidt
403 emipsidtl.c
: $(srcdir)/emulparams
/mipsidtl.sh \
404 $(srcdir)/emultempl
/mipsecoff.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
405 ${GENSCRIPTS} mipsidtl
406 eelf_i386.c
: $(srcdir)/emulparams
/elf_i386.sh \
407 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
408 ${GENSCRIPTS} elf_i386
409 eelf32bmip.c
: $(srcdir)/emulparams
/elf32bmip.sh \
410 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
411 ${GENSCRIPTS} elf32bmip
412 eelf32lmip.c
: $(srcdir)/emulparams
/elf32lmip.sh \
413 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
414 ${GENSCRIPTS} elf32lmip
415 eelf32b4300.c
: $(srcdir)/emulparams
/elf32b4300.sh \
416 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
417 ${GENSCRIPTS} elf32b4300
418 eelf32l4300.c
: $(srcdir)/emulparams
/elf32l4300.sh \
419 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
420 ${GENSCRIPTS} elf32l4300
421 ealpha.c
: $(srcdir)/emulparams
/alpha.sh \
422 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/alpha.sc
${GEN_DEPENDS}
424 ecoff_sparc.c
: $(srcdir)/emulparams
/coff_sparc.sh \
425 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sparccoff.sc
${GEN_DEPENDS}
426 ${GENSCRIPTS} coff_sparc
427 esparclynx.c
: $(srcdir)/emulparams
/sparclynx.sh \
428 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sparclynx.sc
${GEN_DEPENDS}
429 ${GENSCRIPTS} sparclynx
430 eelf32ppc.c
: $(srcdir)/emulparams
/elf32ppc.sh \
431 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
432 ${GENSCRIPTS} elf32ppc
433 eelf32lppc.c
: $(srcdir)/emulparams
/elf32lppc.sh \
434 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
435 ${GENSCRIPTS} elf32lppc
436 eriscix.c
: $(srcdir)/emulparams
/riscix.sh \
437 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
439 em68kaout.c
: $(srcdir)/emulparams
/m68kaout.sh \
440 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
441 ${GENSCRIPTS} m68kaout
442 ei386linux.c
: $(srcdir)/emulparams
/i386linux.sh \
443 $(srcdir)/emultempl
/linux.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
444 ${GENSCRIPTS} i386linux
445 eelf32_sparc.c
: $(srcdir)/emulparams
/elf32_sparc.sh \
446 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
447 ${GENSCRIPTS} elf32_sparc
448 eelf64_sparc.c
: $(srcdir)/emulparams
/elf64_sparc.sh \
449 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
450 ${GENSCRIPTS} elf64_sparc
452 epc532machaout.c
: $(srcdir)/emulparams
/pc532machaout.sh \
453 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
454 ${GENSCRIPTS} pc532machaout
456 ew65.c
: $(srcdir)/emulparams
/w65.sh \
457 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/w65.sc
${GEN_DEPENDS}
460 ei386nw.c
: $(srcdir)/emulparams
/i386nw.sh \
461 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/nw.sc
${GEN_DEPENDS}
463 eppcnw.c
: $(srcdir)/emulparams
/ppcnw.sh \
464 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/nw.sc
${GEN_DEPENDS}
467 ei386nbsd.c
: $(srcdir)/emulparams
/i386nbsd.sh \
468 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
469 ${GENSCRIPTS} i386nbsd
470 em68k4knbsd.c
: $(srcdir)/emulparams
/m68k4knbsd.sh \
471 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
472 ${GENSCRIPTS} m68k4knbsd
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 earmcoff.c
: $(srcdir)/emulparams
/armcoff.sh \
489 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/armcoff.sc
${GEN_DEPENDS}
490 ${GENSCRIPTS} armcoff
491 ez8001.c
: $(srcdir)/emulparams
/z8001.sh \
492 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/z8000.sc
${GEN_DEPENDS}
494 ez8002.c
: $(srcdir)/emulparams
/z8002.sh \
495 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/z8000.sc
${GEN_DEPENDS}
497 eaixppc.c
: $(srcdir)/emulparams
/aixppc.sh \
498 $(srcdir)/emultempl
/aix.em
$(srcdir)/scripttempl
/aix.sc
${GEN_DEPENDS}
500 eaixrs6.c
: $(srcdir)/emulparams
/aixrs6.sh \
501 $(srcdir)/emultempl
/aix.em
$(srcdir)/scripttempl
/aix.sc
${GEN_DEPENDS}
503 edelta68.c
: $(srcdir)/emulparams
/delta68.sh \
504 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/delta68.sc
${GEN_DEPENDS}
505 ${GENSCRIPTS} delta68
507 earcelf.c
: $(srcdir)/emulparams
/arcelf.sh \
508 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
512 erce.c
: $(srcdir)/emulparams
/rce.sh \
513 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/rce.sc
${GEN_DEPENDS}
517 $(LD_PROG
): $(OFILES
) $(BFDLIB
) $(LIBIBERTY
)
518 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$(LD_PROG
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(EXTRALIBS
)
520 # The generated emulation files mostly have the same dependencies.
521 $(EMULATION_OFILES
): ..
/bfd
/bfd.h sysdep.h config.h
$(INCDIR
)/bfdlink.h \
522 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
523 ldctor.h ldexp.h ldlang.h ldgram.h
525 # These targets are for the dejagnu testsuites. The file site.exp
526 # contains global variables that all the testsuites will use.
528 site.exp
: .
/config.status Makefile
529 @echo
"Making a new config file..."
532 @mv site.exp site.bak
533 @echo
"## variables are automatically generated by make ##" > .
/tmp0
534 @echo
"# Do not edit here. If you wish to override these" >> .
/tmp0
535 @echo
"# values, add them to the last section" >> .
/tmp0
536 @echo
"# HOST AND TARGET INFO" >> .
/tmp0
537 @echo
"set host_os @host_os@" >> .
/tmp0
538 @echo
"set host_alias @host_alias@" >> .
/tmp0
539 @echo
"set host_cpu @host_cpu@" >> .
/tmp0
540 @echo
"set host_vendor @host_vendor@" >> .
/tmp0
541 @echo
"set target_os @target_os@" >> .
/tmp0
542 @echo
"set target_alias @target_alias@" >> .
/tmp0
543 @echo
"set target_cpu @target_cpu@" >> .
/tmp0
544 @echo
"set target_vendor @target_vendor@" >> .
/tmp0
545 @echo
"set host_triplet @host@" >> .
/tmp0
546 @echo
"set target_triplet @target@" >> .
/tmp0
547 @echo
"# DIRECTORY INFO" >> .
/tmp0
548 @echo
"set objdir `pwd`" >> .
/tmp0
550 @echo
"# LD DEPENDENCIES" >> .
/tmp0
551 @echo
"set OFILES \"$(OFILES)\"" >> .
/tmp0
552 @echo
"set BFDLIB \"$(BFDLIB)\"" >> .
/tmp0
553 @echo
"set LIBIBERTY \"$(LIBIBERTY)\"" >> .
/tmp0
554 @echo
"set HOSTING_EMU \"$(HOSTING_EMU)\"" >> .
/tmp0
555 @echo
"set HOSTING_CRT0 \"$(HOSTING_CRT0)\"" >> .
/tmp0
556 @echo
"set HOSTING_LIBS \"$(HOSTING_LIBS)\"" >> .
/tmp0
558 @echo
"## Variables generated by configure. Do Not Edit ##" >> .
/tmp0
559 @cat .
/tmp0
> site.exp
560 @cat site.bak | sed \
561 -e
'1,/^## Variables generated by.*##/ d' >> site.exp
566 srcroot
=`cd ${srcdir}; pwd` ; export srcroot
; \
567 EXPECT
=${EXPECT} ; export EXPECT
; \
568 if
[ -f
$$r/..
/expect
/expect
] ; then \
569 TCL_LIBRARY
=$${srcroot}/..
/tcl
/library
; \
570 export TCL_LIBRARY
; \
572 $(RUNTEST
) --tool
ld --srcdir $(srcdir)/testsuite
$(RUNTESTFLAGS
) \
573 CC
="$(CC_FOR_TARGET)" CFLAGS
="$(CFLAGS)" \
574 CXX
="$(CXX_FOR_TARGET)" CXXFLAGS
="$(CXXFLAGS)" \
575 CC_FOR_HOST
="$(CC)" CFLAGS_FOR_HOST
="$(CFLAGS)"
578 .PHONY
: check installcheck
580 # Rules for testing by relinking ld itself.
581 # A similar test is in the testsuite. This target is for ease of use
585 .
/ld.new
$(HOSTING_EMU
) -o ld-partial.o
-r
$(OFILES
)
587 .
/ld.new
$(HOSTING_EMU
) -o ld1
$(HOSTING_CRT0
) ld-partial.o
$(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
590 .
/ld.new
$(HOSTING_EMU
) -o ld1-full
$(HOSTING_CRT0
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
593 .
/ld1
$(HOSTING_EMU
) -o ld2
$(HOSTING_CRT0
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
596 .
/ld2
$(HOSTING_EMU
) -o ld3
$(HOSTING_CRT0
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
603 # A test program for C++ constructors and destructors.
604 # This test is now in the testsuite.
606 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
607 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
608 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
611 # ./cdtest > cdtest.tmp
612 # mv cdtest.tmp cdtest.out
614 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
615 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
616 # cdtest-bar.o cdtest-foo.o
618 #cdtest-ur: cdtest-ur.o
619 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
622 #cdtest-ur.out: cdtest-ur
623 # ./cdtest-ur > cdtest-ur.tmp
624 # mv cdtest-ur.tmp cdtest-ur.out
626 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
627 # diff $(srcdir)/cdtest.exp cdtest.out
628 # diff $(srcdir)/cdtest.exp cdtest-ur.out
630 #.PHONY: check-cdtest
632 # END OF CHECK TARGETS
634 # DOCUMENTATION TARGETS
635 # Manual configuration file; not usually attached to normal configuration,
636 # because almost all configs use "gen" version of manual.
637 # Set DOCVER above to change.
638 configdoc.texi
: ${DOCVER}-doc.texi
639 ln
-s
${srcdir}/${DOCVER}-doc.texi .
/configdoc.texi || \
640 ln
${srcdir}/${DOCVER}-doc.texi .
/configdoc.texi || \
641 cp
${srcdir}/${DOCVER}-doc.texi .
/configdoc.texi
645 ld.
dvi: $(srcdir)/ld.texinfo configdoc.texi
$(BFDDIR
)/doc
/bfdsumm.texi
646 TEXINPUTS
=$(BFDDIR
)/doc
:$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/ld.texinfo
648 ldint.
dvi: $(srcdir)/ldint.texinfo
649 $(TEXI2DVI
) $(srcdir)/ldint.texinfo
651 # info file for online browsing
652 ld.
info: $(srcdir)/ld.texinfo configdoc.texi
$(BFDDIR
)/doc
/bfdsumm.texi
653 $(MAKEINFO
) -I
$(BFDDIR
)/doc
-o
ld.
info $(srcdir)/ld.texinfo
655 ldint.
info: $(srcdir)/ldint.texinfo
656 $(MAKEINFO
) -o ldint.
info $(srcdir)/ldint.texinfo
660 #separate targets for "ms", "me", and "mm" forms of roff doc
661 # Try to use a recent texi2roff. v2 was put on prep in jan91.
662 # If you want an index, see texi2roff doc for postprocessing
663 # and add -i to texi2roff invocations below.
664 # Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
665 # correspondint -e lines when later texi2roff's are current)
666 # + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
667 # + @c's deleted explicitly because texi2roff sees texinfo commands in them
668 # + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
669 # + @alphaenumerate is ridiculously new, turned into @enumerate
671 ld.ms
: $(srcdir)/ld.texinfo
672 sed
-e
'/\\input texinfo/d' \
673 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
674 -e
'/^@ifinfo/,/^@end ifinfo/d' \
678 -e
's/^@alphaenumerate/@enumerate/g' \
679 -e
's/^@end alphaenumerate/@end enumerate/g' \
680 $(srcdir)/ld.texinfo | \
681 $(TEXI2ROFF
) $(TEXI2OPT
) -ms | \
682 sed
-e
's/---/\\(em/g' \
685 # index for roff output
687 $(ROFF
) -ms
ld.ms
2>&1 1>/dev
/null | \
688 sed
-e
'/: warning:/d' | \
689 texi2index
>ld-index.ms
692 ld.mm
: $(srcdir)/ld.texinfo
693 sed
-e
'/\\input texinfo/d' \
694 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
695 -e
'/^@ifinfo/,/^@end ifinfo/d' \
700 -e
's/^@alphaenumerate/@enumerate/g' \
701 -e
's/^@end alphaenumerate/@end enumerate/g' \
702 $(srcdir)/ld.texinfo | \
703 $(TEXI2ROFF
) $(TEXI2OPT
) -mm | \
704 sed
-e
's/---/\\(em/g' \
707 # index for roff output
709 $(ROFF
) -mm
ld.mm
2>&1 1>/dev
/null | \
710 sed
-e
'/: warning:/d' | \
711 texi2index
>ld-index.mm
714 ld.me
: $(srcdir)/ld.texinfo
715 sed
-e
'/\\input texinfo/d' \
716 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
717 -e
'/^@ifinfo/,/^@end ifinfo/d' \
721 -e
's/^@alphaenumerate/@enumerate/g' \
722 -e
's/^@end alphaenumerate/@end enumerate/g' \
723 $(srcdir)/ld.texinfo | \
724 $(TEXI2ROFF
) $(TEXI2OPT
) -me | \
725 sed
-e
's/---/\\(em/g' \
728 # index for roff output
730 $(ROFF
) -me
ld.me
2>&1 1>/dev
/null | \
731 sed
-e
'/: warning:/d' | \
732 texi2index
>ld-index.me
736 -mv
-f
$(STAGESTUFF
) $(LD_PROG
) stage1
737 -(cd stage1
; ln
-s
$(LD_PROG
) ld)
741 -mv
-f
$(STAGESTUFF
) $(LD_PROG
) stage2
742 -(cd stage2
; ln
-s
$(LD_PROG
) ld)
746 -mv
-f
$(STAGESTUFF
) $(LD_PROG
) stage3
747 -(cd stage3
; ln
-s
$(LD_PROG
) ld)
752 for i in
$(STAGESTUFF
) $(LD_PROG
) ; do cmp
$$i $(against
)/$$i ; done
755 -(cd stage1
; mv
-f
* ..
)
760 -(cd stage2
; mv
-f
* ..
)
765 -(cd stage3
; mv
-f
* ..
)
769 .PHONY
: stage1 stage2 stage3 comparison de-stage1 de-stage2 de-stage3
771 # Stuff that should be included in a distribution:
772 LDDISTSTUFF
= ldgram.c ldgram.h ldlex.c
773 diststuff
: $(LDDISTSTUFF
) info
776 -rm -f
$(STAGESTUFF
) ld.??
ld.??? ldlex.
[qp
] config.log
777 -rm -f
ld ld1 ld2 ld3
*.o y.output cdtest cdtest.out cdtest.tmp
778 -rm -f cdtest-ur cdtest-ur.out cdtest-ur.tmp
779 -rm -f
$(GENERATED_CFILES
) $(GENERATED_HFILES
)
782 -rm -f
$(LD_PROG
) configdoc.texi
784 -rm -f Makefile config.status TAGS site.exp site.bak config.cache
785 -rm -f config.h stamp-h
787 maintainer-clean
realclean: clean distclean
788 @echo
"This command is intended for maintainers to use;"
789 @echo
"it deletes files that may require special tools to rebuild."
790 -rm -f
$(LDDISTSTUFF
) *.
info*
792 .PHONY
: diststuff
mostlyclean clean distclean realclean
794 lintlog
:$(LINTSOURCES
) Makefile
795 $(LINT
) -abhxzn
$(LINTFLAGS
) $(LINTSOURCES
) \
796 | grep
-v
"pointer casts may be troublesome" \
797 | grep
-v
"possible pointer alignment problem" \
799 | grep
-v
"conversion from long may lose accuracy" \
800 | grep
-v
"warning: constant argument to NOT" \
801 | grep
-v
"enumeration type clash, operator CAST" \
802 | grep
-v
"warning: constant in conditional context"\
803 | grep
-v
"archive\.c"
807 etags
-t
$(srcdir)/*.
[chly
] *.
[chly
]
811 $(INSTALL_XFORM
) ld.new
$(bindir)/ld
812 $(INSTALL_XFORM1
) $(srcdir)/ld.1 $(man1dir)/ld.1
813 for f in ldscripts
/*; do \
814 $(INSTALL_DATA
) $$f $(scriptdir
)/$$f ; \
816 -n
=`echo ld | sed '$(program_transform_name)'`; \
817 rm -f
$(tooldir
)/bin
/ld; \
818 ln
$(bindir)/$$n $(tooldir
)/bin
/ld >/dev
/null
2>/dev
/null \
819 ||
$(INSTALL_PROGRAM
) ld.new
$(tooldir
)/bin
/ld
821 install-info
: ld.
info
822 if
[ -r
ld.
info ]; then \
827 for i in
`cd $$dir ; echo ld.info*` ; do \
828 $(INSTALL_DATA
) $$dir/$$i $(infodir)/$$i ; \
834 .PHONY
: install install-info clean-info
836 # Targets to rebuild dependencies in this Makefile.
837 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
838 .dep
: dep.sed
$(CFILES
) $(HFILES
) $(GENERATED_CFILES
) $(GENERATED_HFILES
) config.h
840 $(MAKE
) DEP
=$(DEP
) .dep1
841 sed
-f dep.sed
<.dep1
>.dep
843 # This rule really wants a mkdep that runs "gcc -MM".
844 .dep1
: $(CFILES
) $(GENERATED_CFILES
)
846 echo
'# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
847 $(DEP
) -f .dep2
$(ALL_CFLAGS
) $?
848 $(srcdir)/..
/move-if-change .dep2 .dep1
850 dep.sed
: dep-in.sed config.status
851 sed
<$(srcdir)/dep-in.sed
>dep.sed \
852 -e
's!@INCDIR@!$(INCDIR)!' \
853 -e
's!@SRCDIR@!$(srcdir)!'
856 sed
-e
'/^..DO NOT DELETE THIS LINE/,$$d' < Makefile
> tmp-Makefile
857 cat .dep
>> tmp-Makefile
858 $(srcdir)/..
/move-if-change tmp-Makefile Makefile
861 sed
-e
'/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in
> tmp-Makefile.in
862 cat .dep
>> tmp-Makefile.in
863 $(srcdir)/..
/move-if-change tmp-Makefile.in
$(srcdir)/Makefile.in
867 # Dummy target to force execution of dependent targets.
873 Makefile
: Makefile.in config.status
874 CONFIG_FILES
=Makefile CONFIG_HEADERS
= $(SHELL
) .
/config.status
876 config.h
: stamp-h
; @true
877 stamp-h
: config.in config.status
878 CONFIG_FILES
= CONFIG_HEADERS
=config.h
:config.in
$(SHELL
) .
/config.status
880 config.status
: configure configure.host configure.tgt
881 $(SHELL
) .
/config.status
--recheck
883 # What appears below is generated by a hacked mkdep using gcc -MM.
885 # DO NOT DELETE THIS LINE -- mkdep uses it.
886 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
888 ldctor.o
: ldctor.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
889 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
890 $(INCDIR
)/bfdlink.h
ld.h ldexp.h ldlang.h ldmisc.h \
891 ldgram.h ldmain.h ldctor.h
892 ldemul.o
: ldemul.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
893 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
894 ld.h ldemul.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h \
896 ldexp.o
: ldexp.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
897 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
898 $(INCDIR
)/bfdlink.h
ld.h ldmain.h ldmisc.h ldexp.h \
900 ldfile.o
: ldfile.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
901 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
902 $(INCDIR
)/bfdlink.h
ld.h ldmisc.h ldexp.h ldlang.h \
903 ldfile.h ldmain.h ldgram.h ldlex.h ldemul.h
904 ldlang.o
: ldlang.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
905 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
906 $(INCDIR
)/libiberty.h
$(INCDIR
)/bfdlink.h
ld.h ldmain.h \
907 ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \
909 ldmain.o
: ldmain.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
910 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
911 $(INCDIR
)/libiberty.h
$(INCDIR
)/progress.h
$(INCDIR
)/bfdlink.h \
912 ld.h ldmain.h ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h \
913 ldemul.h ldlex.h ldfile.h ldctor.h
914 ldmisc.o
: ldmisc.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
915 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
916 ld.h ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
918 ldver.o
: ldver.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
919 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
920 ld.h ldver.h ldemul.h ldmain.h
921 ldwrite.o
: ldwrite.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
922 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
923 $(INCDIR
)/bfdlink.h
ld.h ldexp.h ldlang.h ldwrite.h \
924 ldmisc.h ldgram.h ldmain.h
925 lexsup.o
: lexsup.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
926 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
927 $(INCDIR
)/getopt.h
$(INCDIR
)/bfdlink.h
ld.h ldmain.h \
928 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
930 mri.o
: mri.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h
$(INCDIR
)/obstack.h \
931 sysdep.h config.h
$(INCDIR
)/fopen-same.h
ld.h ldexp.h \
932 ldlang.h ldmisc.h mri.h ldgram.h
933 ldgram.o
: ldgram.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
934 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
935 $(INCDIR
)/bfdlink.h
ld.h ldexp.h ldver.h ldlang.h ldemul.h \
936 ldfile.h ldmisc.h ldmain.h mri.h ldlex.h
937 ldlex.o
: ldlex.c ..
/bfd
/bfd.h
$(INCDIR
)/obstack.h sysdep.h \
938 config.h
$(INCDIR
)/fopen-same.h
ld.h ldgram.h ldmisc.h \
939 ldexp.h ldlang.h ldfile.h ldlex.h ldmain.h
941 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY