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