K&R compiler fixes
[binutils.git] / bfd / Makefile.am
blob142fa6d1efc916042d1c386a60031aaaf0b91ad5
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         coff-ia64.lo \
389         demo64.lo \
390         elf64-alpha.lo \
391         elf64-gen.lo \
392         elf64-mips.lo \
393         elf64-sparc.lo \
394         elf64.lo \
395         nlm32-alpha.lo \
396         nlm64.lo
398 BFD64_BACKENDS_CFILES = \
399         aout64.c \
400         coff-alpha.c \
401         coff-ia64.c \
402         demo64.c \
403         elf64-alpha.c \
404         elf64-gen.c \
405         elf64-mips.c \
406         elf64-sparc.c \
407         elf64.c \
408         nlm32-alpha.c \
409         nlm64.c
411 OPTIONAL_BACKENDS = \
412         aix386-core.lo \
413         hpux-core.lo \
414         irix-core.lo \
415         lynx-core.lo \
416         osf-core.lo \
417         sco5-core.lo \
418         trad-core.lo \
419         cisco-core.lo
421 OPTIONAL_BACKENDS_CFILES = \
422         aix386-core.c \
423         hpux-core.c \
424         irix-core.c \
425         lynx-core.c \
426         osf-core.c \
427         sco5-core.c \
428         trad-core.c \
429         cisco-core.c
431 # These are defined by configure.in:
432 WORDSIZE = @wordsize@
433 ALL_BACKENDS = @all_backends@
434 BFD_BACKENDS = @bfd_backends@
435 BFD_MACHINES = @bfd_machines@
436 TDEFAULTS = @tdefaults@
438 INCLUDES = -D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl
440 # C source files that correspond to .o's.
441 CFILES = \
442         $(BFD_LIBS_CFILES) \
443         $(ALL_MACHINES_CFILES) \
444         $(BFD32_BACKENDS_CFILES) \
445         $(BFD64_BACKENDS_CFILES) \
446         $(OPTIONAL_BACKENDS_CFILES)
448 ## This is a list of all .h files which are in the source tree.
449 SOURCE_HFILES = \
450         aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \
451         ecoffswap.h elf32-arm.h elfcode.h elfcore.h \
452         elflink.h freebsd.h genlink.h go32stub.h libaout.h \
453         libbfd.h libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h \
454         libnlm.h liboasys.h libpei.h netbsd.h nlm-target.h nlmcode.h \
455         nlmswap.h ns32k.h peicode.h som.h vms.h
457 HFILES = \
458         elf32-target.h elf64-target.h targmatch.h \
459         $(SOURCE_HFILES)
461 POTFILES = $(CFILES) $(SOURCE_HFILES)
463 po/POTFILES.in: @MAINT@ Makefile
464         for file in $(POTFILES); do echo $$file; done | sort > tmp \
465           && mv tmp $(srcdir)/po/POTFILES.in
467 diststuff: info
469 # Various kinds of .o files to put in libbfd.a:
470 # BFD_BACKENDS  Routines the configured targets need.
471 # BFD_MACHINES  Architecture-specific routines the configured targets need.
472 # COREFILE      Core file routines for a native configuration
473 OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
475 stamp-ofiles: Makefile
476         rm -f tofiles
477         f=""; \
478         for i in $(OFILES) ; do \
479           case " $$f " in \
480             *" $$i "*) ;; \
481             *) f="$$f $$i" ;; \
482           esac ; \
483         done ; \
484         echo $$f > tofiles
485         $(SHELL) $(srcdir)/../move-if-change tofiles ofiles
486         touch stamp-ofiles
488 ofiles: stamp-ofiles ; @true
490 libbfd_la_SOURCES = $(BFD_LIBS_CFILES)
491 libbfd_la_DEPENDENCIES = $(OFILES) ofiles
492 libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
493 libbfd_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
495 # libtool will build .libs/libbfd.a.  We create libbfd.a in the build
496 # directory so that we don't have to convert all the programs that use
497 # libbfd.a simultaneously.  This is a hack which should be removed if
498 # everything else starts using libtool.  FIXME.
500 noinst_LIBRARIES = libbfd.a
501 libbfd_a_SOURCES =
503 stamp-lib: libbfd.la
504         libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
505         if [ -f $$libtooldir/libbfd.a ]; then \
506           cp $$libtooldir/libbfd.a libbfd.tmp; \
507           $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
508         else true; fi
509         touch stamp-lib
511 libbfd.a: stamp-lib ; @true
513 # This file holds an array associating configuration triplets and
514 # vector names.  It is built from config.bfd.  It is not compiled by
515 # itself, but is included by targets.c.
516 targmatch.h: config.bfd targmatch.sed
517         rm -f targmatch.h
518         sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
519         mv -f targmatch.new targmatch.h
521 # When compiling archures.c and targets.c, supply the default target
522 # info from configure.
524 targets.lo: targets.c config.status
525         $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/targets.c
527 archures.lo: archures.c config.status
528         $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/archures.c
530 elf32-target.h : elfxx-target.h
531         rm -f elf32-target.h
532         sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
533         mv -f elf32-target.new elf32-target.h
535 elf64-target.h : elfxx-target.h
536         rm -f elf64-target.h
537         sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
538         mv -f elf64-target.new elf64-target.h
540 BFD_H_DEPS= $(INCDIR)/ansidecl.h
541 LOCAL_H_DEPS= libbfd.h sysdep.h config.h
542 $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
543 $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
544 $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
545 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
547 # Install BFD include file, and others that it needs.
548 install-data-local: $(BFD_H)
549         @$(NORMAL_INSTALL)
550         $(mkinstalldirs) $(includedir)
551         $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
552         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
553         $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
555 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
556 DEP: dep.sed $(CFILES) $(HFILES) bfd.h
557         rm -f DEP1
558         $(MAKE) MKDEP="$(MKDEP)" DEP1
559         sed -f dep.sed < DEP1 > $@
560         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
562 DEP1: $(CFILES)
563         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
564         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
565         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
566         mv -f DEP2 $@
568 dep.sed: dep-in.sed config.status
569         sed <$(srcdir)/dep-in.sed >dep.sed      \
570                 -e 's!@BFD_H@!$(BFD_H)!'        \
571                 -e 's!@INCDIR@!$(INCDIR)!'      \
572                 -e 's!@SRCDIR@!$(srcdir)!'
574 dep: DEP
575         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
576         cat DEP >> tmp-Makefile
577         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
579 dep-in: DEP
580         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
581         cat DEP >> tmp-Makefile.in
582         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
584 dep-am: DEP
585         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
586         cat DEP >> tmp-Makefile.am
587         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
589 host-aout.lo: Makefile
591 # The following program can be used to generate a simple config file
592 # which can be folded into an h-XXX file for a new host, with some editing.
593 aout-params.h: gen-aout
594         ./gen-aout host > aout-params.h
595 gen-aout: $(srcdir)/gen-aout.c Makefile
596         $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
598 $(BFD_H): stmp-bfd-h ; @true
600 stmp-bfd-h: bfd-in3.h
601         rm -f bfd-tmp.h
602         cp bfd-in3.h bfd-tmp.h
603         $(SHELL) $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
604         rm -f bfd-tmp.h
605         touch stmp-bfd-h
607 BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \
608         reloc.c syms.c bfd.c archive.c corefile.c targets.c format.c
609 LIBBFD_H_FILES = libbfd-in.h init.c libbfd.c cache.c reloc.c archures.c elf.c
610 LIBCOFF_H_FILES = libcoff-in.h coffcode.h
612 # Could really use a "copy-if-change"...
613 headers:
614         (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
615         cp $(docdir)/bfd.h bfd-in2.h-new
616         $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
617         cp $(docdir)/libbfd.h libbfd.h-new
618         $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
619         cp $(docdir)/libcoff.h libcoff.h-new
620         $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
622 # We only rebuild the header files automatically if we have been
623 # configured with --enable-maintainer-mode.
625 $(srcdir)/bfd-in2.h: @MAINT@ stmp-bin2-h ; @true
626 stmp-bin2-h: $(BFD_H_FILES)
627         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) bfd.h)
628         cp $(docdir)/bfd.h bfd-in2.h-new
629         $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
630         touch stmp-bin2-h
632 $(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h ; @true
633 stmp-lbfd-h: $(LIBBFD_H_FILES)
634         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libbfd.h)
635         cp $(docdir)/libbfd.h libbfd.h-new
636         $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
637         touch stmp-lbfd-h
639 $(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h ; @true
640 stmp-lcoff-h: $(LIBCOFF_H_FILES)
641         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libcoff.h)
642         cp $(docdir)/libcoff.h libcoff.h-new
643         $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
644         touch stmp-lcoff-h
646 MOSTLYCLEANFILES = elf32-target.h elf64-target.h ofiles stamp-ofiles \
647         targmatch.h
649 CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEP1 DEP2 libbfd.a stamp-lib \
650         stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
652 # We want to rerun configure if config.bfd or configure.host change.
653 config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host
654         $(SHELL) ./config.status --recheck
657 elfarm-oabi.lo: elfarm-oabi.c elf32-arm.h elf-bfd.h $(INCDIR)/elf/common.h \
658   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
659   $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
661 elfarm-nabi.lo: elfarm-nabi.c elf32-arm.h elf-bfd.h $(INCDIR)/elf/common.h \
662   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
663   $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
665 # What appears below is generated by a hacked mkdep using gcc -MM.
667 # DO NOT DELETE THIS LINE -- mkdep uses it.
668 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
669 archive.lo: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
670 archures.lo: archures.c
671 bfd.lo: bfd.c $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h \
672   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h libcoff.h \
673   libecoff.h $(INCDIR)/coff/ecoff.h elf-bfd.h $(INCDIR)/elf/common.h \
674   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
675 cache.lo: cache.c
676 coffgen.lo: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
677   $(INCDIR)/bfdlink.h
678 corefile.lo: corefile.c
679 format.lo: format.c
680 init.lo: init.c
681 libbfd.lo: libbfd.c
682 opncls.lo: opncls.c $(INCDIR)/objalloc.h
683 reloc.lo: reloc.c $(INCDIR)/bfdlink.h
684 section.lo: section.c $(INCDIR)/bfdlink.h
685 syms.lo: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
686   $(INCDIR)/aout/stab.def
687 targets.lo: targets.c $(INCDIR)/fnmatch.h targmatch.h
688 hash.lo: hash.c $(INCDIR)/objalloc.h
689 linker.lo: linker.c $(INCDIR)/bfdlink.h genlink.h
690 srec.lo: srec.c $(INCDIR)/libiberty.h
691 binary.lo: binary.c
692 tekhex.lo: tekhex.c $(INCDIR)/libiberty.h
693 ihex.lo: ihex.c $(INCDIR)/libiberty.h
694 stabs.lo: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
695 stab-syms.lo: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
696   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
697 cpu-a29k.lo: cpu-a29k.c
698 cpu-alpha.lo: cpu-alpha.c
699 cpu-arc.lo: cpu-arc.c
700 cpu-arm.lo: cpu-arm.c
701 cpu-avr.lo: cpu-avr.c
702 cpu-d10v.lo: cpu-d10v.c
703 cpu-d30v.lo: cpu-d30v.c
704 cpu-fr30.lo: cpu-fr30.c
705 cpu-h8300.lo: cpu-h8300.c
706 cpu-h8500.lo: cpu-h8500.c
707 cpu-hppa.lo: cpu-hppa.c
708 cpu-i370.lo: cpu-i370.c
709 cpu-i386.lo: cpu-i386.c
710 cpu-i860.lo: cpu-i860.c
711 cpu-i960.lo: cpu-i960.c
712 cpu-m32r.lo: cpu-m32r.c
713 cpu-m68k.lo: cpu-m68k.c
714 cpu-m88k.lo: cpu-m88k.c
715 cpu-m10200.lo: cpu-m10200.c
716 cpu-m10300.lo: cpu-m10300.c
717 cpu-mcore.lo: cpu-mcore.c
718 cpu-mips.lo: cpu-mips.c
719 cpu-ns32k.lo: cpu-ns32k.c ns32k.h
720 cpu-pj.lo: cpu-pj.c
721 cpu-powerpc.lo: cpu-powerpc.c
722 cpu-rs6000.lo: cpu-rs6000.c
723 cpu-sh.lo: cpu-sh.c
724 cpu-sparc.lo: cpu-sparc.c
725 cpu-tic30.lo: cpu-tic30.c
726 cpu-tic54x.lo: cpu-tic54x.c
727 cpu-tic80.lo: cpu-tic80.c
728 cpu-v850.lo: cpu-v850.c
729 cpu-vax.lo: cpu-vax.c
730 cpu-we32k.lo: cpu-we32k.c
731 cpu-w65.lo: cpu-w65.c
732 cpu-z8k.lo: cpu-z8k.c
733 aout-adobe.lo: aout-adobe.c $(INCDIR)/aout/adobe.h \
734   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h \
735   $(INCDIR)/bfdlink.h
736 aout-arm.lo: aout-arm.c libaout.h $(INCDIR)/bfdlink.h \
737   $(INCDIR)/aout/aout64.h aoutx.h $(INCDIR)/aout/stab_gnu.h \
738   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
739 aout-ns32k.lo: aout-ns32k.c $(INCDIR)/aout/aout64.h \
740   ns32k.h libaout.h $(INCDIR)/bfdlink.h
741 aout-sparcle.lo: aout-sparcle.c $(INCDIR)/bfdlink.h \
742   libaout.h aoutf1.h $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h \
743   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
744   aout-target.h
745 aout-tic30.lo: aout-tic30.c libaout.h $(INCDIR)/bfdlink.h \
746   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
747   $(INCDIR)/aout/ar.h aoutx.h
748 aout0.lo: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
749   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
750   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
751 aout32.lo: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
752   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
753   $(INCDIR)/aout/ar.h
754 armnetbsd.lo: armnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
755   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
756   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
757 bout.lo: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
758   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
759 cf-i386lynx.lo: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
760   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
761   coffcode.h coffswap.h
762 cf-m68klynx.lo: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
763   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
764   coffcode.h coffswap.h
765 cf-sparclynx.lo: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
766   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
767   coffcode.h coffswap.h
768 coff-a29k.lo: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
769   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
770 coff-apollo.lo: coff-apollo.c $(INCDIR)/coff/apollo.h \
771   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
772   coffcode.h coffswap.h
773 coff-arm.lo: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
774   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
775 coff-aux.lo: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
776   $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
777   coffcode.h coffswap.h
778 coff-h8300.lo: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
779   $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
780   coffcode.h coffswap.h
781 coff-h8500.lo: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
782   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
783 coff-i386.lo: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
784   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
785 coff-i860.lo: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
786   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
787 coff-go32.lo: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
788   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
789   coffcode.h coffswap.h
790 coff-i960.lo: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
791   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
792 coff-m68k.lo: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
793   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
794 coff-m88k.lo: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
795   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
796 coff-mips.lo: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
797   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
798   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
799   ecoffswap.h
800 coff-pmac.lo: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
801   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
802   coffcode.h coffswap.h
803 coff-rs6000.lo: coff-rs6000.c $(INCDIR)/coff/internal.h \
804   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
805   coffcode.h coffswap.h
806 coff-sh.lo: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
807   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
808 coff-sparc.lo: coff-sparc.c $(INCDIR)/coff/sparc.h \
809   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
810   coffcode.h coffswap.h
811 coff-stgo32.lo: coff-stgo32.c coff-i386.c $(INCDIR)/coff/i386.h \
812   $(INCDIR)/coff/internal.h $(INCDIR)/coff/go32exe.h \
813   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h \
814   go32stub.h
815 coff-svm68k.lo: coff-svm68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
816   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
817   coffcode.h coffswap.h
818 coff-tic30.lo: coff-tic30.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic30.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/ti.h $(INCDIR)/coff/internal.h libcoff.h \
822   coffcode.h coffswap.h
823 coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic80.h \
824   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
825 coff-u68k.lo: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
826   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
827   coffcode.h coffswap.h
828 coff-we32k.lo: coff-we32k.c $(INCDIR)/coff/we32k.h \
829   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
830   coffcode.h coffswap.h
831 coff-w65.lo: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
832   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
833 coff-z8k.lo: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
834   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
835 cofflink.lo: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
836   libcoff.h
837 dwarf1.lo: dwarf1.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/dwarf.h
840 dwarf2.lo: dwarf2.c $(INCDIR)/libiberty.h elf-bfd.h \
841   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
842   $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf2.h
843 ecoff.lo: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
844   $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
845   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
846   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
847   libcoff.h libecoff.h
848 ecofflink.lo: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/objalloc.h \
849   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h \
850   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
851   libcoff.h libecoff.h
852 elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
853   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
854 elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
855   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
856   $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
857 elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
858   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
859   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \
860   elf32-target.h
861 elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
862   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
863   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-arm.h \
864   elf32-target.h
865 elf32-avr.lo: elf32-avr.c elf-bfd.h $(INCDIR)/elf/common.h \
866   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
867   $(INCDIR)/elf/avr.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
868 elf32-d10v.lo: elf32-d10v.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-d30v.lo: elf32-d30v.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 elf32-fr30.lo: elf32-fr30.c elf-bfd.h $(INCDIR)/elf/common.h \
875   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
876   $(INCDIR)/elf/fr30.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
877 elf32-gen.lo: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
878   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
879   elf32-target.h
880 elf32-i370.lo: elf32-i370.c $(INCDIR)/bfdlink.h elf-bfd.h \
881   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
882   $(INCDIR)/elf/i370.h elf32-target.h
883 elf32-i386.lo: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
884   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
885   $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
886 elf32-i860.lo: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
887   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
888   elf32-target.h
889 elf32-i960.lo: elf32-i960.c elf-bfd.h $(INCDIR)/elf/common.h \
890   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
891   $(INCDIR)/elf/i960.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
892 elf32-m32r.lo: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \
893   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
894   $(INCDIR)/elf/m32r.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
895 elf32-m68k.lo: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
896   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
897   $(INCDIR)/elf/m68k.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
898 elf32-m88k.lo: elf32-m88k.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-m10200.lo: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \
902   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
903   elf32-target.h
904 elf-m10300.lo: elf-m10300.c elf-bfd.h $(INCDIR)/elf/common.h \
905   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
906   $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/reloc-macros.h \
907   elf32-target.h
908 elf32-mcore.lo: elf32-mcore.c $(INCDIR)/bfdlink.h elf-bfd.h \
909   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
910   $(INCDIR)/elf/mcore.h $(INCDIR)/elf/reloc-macros.h \
911   elf32-target.h
912 elf32-mips.lo: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
913   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
914   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
915   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
916   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
917   elf32-target.h
918 elf32-pj.lo: elf32-pj.c $(INCDIR)/bfdlink.h elf-bfd.h \
919   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
920   $(INCDIR)/elf/pj.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
921 elf32-ppc.lo: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
922   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
923   $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
924 elf32-sh.lo: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \
925   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
926   $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
927 elf32-sparc.lo: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
928   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
929   $(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
930   elf32-target.h
931 elf32-v850.lo: elf32-v850.c $(INCDIR)/bfdlink.h elf-bfd.h \
932   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
933   $(INCDIR)/elf/v850.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
934 elf32.lo: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
935   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
936   elfcore.h elflink.h
937 elflink.lo: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
938   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
939 epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
940   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
941   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
942 epoc-pei-arm.lo: epoc-pei-arm.c pei-arm.c coff-arm.c \
943   $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h \
944   libcoff.h $(INCDIR)/bfdlink.h coffcode.h peicode.h \
945   libpei.h
946 hp300bsd.lo: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
947   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
948   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
949 hp300hpux.lo: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
950   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
951   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
952   aout-target.h
953 som.lo: som.c
954 i386aout.lo: i386aout.c $(INCDIR)/aout/aout64.h libaout.h \
955   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
956   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
957 i386bsd.lo: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
958   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
959   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
960 i386dynix.lo: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
961   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
962   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
963   aout-target.h
964 i386freebsd.lo: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
965   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
966   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
967 i386linux.lo: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
968   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
969   $(INCDIR)/bfdlink.h aout-target.h
970 i386lynx.lo: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
971   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
972   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
973 i386msdos.lo: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
974 i386netbsd.lo: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
975   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
976   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
977 i386mach3.lo: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
978   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
979   $(INCDIR)/bfdlink.h aout-target.h
980 i386os9k.lo: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
981   $(INCDIR)/os9k.h
982 ieee.lo: ieee.c $(INCDIR)/ieee.h libieee.h
983 m68k4knetbsd.lo: m68k4knetbsd.c netbsd.h libaout.h \
984   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
985   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
986 m68klinux.lo: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
987   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
988   $(INCDIR)/bfdlink.h aout-target.h
989 m68klynx.lo: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
990   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
991   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
992 m68knetbsd.lo: m68knetbsd.c netbsd.h 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 m88kmach3.lo: m88kmach3.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 mipsbsd.lo: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
999   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1000   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1001 newsos3.lo: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1002   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1003   $(INCDIR)/bfdlink.h aout-target.h
1004 nlm.lo: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1005   $(INCDIR)/nlm/external.h
1006 nlm32-i386.lo: nlm32-i386.c $(INCDIR)/nlm/i386-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-sparc.lo: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
1010   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1011   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1012 nlm32-ppc.lo: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
1013   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
1014   nlmswap.h nlm-target.h
1015 nlm32.lo: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1016   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1017 ns32knetbsd.lo: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1018   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1019   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1020 oasys.lo: oasys.c $(INCDIR)/oasys.h liboasys.h
1021 pc532-mach.lo: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
1022   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1023   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1024 pe-arm.lo: pe-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 pei-arm.lo: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
1028   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1029   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1030 pe-i386.lo: pe-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 pei-i386.lo: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1034   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1035   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1036 pe-mcore.lo: pe-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 pei-mcore.lo: pei-mcore.c coff-mcore.c $(INCDIR)/coff/mcore.h \
1040   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1041   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1042 pe-ppc.lo: pe-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 pei-ppc.lo: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1046   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1047   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1048 pe-sh.lo: pe-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 pei-sh.lo: pei-sh.c coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
1052   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1053   coffcode.h peicode.h libpei.h
1054 pe-mips.lo: pe-mips.c $(INCDIR)/coff/mipspe.h $(INCDIR)/coff/internal.h \
1055   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1056   peicode.h libpei.h
1057 pei-mips.lo: pei-mips.c pe-mips.c $(INCDIR)/coff/mipspe.h \
1058   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1059   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1060 peigen.lo: peigen.c $(INCDIR)/coff/internal.h $(INCDIR)/coff/i386.h \
1061   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h libpei.h
1062 ppcboot.lo: ppcboot.c
1063 reloc16.lo: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
1064   $(INCDIR)/coff/internal.h libcoff.h
1065 riscix.lo: riscix.c libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1066   aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1067   $(INCDIR)/aout/ar.h
1068 sparclinux.lo: sparclinux.c $(INCDIR)/aout/aout64.h \
1069   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1070   libaout.h $(INCDIR)/bfdlink.h aout-target.h
1071 sparclynx.lo: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
1072   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1073   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1074 sparcnetbsd.lo: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1075   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1076   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1077 sunos.lo: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1078   $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1079   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1080 vaxnetbsd.lo: vaxnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1081   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1082   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1083 versados.lo: versados.c $(INCDIR)/libiberty.h
1084 vms.lo: vms.c $(INCDIR)/bfdlink.h vms.h
1085 vms-gsd.lo: vms-gsd.c $(INCDIR)/bfdlink.h vms.h
1086 vms-hdr.lo: vms-hdr.c $(INCDIR)/bfdlink.h vms.h
1087 vms-misc.lo: vms-misc.c $(INCDIR)/bfdlink.h vms.h
1088 vms-tir.lo: vms-tir.c $(INCDIR)/bfdlink.h vms.h
1089 xcofflink.lo: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1090   libcoff.h
1091 aout64.lo: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
1092   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1093   $(INCDIR)/aout/ar.h
1094 coff-alpha.lo: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1095   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1096   $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1097   libecoff.h coffswap.h ecoffswap.h
1098 coff-ia64.lo: coff-ia64.c $(INCDIR)/coff/ia64.h $(INCDIR)/coff/internal.h \
1099   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
1100 demo64.lo: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
1101   libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1102   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1103   aout-target.h
1104 elf64-alpha.lo: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
1105   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1106   $(INCDIR)/elf/alpha.h $(INCDIR)/elf/reloc-macros.h \
1107   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1108   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h \
1109   libcoff.h libecoff.h ecoffswap.h elf64-target.h
1110 elf64-gen.lo: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1111   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1112   elf64-target.h
1113 elf64-mips.lo: elf64-mips.c $(INCDIR)/aout/ar.h $(INCDIR)/bfdlink.h \
1114   genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1115   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
1116   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1117   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
1118   elf64-target.h
1119 elf64-sparc.lo: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
1120   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1121   $(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
1122   elf64-target.h
1123 elf64.lo: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1124   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1125   elfcore.h elflink.h
1126 nlm32-alpha.lo: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1127   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1128   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1129 nlm64.lo: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1130   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1131 aix386-core.lo: aix386-core.c $(INCDIR)/coff/i386.h \
1132   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1133 hpux-core.lo: hpux-core.c
1134 irix-core.lo: irix-core.c
1135 lynx-core.lo: lynx-core.c
1136 osf-core.lo: osf-core.c
1137 sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h
1138 trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h
1139 cisco-core.lo: cisco-core.c
1140 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY