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 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
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 t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
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 em68kaout.o em68kcoff.o em68kelf.o \
201 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 eelf32vr4300.o eelf32vr4300el.o
207 CFILES
= ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
208 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
211 HFILES
= config.h
ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
212 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
215 GENERATED_CFILES
= ldgram.c ldlex.c
216 GENERATED_HFILES
= ldgram.h ldemul-list.h config.h
218 OFILES
= ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
219 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
220 ldfile.o
${EMULATION_OFILES}
222 LINTSOURCES
= $(CFILES
) $(GENERATED_CFILES
) e
*.c
224 STAGESTUFF
= *.o ldscripts
/* e
*.c
230 $(BISON
) $(BISONFLAGS
) -d
$(srcdir)/ldgram.y
231 mv
-f y.tab.c ldgram.c
232 mv
-f y.tab.h ldgram.h
234 # Separate from ldgram.c so that a parallel make doesn't try to build
235 # both ldgram.c and ldgram.h simultaneously.
238 ldmain.o
: ldmain.c config.status
239 $(CC
) -c
-DDEFAULT_EMULATION
='"$(EMUL)"' -DSCRIPTDIR
='"$(scriptdir)"' $(ALL_CFLAGS
) $<
241 ldemul-list.h
: Makefile
242 (echo
"/* This file is automatically generated. DO NOT EDIT! */";\
243 for f in
`echo " " ${EMULATION_OFILES} "" \
244 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
245 echo
"extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
248 echo
"#define EMULATION_LIST \\";\
249 for f in
`echo " " ${EMULATION_OFILES} "" \
250 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
251 echo
" &ld_$${f}_emulation, \\"; \
253 echo
" 0") >ldemul-tmp.h
254 mv ldemul-tmp.h ldemul-list.h
257 $(LEX
) -I
-Cem
$(srcdir)/ldlex.l
258 -sed
-e
'/^int.*free();/d' \
259 -e
'/^char.*malloc();/d' \
260 -e
's/malloc/xmalloc/g' \
261 < lex.yy.c
> ldlex.c.new
263 mv ldlex.c.new .
/ldlex.c
265 # These all start with e so 'make clean' can find them.
267 GENSCRIPTS
= $(SHELL
) $(srcdir)/genscripts.sh
${srcdir} ${libdir} @host_alias@ @target_alias@
${EMUL} "@NATIVE_LIB_DIRS@"
268 GEN_DEPENDS
= $(srcdir)/genscripts.sh
$(srcdir)/emultempl
/stringify.sed
270 esun4.c
: $(srcdir)/emulparams
/sun4.sh \
271 $(srcdir)/emultempl
/sunos.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
273 esun3.c
: $(srcdir)/emulparams
/sun3.sh \
274 $(srcdir)/emultempl
/sunos.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
276 earmpe.c
: $(srcdir)/emulparams
/armpe.sh \
277 $(srcdir)/emultempl
/pe.em
$(srcdir)/scripttempl
/pe.sc
${GEN_DEPENDS}
279 evsta.c
: $(srcdir)/emulparams
/vsta.sh \
280 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
282 ego32.c
: $(srcdir)/emulparams
/go32.sh \
283 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
285 enews.c
: $(srcdir)/emulparams
/news.sh \
286 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
288 evax.c
: $(srcdir)/emulparams
/vax.sh \
289 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
291 ehp300bsd.c
: $(srcdir)/emulparams
/hp300bsd.sh \
292 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
293 ${GENSCRIPTS} hp300bsd
294 ehp3hpux.c
: $(srcdir)/emulparams
/hp3hpux.sh \
295 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
296 ${GENSCRIPTS} hp3hpux
297 ei386pe.c
: $(srcdir)/emulparams
/i386pe.sh \
298 $(srcdir)/emultempl
/pe.em
$(srcdir)/scripttempl
/pe.sc
${GEN_DEPENDS}
300 ehppaelf.c
: $(srcdir)/emulparams
/hppaelf.sh \
301 $(srcdir)/emultempl
/hppaelf.em
$(srcdir)/scripttempl
/hppaelf.sc
${GEN_DEPENDS}
302 ${GENSCRIPTS} hppaelf
303 ei386aout.c
: $(srcdir)/emulparams
/i386aout.sh \
304 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
305 ${GENSCRIPTS} i386aout
306 ei386go32.c
: $(srcdir)/emulparams
/i386go32.sh \
307 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386go32.sc
${GEN_DEPENDS}
308 ${GENSCRIPTS} i386go32
309 ei386mach.c
: $(srcdir)/emulparams
/i386mach.sh \
310 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
311 ${GENSCRIPTS} i386mach
312 ei386moss.c
: $(srcdir)/emulparams
/i386moss.sh \
313 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
314 ${GENSCRIPTS} i386moss
315 ei386msdos.c
: $(srcdir)/emulparams
/i386msdos.sh \
316 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386msdos.sc
${GEN_DEPENDS}
317 ${GENSCRIPTS} i386msdos
318 eebmon29k.c
: $(srcdir)/emulparams
/ebmon29k.sh \
319 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/ebmon29k.sc
${GEN_DEPENDS}
320 ${GENSCRIPTS} ebmon29k
321 esa29200.c
: $(srcdir)/emulparams
/sa29200.sh \
322 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sa29200.sc
${GEN_DEPENDS}
323 ${GENSCRIPTS} sa29200
324 ea29k.c
: $(srcdir)/emulparams
/a29k.sh \
325 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/a29k.sc
${GEN_DEPENDS}
327 em88kbcs.c
: $(srcdir)/emulparams
/m88kbcs.sh \
328 $(srcdir)/emultempl
/m88kbcs.em
$(srcdir)/scripttempl
/m88kbcs.sc
${GEN_DEPENDS}
329 ${GENSCRIPTS} m88kbcs
330 eh8300.c
: $(srcdir)/emulparams
/h8300.sh \
331 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8300.sc
${GEN_DEPENDS}
333 eh8300h.c
: $(srcdir)/emulparams
/h8300h.sh \
334 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8300h.sc
${GEN_DEPENDS}
336 eh8500.c
: $(srcdir)/emulparams
/h8500.sh \
337 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500.sc
${GEN_DEPENDS}
339 eh8500b.c
: $(srcdir)/emulparams
/h8500b.sh \
340 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500b.sc
${GEN_DEPENDS}
342 eh8500c.c
: $(srcdir)/emulparams
/h8500c.sh \
343 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500c.sc
${GEN_DEPENDS}
345 eh8500m.c
: $(srcdir)/emulparams
/h8500m.sh \
346 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500m.sc
${GEN_DEPENDS}
348 eh8500s.c
: $(srcdir)/emulparams
/h8500s.sh \
349 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/h8500s.sc
${GEN_DEPENDS}
351 esh.c
: $(srcdir)/emulparams
/sh.sh \
352 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sh.sc
${GEN_DEPENDS}
354 eshl.c
: $(srcdir)/emulparams
/shl.sh \
355 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sh.sc
${GEN_DEPENDS}
357 est2000.c
: $(srcdir)/emulparams
/st2000.sh \
358 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/st2000.sc
${GEN_DEPENDS}
360 evanilla.c
: $(srcdir)/emulparams
/vanilla.sh \
361 $(srcdir)/emultempl
/vanilla.em
$(srcdir)/scripttempl
/vanilla.sc
${GEN_DEPENDS}
362 ${GENSCRIPTS} vanilla
363 elnk960.c
: $(srcdir)/emulparams
/lnk960.sh \
364 $(srcdir)/emultempl
/lnk960.em
$(srcdir)/scripttempl
/i960.sc
${GEN_DEPENDS}
366 egld960.c
: $(srcdir)/emulparams
/gld960.sh \
367 $(srcdir)/emultempl
/gld960.em
$(srcdir)/scripttempl
/i960.sc
${GEN_DEPENDS}
369 egld960coff.c
: $(srcdir)/emulparams
/gld960coff.sh \
370 $(srcdir)/emultempl
/gld960c.em
$(srcdir)/scripttempl
/i960.sc
${GEN_DEPENDS}
371 ${GENSCRIPTS} gld960coff
372 em68kcoff.c
: $(srcdir)/emulparams
/m68kcoff.sh \
373 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/m68kcoff.sc
${GEN_DEPENDS}
374 ${GENSCRIPTS} m68kcoff
375 em68kelf.c
: $(srcdir)/emulparams
/m68kelf.sh \
376 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
377 ${GENSCRIPTS} m68kelf
378 em68klynx.c
: $(srcdir)/emulparams
/m68klynx.sh \
379 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/m68klynx.sc
${GEN_DEPENDS}
380 ${GENSCRIPTS} m68klynx
381 ei386coff.c
: $(srcdir)/emulparams
/i386coff.sh \
382 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386coff.sc
${GEN_DEPENDS}
383 ${GENSCRIPTS} i386coff
384 ei386lynx.c
: $(srcdir)/emulparams
/i386lynx.sh \
385 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/i386lynx.sc
${GEN_DEPENDS}
386 ${GENSCRIPTS} i386lynx
387 emipslit.c
: $(srcdir)/emulparams
/mipslit.sh \
388 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
389 ${GENSCRIPTS} mipslit
390 ei386bsd.c
: $(srcdir)/emulparams
/i386bsd.sh \
391 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
392 ${GENSCRIPTS} i386bsd
393 emipsbig.c
: $(srcdir)/emulparams
/mipsbig.sh \
394 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
395 ${GENSCRIPTS} mipsbig
396 emipsbsd.c
: $(srcdir)/emulparams
/mipsbsd.sh \
397 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/mipsbsd.sc
${GEN_DEPENDS}
398 ${GENSCRIPTS} mipsbsd
399 emipsidt.c
: $(srcdir)/emulparams
/mipsidt.sh \
400 $(srcdir)/emultempl
/mipsecoff.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
401 ${GENSCRIPTS} mipsidt
402 emipsidtl.c
: $(srcdir)/emulparams
/mipsidtl.sh \
403 $(srcdir)/emultempl
/mipsecoff.em
$(srcdir)/scripttempl
/mips.sc
${GEN_DEPENDS}
404 ${GENSCRIPTS} mipsidtl
405 eelf_i386.c
: $(srcdir)/emulparams
/elf_i386.sh \
406 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
407 ${GENSCRIPTS} elf_i386
408 eelf32bmip.c
: $(srcdir)/emulparams
/elf32bmip.sh \
409 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
410 ${GENSCRIPTS} elf32bmip
411 eelf32lmip.c
: $(srcdir)/emulparams
/elf32lmip.sh \
412 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
413 ${GENSCRIPTS} elf32lmip
414 eelf32vr4300.c
: $(srcdir)/emulparams
/elf32vr4300.sh \
415 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
416 ${GENSCRIPTS} elf32vr4300
417 eelf32vr4300el.c
: $(srcdir)/emulparams
/elf32vr4300el.sh \
418 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
419 ${GENSCRIPTS} elf32vr4300el
420 ealpha.c
: $(srcdir)/emulparams
/alpha.sh \
421 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/alpha.sc
${GEN_DEPENDS}
423 ecoff_sparc.c
: $(srcdir)/emulparams
/coff_sparc.sh \
424 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sparccoff.sc
${GEN_DEPENDS}
425 ${GENSCRIPTS} coff_sparc
426 esparclynx.c
: $(srcdir)/emulparams
/sparclynx.sh \
427 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/sparclynx.sc
${GEN_DEPENDS}
428 ${GENSCRIPTS} sparclynx
429 eelf32ppc.c
: $(srcdir)/emulparams
/elf32ppc.sh \
430 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
431 ${GENSCRIPTS} elf32ppc
432 eelf32lppc.c
: $(srcdir)/emulparams
/elf32lppc.sh \
433 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
434 ${GENSCRIPTS} elf32lppc
435 eriscix.c
: $(srcdir)/emulparams
/riscix.sh \
436 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
438 em68kaout.c
: $(srcdir)/emulparams
/m68kaout.sh \
439 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
440 ${GENSCRIPTS} m68kaout
441 ei386linux.c
: $(srcdir)/emulparams
/i386linux.sh \
442 $(srcdir)/emultempl
/linux.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
443 ${GENSCRIPTS} i386linux
444 eelf32_sparc.c
: $(srcdir)/emulparams
/elf32_sparc.sh \
445 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
446 ${GENSCRIPTS} elf32_sparc
447 eelf64_sparc.c
: $(srcdir)/emulparams
/elf64_sparc.sh \
448 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
449 ${GENSCRIPTS} elf64_sparc
451 epc532machaout.c
: $(srcdir)/emulparams
/pc532machaout.sh \
452 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
453 ${GENSCRIPTS} pc532machaout
455 ew65.c
: $(srcdir)/emulparams
/w65.sh \
456 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/w65.sc
${GEN_DEPENDS}
459 ei386nw.c
: $(srcdir)/emulparams
/i386nw.sh \
460 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/nw.sc
${GEN_DEPENDS}
462 eppcnw.c
: $(srcdir)/emulparams
/ppcnw.sh \
463 $(srcdir)/emultempl
/elf32.em
$(srcdir)/scripttempl
/nw.sc
${GEN_DEPENDS}
466 ei386nbsd.c
: $(srcdir)/emulparams
/i386nbsd.sh \
467 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
468 ${GENSCRIPTS} i386nbsd
469 em68knbsd.c
: $(srcdir)/emulparams
/m68knbsd.sh \
470 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
471 ${GENSCRIPTS} m68knbsd
472 ens32knbsd.c
: $(srcdir)/emulparams
/ns32knbsd.sh \
473 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
474 ${GENSCRIPTS} ns32knbsd
475 esparcnbsd.c
: $(srcdir)/emulparams
/sparcnbsd.sh \
476 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/aout.sc
${GEN_DEPENDS}
477 ${GENSCRIPTS} sparcnbsd
478 earmaoutl.c
: $(srcdir)/emulparams
/armaoutl.sh \
479 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/armaout.sc
${GEN_DEPENDS}
480 ${GENSCRIPTS} armaoutl
481 earmaoutb.c
: $(srcdir)/emulparams
/armaoutb.sh \
482 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/armaout.sc
${GEN_DEPENDS}
483 ${GENSCRIPTS} armaoutb
484 ez8001.c
: $(srcdir)/emulparams
/z8001.sh \
485 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/z8000.sc
${GEN_DEPENDS}
487 ez8002.c
: $(srcdir)/emulparams
/z8002.sh \
488 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/z8000.sc
${GEN_DEPENDS}
491 earcelf.c
: $(srcdir)/emulparams
/arcelf.sh \
492 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/elf.sc
${GEN_DEPENDS}
496 erce.c
: $(srcdir)/emulparams
/rce.sh \
497 $(srcdir)/emultempl
/generic.em
$(srcdir)/scripttempl
/rce.sc
${GEN_DEPENDS}
501 $(LD_PROG
): $(OFILES
) $(BFDLIB
) $(LIBIBERTY
)
502 $(CC
) $(CFLAGS
) $(LDFLAGS
) -o
$(LD_PROG
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(EXTRALIBS
)
504 # The generated emulation files mostly have the same dependencies.
505 $(EMULATION_OFILES
): ..
/bfd
/bfd.h sysdep.h config.h
$(INCDIR
)/bfdlink.h \
506 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \
507 ldctor.h ldexp.h ldlang.h
509 # These targets are for the dejagnu testsuites. The file site.exp
510 # contains global variables that all the testsuites will use.
512 site.exp
: .
/config.status Makefile
513 @echo
"Making a new config file..."
516 @mv site.exp site.bak
517 @echo
"## variables are automatically generated by make ##" > .
/tmp0
518 @echo
"# Do not edit here. If you wish to override these" >> .
/tmp0
519 @echo
"# values, add them to the last section" >> .
/tmp0
520 @echo
"# HOST AND TARGET INFO" >> .
/tmp0
521 @echo
"set host_os @host_os@" >> .
/tmp0
522 @echo
"set host_alias @host_alias@" >> .
/tmp0
523 @echo
"set host_cpu @host_cpu@" >> .
/tmp0
524 @echo
"set host_vendor @host_vendor@" >> .
/tmp0
525 @echo
"set target_os @target_os@" >> .
/tmp0
526 @echo
"set target_alias @target_alias@" >> .
/tmp0
527 @echo
"set target_cpu @target_cpu@" >> .
/tmp0
528 @echo
"set target_vendor @target_vendor@" >> .
/tmp0
529 @echo
"set host_triplet @host@" >> .
/tmp0
530 @echo
"set target_triplet @target@" >> .
/tmp0
531 @echo
"# DIRECTORY INFO" >> .
/tmp0
532 @echo
"set objdir `pwd`" >> .
/tmp0
534 @echo
"# LD DEPENDENCIES" >> .
/tmp0
535 @echo
"set OFILES \"$(OFILES)\"" >> .
/tmp0
536 @echo
"set BFDLIB \"$(BFDLIB)\"" >> .
/tmp0
537 @echo
"set LIBIBERTY \"$(LIBIBERTY)\"" >> .
/tmp0
538 @echo
"set HOSTING_EMU \"$(HOSTING_EMU)\"" >> .
/tmp0
539 @echo
"set HOSTING_CRT0 \"$(HOSTING_CRT0)\"" >> .
/tmp0
540 @echo
"set HOSTING_LIBS \"$(HOSTING_LIBS)\"" >> .
/tmp0
542 @echo
"## Variables generated by configure. Do Not Edit ##" >> .
/tmp0
543 @cat .
/tmp0
> site.exp
544 @cat site.bak | sed \
545 -e
'1,/^## Variables generated by.*##/ d' >> site.exp
550 srcroot
=`cd ${srcdir}; pwd` ; export srcroot
; \
551 EXPECT
=${EXPECT} ; export EXPECT
; \
552 if
[ -f
$$r/..
/expect
/expect
] ; then \
553 TCL_LIBRARY
=$${srcroot}/..
/tcl
/library
; \
554 export TCL_LIBRARY
; \
556 $(RUNTEST
) --tool
ld --srcdir $(srcdir)/testsuite
$(RUNTESTFLAGS
) \
557 CC
="$(CC_FOR_TARGET)" CFLAGS
="$(CFLAGS)" \
558 CXX
="$(CXX_FOR_TARGET)" CXXFLAGS
="$(CXXFLAGS)" \
559 CC_FOR_HOST
="$(CC)" CFLAGS_FOR_HOST
="$(CFLAGS)"
562 .PHONY
: check installcheck
564 # Rules for testing by relinking ld itself.
565 # A similar test is in the testsuite. This target is for ease of use
569 .
/ld.new
$(HOSTING_EMU
) -o ld-partial.o
-r
$(OFILES
)
571 .
/ld.new
$(HOSTING_EMU
) -o ld1
$(HOSTING_CRT0
) ld-partial.o
$(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
574 .
/ld.new
$(HOSTING_EMU
) -o ld1-full
$(HOSTING_CRT0
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
577 .
/ld1
$(HOSTING_EMU
) -o ld2
$(HOSTING_CRT0
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
580 .
/ld2
$(HOSTING_EMU
) -o ld3
$(HOSTING_CRT0
) $(OFILES
) $(BFDLIB
) $(LIBIBERTY
) $(HOSTING_LIBS
)
587 # A test program for C++ constructors and destructors.
588 # This test is now in the testsuite.
590 #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
591 # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
592 # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS)
595 # ./cdtest > cdtest.tmp
596 # mv cdtest.tmp cdtest.out
598 #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new
599 # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \
600 # cdtest-bar.o cdtest-foo.o
602 #cdtest-ur: cdtest-ur.o
603 # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \
606 #cdtest-ur.out: cdtest-ur
607 # ./cdtest-ur > cdtest-ur.tmp
608 # mv cdtest-ur.tmp cdtest-ur.out
610 #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
611 # diff $(srcdir)/cdtest.exp cdtest.out
612 # diff $(srcdir)/cdtest.exp cdtest-ur.out
614 #.PHONY: check-cdtest
616 # END OF CHECK TARGETS
618 # DOCUMENTATION TARGETS
619 # Manual configuration file; not usually attached to normal configuration,
620 # because almost all configs use "gen" version of manual.
621 # Set DOCVER above to change.
622 configdoc.texi
: ${DOCVER}-doc.texi
623 ln
-s
${srcdir}/${DOCVER}-doc.texi .
/configdoc.texi || \
624 ln
${srcdir}/${DOCVER}-doc.texi .
/configdoc.texi || \
625 cp
${srcdir}/${DOCVER}-doc.texi .
/configdoc.texi
629 ld.
dvi: $(srcdir)/ld.texinfo configdoc.texi
$(BFDDIR
)/doc
/bfdsumm.texi
630 TEXINPUTS
=$(BFDDIR
)/doc
:$$TEXINPUTS $(TEXI2DVI
) $(srcdir)/ld.texinfo
632 ldint.
dvi: $(srcdir)/ldint.texinfo
633 $(TEXI2DVI
) $(srcdir)/ldint.texinfo
635 # info file for online browsing
636 ld.
info: $(srcdir)/ld.texinfo configdoc.texi
$(BFDDIR
)/doc
/bfdsumm.texi
637 $(MAKEINFO
) -I
$(BFDDIR
)/doc
-o
ld.
info $(srcdir)/ld.texinfo
639 ldint.
info: $(srcdir)/ldint.texinfo
640 $(MAKEINFO
) -o ldint.
info $(srcdir)/ldint.texinfo
644 #separate targets for "ms", "me", and "mm" forms of roff doc
645 # Try to use a recent texi2roff. v2 was put on prep in jan91.
646 # If you want an index, see texi2roff doc for postprocessing
647 # and add -i to texi2roff invocations below.
648 # Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
649 # correspondint -e lines when later texi2roff's are current)
650 # + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
651 # + @c's deleted explicitly because texi2roff sees texinfo commands in them
652 # + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
653 # + @alphaenumerate is ridiculously new, turned into @enumerate
655 ld.ms
: $(srcdir)/ld.texinfo
656 sed
-e
'/\\input texinfo/d' \
657 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
658 -e
'/^@ifinfo/,/^@end ifinfo/d' \
662 -e
's/^@alphaenumerate/@enumerate/g' \
663 -e
's/^@end alphaenumerate/@end enumerate/g' \
664 $(srcdir)/ld.texinfo | \
665 $(TEXI2ROFF
) $(TEXI2OPT
) -ms | \
666 sed
-e
's/---/\\(em/g' \
669 # index for roff output
671 $(ROFF
) -ms
ld.ms
2>&1 1>/dev
/null | \
672 sed
-e
'/: warning:/d' | \
673 texi2index
>ld-index.ms
676 ld.mm
: $(srcdir)/ld.texinfo
677 sed
-e
'/\\input texinfo/d' \
678 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
679 -e
'/^@ifinfo/,/^@end ifinfo/d' \
684 -e
's/^@alphaenumerate/@enumerate/g' \
685 -e
's/^@end alphaenumerate/@end enumerate/g' \
686 $(srcdir)/ld.texinfo | \
687 $(TEXI2ROFF
) $(TEXI2OPT
) -mm | \
688 sed
-e
's/---/\\(em/g' \
691 # index for roff output
693 $(ROFF
) -mm
ld.mm
2>&1 1>/dev
/null | \
694 sed
-e
'/: warning:/d' | \
695 texi2index
>ld-index.mm
698 ld.me
: $(srcdir)/ld.texinfo
699 sed
-e
'/\\input texinfo/d' \
700 -e
'/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
701 -e
'/^@ifinfo/,/^@end ifinfo/d' \
705 -e
's/^@alphaenumerate/@enumerate/g' \
706 -e
's/^@end alphaenumerate/@end enumerate/g' \
707 $(srcdir)/ld.texinfo | \
708 $(TEXI2ROFF
) $(TEXI2OPT
) -me | \
709 sed
-e
's/---/\\(em/g' \
712 # index for roff output
714 $(ROFF
) -me
ld.me
2>&1 1>/dev
/null | \
715 sed
-e
'/: warning:/d' | \
716 texi2index
>ld-index.me
720 -mv
-f
$(STAGESTUFF
) $(LD_PROG
) stage1
721 -(cd stage1
; ln
-s
$(LD_PROG
) ld)
725 -mv
-f
$(STAGESTUFF
) $(LD_PROG
) stage2
726 -(cd stage2
; ln
-s
$(LD_PROG
) ld)
730 -mv
-f
$(STAGESTUFF
) $(LD_PROG
) stage3
731 -(cd stage3
; ln
-s
$(LD_PROG
) ld)
736 for i in
$(STAGESTUFF
) $(LD_PROG
) ; do cmp
$$i $(against
)/$$i ; done
739 -(cd stage1
; mv
-f
* ..
)
744 -(cd stage2
; mv
-f
* ..
)
749 -(cd stage3
; mv
-f
* ..
)
753 .PHONY
: stage1 stage2 stage3 comparison de-stage1 de-stage2 de-stage3
755 # Stuff that should be included in a distribution:
756 LDDISTSTUFF
= ldgram.c ldgram.h ldlex.c
757 diststuff
: $(LDDISTSTUFF
)
760 -rm -f
$(STAGESTUFF
) ld.??
ld.??? ldlex.
[qp
] config.log
761 -rm -f
ld ld1 ld2 ld3
*.o y.output cdtest cdtest.out cdtest.tmp
762 -rm -f cdtest-ur cdtest-ur.out cdtest-ur.tmp
763 -rm -f
$(GENERATED_CFILES
) $(GENERATED_HFILES
)
766 -rm -f
$(LD_PROG
) configdoc.texi
768 -rm -f Makefile config.status TAGS site.exp site.bak config.cache
769 -rm -f config.h stamp-h
771 realclean: clean distclean
772 -rm -f
$(LDDISTSTUFF
)
774 .PHONY
: diststuff
mostlyclean clean distclean realclean
776 lintlog
:$(LINTSOURCES
) Makefile
777 $(LINT
) -abhxzn
$(LINTFLAGS
) $(LINTSOURCES
) \
778 | grep
-v
"pointer casts may be troublesome" \
779 | grep
-v
"possible pointer alignment problem" \
781 | grep
-v
"conversion from long may lose accuracy" \
782 | grep
-v
"warning: constant argument to NOT" \
783 | grep
-v
"enumeration type clash, operator CAST" \
784 | grep
-v
"warning: constant in conditional context"\
785 | grep
-v
"archive\.c"
789 etags
-t
$(srcdir)/*.
[chly
] *.
[chly
]
793 $(INSTALL_XFORM
) ld.new
$(bindir)/ld
794 $(INSTALL_XFORM1
) $(srcdir)/ld.1 $(man1dir)/ld.1
795 for f in ldscripts
/*; do \
796 $(INSTALL_DATA
) $$f $(scriptdir
)/$$f ; \
798 -n
=`t='$(program_transform_name)'; echo ld | sed -e "" $$t`; \
799 rm -f
$(tooldir
)/bin
/ld; \
800 ln
$(bindir)/$$n $(tooldir
)/bin
/ld >/dev
/null
2>/dev
/null \
801 ||
$(INSTALL_PROGRAM
) ld.new
$(tooldir
)/bin
/ld
803 install-info
: ld.
info
804 if
[ -r
ld.
info ]; then \
809 for i in
`cd $$dir ; echo ld.info*` ; do \
810 $(INSTALL_DATA
) $$dir/$$i $(infodir)/$$i ; \
816 .PHONY
: install install-info clean-info
818 # Targets to rebuild dependencies in this Makefile.
819 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
820 .dep
: dep.sed
$(CFILES
) $(HFILES
) $(GENERATED_CFILES
) $(GENERATED_HFILES
)
822 $(MAKE
) DEP
=$(DEP
) .dep1
823 sed
-f dep.sed
<.dep1
>.dep
825 # This rule really wants a mkdep that runs "gcc -MM".
826 .dep1
: $(CFILES
) $(GENERATED_CFILES
)
828 echo
'# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
829 $(DEP
) -f .dep2
$(ALL_CFLAGS
) $?
830 $(srcdir)/..
/move-if-change .dep2 .dep1
832 dep.sed
: dep-in.sed config.status
833 sed
<$(srcdir)/dep-in.sed
>dep.sed \
834 -e
's!@INCDIR@!$(INCDIR)!' \
835 -e
's!@SRCDIR@!$(srcdir)!'
838 sed
-e
'/^..DO NOT DELETE THIS LINE/,$$d' < Makefile
> tmp-Makefile
839 cat .dep
>> tmp-Makefile
840 $(srcdir)/..
/move-if-change tmp-Makefile Makefile
843 sed
-e
'/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in
> tmp-Makefile.in
844 cat .dep
>> tmp-Makefile.in
845 $(srcdir)/..
/move-if-change tmp-Makefile.in
$(srcdir)/Makefile.in
849 # Dummy target to force execution of dependent targets.
855 Makefile
: Makefile.in config.status
856 CONFIG_FILES
=Makefile CONFIG_HEADERS
= $(SHELL
) .
/config.status
858 config.h
: stamp-h
; @true
859 stamp-h
: config.in config.status
860 CONFIG_FILES
= CONFIG_HEADERS
=config.h
:config.in
$(SHELL
) .
/config.status
862 config.status
: configure configure.host
863 $(SHELL
) .
/config.status
--recheck
865 # What appears below is generated by a hacked mkdep using gcc -MM.
867 # DO NOT DELETE THIS LINE -- mkdep uses it.
868 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
870 ldctor.o
: ldctor.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
871 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
872 $(INCDIR
)/bfdlink.h
ld.h ldexp.h ldlang.h ldmisc.h \
873 ldgram.h ldmain.h ldctor.h
874 ldemul.o
: ldemul.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
875 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
876 ld.h ldemul.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h \
878 ldexp.o
: ldexp.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
879 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
880 $(INCDIR
)/bfdlink.h
ld.h ldmain.h ldmisc.h ldexp.h \
882 ldfile.o
: ldfile.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
883 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
884 $(INCDIR
)/bfdlink.h
ld.h ldmisc.h ldexp.h ldlang.h \
885 ldfile.h ldmain.h ldgram.h ldlex.h ldemul.h
886 ldlang.o
: ldlang.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
887 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
888 $(INCDIR
)/libiberty.h
$(INCDIR
)/bfdlink.h
ld.h ldmain.h \
889 ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \
891 ldmain.o
: ldmain.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
892 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
893 $(INCDIR
)/libiberty.h
$(INCDIR
)/progress.h
$(INCDIR
)/bfdlink.h \
894 ld.h ldmain.h ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h \
895 ldemul.h ldlex.h ldfile.h ldctor.h
896 ldmisc.o
: ldmisc.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
897 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
898 ld.h ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
900 ldver.o
: ldver.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
901 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
902 ld.h ldver.h ldemul.h ldmain.h
903 ldwrite.o
: ldwrite.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
904 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
905 $(INCDIR
)/bfdlink.h
ld.h ldexp.h ldlang.h ldwrite.h \
906 ldmisc.h ldgram.h ldmain.h
907 lexsup.o
: lexsup.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
908 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
909 $(INCDIR
)/getopt.h
$(INCDIR
)/bfdlink.h
ld.h ldmain.h \
910 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
912 mri.o
: mri.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h
$(INCDIR
)/obstack.h \
913 sysdep.h config.h
$(INCDIR
)/fopen-same.h
ld.h ldexp.h \
914 ldlang.h ldmisc.h mri.h ldgram.h
915 ldgram.o
: ldgram.c ..
/bfd
/bfd.h
$(INCDIR
)/ansidecl.h \
916 $(INCDIR
)/obstack.h sysdep.h config.h
$(INCDIR
)/fopen-same.h \
917 $(INCDIR
)/bfdlink.h
ld.h ldexp.h ldver.h ldlang.h ldemul.h \
918 ldfile.h ldmisc.h ldmain.h mri.h ldlex.h
919 ldlex.o
: ldlex.c ..
/bfd
/bfd.h
$(INCDIR
)/obstack.h sysdep.h \
920 config.h
$(INCDIR
)/fopen-same.h
ld.h ldgram.h ldmisc.h \
921 ldexp.h ldlang.h ldfile.h ldlex.h ldmain.h
923 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY