Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>
[binutils-gdb.git] / bfd / Makefile.in
1 # Makefile template for Configure for the BFD library.
2 # Copyright (C) 1990, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
3 # Written by Cygnus Support.
4 #
5 # This file is part of BFD, the Binary File Descriptor library.
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 srcdir = .
22
23 prefix = /usr/local
24
25 exec_prefix = $(prefix)
26 bindir = $(exec_prefix)/bin
27 libdir = $(exec_prefix)/lib
28
29 datadir = $(prefix)/lib
30 mandir = $(prefix)/man
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = $(prefix)/info
41 includedir = $(prefix)/include
42 oldincludedir =
43 docdir = doc
44
45 SHELL = /bin/sh
46
47 INSTALL = `cd $(srcdir)/..; pwd`/install.sh -c
48 INSTALL_PROGRAM = $(INSTALL)
49 INSTALL_DATA = $(INSTALL)
50
51 AR = ar
52 AR_FLAGS = rc
53 CFLAGS = -g
54 BISON = bison
55 MAKEINFO = makeinfo
56 RANLIB = ranlib
57
58 CC_FOR_BUILD = $(CC)
59
60 INCDIR = $(srcdir)/../include
61 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
62 DEP = mkdep
63
64 SUBDIRS = doc
65
66
67 TARGETLIB = libbfd.a
68
69 # bfd.h goes here, for now
70 BFD_H = bfd.h
71
72 # Some of these files should be in BFD*_BACKENDS below, but some programs
73 # won't link without them. So, in order for some of the minimal-bfd
74 # hacks to work, they're also included here for now.
75 # gdb: elf.o
76 # objdump: elf.o
77 #
78 # Also, Jim Kingdon notes:
79 # Writing S-records should be included in all (or at least most)
80 # *-*-coff, *-*-aout, etc., configurations, because people will want to
81 # be able to use objcopy to create S-records. (S-records are not useful
82 # for the debugger, so if you are downloading things as S-records you
83 # need two copies of the executable, one to download and one for the
84 # debugger).
85 BFD_LIBS = \
86 archive.o archures.o bfd.o cache.o coffgen.o core.o \
87 format.o init.o libbfd.o opncls.o reloc.o \
88 section.o syms.o targets.o hash.o linker.o \
89 elf.o srec.o binary.o tekhex.o
90
91 # This list is alphabetized to make it easier to keep in sync
92 # with the decls and initializer in archures.c.
93 ALL_MACHINES = \
94 cpu-a29k.o \
95 cpu-alpha.o \
96 $(start-sanitize-arc) \
97 cpu-arc.o \
98 $(end-sanitize-arc) \
99 cpu-arm.o \
100 cpu-h8300.o \
101 cpu-h8500.o \
102 cpu-hppa.o \
103 cpu-i386.o \
104 cpu-i960.o \
105 cpu-m68k.o \
106 cpu-m88k.o \
107 cpu-mips.o \
108 cpu-ns32k.o \
109 cpu-powerpc.o \
110 $(start-sanitize-rce) \
111 cpu-rce.o \
112 $(end-sanitize-rce) \
113 cpu-rs6000.o \
114 cpu-sh.o \
115 cpu-sparc.o \
116 cpu-vax.o \
117 cpu-we32k.o \
118 cpu-w65.o \
119 cpu-z8k.o
120
121 # The .o files needed by all of the 32 bit vectors that are configured into
122 # target_vector in targets.c if configured with --enable-targets=all.
123 BFD32_BACKENDS = \
124 aout-adobe.o \
125 aout-ns32k.o \
126 $(start-sanitize-rce) \
127 aout-rce.o \
128 $(end-sanitize-rce) \
129 aout0.o \
130 aout32.o \
131 bout.o \
132 cf-i386lynx.o \
133 cf-m68klynx.o \
134 cf-sparclynx.o \
135 coff-a29k.o \
136 coff-apollo.o \
137 coff-h8300.o \
138 coff-h8500.o \
139 coff-i386.o \
140 coff-go32.o \
141 coff-i960.o \
142 coff-m68k.o \
143 coff-m88k.o \
144 coff-mips.o \
145 coff-rs6000.o \
146 coff-sh.o \
147 coff-sparc.o \
148 coff-u68k.o \
149 coff-we32k.o \
150 coff-w65.o \
151 coff-z8k.o \
152 cofflink.o \
153 ecoff.o \
154 ecofflink.o \
155 $(start-sanitize-arc) \
156 elf32-arc.o \
157 $(end-sanitize-arc) \
158 elf32-gen.o \
159 elf32-hppa.o \
160 elf32-i386.o \
161 elf32-i860.o \
162 elf32-m68k.o \
163 elf32-m88k.o \
164 elf32-mips.o \
165 elf32-ppc.o \
166 elf32-sparc.o \
167 elf32.o \
168 hp300hpux.o \
169 som.o \
170 i386aout.o \
171 i386bsd.o \
172 i386linux.o \
173 i386lynx.o \
174 i386msdos.o \
175 i386netbsd.o \
176 i386mach3.o \
177 i386os9k.o \
178 ieee.o \
179 m68klynx.o \
180 m68knetbsd.o \
181 m88kmach3.o \
182 mipsbsd.o \
183 newsos3.o \
184 nlm.o \
185 nlm32-i386.o \
186 nlm32-sparc.o \
187 nlm32-ppc.o \
188 nlm32.o \
189 ns32knetbsd.o \
190 oasys.o \
191 pc532-mach.o \
192 pe-arm.o \
193 pei-arm.o \
194 pe-i386.o \
195 pei-i386.o \
196 reloc16.o \
197 sparclynx.o \
198 sparcnetbsd.o \
199 stab-syms.o \
200 sunos.o \
201 tekhex.o
202
203 # The .o files needed by all of the 64 bit vectors that are configured into
204 # target_vector in targets.c if configured with --enable-targets=all
205 # and --enable-64-bit-bfd.
206 BFD64_BACKENDS = \
207 aout64.o \
208 coff-alpha.o \
209 demo64.o \
210 elf64-gen.o \
211 elf64-sparc.o \
212 elf64.o \
213 nlm32-alpha.o \
214 nlm64.o
215
216 OPTIONAL_BACKENDS = \
217 aix386-core.o \
218 hpux-core.o \
219 irix-core.o \
220 lynx-core.o \
221 osf-core.o \
222 trad-core.o \
223 cisco-core.o
224
225 # These are defined by configure.in:
226 # WORDSIZE=32
227 # BFD_BACKENDS = $(BFD32_BACKENDS)
228
229 all:
230
231 #### host and target dependent Makefile fragments come in here.
232 ###
233
234 FLAGS_TO_PASS = \
235 "prefix=$(prefix)" \
236 "exec_prefix=$(exec_prefix)" \
237 "against=$(against)" \
238 "AR=$(AR)" \
239 "AR_FLAGS=$(AR_FLAGS)" \
240 "CC=$(CC)" \
241 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
242 "CFLAGS=$(CFLAGS)" \
243 "RANLIB=$(RANLIB)" \
244 "MAKEINFO=$(MAKEINFO)" \
245 "INSTALL=$(INSTALL)" \
246 "INSTALL_DATA=$(INSTALL_DATA)" \
247 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
248 "BISON=$(BISON)"
249
250 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
251 .c.o:
252 $(CC) -c $(ALL_CFLAGS) $<
253
254 # C source files that correspond to .o's.
255 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
256 archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
257 coff-i960.c srec.c binary.c tekhex.c oasys.c ieee.c aout0.c \
258 ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
259 coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
260 section.c core.c syms.c stab-syms.c reloc.c init.c \
261 coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
262 i386aout.c i386linux.c i386mach3.c i386netbsd.c i386os9k.c \
263 bout.c aout-adobe.c coff-we32k.c coff-w65.c \
264 i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
265 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c cpu-w65.c \
266 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
267 mipsbsd.c cpu-sh.c \
268 elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
269 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
270 elf64.c elf64-gen.c elf64-sparc.c \
271 nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
272 nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
273 hp300bsd.c hp300hpux.c \
274 i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
275 sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
276 irix-core.c lynx-core.c osf-core.c hash.c linker.c cofflink.c \
277 m68knetbsd.c ns32knetbsd.c sparcnetbsd.c
278
279 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
280 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
281 elfcode.h hppa_stubs.h libaout.h libbfd.h \
282 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
283 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h
284
285 STAGESTUFF = $(TARGETLIB) $(OFILES)
286
287 all: Makefile $(TARGETLIB)
288 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
289
290 .NOEXPORT:
291 MAKEOVERRIDES=
292
293 .PHONY: check installcheck
294 check:
295 @echo No testsuites exist for the BFD library. Nothing to check.
296
297 installcheck:
298 @echo No testsuites exist for the BFD library. Nothing to check.
299
300 info dvi : force
301 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
302
303 clean-info:
304 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
305
306 install-info: force
307 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
308
309 diststuff: info headers
310
311 # Various kinds of .o files to put in libbfd.a:
312 # BFD_LIBS Generic routines, always needed.
313 # BFD_BACKENDS Routines the configured targets need.
314 # BFD_MACHINES Architecture-specific routines the configured targets need.
315 # HDEPFILES Routines the host needs, regardless of target.
316 # TDEPFILES Routines the target needs, regardless of host.
317 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
318
319 ofiles : Makefile
320 rm -f ofiles
321 f=""; \
322 for i in $(OFILES) ; do \
323 case " $$f " in \
324 *" $$i "*) ;; \
325 *) f="$$f $$i" ;; \
326 esac ; \
327 done ; \
328 echo $$f > ofiles
329
330 $(TARGETLIB): $(OFILES) ofiles
331 rm -f $(TARGETLIB)
332 @echo ofiles = `cat ofiles`
333 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
334 $(RANLIB) $(TARGETLIB)
335
336 # When compiling archures.c and targets.c, supply the default target
337 # info from configure.
338
339
340 targets.o: targets.c Makefile
341 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
342
343 archures.o: archures.c Makefile
344 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
345
346 subdir_do: force
347 @for i in $(DODIRS); do \
348 if [ -d ./$$i ] ; then \
349 if (cd ./$$i; \
350 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
351 else exit 1 ; fi ; \
352 else true ; fi ; \
353 done
354
355 tags etags: TAGS
356
357 TAGS: force
358 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
359
360 do_mostlyclean:
361 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
362 do_clean: do_mostlyclean
363 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
364 do_distclean: do_clean
365 rm -f Makefile config.status sysdep.h
366
367 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
368 # make-stds.texi says it depends on whether they can be regenerated using
369 # this makefile. Well, they can, but only via an explicit "make headers";
370 # the makefile does not regenerate them as needed. So I guess we should not
371 # remove them in realclean.
372 do_realclean: do_distclean
373
374 mostlyclean: do_mostlyclean
375 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
376 clean: do_clean
377 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
378 distclean:
379 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
380 $(MAKE) do_distclean
381 clobber realclean:
382 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
383 $(MAKE) do_realclean
384
385 # Mark everything as depending on config.status, since the timestamp on
386 # sysdep.h might actually move backwards if we reconfig and relink it
387 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
388 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
389 RECONFIG = config.status
390 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
391 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
392 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
393 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
394
395 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
396 cpu-i386.o:cpu-i386.c
397 cpu-z8k.o: cpu-z8k.c
398 cpu-h8500.o: cpu-h8500.c
399 cpu-we32k.o: cpu-we32k.c
400
401 saber:
402 #suppress 65 on bfd_map_over_sections
403 #suppress 66 on bfd_map_over_sections
404 #suppress 67 on bfd_map_over_sections
405 #suppress 68 on bfd_map_over_sections
406 #suppress 69 on bfd_map_over_sections
407 #suppress 70 on bfd_map_over_sections
408 #suppress 110 in bfd_map_over_sections
409 #suppress 112 in bfd_map_over_sections
410 #suppress 530
411 #suppress 590 in swap_exec_header
412 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
413 #suppress 590 in bfd_dont_truncate_arname
414 #suppress 590 on ignore
415 #suppress 590 on abfd
416 #setopt load_flags $(CFLAGS)
417 #load $(CFILES)
418
419
420 #-----------------------------------------------------------------------------
421 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
422 #
423 # 'VERSION' file must be present and contain a string of the form "x.y"
424 #-----------------------------------------------------------------------------
425
426 ver960.c: FORCE
427 rm -f ver960.c
428 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
429
430
431 # This target should be invoked before building a new release.
432 # 'VERSION' file must be present and contain a string of the form "x.y"
433 #
434 roll:
435 @V=`cat VERSION` ; \
436 MAJ=`sed 's/\..*//' VERSION` ; \
437 MIN=`sed 's/.*\.//' VERSION` ; \
438 V=$$MAJ.`expr $$MIN + 1` ; \
439 rm -f VERSION ; \
440 echo $$V >VERSION ; \
441 echo Version $$V
442
443 # Dummy target to force execution of dependent targets.
444 #
445 force:
446
447 install:
448 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
449 $(RANLIB) $(libdir)/libbfd.a
450 # Install BFD include file, and others that it needs. Install them
451 # both in GCC's include directory, and in the system include dir
452 # if configured as $(oldincludedir) -- which it usually isnt.
453 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
454 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
455 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
456 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
457 -if test -z "$(oldincludedir)"; then true; else \
458 test -d $(oldincludedir) || mkdir $(oldincludedir); \
459 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
460 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
461 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
462 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
463 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
464 fi
465
466 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
467 $(SHELL) config.status
468
469 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
470 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
471 rm -f .dep1
472 $(MAKE) DEP=$(DEP) .dep1
473 sed -f dep.sed <.dep1 >.dep
474
475 # This rule really wants a mkdep that runs "gcc -MM".
476 .dep1: $(CFILES)
477 rm -f .dep2
478 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
479 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
480 $(srcdir)/../move-if-change .dep2 .dep1
481
482 dep.sed: dep-in.sed config.status
483 sed <$(srcdir)/dep-in.sed >dep.sed \
484 -e 's!@BFD_H@!$(BFD_H)!' \
485 -e 's!@INCDIR@!$(INCDIR)!' \
486 -e 's!@srcdir@!$(srcdir)!'
487
488 dep: .dep
489 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
490 cat .dep >> tmp-Makefile
491 $(srcdir)/../move-if-change tmp-Makefile Makefile
492
493 dep-in: .dep
494 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
495 cat .dep >> tmp-Makefile.in
496 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
497
498 host-aout.o: Makefile
499
500 # The following program can be used to generate a simple config file
501 # which can be folded into an h-XXX file for a new host, with some editing.
502 aout-params.h: gen-aout
503 ./gen-aout host > aout-params.h
504 gen-aout: $(srcdir)/gen-aout.c Makefile
505 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
506
507 BFDIN_H= $(srcdir)/bfd-in2.h
508
509 $(BFD_H): stmp-bfd.h ; @true
510
511 # The file ../include/bfd.h is from earlier attempts to get this right.
512 # If the file is still there, kill it.
513 # The weird sh*t with grep is to avoid printing "exit 1 (ignored)" type
514 # messages from make, and avoid various ways in which different versions
515 # of make will screw up exit status checks.
516 # -grep... -> make prints "exit 1" message
517 # grep ... ; exit 0 -> sun(?) make notices grep failure
518 # grep ... || exit 0 -> bsd4.4 make still notices
519 # if grep ... -> seems okay so far
520 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
521 rm -f bfd.h-new 64 ../include/bfd.h
522 if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
523 else true; fi
524 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
525 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
526 -e '/64-bit.*sysdep.h/ r 64' \
527 < $(srcdir)/bfd-in2.h \
528 > bfd.h-new
529 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
530 rm -f 64
531 touch stmp-bfd.h
532
533 # Could really use a "copy-if-change"...
534 headers:
535 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
536 cp $(docdir)/bfd.h bfd-in2.h-new
537 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
538 cp $(docdir)/libbfd.h libbfd.h-new
539 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
540 cp $(docdir)/libcoff.h libcoff.h-new
541 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
542
543 bfd.info:
544 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
545
546 bfd.dvi:
547 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
548
549 bfd.ps:
550 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
551
552 # What appears below is generated by a hacked mkdep using gcc -MM.
553
554 # DO NOT DELETE THIS LINE -- mkdep uses it.
555 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
556
557 libbfd.o: libbfd.c
558 opncls.o: opncls.c
559 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
560 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
561 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
562 $(INCDIR)/elf/external.h
563 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
564 targets.o: targets.c
565 cache.o: cache.c
566 archures.o: archures.c
567 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
568 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
569 pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
570 pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
571 coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
572 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
573 coffcode.h coffswap.h
574 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
575 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
576 $(INCDIR)/aout/ar.h
577 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
578 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
579 $(INCDIR)/aout/ar.h
580 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
581 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
582 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
583 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
584 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
585 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
586 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
587 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
588 srec.o: srec.c $(INCDIR)/libiberty.h
589 versados.o: versados.c $(INCDIR)/libiberty.h
590 binary.o: binary.c
591 tekhex.o: tekhex.c $(INCDIR)/libiberty.h
592 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
593 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
594 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
595 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
596 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
597 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
598 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
599 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
600 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
601 libcoff.h libecoff.h
602 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
603 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
604 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
605 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
606 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
607 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
608 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
609 coffcode.h coffswap.h
610 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
611 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
612 coffcode.h coffswap.h
613 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
614 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
615 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
616 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
617 coffcode.h coffswap.h
618 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
619 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
620 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
621 $(INCDIR)/bfdlink.h
622 format.o: format.c
623 section.o: section.c
624 core.o: core.c
625 syms.o: syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
626 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
627 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
628 reloc.o: reloc.c $(INCDIR)/bfdlink.h
629 init.o: init.c
630 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
631 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
632 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
633 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
634 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
635 ecoffswap.h
636 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
637 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
638 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
639 cisco-core.o: cisco-core.c
640 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
641 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
642 $(INCDIR)/bfdlink.h aout-target.h
643 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
644 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
645 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
646 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
647 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
648 $(INCDIR)/bfdlink.h aout-target.h
649 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
650 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
651 $(INCDIR)/bfdlink.h aout-target.h
652 i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
653 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
654 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
655 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
656 $(INCDIR)/os9k.h
657 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
658 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
659 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
660 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
661 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
662 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
663 coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
664 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
665 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
666 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
667 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
668 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
669 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
670 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
671 aout-target.h
672 cpu-h8300.o: cpu-h8300.c
673 cpu-i960.o: cpu-i960.c
674 cpu-sparc.o: cpu-sparc.c
675 cpu-m68k.o: cpu-m68k.c
676 cpu-m88k.o: cpu-m88k.c
677 cpu-vax.o: cpu-vax.c
678 cpu-mips.o: cpu-mips.c
679 cpu-a29k.o: cpu-a29k.c
680 cpu-i386.o: cpu-i386.c
681 cpu-powerpc.o: cpu-powerpc.c
682 cpu-w65.o: cpu-w65.c
683 cpu-rs6000.o: cpu-rs6000.c
684 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
685 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
686 som.o: som.c
687 cpu-hppa.o: cpu-hppa.c
688 cpu-we32k.o: cpu-we32k.c
689 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
690 $(INCDIR)/coff/internal.h libcoff.h
691 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
692 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
693 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
694 cpu-sh.o: cpu-sh.c
695 elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
696 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
697 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
698 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
699 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
700 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
701 elf32-target.h
702 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
703 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
704 elf32-target.h
705 elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
706 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
707 elf32-target.h
708 elf32-m68k.o: elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
709 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
710 elf32-target.h
711 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
712 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
713 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
714 elf32-target.h
715 elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
716 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
717 elf32-target.h
718 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
719 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
720 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
721 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
722 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
723 elf32-target.h
724 elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
725 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
726 elf32-target.h
727 elf32-ppc.o: elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \
728 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
729 elf32-target.h
730 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
731 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
732 elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
733 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
734 elf64-target.h
735 elf64-sparc.o: elf64-sparc.c libelf.h $(INCDIR)/elf/common.h \
736 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
737 elf64-target.h
738 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
739 $(INCDIR)/nlm/external.h
740 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
741 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
742 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
743 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
744 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
745 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
746 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
747 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
748 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
749 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
750 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
751 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
752 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
753 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
754 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
755 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
756 ecoffswap.h
757 cpu-alpha.o: cpu-alpha.c
758 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
759 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
760 nlmswap.h nlm-target.h
761 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
762 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
763 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
764 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
765 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
766 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
767 aout-target.h
768 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
769 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
770 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
771 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
772 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
773 coffcode.h coffswap.h
774 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
775 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
776 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
777 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
778 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
779 coffcode.h coffswap.h
780 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
781 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
782 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
783 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
784 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
785 coffcode.h coffswap.h
786 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
787 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
788 hpux-core.o: hpux-core.c
789 irix-core.o: irix-core.c
790 lynx-core.o: lynx-core.c
791 osf-core.o: osf-core.c
792 hash.o: hash.c
793 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
794 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
795 libcoff.h
796 m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
797 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
798 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
799 ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
800 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
801 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
802 sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
803 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
804 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
805
806 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY