22fb2559beec202128e559ffee037a88421e3961
[external/binutils.git] / bfd / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 AUTOMAKE_OPTIONS = cygnus
4
5 INCDIR = $(srcdir)/../include
6 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
7 MKDEP = mkdep
8
9 SUBDIRS = doc po
10
11 docdir = doc
12
13 lib_LTLIBRARIES = libbfd.la
14
15 # bfd.h goes here, for now
16 BFD_H = bfd.h
17
18 # Jim Kingdon notes:
19 # Writing S-records should be included in all (or at least most)
20 # *-*-coff, *-*-aout, etc., configurations, because people will want to
21 # be able to use objcopy to create S-records.  (S-records are not useful
22 # for the debugger, so if you are downloading things as S-records you
23 # need two copies of the executable, one to download and one for the
24 # debugger).
25 BFD_LIBS = \
26         archive.lo archures.lo bfd.lo cache.lo coffgen.lo corefile.lo \
27         format.lo init.lo libbfd.lo opncls.lo reloc.lo \
28         section.lo syms.lo targets.lo hash.lo linker.lo \
29         srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo
30
31 BFD_LIBS_CFILES = \
32         archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
33         format.c init.c libbfd.c opncls.c reloc.c \
34         section.c syms.c targets.c hash.c linker.c \
35         srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c
36
37 # This list is alphabetized to make it easier to keep in sync
38 # with the decls and initializer in archures.c.
39 ALL_MACHINES = \
40         cpu-a29k.lo \
41         cpu-alpha.lo \
42         cpu-arc.lo \
43         cpu-arm.lo \
44         cpu-d10v.lo \
45         cpu-d30v.lo \
46         cpu-fr30.lo \
47         cpu-h8300.lo \
48         cpu-h8500.lo \
49         cpu-hppa.lo \
50         cpu-i386.lo \
51         cpu-i860.lo \
52         cpu-i960.lo \
53         cpu-m32r.lo \
54         cpu-m68k.lo \
55         cpu-m88k.lo \
56         cpu-m10200.lo \
57         cpu-m10300.lo \
58         cpu-mcore.lo \
59         cpu-mips.lo \
60         cpu-ns32k.lo \
61         cpu-pj.lo \
62         cpu-powerpc.lo \
63         cpu-rs6000.lo \
64         cpu-sh.lo \
65         cpu-sparc.lo \
66         cpu-tic30.lo \
67         cpu-tic80.lo \
68         cpu-v850.lo \
69         cpu-vax.lo \
70         cpu-we32k.lo \
71         cpu-w65.lo \
72         cpu-z8k.lo
73
74 ALL_MACHINES_CFILES = \
75         cpu-a29k.c \
76         cpu-alpha.c \
77         cpu-arc.c \
78         cpu-arm.c \
79         cpu-d10v.c \
80         cpu-d30v.c \
81         cpu-fr30.c \
82         cpu-h8300.c \
83         cpu-h8500.c \
84         cpu-hppa.c \
85         cpu-i386.c \
86         cpu-i860.c \
87         cpu-i960.c \
88         cpu-m32r.c \
89         cpu-m68k.c \
90         cpu-m88k.c \
91         cpu-m10200.c \
92         cpu-m10300.c \
93         cpu-mcore.c \
94         cpu-mips.c \
95         cpu-ns32k.c \
96         cpu-pj.c \
97         cpu-powerpc.c \
98         cpu-rs6000.c \
99         cpu-sh.c \
100         cpu-sparc.c \
101         cpu-tic30.c \
102         cpu-tic80.c \
103         cpu-v850.c \
104         cpu-vax.c \
105         cpu-we32k.c \
106         cpu-w65.c \
107         cpu-z8k.c
108
109 # The .o files needed by all of the 32 bit vectors that are configured into
110 # target_vector in targets.c if configured with --enable-targets=all.
111 BFD32_BACKENDS = \
112         aout-adobe.lo \
113         aout-arm.lo \
114         aout-ns32k.lo \
115         aout-sparcle.lo \
116         aout-tic30.lo \
117         aout0.lo \
118         aout32.lo \
119         armnetbsd.lo \
120         bout.lo \
121         cf-i386lynx.lo \
122         cf-m68klynx.lo \
123         cf-sparclynx.lo \
124         coff-a29k.lo \
125         coff-apollo.lo \
126         coff-arm.lo \
127         coff-aux.lo \
128         coff-h8300.lo \
129         coff-h8500.lo \
130         coff-i386.lo \
131         coff-go32.lo \
132         coff-i860.lo \
133         coff-i960.lo \
134         coff-m68k.lo \
135         coff-m88k.lo \
136         coff-mips.lo \
137         coff-pmac.lo \
138         coff-rs6000.lo \
139         coff-sh.lo \
140         coff-sparc.lo \
141         coff-stgo32.lo \
142         coff-svm68k.lo \
143         coff-tic30.lo \
144         coff-tic80.lo \
145         coff-u68k.lo \
146         coff-we32k.lo \
147         coff-w65.lo \
148         coff-z8k.lo \
149         cofflink.lo \
150         dwarf1.lo \
151         dwarf2.lo \
152         ecoff.lo \
153         ecofflink.lo \
154         elf.lo \
155         elf32-arc.lo \
156         elfarm-oabi.lo \
157         elfarm-nabi.lo \
158         elf32-d10v.lo \
159         elf32-d30v.lo \
160         elf32-fr30.lo \
161         elf32-gen.lo \
162         elf32-i386.lo \
163         elf32-i860.lo \
164         elf32-i960.lo \
165         elf32-m32r.lo \
166         elf32-m68k.lo \
167         elf32-m88k.lo \
168         elf-m10200.lo \
169         elf-m10300.lo \
170         elf32-mcore.lo \
171         elf32-mips.lo \
172         elf32-pj.lo \
173         elf32-ppc.lo \
174         elf32-sh.lo \
175         elf32-sparc.lo \
176         elf32-v850.lo \
177         elf32.lo \
178         elflink.lo \
179         epoc-pe-arm.lo \
180         epoc-pei-arm.lo \
181         hp300bsd.lo \
182         hp300hpux.lo \
183         som.lo \
184         i386aout.lo \
185         i386bsd.lo \
186         i386dynix.lo \
187         i386freebsd.lo \
188         i386linux.lo \
189         i386lynx.lo \
190         i386msdos.lo \
191         i386netbsd.lo \
192         i386mach3.lo \
193         i386os9k.lo \
194         ieee.lo \
195         m68k4knetbsd.lo \
196         m68klinux.lo \
197         m68klynx.lo \
198         m68knetbsd.lo \
199         m88kmach3.lo \
200         mipsbsd.lo \
201         newsos3.lo \
202         nlm.lo \
203         nlm32-i386.lo \
204         nlm32-sparc.lo \
205         nlm32-ppc.lo \
206         nlm32.lo \
207         ns32knetbsd.lo \
208         oasys.lo \
209         pc532-mach.lo \
210         pe-arm.lo \
211         pei-arm.lo \
212         pe-i386.lo \
213         pei-i386.lo \
214         pe-mcore.lo \
215         pei-mcore.lo \
216         pe-ppc.lo \
217         pei-ppc.lo \
218         peigen.lo \
219         ppcboot.lo \
220         reloc16.lo \
221         riscix.lo \
222         sparclinux.lo \
223         sparclynx.lo \
224         sparcnetbsd.lo \
225         sunos.lo \
226         vaxnetbsd.lo \
227         versados.lo \
228         vms.lo \
229         vms-gsd.lo \
230         vms-hdr.lo \
231         vms-misc.lo \
232         vms-tir.lo \
233         xcofflink.lo
234
235 BFD32_BACKENDS_CFILES = \
236         aout-adobe.c \
237         aout-arm.c \
238         aout-ns32k.c \
239         aout-sparcle.c \
240         aout-tic30.c \
241         aout0.c \
242         aout32.c \
243         armnetbsd.c \
244         bout.c \
245         cf-i386lynx.c \
246         cf-m68klynx.c \
247         cf-sparclynx.c \
248         coff-a29k.c \
249         coff-apollo.c \
250         coff-arm.c \
251         coff-aux.c \
252         coff-h8300.c \
253         coff-h8500.c \
254         coff-i386.c \
255         coff-i860.c \
256         coff-go32.c \
257         coff-i960.c \
258         coff-m68k.c \
259         coff-m88k.c \
260         coff-mips.c \
261         coff-pmac.c \
262         coff-rs6000.c \
263         coff-sh.c \
264         coff-sparc.c \
265         coff-stgo32.c \
266         coff-svm68k.c \
267         coff-tic30.c \
268         coff-tic80.c \
269         coff-u68k.c \
270         coff-we32k.c \
271         coff-w65.c \
272         coff-z8k.c \
273         cofflink.c \
274         dwarf1.c \
275         dwarf2.c \
276         ecoff.c \
277         ecofflink.c \
278         elf.c \
279         elf32-arc.c \
280         elfarm-oabi.c \
281         elfarm-nabi.c \
282         elf32-d10v.c \
283         elf32-d30v.c \
284         elf32-fr30.c \
285         elf32-gen.c \
286         elf32-i386.c \
287         elf32-i860.c \
288         elf32-i960.c \
289         elf32-m32r.c \
290         elf32-m68k.c \
291         elf32-m88k.c \
292         elf-m10200.c \
293         elf-m10300.c \
294         elf32-mcore.c \
295         elf32-mips.c \
296         elf32-pj.c \
297         elf32-ppc.c \
298         elf32-sh.c \
299         elf32-sparc.c \
300         elf32-v850.c \
301         elf32.c \
302         elflink.c \
303         epoc-pe-arm.c \
304         epoc-pei-arm.c \
305         hp300bsd.c \
306         hp300hpux.c \
307         som.c \
308         i386aout.c \
309         i386bsd.c \
310         i386dynix.c \
311         i386freebsd.c \
312         i386linux.c \
313         i386lynx.c \
314         i386msdos.c \
315         i386netbsd.c \
316         i386mach3.c \
317         i386os9k.c \
318         ieee.c \
319         m68k4knetbsd.c \
320         m68klinux.c \
321         m68klynx.c \
322         m68knetbsd.c \
323         m88kmach3.c \
324         mipsbsd.c \
325         newsos3.c \
326         nlm.c \
327         nlm32-i386.c \
328         nlm32-sparc.c \
329         nlm32-ppc.c \
330         nlm32.c \
331         ns32knetbsd.c \
332         oasys.c \
333         pc532-mach.c \
334         pe-arm.c \
335         pei-arm.c \
336         pe-i386.c \
337         pei-i386.c \
338         pe-mcore.c \
339         pei-mcore.c \
340         pe-ppc.c \
341         pei-ppc.c \
342         peigen.c \
343         ppcboot.c \
344         reloc16.c \
345         riscix.c \
346         sparclinux.c \
347         sparclynx.c \
348         sparcnetbsd.c \
349         sunos.c \
350         vaxnetbsd.c \
351         versados.c \
352         vms.c \
353         vms-gsd.c \
354         vms-hdr.c \
355         vms-misc.c \
356         vms-tir.c \
357         xcofflink.c
358
359 # The .o files needed by all of the 64 bit vectors that are configured into
360 # target_vector in targets.c if configured with --enable-targets=all
361 # and --enable-64-bit-bfd.
362 BFD64_BACKENDS = \
363         aout64.lo \
364         coff-alpha.lo \
365         demo64.lo \
366         elf64-alpha.lo \
367         elf64-gen.lo \
368         elf64-mips.lo \
369         elf64-sparc.lo \
370         elf64.lo \
371         nlm32-alpha.lo \
372         nlm64.lo
373
374 BFD64_BACKENDS_CFILES = \
375         aout64.c \
376         coff-alpha.c \
377         demo64.c \
378         elf64-alpha.c \
379         elf64-gen.c \
380         elf64-mips.c \
381         elf64-sparc.c \
382         elf64.c \
383         nlm32-alpha.c \
384         nlm64.c
385
386 OPTIONAL_BACKENDS = \
387         aix386-core.lo \
388         hpux-core.lo \
389         irix-core.lo \
390         lynx-core.lo \
391         osf-core.lo \
392         sco5-core.lo \
393         trad-core.lo \
394         cisco-core.lo
395
396 OPTIONAL_BACKENDS_CFILES = \
397         aix386-core.c \
398         hpux-core.c \
399         irix-core.c \
400         lynx-core.c \
401         osf-core.c \
402         sco5-core.c \
403         trad-core.c \
404         cisco-core.c
405
406 # These are defined by configure.in:
407 WORDSIZE = @wordsize@
408 ALL_BACKENDS = @all_backends@
409 BFD_BACKENDS = @bfd_backends@
410 BFD_MACHINES = @bfd_machines@
411 TDEFAULTS = @tdefaults@
412
413 INCLUDES = -D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl
414
415 # C source files that correspond to .o's.
416 CFILES = \
417         $(BFD_LIBS_CFILES) \
418         $(ALL_MACHINES_CFILES) \
419         $(BFD32_BACKENDS_CFILES) \
420         $(BFD64_BACKENDS_CFILES) \
421         $(OPTIONAL_BACKENDS_CFILES)
422
423 ## This is a list of all .h files which are in the source tree.
424 SOURCE_HFILES = \
425         aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \
426         ecoffswap.h elf32-arm.h elfcode.h elfcore.h \
427         elflink.h freebsd.h genlink.h go32stub.h libaout.h \
428         libbfd.h libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h \
429         libnlm.h liboasys.h libpei.h netbsd.h nlm-target.h nlmcode.h \
430         nlmswap.h ns32k.h peicode.h som.h vms.h
431
432 HFILES = \
433         elf32-target.h elf64-target.h targmatch.h \
434         $(SOURCE_HFILES)
435
436 POTFILES = $(CFILES) $(SOURCE_HFILES)
437
438 po/POTFILES.in: @MAINT@ Makefile
439         for file in $(POTFILES); do echo $$file; done | sort > tmp \
440           && mv tmp $(srcdir)/po/POTFILES.in
441
442 diststuff: info
443
444 # Various kinds of .o files to put in libbfd.a:
445 # BFD_BACKENDS  Routines the configured targets need.
446 # BFD_MACHINES  Architecture-specific routines the configured targets need.
447 # COREFILE      Core file routines for a native configuration
448 OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
449
450 stamp-ofiles: Makefile
451         rm -f tofiles
452         f=""; \
453         for i in $(OFILES) ; do \
454           case " $$f " in \
455             *" $$i "*) ;; \
456             *) f="$$f $$i" ;; \
457           esac ; \
458         done ; \
459         echo $$f > tofiles
460         $(SHELL) $(srcdir)/../move-if-change tofiles ofiles
461         touch stamp-ofiles
462
463 ofiles: stamp-ofiles ; @true
464
465 libbfd_la_SOURCES = $(BFD_LIBS_CFILES)
466 libbfd_la_DEPENDENCIES = $(OFILES) ofiles
467 libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
468 libbfd_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
469
470 # libtool will build .libs/libbfd.a.  We create libbfd.a in the build
471 # directory so that we don't have to convert all the programs that use
472 # libbfd.a simultaneously.  This is a hack which should be removed if
473 # everything else starts using libtool.  FIXME.
474
475 noinst_LIBRARIES = libbfd.a
476 libbfd_a_SOURCES =
477
478 stamp-lib: libbfd.la
479         if [ -f .libs/libbfd.a ]; then \
480           cp .libs/libbfd.a libbfd.tmp; \
481           $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
482         else true; fi
483         touch stamp-lib
484
485 libbfd.a: stamp-lib ; @true
486
487 # This file holds an array associating configuration triplets and
488 # vector names.  It is built from config.bfd.  It is not compiled by
489 # itself, but is included by targets.c.
490 targmatch.h: config.bfd targmatch.sed
491         rm -f targmatch.h
492         sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
493         mv -f targmatch.new targmatch.h
494
495 # When compiling archures.c and targets.c, supply the default target
496 # info from configure.
497
498 targets.lo: targets.c config.status
499         $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/targets.c
500
501 archures.lo: archures.c config.status
502         $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/archures.c
503
504 elf32-target.h : elfxx-target.h
505         rm -f elf32-target.h
506         sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
507         mv -f elf32-target.new elf32-target.h
508
509 elf64-target.h : elfxx-target.h
510         rm -f elf64-target.h
511         sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
512         mv -f elf64-target.new elf64-target.h
513
514 BFD_H_DEPS= $(INCDIR)/ansidecl.h
515 LOCAL_H_DEPS= libbfd.h sysdep.h config.h
516 $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
517 $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
518 $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
519 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
520
521 # Install BFD include file, and others that it needs.
522 install-data-local: $(BFD_H)
523         @$(NORMAL_INSTALL)
524         $(mkinstalldirs) $(includedir)
525         $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
526         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
527         $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
528
529 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
530 DEP: dep.sed $(CFILES) $(HFILES) bfd.h
531         rm -f DEP1
532         $(MAKE) MKDEP=$(MKDEP) DEP1
533         sed -f dep.sed <DEP1 >DEP
534
535 # This rule really wants a mkdep that runs "gcc -MM".
536 # The NetBSD mkdep overwrites any existing file contents, and doesn't insert
537 # the "DO NOT DELETE" line.
538 # Other mkdep versions require a file that already exists, and do insert it.
539 # Hence the weirdness....
540 DEP1: $(CFILES)
541         rm -f DEP2 DEP2a
542         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
543         echo > DEP2a
544         $(MKDEP) -f DEP2a $(INCLUDES) $(CFLAGS) $?
545         sed -e '/DO NOT DELETE/d' -e '/^$$/d' < DEP2a >> DEP2
546         rm -f DEP2a
547         $(SHELL) $(srcdir)/../move-if-change DEP2 DEP1
548
549 dep.sed: dep-in.sed config.status
550         sed <$(srcdir)/dep-in.sed >dep.sed      \
551                 -e 's!@BFD_H@!$(BFD_H)!'        \
552                 -e 's!@INCDIR@!$(INCDIR)!'      \
553                 -e 's!@SRCDIR@!$(srcdir)!'
554
555 dep: DEP
556         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
557         cat DEP >> tmp-Makefile
558         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
559
560 dep-in: DEP
561         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
562         cat DEP >> tmp-Makefile.in
563         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
564
565 dep-am: DEP
566         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
567         cat DEP >> tmp-Makefile.am
568         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
569
570 host-aout.lo: Makefile
571
572 # The following program can be used to generate a simple config file
573 # which can be folded into an h-XXX file for a new host, with some editing.
574 aout-params.h: gen-aout
575         ./gen-aout host > aout-params.h
576 gen-aout: $(srcdir)/gen-aout.c Makefile
577         $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
578
579 $(BFD_H): stmp-bfd-h ; @true
580
581 stmp-bfd-h: bfd-in3.h
582         rm -f bfd-tmp.h
583         cp bfd-in3.h bfd-tmp.h
584         $(SHELL) $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
585         rm -f bfd-tmp.h
586         touch stmp-bfd-h
587
588 BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \
589         reloc.c syms.c bfd.c archive.c corefile.c targets.c format.c
590 LIBBFD_H_FILES = libbfd-in.h init.c libbfd.c cache.c reloc.c archures.c elf.c
591 LIBCOFF_H_FILES = libcoff-in.h coffcode.h
592
593 # Could really use a "copy-if-change"...
594 headers:
595         (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
596         cp $(docdir)/bfd.h bfd-in2.h-new
597         $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
598         cp $(docdir)/libbfd.h libbfd.h-new
599         $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
600         cp $(docdir)/libcoff.h libcoff.h-new
601         $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
602
603 # We only rebuild the header files automatically if we have been
604 # configured with --enable-maintainer-mode.
605
606 $(srcdir)/bfd-in2.h: @MAINT@ stmp-bin2-h ; @true
607 stmp-bin2-h: $(BFD_H_FILES)
608         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) bfd.h)
609         cp $(docdir)/bfd.h bfd-in2.h-new
610         $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
611         touch stmp-bin2-h
612
613 $(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h ; @true
614 stmp-lbfd-h: $(LIBBFD_H_FILES)
615         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libbfd.h)
616         cp $(docdir)/libbfd.h libbfd.h-new
617         $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
618         touch stmp-lbfd-h
619
620 $(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h ; @true
621 stmp-lcoff-h: $(LIBCOFF_H_FILES)
622         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libcoff.h)
623         cp $(docdir)/libcoff.h libcoff.h-new
624         $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
625         touch stmp-lcoff-h
626
627 MOSTLYCLEANFILES = elf32-target.h elf64-target.h ofiles stamp-ofiles \
628         targmatch.h
629
630 CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEP1 libbfd.a stamp-lib \
631         stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
632
633 # We want to rerun configure if config.bfd or configure.host change.
634 config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host
635         $(SHELL) ./config.status --recheck
636
637
638 elfarm-oabi.lo: elfarm-oabi.c elf32-arm.h elf-bfd.h $(INCDIR)/elf/common.h \
639   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
640   $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
641
642 # What appears below is generated by a hacked mkdep using gcc -MM.
643 elfarm-nabi.lo: elfarm-nabi.c elf32-arm.h elf-bfd.h $(INCDIR)/elf/common.h \
644   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
645   $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
646
647 # What appears below is generated by a hacked mkdep using gcc -MM.
648
649 # DO NOT DELETE THIS LINE -- mkdep uses it.
650 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
651 archive.lo: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
652 archures.lo: archures.c
653 bfd.lo: bfd.c $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h \
654   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h libcoff.h \
655   libecoff.h $(INCDIR)/coff/ecoff.h elf-bfd.h $(INCDIR)/elf/common.h \
656   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
657 cache.lo: cache.c
658 coffgen.lo: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
659   $(INCDIR)/bfdlink.h
660 corefile.lo: corefile.c
661 format.lo: format.c
662 init.lo: init.c
663 libbfd.lo: libbfd.c
664 opncls.lo: opncls.c $(INCDIR)/objalloc.h
665 reloc.lo: reloc.c $(INCDIR)/bfdlink.h
666 section.lo: section.c $(INCDIR)/bfdlink.h
667 syms.lo: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
668   $(INCDIR)/aout/stab.def
669 targets.lo: targets.c $(INCDIR)/fnmatch.h targmatch.h
670 hash.lo: hash.c $(INCDIR)/objalloc.h
671 linker.lo: linker.c $(INCDIR)/bfdlink.h genlink.h
672 srec.lo: srec.c $(INCDIR)/libiberty.h
673 binary.lo: binary.c
674 tekhex.lo: tekhex.c $(INCDIR)/libiberty.h
675 ihex.lo: ihex.c $(INCDIR)/libiberty.h
676 stabs.lo: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
677 stab-syms.lo: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
678   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
679 cpu-a29k.lo: cpu-a29k.c
680 cpu-alpha.lo: cpu-alpha.c
681 cpu-arc.lo: cpu-arc.c
682 cpu-arm.lo: cpu-arm.c
683 cpu-d10v.lo: cpu-d10v.c
684 cpu-d30v.lo: cpu-d30v.c
685 cpu-fr30.lo: cpu-fr30.c
686 cpu-h8300.lo: cpu-h8300.c
687 cpu-h8500.lo: cpu-h8500.c
688 cpu-hppa.lo: cpu-hppa.c
689 cpu-i386.lo: cpu-i386.c
690 cpu-i860.lo: cpu-i860.c
691 cpu-i960.lo: cpu-i960.c
692 cpu-m32r.lo: cpu-m32r.c
693 cpu-m68k.lo: cpu-m68k.c
694 cpu-m88k.lo: cpu-m88k.c
695 cpu-m10200.lo: cpu-m10200.c
696 cpu-m10300.lo: cpu-m10300.c
697 cpu-mcore.lo: cpu-mcore.c
698 cpu-mips.lo: cpu-mips.c
699 cpu-ns32k.lo: cpu-ns32k.c ns32k.h
700 cpu-pj.lo: cpu-pj.c
701 cpu-powerpc.lo: cpu-powerpc.c
702 cpu-rs6000.lo: cpu-rs6000.c
703 cpu-sh.lo: cpu-sh.c
704 cpu-sparc.lo: cpu-sparc.c
705 cpu-tic30.lo: cpu-tic30.c
706 cpu-tic80.lo: cpu-tic80.c
707 cpu-v850.lo: cpu-v850.c
708 cpu-vax.lo: cpu-vax.c
709 cpu-we32k.lo: cpu-we32k.c
710 cpu-w65.lo: cpu-w65.c
711 cpu-z8k.lo: cpu-z8k.c
712 aout-adobe.lo: aout-adobe.c $(INCDIR)/aout/adobe.h \
713   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h \
714   $(INCDIR)/bfdlink.h
715 aout-arm.lo: aout-arm.c libaout.h $(INCDIR)/bfdlink.h \
716   $(INCDIR)/aout/aout64.h aoutx.h $(INCDIR)/aout/stab_gnu.h \
717   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
718 aout-ns32k.lo: aout-ns32k.c $(INCDIR)/aout/aout64.h \
719   ns32k.h libaout.h $(INCDIR)/bfdlink.h
720 aout-sparcle.lo: aout-sparcle.c $(INCDIR)/bfdlink.h \
721   libaout.h aoutf1.h $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h \
722   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
723   aout-target.h
724 aout-tic30.lo: aout-tic30.c libaout.h $(INCDIR)/bfdlink.h \
725   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
726   $(INCDIR)/aout/ar.h aoutx.h
727 aout0.lo: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
728   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
729   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
730 aout32.lo: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
731   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
732   $(INCDIR)/aout/ar.h
733 armnetbsd.lo: armnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
734   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
735   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
736 bout.lo: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
737   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
738 cf-i386lynx.lo: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
739   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
740   coffcode.h coffswap.h
741 cf-m68klynx.lo: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
742   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
743   coffcode.h coffswap.h
744 cf-sparclynx.lo: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
745   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
746   coffcode.h coffswap.h
747 coff-a29k.lo: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
748   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
749 coff-apollo.lo: coff-apollo.c $(INCDIR)/coff/apollo.h \
750   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
751   coffcode.h coffswap.h
752 coff-arm.lo: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
753   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
754 coff-aux.lo: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
755   $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
756   coffcode.h coffswap.h
757 coff-h8300.lo: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
758   $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
759   coffcode.h coffswap.h
760 coff-h8500.lo: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
761   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
762 coff-i386.lo: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
763   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
764 coff-i860.lo: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
765   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
766 coff-go32.lo: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
767   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
768   coffcode.h coffswap.h
769 coff-i960.lo: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
770   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
771 coff-m68k.lo: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
772   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
773 coff-m88k.lo: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
774   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
775 coff-mips.lo: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
776   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
777   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
778   ecoffswap.h
779 coff-pmac.lo: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
780   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
781   coffcode.h coffswap.h
782 coff-rs6000.lo: coff-rs6000.c $(INCDIR)/coff/internal.h \
783   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
784   coffcode.h coffswap.h
785 coff-sh.lo: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
786   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
787 coff-sparc.lo: coff-sparc.c $(INCDIR)/coff/sparc.h \
788   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
789   coffcode.h coffswap.h
790 coff-stgo32.lo: coff-stgo32.c coff-i386.c $(INCDIR)/coff/i386.h \
791   $(INCDIR)/coff/internal.h $(INCDIR)/coff/go32exe.h \
792   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h \
793   go32stub.h
794 coff-svm68k.lo: coff-svm68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
795   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
796   coffcode.h coffswap.h
797 coff-tic30.lo: coff-tic30.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic30.h \
798   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
799 coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic80.h \
800   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
801 coff-u68k.lo: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
802   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
803   coffcode.h coffswap.h
804 coff-we32k.lo: coff-we32k.c $(INCDIR)/coff/we32k.h \
805   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
806   coffcode.h coffswap.h
807 coff-w65.lo: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
808   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
809 coff-z8k.lo: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
810   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
811 cofflink.lo: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
812   libcoff.h
813 dwarf1.lo: dwarf1.c $(INCDIR)/libiberty.h elf-bfd.h \
814   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
815   $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf.h
816 dwarf2.lo: dwarf2.c $(INCDIR)/libiberty.h elf-bfd.h \
817   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
818   $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf2.h
819 ecoff.lo: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
820   $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
821   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
822   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
823   libcoff.h libecoff.h
824 ecofflink.lo: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/objalloc.h \
825   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h \
826   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
827   libcoff.h libecoff.h
828 elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
829   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
830 elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
831   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
832   $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
833 elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm-oabi.h \
834   $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
835   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
836   elf32-arm.h elf32-target.h
837 elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
838   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
839   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \
840   elf32-target.h
841 elf32-d10v.lo: elf32-d10v.c elf-bfd.h $(INCDIR)/elf/common.h \
842   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
843   elf32-target.h
844 elf32-d30v.lo: elf32-d30v.c elf-bfd.h $(INCDIR)/elf/common.h \
845   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
846   elf32-target.h
847 elf32-fr30.lo: elf32-fr30.c elf-bfd.h $(INCDIR)/elf/common.h \
848   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
849   $(INCDIR)/elf/fr30.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
850 elf32-gen.lo: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
851   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
852   elf32-target.h
853 elf32-i386.lo: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
854   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
855   $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
856 elf32-i860.lo: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
857   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
858   elf32-target.h
859 elf32-i960.lo: elf32-i960.c elf-bfd.h $(INCDIR)/elf/common.h \
860   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
861   $(INCDIR)/elf/i960.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
862 elf32-m32r.lo: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \
863   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
864   $(INCDIR)/elf/m32r.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
865 elf32-m68k.lo: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
866   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
867   $(INCDIR)/elf/m68k.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
868 elf32-m88k.lo: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
869   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
870   elf32-target.h
871 elf-m10200.lo: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \
872   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
873   elf32-target.h
874 elf-m10300.lo: elf-m10300.c elf-bfd.h $(INCDIR)/elf/common.h \
875   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
876   $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/reloc-macros.h \
877   elf32-target.h
878 elf32-mcore.lo: elf32-mcore.c $(INCDIR)/bfdlink.h elf-bfd.h \
879   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
880   $(INCDIR)/elf/mcore.h $(INCDIR)/elf/reloc-macros.h \
881   elf32-target.h
882 elf32-mips.lo: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
883   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
884   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
885   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
886   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
887   elf32-target.h
888 elf32-pj.lo: elf32-pj.c $(INCDIR)/bfdlink.h elf-bfd.h \
889   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
890   $(INCDIR)/elf/pj.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
891 elf32-ppc.lo: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
892   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
893   $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
894 elf32-sh.lo: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \
895   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
896   $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
897 elf32-sparc.lo: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
898   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
899   $(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
900   elf32-target.h
901 elf32-v850.lo: elf32-v850.c $(INCDIR)/bfdlink.h elf-bfd.h \
902   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
903   $(INCDIR)/elf/v850.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
904 elf32.lo: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
905   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
906   elfcore.h elflink.h
907 elflink.lo: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
908   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
909 epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
910   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
911   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
912 epoc-pei-arm.lo: epoc-pei-arm.c pei-arm.c coff-arm.c \
913   $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h \
914   libcoff.h $(INCDIR)/bfdlink.h coffcode.h peicode.h \
915   libpei.h
916 hp300bsd.lo: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
917   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
918   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
919 hp300hpux.lo: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
920   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
921   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
922   aout-target.h
923 som.lo: som.c
924 i386aout.lo: i386aout.c $(INCDIR)/aout/aout64.h libaout.h \
925   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
926   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
927 i386bsd.lo: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
928   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
929   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
930 i386dynix.lo: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
931   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
932   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
933   aout-target.h
934 i386freebsd.lo: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
935   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
936   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
937 i386linux.lo: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
938   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
939   $(INCDIR)/bfdlink.h aout-target.h
940 i386lynx.lo: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
941   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
942   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
943 i386msdos.lo: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
944 i386netbsd.lo: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
945   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
946   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
947 i386mach3.lo: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
948   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
949   $(INCDIR)/bfdlink.h aout-target.h
950 i386os9k.lo: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
951   $(INCDIR)/os9k.h
952 ieee.lo: ieee.c $(INCDIR)/ieee.h libieee.h
953 m68k4knetbsd.lo: m68k4knetbsd.c netbsd.h libaout.h \
954   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
955   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
956 m68klinux.lo: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
957   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
958   $(INCDIR)/bfdlink.h aout-target.h
959 m68klynx.lo: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
960   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
961   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
962 m68knetbsd.lo: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
963   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
964   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
965 m88kmach3.lo: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
966   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
967   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
968 mipsbsd.lo: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
969   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
970   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
971 newsos3.lo: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
972   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
973   $(INCDIR)/bfdlink.h aout-target.h
974 nlm.lo: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
975   $(INCDIR)/nlm/external.h
976 nlm32-i386.lo: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
977   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
978   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
979 nlm32-sparc.lo: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
980   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
981   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
982 nlm32-ppc.lo: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
983   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
984   nlmswap.h nlm-target.h
985 nlm32.lo: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
986   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
987 ns32knetbsd.lo: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
988   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
989   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
990 oasys.lo: oasys.c $(INCDIR)/oasys.h liboasys.h
991 pc532-mach.lo: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
992   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
993   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
994 pe-arm.lo: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
995   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
996   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
997 pei-arm.lo: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
998   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
999   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1000 pe-i386.lo: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1001   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1002   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1003 pei-i386.lo: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1004   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1005   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1006 pe-mcore.lo: pe-mcore.c coff-mcore.c $(INCDIR)/coff/mcore.h \
1007   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1008   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1009 pei-mcore.lo: pei-mcore.c coff-mcore.c $(INCDIR)/coff/mcore.h \
1010   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1011   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1012 pe-ppc.lo: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1013   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1014   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1015 pei-ppc.lo: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1016   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1017   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1018 peigen.lo: peigen.c $(INCDIR)/coff/internal.h $(INCDIR)/coff/i386.h \
1019   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h libpei.h
1020 ppcboot.lo: ppcboot.c
1021 reloc16.lo: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
1022   $(INCDIR)/coff/internal.h libcoff.h
1023 riscix.lo: riscix.c libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1024   aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1025   $(INCDIR)/aout/ar.h
1026 sparclinux.lo: sparclinux.c $(INCDIR)/aout/aout64.h \
1027   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1028   libaout.h $(INCDIR)/bfdlink.h aout-target.h
1029 sparclynx.lo: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
1030   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1031   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1032 sparcnetbsd.lo: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1033   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1034   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1035 sunos.lo: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1036   $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1037   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1038 vaxnetbsd.lo: vaxnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1039   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1040   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1041 versados.lo: versados.c $(INCDIR)/libiberty.h
1042 vms.lo: vms.c $(INCDIR)/bfdlink.h vms.h
1043 vms-gsd.lo: vms-gsd.c $(INCDIR)/bfdlink.h vms.h
1044 vms-hdr.lo: vms-hdr.c $(INCDIR)/bfdlink.h vms.h
1045 vms-misc.lo: vms-misc.c $(INCDIR)/bfdlink.h vms.h
1046 vms-tir.lo: vms-tir.c $(INCDIR)/bfdlink.h vms.h
1047 xcofflink.lo: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1048   libcoff.h
1049 aout64.lo: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
1050   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1051   $(INCDIR)/aout/ar.h
1052 coff-alpha.lo: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1053   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1054   $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1055   libecoff.h coffswap.h ecoffswap.h
1056 demo64.lo: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
1057   libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1058   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1059   aout-target.h
1060 elf64-alpha.lo: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
1061   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1062   $(INCDIR)/elf/alpha.h $(INCDIR)/elf/reloc-macros.h \
1063   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1064   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h \
1065   libcoff.h libecoff.h ecoffswap.h elf64-target.h
1066 elf64-gen.lo: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1067   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1068   elf64-target.h
1069 elf64-mips.lo: elf64-mips.c $(INCDIR)/aout/ar.h $(INCDIR)/bfdlink.h \
1070   genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1071   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
1072   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1073   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
1074   elf64-target.h
1075 elf64-sparc.lo: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
1076   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1077   $(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
1078   elf64-target.h
1079 elf64.lo: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1080   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1081   elfcore.h elflink.h
1082 nlm32-alpha.lo: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1083   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1084   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1085 nlm64.lo: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1086   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1087 aix386-core.lo: aix386-core.c $(INCDIR)/coff/i386.h \
1088   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1089 hpux-core.lo: hpux-core.c
1090 irix-core.lo: irix-core.c
1091 lynx-core.lo: lynx-core.c
1092 osf-core.lo: osf-core.c
1093 sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h
1094 trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h \
1095   hosts/i386linux.h
1096 cisco-core.lo: cisco-core.c
1097 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY