* Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS and
[external/binutils.git] / bfd / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 AUTOMAKE_OPTIONS = cygnus
4
5 INCDIR = $(srcdir)/../include
6 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
7 MKDEP = gcc -MM
8
9 SUBDIRS = doc po
10
11 docdir = doc
12
13 lib_LTLIBRARIES = libbfd.la
14
15 WARN_CFLAGS = @WARN_CFLAGS@
16 AM_CFLAGS = $(WARN_CFLAGS)
17
18 # bfd.h goes here, for now
19 BFD_H = bfd.h
20
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 BFD32_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 \
33         merge.lo dwarf2.lo
34
35 BFD64_LIBS = archive64.lo
36
37 BFD32_LIBS_CFILES = \
38         archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
39         format.c init.c libbfd.c opncls.c reloc.c \
40         section.c syms.c targets.c hash.c linker.c \
41         srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c \
42         merge.c dwarf2.c
43
44 BFD64_LIBS_CFILES = archive64.c
45
46 # This list is alphabetized to make it easier to keep in sync
47 # with the decls and initializer in archures.c.
48 ALL_MACHINES = \
49         cpu-a29k.lo \
50         cpu-alpha.lo \
51         cpu-arc.lo \
52         cpu-arm.lo \
53         cpu-avr.lo \
54         cpu-cris.lo \
55         cpu-d10v.lo \
56         cpu-d30v.lo \
57         cpu-fr30.lo \
58         cpu-h8300.lo \
59         cpu-h8500.lo \
60         cpu-hppa.lo \
61         cpu-ia64.lo \
62         cpu-i370.lo \
63         cpu-i386.lo \
64         cpu-i860.lo \
65         cpu-i960.lo \
66         cpu-m32r.lo \
67         cpu-m68hc11.lo \
68         cpu-m68hc12.lo \
69         cpu-m68k.lo \
70         cpu-m88k.lo \
71         cpu-m10200.lo \
72         cpu-m10300.lo \
73         cpu-mcore.lo \
74         cpu-mips.lo \
75         cpu-mmix.lo \
76         cpu-ns32k.lo \
77         cpu-openrisc.lo \
78         cpu-pdp11.lo \
79         cpu-pj.lo \
80         cpu-powerpc.lo \
81         cpu-rs6000.lo \
82         cpu-s390.lo \
83         cpu-sh.lo \
84         cpu-sparc.lo \
85         cpu-tic30.lo \
86         cpu-tic54x.lo \
87         cpu-tic80.lo \
88         cpu-v850.lo \
89         cpu-vax.lo \
90         cpu-we32k.lo \
91         cpu-w65.lo \
92         cpu-z8k.lo
93
94 ALL_MACHINES_CFILES = \
95         cpu-a29k.c \
96         cpu-alpha.c \
97         cpu-arc.c \
98         cpu-arm.c \
99         cpu-avr.c \
100         cpu-cris.c \
101         cpu-d10v.c \
102         cpu-d30v.c \
103         cpu-fr30.c \
104         cpu-h8300.c \
105         cpu-h8500.c \
106         cpu-hppa.c \
107         cpu-ia64.c \
108         cpu-i370.c \
109         cpu-i386.c \
110         cpu-i860.c \
111         cpu-i960.c \
112         cpu-m32r.c \
113         cpu-m68hc11.c \
114         cpu-m68hc12.c \
115         cpu-m68k.c \
116         cpu-m88k.c \
117         cpu-m10200.c \
118         cpu-m10300.c \
119         cpu-mcore.c \
120         cpu-mips.c \
121         cpu-mmix.c \
122         cpu-ns32k.c \
123         cpu-openrisc.c \
124         cpu-pdp11.c \
125         cpu-pj.c \
126         cpu-powerpc.c \
127         cpu-rs6000.c \
128         cpu-s390.c \
129         cpu-sh.c \
130         cpu-sparc.c \
131         cpu-tic30.c \
132         cpu-tic54x.c \
133         cpu-tic80.c \
134         cpu-v850.c \
135         cpu-vax.c \
136         cpu-we32k.c \
137         cpu-w65.c \
138         cpu-z8k.c
139
140 # The .o files needed by all of the 32 bit vectors that are configured into
141 # target_vector in targets.c if configured with --enable-targets=all.
142 BFD32_BACKENDS = \
143         aout-adobe.lo \
144         aout-arm.lo \
145         aout-cris.lo \
146         aout-ns32k.lo \
147         aout-sparcle.lo \
148         aout-tic30.lo \
149         aout0.lo \
150         aout32.lo \
151         armnetbsd.lo \
152         bout.lo \
153         cf-i386lynx.lo \
154         cf-m68klynx.lo \
155         cf-sparclynx.lo \
156         coff-a29k.lo \
157         coff-apollo.lo \
158         coff-arm.lo \
159         coff-aux.lo \
160         coff-h8300.lo \
161         coff-h8500.lo \
162         coff-i386.lo \
163         coff-go32.lo \
164         coff-i860.lo \
165         coff-i960.lo \
166         coff-m68k.lo \
167         coff-m88k.lo \
168         coff-mips.lo \
169         coff-rs6000.lo \
170         coff-sh.lo \
171         coff-sparc.lo \
172         coff-stgo32.lo \
173         coff-svm68k.lo \
174         coff-tic30.lo \
175         coff-tic54x.lo \
176         coff-tic80.lo \
177         coff-u68k.lo \
178         coff-we32k.lo \
179         coff-w65.lo \
180         coff-z8k.lo \
181         cofflink.lo \
182         dwarf1.lo \
183         ecoff.lo \
184         ecofflink.lo \
185         efi-app-ia32.lo \
186         elf.lo \
187         elf32-arc.lo \
188         elfarm-oabi.lo \
189         elfarm-nabi.lo \
190         elf32-avr.lo \
191         elf32-cris.lo \
192         elf32-d10v.lo \
193         elf32-d30v.lo \
194         elf32-fr30.lo \
195         elf32-gen.lo \
196         elf32-h8300.lo \
197         elf32-hppa.lo \
198         elf32-i370.lo \
199         elf32-i386.lo \
200         elf32-i860.lo \
201         elf32-i960.lo \
202         elf32-ia64.lo \
203         elf32-m32r.lo \
204         elf32-m68hc11.lo \
205         elf32-m68hc12.lo \
206         elf32-m68k.lo \
207         elf32-m88k.lo \
208         elf-m10200.lo \
209         elf-m10300.lo \
210         elf32-mcore.lo \
211         elf32-mips.lo \
212         elf32-openrisc.lo \
213         elf32-pj.lo \
214         elf32-ppc.lo \
215         elf32-s390.lo \
216         elf32-sh.lo \
217         elf32-sh-lin.lo \
218         elf32-sparc.lo \
219         elf32-v850.lo \
220         elf32.lo \
221         elflink.lo \
222         elf-strtab.lo \
223         epoc-pe-arm.lo \
224         epoc-pei-arm.lo \
225         hp300bsd.lo \
226         hp300hpux.lo \
227         som.lo \
228         i386aout.lo \
229         i386bsd.lo \
230         i386dynix.lo \
231         i386freebsd.lo \
232         i386linux.lo \
233         i386lynx.lo \
234         i386msdos.lo \
235         i386netbsd.lo \
236         i386mach3.lo \
237         i386os9k.lo \
238         ieee.lo \
239         m68k4knetbsd.lo \
240         m68klinux.lo \
241         m68klynx.lo \
242         m68knetbsd.lo \
243         m88kmach3.lo \
244         mipsbsd.lo \
245         newsos3.lo \
246         nlm.lo \
247         nlm32-i386.lo \
248         nlm32-sparc.lo \
249         nlm32-ppc.lo \
250         nlm32.lo \
251         ns32knetbsd.lo \
252         oasys.lo \
253         pc532-mach.lo \
254         pdp11.lo \
255         pe-arm.lo \
256         pei-arm.lo \
257         pe-i386.lo \
258         pei-i386.lo \
259         pe-mcore.lo \
260         pei-mcore.lo \
261         pe-ppc.lo \
262         pei-ppc.lo \
263         pe-sh.lo \
264         pei-sh.lo \
265         pe-mips.lo \
266         pei-mips.lo \
267         peigen.lo \
268         ppcboot.lo \
269         reloc16.lo \
270         riscix.lo \
271         sparclinux.lo \
272         sparclynx.lo \
273         sparcnetbsd.lo \
274         sunos.lo \
275         vaxnetbsd.lo \
276         versados.lo \
277         vms.lo \
278         vms-gsd.lo \
279         vms-hdr.lo \
280         vms-misc.lo \
281         vms-tir.lo \
282         xcofflink.lo
283
284 BFD32_BACKENDS_CFILES = \
285         aout-adobe.c \
286         aout-arm.c \
287         aout-cris.c \
288         aout-ns32k.c \
289         aout-sparcle.c \
290         aout-tic30.c \
291         aout0.c \
292         aout32.c \
293         armnetbsd.c \
294         bout.c \
295         cf-i386lynx.c \
296         cf-m68klynx.c \
297         cf-sparclynx.c \
298         coff-a29k.c \
299         coff-apollo.c \
300         coff-arm.c \
301         coff-aux.c \
302         coff-h8300.c \
303         coff-h8500.c \
304         coff-i386.c \
305         coff-i860.c \
306         coff-go32.c \
307         coff-i960.c \
308         coff-m68k.c \
309         coff-m88k.c \
310         coff-mips.c \
311         coff-rs6000.c \
312         coff-sh.c \
313         coff-sparc.c \
314         coff-stgo32.c \
315         coff-svm68k.c \
316         coff-tic30.c \
317         coff-tic54x.c \
318         coff-tic80.c \
319         coff-u68k.c \
320         coff-we32k.c \
321         coff-w65.c \
322         coff-z8k.c \
323         cofflink.c \
324         dwarf1.c \
325         ecoff.c \
326         ecofflink.c \
327         efi-app-ia32.c \
328         elf.c \
329         elf32-arc.c \
330         elfarm-oabi.c \
331         elfarm-nabi.c \
332         elf32-avr.c \
333         elf32-cris.c \
334         elf32-d10v.c \
335         elf32-d30v.c \
336         elf32-fr30.c \
337         elf32-gen.c \
338         elf32-h8300.c \
339         elf32-hppa.c \
340         elf32-i370.c \
341         elf32-i386.c \
342         elf32-i860.c \
343         elf32-i960.c \
344         elf32-m32r.c \
345         elf32-m68k.c \
346         elf32-m68hc11.c \
347         elf32-m68hc12.c \
348         elf32-m88k.c \
349         elf-m10200.c \
350         elf-m10300.c \
351         elf32-mcore.c \
352         elf32-mips.c \
353         elf32-openrisc.c \
354         elf32-pj.c \
355         elf32-ppc.c \
356         elf32-s390.c \
357         elf32-sh.c \
358         elf32-sh-lin.c \
359         elf32-sparc.c \
360         elf32-v850.c \
361         elf32.c \
362         elflink.c \
363         elf-strtab.c \
364         epoc-pe-arm.c \
365         epoc-pei-arm.c \
366         hp300bsd.c \
367         hp300hpux.c \
368         som.c \
369         i386aout.c \
370         i386bsd.c \
371         i386dynix.c \
372         i386freebsd.c \
373         i386linux.c \
374         i386lynx.c \
375         i386msdos.c \
376         i386netbsd.c \
377         i386mach3.c \
378         i386os9k.c \
379         ieee.c \
380         m68k4knetbsd.c \
381         m68klinux.c \
382         m68klynx.c \
383         m68knetbsd.c \
384         m88kmach3.c \
385         mipsbsd.c \
386         newsos3.c \
387         nlm.c \
388         nlm32-i386.c \
389         nlm32-sparc.c \
390         nlm32-ppc.c \
391         nlm32.c \
392         ns32knetbsd.c \
393         oasys.c \
394         pc532-mach.c \
395         pdp11.c \
396         pe-arm.c \
397         pei-arm.c \
398         pe-i386.c \
399         pei-i386.c \
400         pe-mcore.c \
401         pei-mcore.c \
402         pe-ppc.c \
403         pei-ppc.c \
404         pe-sh.c \
405         pei-sh.c \
406         pe-mips.c \
407         pei-mips.c \
408         ppcboot.c \
409         reloc16.c \
410         riscix.c \
411         sparclinux.c \
412         sparclynx.c \
413         sparcnetbsd.c \
414         sunos.c \
415         vaxnetbsd.c \
416         versados.c \
417         vms.c \
418         vms-gsd.c \
419         vms-hdr.c \
420         vms-misc.c \
421         vms-tir.c \
422         xcofflink.c
423
424 # The .o files needed by all of the 64 bit vectors that are configured into
425 # target_vector in targets.c if configured with --enable-targets=all
426 # and --enable-64-bit-bfd.
427 BFD64_BACKENDS = \
428         aout64.lo \
429         coff-alpha.lo \
430         coff64-rs6000.lo \
431         demo64.lo \
432         efi-app-ia64.lo \
433         elf64-x86-64.lo \
434         elf64-alpha.lo \
435         elf64-hppa.lo \
436         elf64-ia64.lo \
437         elf64-gen.lo \
438         elf64-mips.lo \
439         elf64-mmix.lo \
440         elf64-ppc.lo \
441         elf64-s390.lo \
442         elf64-sparc.lo \
443         elf64.lo \
444         mmo.lo \
445         nlm32-alpha.lo \
446         nlm64.lo \
447         pepigen.lo
448
449 BFD64_BACKENDS_CFILES = \
450         aout64.c \
451         coff-alpha.c \
452         coff64-rs6000.c \
453         demo64.c \
454         efi-app-ia64.c \
455         elf64-x86-64.c \
456         elf64-alpha.c \
457         elf64-hppa.c \
458         elf64-gen.c \
459         elf64-mips.c \
460         elf64-mmix.c \
461         elf64-ppc.c \
462         elf64-s390.c \
463         elf64-sparc.c \
464         elf64.c \
465         mmo.c \
466         nlm32-alpha.c \
467         nlm64.c
468
469 OPTIONAL_BACKENDS = \
470         aix386-core.lo \
471         hpux-core.lo \
472         irix-core.lo \
473         lynx-core.lo \
474         osf-core.lo \
475         sco5-core.lo \
476         trad-core.lo \
477         cisco-core.lo
478
479 OPTIONAL_BACKENDS_CFILES = \
480         aix386-core.c \
481         hpux-core.c \
482         irix-core.c \
483         lynx-core.c \
484         osf-core.c \
485         sco5-core.c \
486         trad-core.c \
487         cisco-core.c
488
489 # These are defined by configure.in:
490 WORDSIZE = @wordsize@
491 ALL_BACKENDS = @all_backends@
492 BFD_BACKENDS = @bfd_backends@
493 BFD_LIBS = @bfd_libs@
494 BFD_MACHINES = @bfd_machines@
495 TDEFAULTS = @tdefaults@
496
497 INCLUDES = -D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl
498
499 # C source files that correspond to .o's.
500 SOURCE_CFILES = \
501         $(BFD32_LIBS_CFILES) \
502         $(BFD64_LIBS_CFILES) \
503         $(ALL_MACHINES_CFILES) \
504         $(BFD32_BACKENDS_CFILES) \
505         $(BFD64_BACKENDS_CFILES) \
506         $(OPTIONAL_BACKENDS_CFILES)
507
508 BUILD_CFILES = \
509         elf32-ia64.c elf64-ia64.c peigen.c pepigen.c
510
511 CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
512
513 ## This is a list of all .h files which are in the source tree.
514 SOURCE_HFILES = \
515         aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h ecoffswap.h \
516         elf-bfd.h elf-hppa.h elf32-arm.h elf32-hppa.h elf64-hppa.h \
517         elfcode.h elfcore.h elflink.h freebsd.h genlink.h go32stub.h \
518         libaout.h libbfd.h libcoff.h libecoff.h libhppa.h \
519         libieee.h libnlm.h liboasys.h libpei.h netbsd.h nlm-target.h \
520         nlmcode.h nlmswap.h ns32k.h peicode.h som.h vms.h libxcoff.h \
521         xcoff-target.h version.h
522
523 ## ... and all .h files which are in the build tree.
524 BUILD_HFILES = \
525         elf32-target.h elf64-target.h targmatch.h
526
527 HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
528
529 SRC_POTFILES = $(SOURCE_CFILES) $(SOURCE_HFILES)
530 BLD_POTFILES = $(BUILD_CFILES) $(BUILD_HFILES)
531
532 po/SRC-POTFILES.in: @MAINT@ Makefile $(SRC_POTFILES)
533         for file in $(SRC_POTFILES); do echo $$file; done | sort > tmp.src \
534           && mv tmp.src $(srcdir)/po/SRC-POTFILES.in
535
536 po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
537         for file in $(BLD_POTFILES); do echo $$file; done | sort > tmp.bld \
538           && mv tmp.bld $(srcdir)/po/BLD-POTFILES.in
539
540 # The following target is retained for upgrade purposes.
541 # This target used to exist in older versions of this makefile, and was
542 # referenced by <builddir>/po/Makefile (which is created from <srcdir>/po/Make-in)
543 # So old versions of <builddir>/po/Makefile will try to regenerate themselves
544 # when make is next run, but that dependency cannot be completed without a build
545 # of po/POTFILES.in.  Hence the presence of this rule.  This rule will be deleted
546 # once it is no longer needed - probably in the fall of 2001.
547 po/POTFILES.in:
548
549
550 diststuff: info
551
552 # Various kinds of .o files to put in libbfd.a:
553 # BFD_BACKENDS  Routines the configured targets need.
554 # BFD_MACHINES  Architecture-specific routines the configured targets need.
555 # COREFILE      Core file routines for a native configuration
556 OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
557
558 stamp-ofiles: Makefile
559         rm -f tofiles
560         f=""; \
561         for i in $(OFILES) ; do \
562           case " $$f " in \
563             *" $$i "*) ;; \
564             *) f="$$f $$i" ;; \
565           esac ; \
566         done ; \
567         echo $$f > tofiles
568         $(SHELL) $(srcdir)/../move-if-change tofiles ofiles
569         touch stamp-ofiles
570
571 ofiles: stamp-ofiles ; @true
572
573 libbfd_la_SOURCES = $(BFD32_LIBS_CFILES) $(BFD64_LIBS_CFILES)
574 libbfd_la_DEPENDENCIES = $(OFILES) ofiles
575 libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
576 libbfd_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
577
578 # libtool will build .libs/libbfd.a.  We create libbfd.a in the build
579 # directory so that we don't have to convert all the programs that use
580 # libbfd.a simultaneously.  This is a hack which should be removed if
581 # everything else starts using libtool.  FIXME.
582
583 noinst_LIBRARIES = libbfd.a
584 libbfd_a_SOURCES =
585
586 stamp-lib: libbfd.la
587         libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
588         if [ -f $$libtooldir/libbfd.a ]; then \
589           cp $$libtooldir/libbfd.a libbfd.tmp; \
590           $(RANLIB) libbfd.tmp; \
591           $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
592         else true; fi
593         touch stamp-lib
594
595 libbfd.a: stamp-lib ; @true
596
597 # This file holds an array associating configuration triplets and
598 # vector names.  It is built from config.bfd.  It is not compiled by
599 # itself, but is included by targets.c.
600 targmatch.h: config.bfd targmatch.sed
601         rm -f targmatch.h
602         sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
603         mv -f targmatch.new targmatch.h
604
605 # When compiling archures.c and targets.c, supply the default target
606 # info from configure.
607
608 targets.lo: targets.c config.status
609         $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/targets.c
610
611 archures.lo: archures.c config.status
612         $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/archures.c
613
614 elf32-target.h : elfxx-target.h
615         rm -f elf32-target.h
616         sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
617         mv -f elf32-target.new elf32-target.h
618
619 elf64-target.h : elfxx-target.h
620         rm -f elf64-target.h
621         sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
622         mv -f elf64-target.new elf64-target.h
623
624 elf32-ia64.c : elfxx-ia64.c
625         rm -f elf32-ia64.c
626         sed -e s/NN/32/g < $(srcdir)/elfxx-ia64.c > elf32-ia64.new
627         mv -f elf32-ia64.new elf32-ia64.c
628
629 elf64-ia64.c : elfxx-ia64.c
630         rm -f elf64-ia64.c
631         sed -e s/NN/64/g < $(srcdir)/elfxx-ia64.c > elf64-ia64.new
632         mv -f elf64-ia64.new elf64-ia64.c
633
634 peigen.c : peXXigen.c
635         rm -f peigen.c
636         sed -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
637         mv -f peigen.new peigen.c
638
639 pepigen.c : peXXigen.c
640         rm -f pepigen.c
641         sed -e s/XX/pep/g < $(srcdir)/peXXigen.c > pepigen.new
642         mv -f pepigen.new pepigen.c
643
644 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
645 LOCAL_H_DEPS= libbfd.h sysdep.h config.h
646 $(BFD32_LIBS) \
647  $(BFD64_LIBS) \
648  $(ALL_MACHINES) \
649  $(BFD32_BACKENDS) \
650  $(BFD64_BACKENDS) \
651  $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
652
653 # Install BFD include file, and others that it needs.
654 install-data-local: $(BFD_H)
655         @$(NORMAL_INSTALL)
656         $(mkinstalldirs) $(DESTDIR)$(includedir)
657         $(INSTALL_DATA) $(BFD_H) $(DESTDIR)$(includedir)/bfd.h
658         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(DESTDIR)$(includedir)/ansidecl.h
659         $(INSTALL_DATA) $(INCDIR)/symcat.h $(DESTDIR)$(includedir)/symcat.h
660         $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(DESTDIR)$(includedir)/bfdlink.h
661
662 Makefile: $(srcdir)/configure.in
663
664 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
665 DEP: dep.sed $(CFILES) $(HFILES) bfd.h
666         rm -f DEP1
667         $(MAKE) MKDEP="$(MKDEP)" DEP1
668         sed -f dep.sed < DEP1 > DEPA
669         echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
670         if grep ' /' DEPA > /dev/null 2> /dev/null; then \
671           echo 'make DEP failed!'; exit 1; \
672         else \
673           mv -f DEPA $@; \
674         fi
675
676 DEP1: $(CFILES)
677         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
678         echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
679         $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
680         mv -f DEP2 $@
681
682 dep.sed: dep-in.sed config.status
683         sed <$(srcdir)/dep-in.sed >dep.sed      \
684                 -e 's!@BFD_H@!$(BFD_H)!'        \
685                 -e 's!@INCDIR@!$(INCDIR)!'      \
686                 -e 's!@SRCDIR@!$(srcdir)!'
687
688 dep: DEP
689         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
690         cat DEP >> tmp-Makefile
691         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
692
693 dep-in: DEP
694         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
695         cat DEP >> tmp-Makefile.in
696         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
697
698 dep-am: DEP
699         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
700         cat DEP >> tmp-Makefile.am
701         $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
702
703 host-aout.lo: Makefile
704
705 # The following program can be used to generate a simple config file
706 # which can be folded into an h-XXX file for a new host, with some editing.
707 aout-params.h: gen-aout
708         ./gen-aout host > aout-params.h
709 gen-aout: $(srcdir)/gen-aout.c Makefile
710         $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
711
712 $(BFD_H): stmp-bfd-h ; @true
713
714 stmp-bfd-h: bfd-in3.h
715         rm -f bfd-tmp.h
716         cp bfd-in3.h bfd-tmp.h
717         $(SHELL) $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
718         rm -f bfd-tmp.h
719         touch stmp-bfd-h
720
721 BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \
722         reloc.c syms.c bfd.c archive.c corefile.c targets.c format.c version.h
723 BFD64_H_FILES = archive64.c
724 LIBBFD_H_FILES = libbfd-in.h init.c libbfd.c cache.c reloc.c archures.c elf.c
725 LIBCOFF_H_FILES = libcoff-in.h coffcode.h
726
727 # Could really use a "copy-if-change"...
728 headers:
729         (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
730         cp $(docdir)/bfd.h bfd-in2.h-new
731         $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
732         cp $(docdir)/libbfd.h libbfd.h-new
733         $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
734         cp $(docdir)/libcoff.h libcoff.h-new
735         $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
736
737 # We only rebuild the header files automatically if we have been
738 # configured with --enable-maintainer-mode.
739
740 $(srcdir)/bfd-in2.h: @MAINT@ stmp-bin2-h ; @true
741 stmp-bin2-h: $(BFD_H_FILES) $(BFD64_H_FILES)
742         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) bfd.h)
743         cp $(docdir)/bfd.h bfd-in2.h-new
744         $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
745         touch stmp-bin2-h
746
747 $(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h ; @true
748 stmp-lbfd-h: $(LIBBFD_H_FILES)
749         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libbfd.h)
750         cp $(docdir)/libbfd.h libbfd.h-new
751         $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
752         touch stmp-lbfd-h
753
754 $(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h ; @true
755 stmp-lcoff-h: $(LIBCOFF_H_FILES)
756         (cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libcoff.h)
757         cp $(docdir)/libcoff.h libcoff.h-new
758         $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
759         touch stmp-lcoff-h
760
761 MOSTLYCLEANFILES = ofiles stamp-ofiles
762
763 CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
764         stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
765
766 DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES)
767
768 # We want to rerun configure if config.bfd or configure.host change.
769 config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host
770         $(SHELL) ./config.status --recheck
771
772
773 # What appears below is generated by a hacked mkdep using gcc -MM.
774
775 # DO NOT DELETE THIS LINE -- mkdep uses it.
776 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
777 archive.lo: archive.c $(INCDIR)/filenames.h $(INCDIR)/aout/ar.h \
778   $(INCDIR)/aout/ranlib.h $(INCDIR)/safe-ctype.h
779 archures.lo: archures.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h
780 bfd.lo: bfd.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
781   $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
782   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
783   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
784   $(INCDIR)/elf/external.h
785 cache.lo: cache.c $(INCDIR)/filenames.h
786 coffgen.lo: coffgen.c $(INCDIR)/filenames.h $(INCDIR)/coff/internal.h \
787   libcoff.h $(INCDIR)/bfdlink.h
788 corefile.lo: corefile.c $(INCDIR)/filenames.h
789 format.lo: format.c $(INCDIR)/filenames.h
790 init.lo: init.c $(INCDIR)/filenames.h
791 libbfd.lo: libbfd.c $(INCDIR)/filenames.h
792 opncls.lo: opncls.c $(INCDIR)/filenames.h $(INCDIR)/objalloc.h
793 reloc.lo: reloc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h
794 section.lo: section.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h
795 syms.lo: syms.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
796   $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
797 targets.lo: targets.c $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h \
798   targmatch.h
799 hash.lo: hash.c $(INCDIR)/filenames.h $(INCDIR)/objalloc.h
800 linker.lo: linker.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
801   genlink.h
802 srec.lo: srec.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
803   $(INCDIR)/safe-ctype.h
804 binary.lo: binary.c $(INCDIR)/safe-ctype.h $(INCDIR)/filenames.h
805 tekhex.lo: tekhex.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h
806 ihex.lo: ihex.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
807   $(INCDIR)/safe-ctype.h
808 stabs.lo: stabs.c $(INCDIR)/filenames.h $(INCDIR)/aout/stab_gnu.h \
809   $(INCDIR)/aout/stab.def $(INCDIR)/safe-ctype.h
810 stab-syms.lo: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
811   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
812 merge.lo: merge.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
813 dwarf2.lo: dwarf2.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
814   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
815   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf2.h
816 cpu-a29k.lo: cpu-a29k.c $(INCDIR)/filenames.h
817 cpu-alpha.lo: cpu-alpha.c $(INCDIR)/filenames.h
818 cpu-arc.lo: cpu-arc.c $(INCDIR)/filenames.h
819 cpu-arm.lo: cpu-arm.c $(INCDIR)/filenames.h
820 cpu-avr.lo: cpu-avr.c $(INCDIR)/filenames.h
821 cpu-cris.lo: cpu-cris.c $(INCDIR)/filenames.h
822 cpu-d10v.lo: cpu-d10v.c $(INCDIR)/filenames.h
823 cpu-d30v.lo: cpu-d30v.c $(INCDIR)/filenames.h
824 cpu-fr30.lo: cpu-fr30.c $(INCDIR)/filenames.h
825 cpu-h8300.lo: cpu-h8300.c $(INCDIR)/filenames.h
826 cpu-h8500.lo: cpu-h8500.c $(INCDIR)/filenames.h
827 cpu-hppa.lo: cpu-hppa.c $(INCDIR)/filenames.h
828 cpu-ia64.lo: cpu-ia64.c $(INCDIR)/filenames.h cpu-ia64-opc.c \
829   $(srcdir)/../opcodes/ia64-opc.h $(INCDIR)/opcode/ia64.h
830 cpu-i370.lo: cpu-i370.c $(INCDIR)/filenames.h
831 cpu-i386.lo: cpu-i386.c $(INCDIR)/filenames.h
832 cpu-i860.lo: cpu-i860.c $(INCDIR)/filenames.h
833 cpu-i960.lo: cpu-i960.c $(INCDIR)/filenames.h
834 cpu-m32r.lo: cpu-m32r.c $(INCDIR)/filenames.h
835 cpu-m68hc11.lo: cpu-m68hc11.c $(INCDIR)/filenames.h
836 cpu-m68hc12.lo: cpu-m68hc12.c $(INCDIR)/filenames.h
837 cpu-m68k.lo: cpu-m68k.c $(INCDIR)/filenames.h
838 cpu-m88k.lo: cpu-m88k.c $(INCDIR)/filenames.h
839 cpu-m10200.lo: cpu-m10200.c $(INCDIR)/filenames.h
840 cpu-m10300.lo: cpu-m10300.c $(INCDIR)/filenames.h
841 cpu-mcore.lo: cpu-mcore.c $(INCDIR)/filenames.h
842 cpu-mips.lo: cpu-mips.c $(INCDIR)/filenames.h
843 cpu-mmix.lo: cpu-mmix.c $(INCDIR)/filenames.h
844 cpu-ns32k.lo: cpu-ns32k.c $(INCDIR)/filenames.h ns32k.h
845 cpu-openrisc.lo: cpu-openrisc.c $(INCDIR)/filenames.h
846 cpu-pdp11.lo: cpu-pdp11.c $(INCDIR)/filenames.h
847 cpu-pj.lo: cpu-pj.c $(INCDIR)/filenames.h
848 cpu-powerpc.lo: cpu-powerpc.c $(INCDIR)/filenames.h
849 cpu-rs6000.lo: cpu-rs6000.c $(INCDIR)/filenames.h
850 cpu-s390.lo: cpu-s390.c $(INCDIR)/filenames.h
851 cpu-sh.lo: cpu-sh.c $(INCDIR)/filenames.h
852 cpu-sparc.lo: cpu-sparc.c $(INCDIR)/filenames.h
853 cpu-tic30.lo: cpu-tic30.c $(INCDIR)/filenames.h
854 cpu-tic54x.lo: cpu-tic54x.c $(INCDIR)/filenames.h
855 cpu-tic80.lo: cpu-tic80.c $(INCDIR)/filenames.h
856 cpu-v850.lo: cpu-v850.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h
857 cpu-vax.lo: cpu-vax.c $(INCDIR)/filenames.h
858 cpu-we32k.lo: cpu-we32k.c $(INCDIR)/filenames.h
859 cpu-w65.lo: cpu-w65.c $(INCDIR)/filenames.h
860 cpu-z8k.lo: cpu-z8k.c $(INCDIR)/filenames.h
861 aout-adobe.lo: aout-adobe.c $(INCDIR)/filenames.h $(INCDIR)/aout/adobe.h \
862   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h \
863   $(INCDIR)/bfdlink.h
864 aout-arm.lo: aout-arm.c $(INCDIR)/filenames.h libaout.h \
865   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aoutx.h \
866   $(INCDIR)/safe-ctype.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
867   $(INCDIR)/aout/ar.h aout-target.h
868 aout-cris.lo: aout-cris.c aout32.c aoutx.h $(INCDIR)/filenames.h \
869   $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h libaout.h \
870   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
871   $(INCDIR)/aout/ar.h aout-target.h
872 aout-ns32k.lo: aout-ns32k.c $(INCDIR)/aout/aout64.h \
873   ns32k.h libaout.h $(INCDIR)/bfdlink.h aoutx.h $(INCDIR)/filenames.h \
874   $(INCDIR)/safe-ctype.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
875   $(INCDIR)/aout/ar.h
876 aout-sparcle.lo: aout-sparcle.c $(INCDIR)/bfdlink.h \
877   libaout.h aoutf1.h $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h \
878   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
879   $(INCDIR)/aout/ar.h aout-target.h
880 aout-tic30.lo: aout-tic30.c $(INCDIR)/filenames.h libaout.h \
881   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
882   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aoutx.h \
883   $(INCDIR)/safe-ctype.h
884 aout0.lo: aout0.c aoutf1.h $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h \
885   libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
886   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
887   aout-target.h
888 aout32.lo: aout32.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
889   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
890   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
891 armnetbsd.lo: armnetbsd.c netbsd.h $(INCDIR)/filenames.h \
892   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
893   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
894 bout.lo: bout.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
895   genlink.h $(INCDIR)/bout.h $(INCDIR)/aout/stab_gnu.h \
896   $(INCDIR)/aout/stab.def libaout.h
897 cf-i386lynx.lo: cf-i386lynx.c $(INCDIR)/filenames.h \
898   coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h \
899   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
900   coffcode.h coffswap.h
901 cf-m68klynx.lo: cf-m68klynx.c coff-m68k.c $(INCDIR)/filenames.h \
902   $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
903   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
904 cf-sparclynx.lo: cf-sparclynx.c coff-sparc.c $(INCDIR)/filenames.h \
905   $(INCDIR)/coff/sparc.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
906   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
907 coff-a29k.lo: coff-a29k.c $(INCDIR)/filenames.h $(INCDIR)/coff/a29k.h \
908   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
909   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
910 coff-apollo.lo: coff-apollo.c $(INCDIR)/filenames.h \
911   $(INCDIR)/coff/apollo.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
912   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
913 coff-arm.lo: coff-arm.c $(INCDIR)/filenames.h $(INCDIR)/coff/arm.h \
914   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
915   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
916 coff-aux.lo: coff-aux.c $(INCDIR)/filenames.h $(INCDIR)/coff/aux-coff.h \
917   $(INCDIR)/coff/internal.h $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h \
918   coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
919   coffswap.h
920 coff-h8300.lo: coff-h8300.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
921   genlink.h $(INCDIR)/coff/h8300.h $(INCDIR)/coff/external.h \
922   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
923 coff-h8500.lo: coff-h8500.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
924   $(INCDIR)/coff/h8500.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
925   libcoff.h coffcode.h coffswap.h
926 coff-i386.lo: coff-i386.c $(INCDIR)/filenames.h $(INCDIR)/coff/i386.h \
927   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
928   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
929 coff-i860.lo: coff-i860.c $(INCDIR)/filenames.h $(INCDIR)/coff/i860.h \
930   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
931   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
932 coff-go32.lo: coff-go32.c coff-i386.c $(INCDIR)/filenames.h \
933   $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
934   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
935 coff-i960.lo: coff-i960.c $(INCDIR)/filenames.h $(INCDIR)/coff/i960.h \
936   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
937   coffcode.h coffswap.h
938 coff-m68k.lo: coff-m68k.c $(INCDIR)/filenames.h $(INCDIR)/coff/m68k.h \
939   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
940   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
941 coff-m88k.lo: coff-m88k.c $(INCDIR)/filenames.h $(INCDIR)/coff/m88k.h \
942   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
943   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
944 coff-mips.lo: coff-mips.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
945   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
946   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h $(INCDIR)/coff/external.h \
947   libcoff.h libecoff.h coffswap.h ecoffswap.h
948 coff-rs6000.lo: coff-rs6000.c $(INCDIR)/filenames.h \
949   $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
950   $(INCDIR)/coff/rs6000.h libcoff.h libxcoff.h coffcode.h \
951   coffswap.h
952 coff-sh.lo: coff-sh.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
953   $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h $(INCDIR)/coff/external.h \
954   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
955 coff-sparc.lo: coff-sparc.c $(INCDIR)/filenames.h $(INCDIR)/coff/sparc.h \
956   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
957   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
958 coff-stgo32.lo: coff-stgo32.c coff-i386.c $(INCDIR)/filenames.h \
959   $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
960   $(INCDIR)/coff/go32exe.h libcoff.h $(INCDIR)/bfdlink.h \
961   coffcode.h coffswap.h go32stub.h
962 coff-svm68k.lo: coff-svm68k.c coff-m68k.c $(INCDIR)/filenames.h \
963   $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
964   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
965 coff-tic30.lo: coff-tic30.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
966   $(INCDIR)/coff/tic30.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
967   libcoff.h coffcode.h coffswap.h
968 coff-tic54x.lo: coff-tic54x.c $(INCDIR)/filenames.h \
969   $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h \
970   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
971 coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \
972   $(INCDIR)/coff/tic80.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
973   libcoff.h coffcode.h coffswap.h
974 coff-u68k.lo: coff-u68k.c coff-m68k.c $(INCDIR)/filenames.h \
975   $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
976   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
977 coff-we32k.lo: coff-we32k.c $(INCDIR)/filenames.h $(INCDIR)/coff/we32k.h \
978   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
979   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
980 coff-w65.lo: coff-w65.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
981   $(INCDIR)/coff/w65.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
982   libcoff.h coffcode.h coffswap.h
983 coff-z8k.lo: coff-z8k.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
984   $(INCDIR)/coff/z8k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
985   libcoff.h coffcode.h coffswap.h
986 cofflink.lo: cofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
987   $(INCDIR)/coff/internal.h libcoff.h
988 dwarf1.lo: dwarf1.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
989   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
990   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf.h
991 ecoff.lo: ecoff.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
992   $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h \
993   $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/aout/aout64.h \
994   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
995   $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
996 ecofflink.lo: ecofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
997   $(INCDIR)/objalloc.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
998   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
999   $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
1000 efi-app-ia32.lo: efi-app-ia32.c $(INCDIR)/filenames.h \
1001   coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h \
1002   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1003   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1004 elf.lo: elf.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1005   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1006   $(INCDIR)/elf/external.h
1007 elf32-arc.lo: elf32-arc.c $(INCDIR)/filenames.h elf-bfd.h \
1008   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1009   $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \
1010   $(INCDIR)/libiberty.h elf32-target.h
1011 elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
1012   $(INCDIR)/filenames.h elf-bfd.h $(INCDIR)/elf/common.h \
1013   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1014   elf32-arm.h elf32-target.h
1015 elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
1016   $(INCDIR)/filenames.h elf-bfd.h $(INCDIR)/elf/common.h \
1017   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1018   elf32-arm.h elf32-target.h
1019 elf32-avr.lo: elf32-avr.c $(INCDIR)/filenames.h elf-bfd.h \
1020   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1021   $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr.h $(INCDIR)/elf/reloc-macros.h \
1022   elf32-target.h
1023 elf32-cris.lo: elf32-cris.c $(INCDIR)/filenames.h elf-bfd.h \
1024   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1025   $(INCDIR)/bfdlink.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/reloc-macros.h \
1026   elf32-target.h
1027 elf32-d10v.lo: elf32-d10v.c $(INCDIR)/filenames.h elf-bfd.h \
1028   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1029   $(INCDIR)/bfdlink.h $(INCDIR)/elf/d10v.h $(INCDIR)/elf/reloc-macros.h \
1030   elf32-target.h
1031 elf32-d30v.lo: elf32-d30v.c $(INCDIR)/filenames.h elf-bfd.h \
1032   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1033   $(INCDIR)/bfdlink.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/reloc-macros.h \
1034   elf32-target.h
1035 elf32-fr30.lo: elf32-fr30.c $(INCDIR)/filenames.h elf-bfd.h \
1036   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1037   $(INCDIR)/bfdlink.h $(INCDIR)/elf/fr30.h $(INCDIR)/elf/reloc-macros.h \
1038   elf32-target.h
1039 elf32-gen.lo: elf32-gen.c $(INCDIR)/filenames.h elf-bfd.h \
1040   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1041   $(INCDIR)/bfdlink.h elf32-target.h
1042 elf32-h8300.lo: elf32-h8300.c $(INCDIR)/filenames.h \
1043   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1044   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/h8.h \
1045   $(INCDIR)/elf/reloc-macros.h elf32-target.h
1046 elf32-hppa.lo: elf32-hppa.c $(INCDIR)/filenames.h elf-bfd.h \
1047   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1048   $(INCDIR)/bfdlink.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/reloc-macros.h \
1049   libhppa.h elf32-hppa.h elf-hppa.h elf32-target.h
1050 elf32-i370.lo: elf32-i370.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1051   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1052   $(INCDIR)/elf/external.h $(INCDIR)/elf/i370.h elf32-target.h
1053 elf32-i386.lo: elf32-i386.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1054   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1055   $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \
1056   elf32-target.h
1057 elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h elf-bfd.h \
1058   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1059   $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/reloc-macros.h \
1060   elf32-target.h
1061 elf32-i960.lo: elf32-i960.c $(INCDIR)/filenames.h elf-bfd.h \
1062   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1063   $(INCDIR)/bfdlink.h $(INCDIR)/elf/i960.h $(INCDIR)/elf/reloc-macros.h \
1064   elf32-target.h
1065 elf32-m32r.lo: elf32-m32r.c $(INCDIR)/filenames.h elf-bfd.h \
1066   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1067   $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/reloc-macros.h \
1068   elf32-target.h
1069 elf32-m68k.lo: elf32-m68k.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1070   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1071   $(INCDIR)/elf/external.h $(INCDIR)/elf/m68k.h $(INCDIR)/elf/reloc-macros.h \
1072   elf32-target.h
1073 elf32-m68hc11.lo: elf32-m68hc11.c $(INCDIR)/filenames.h \
1074   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1075   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m68hc11.h \
1076   $(INCDIR)/elf/reloc-macros.h elf32-target.h
1077 elf32-m68hc12.lo: elf32-m68hc12.c $(INCDIR)/filenames.h \
1078   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1079   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m68hc11.h \
1080   $(INCDIR)/elf/reloc-macros.h elf32-target.h
1081 elf32-m88k.lo: elf32-m88k.c $(INCDIR)/filenames.h elf-bfd.h \
1082   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1083   $(INCDIR)/bfdlink.h elf32-target.h
1084 elf-m10200.lo: elf-m10200.c $(INCDIR)/filenames.h elf-bfd.h \
1085   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1086   $(INCDIR)/bfdlink.h elf32-target.h
1087 elf-m10300.lo: elf-m10300.c $(INCDIR)/filenames.h elf-bfd.h \
1088   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1089   $(INCDIR)/bfdlink.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/reloc-macros.h \
1090   elf32-target.h
1091 elf32-mcore.lo: elf32-mcore.c $(INCDIR)/filenames.h \
1092   $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1093   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/mcore.h \
1094   $(INCDIR)/elf/reloc-macros.h elf32-target.h
1095 elf32-mips.lo: elf32-mips.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1096   genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1097   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
1098   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1099   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h $(INCDIR)/coff/external.h \
1100   ecoffswap.h elf32-target.h
1101 elf32-openrisc.lo: elf32-openrisc.c $(INCDIR)/filenames.h \
1102   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1103   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/openrisc.h \
1104   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
1105   elf32-target.h
1106 elf32-pj.lo: elf32-pj.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1107   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1108   $(INCDIR)/elf/external.h $(INCDIR)/elf/pj.h $(INCDIR)/elf/reloc-macros.h \
1109   elf32-target.h
1110 elf32-ppc.lo: elf32-ppc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1111   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1112   $(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
1113   elf32-target.h
1114 elf32-s390.lo: elf32-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1115   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1116   $(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
1117   elf32-target.h
1118 elf32-sh.lo: elf32-sh.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1119   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1120   $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
1121   elf32-target.h
1122 elf32-sh-lin.lo: elf32-sh-lin.c $(INCDIR)/filenames.h \
1123   $(INCDIR)/elf/internal.h elf-bfd.h $(INCDIR)/elf/common.h \
1124   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-sh.c \
1125   $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
1126 elf32-sparc.lo: elf32-sparc.c $(INCDIR)/filenames.h \
1127   $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1128   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sparc.h \
1129   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/opcode/sparc.h \
1130   elf32-target.h
1131 elf32-v850.lo: elf32-v850.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1132   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1133   $(INCDIR)/elf/external.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/reloc-macros.h \
1134   $(INCDIR)/libiberty.h elf32-target.h
1135 elf32.lo: elf32.c elfcode.h $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
1136   $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1137   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elfcore.h \
1138   elflink.h
1139 elflink.lo: elflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1140   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1141   $(INCDIR)/elf/external.h
1142 elf-strtab.lo: elf-strtab.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
1143 epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c $(INCDIR)/filenames.h \
1144   coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h \
1145   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1146   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1147 epoc-pei-arm.lo: epoc-pei-arm.c pei-arm.c $(INCDIR)/filenames.h \
1148   coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h \
1149   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1150   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1151 hp300bsd.lo: hp300bsd.c $(INCDIR)/filenames.h libaout.h \
1152   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1153   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1154 hp300hpux.lo: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
1155   aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
1156   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1157   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1158   aout-target.h
1159 som.lo: som.c $(INCDIR)/alloca-conf.h $(INCDIR)/filenames.h
1160 i386aout.lo: i386aout.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1161   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1162   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1163 i386bsd.lo: i386bsd.c $(INCDIR)/filenames.h libaout.h \
1164   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1165   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1166 i386dynix.lo: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1167   $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1168   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1169   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1170 i386freebsd.lo: i386freebsd.c freebsd.h $(INCDIR)/filenames.h \
1171   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1172   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1173 i386linux.lo: i386linux.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1174   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1175   libaout.h $(INCDIR)/bfdlink.h aout-target.h
1176 i386lynx.lo: i386lynx.c $(INCDIR)/filenames.h libaout.h \
1177   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1178   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1179 i386msdos.lo: i386msdos.c $(INCDIR)/filenames.h libaout.h \
1180   $(INCDIR)/bfdlink.h
1181 i386netbsd.lo: i386netbsd.c netbsd.h $(INCDIR)/filenames.h \
1182   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1183   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1184 i386mach3.lo: i386mach3.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1185   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1186   libaout.h $(INCDIR)/bfdlink.h aout-target.h
1187 i386os9k.lo: i386os9k.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1188   libaout.h $(INCDIR)/os9k.h
1189 ieee.lo: ieee.c $(INCDIR)/filenames.h $(INCDIR)/ieee.h \
1190   libieee.h $(INCDIR)/safe-ctype.h
1191 m68k4knetbsd.lo: m68k4knetbsd.c netbsd.h $(INCDIR)/filenames.h \
1192   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1193   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1194 m68klinux.lo: m68klinux.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1195   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1196   libaout.h $(INCDIR)/bfdlink.h aout-target.h
1197 m68klynx.lo: m68klynx.c $(INCDIR)/filenames.h libaout.h \
1198   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1199   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1200 m68knetbsd.lo: m68knetbsd.c netbsd.h $(INCDIR)/filenames.h \
1201   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1202   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1203 m88kmach3.lo: m88kmach3.c $(INCDIR)/filenames.h libaout.h \
1204   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1205   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1206 mipsbsd.lo: mipsbsd.c $(INCDIR)/filenames.h libaout.h \
1207   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1208   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1209 newsos3.lo: newsos3.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1210   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1211   libaout.h $(INCDIR)/bfdlink.h aout-target.h
1212 nlm.lo: nlm.c $(INCDIR)/filenames.h libnlm.h $(INCDIR)/nlm/common.h \
1213   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1214 nlm32-i386.lo: nlm32-i386.c $(INCDIR)/filenames.h $(INCDIR)/nlm/i386-ext.h \
1215   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1216   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1217 nlm32-sparc.lo: nlm32-sparc.c $(INCDIR)/filenames.h \
1218   $(INCDIR)/nlm/sparc32-ext.h libnlm.h $(INCDIR)/nlm/common.h \
1219   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmswap.h \
1220   nlm-target.h
1221 nlm32-ppc.lo: nlm32-ppc.c $(INCDIR)/filenames.h $(INCDIR)/nlm/ppc-ext.h \
1222   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1223   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1224 nlm32.lo: nlm32.c nlmcode.h $(INCDIR)/filenames.h libnlm.h \
1225   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1226 ns32knetbsd.lo: ns32knetbsd.c netbsd.h $(INCDIR)/filenames.h \
1227   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1228   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1229 oasys.lo: oasys.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
1230   $(INCDIR)/oasys.h liboasys.h
1231 pc532-mach.lo: pc532-mach.c $(INCDIR)/filenames.h libaout.h \
1232   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1233   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1234 pdp11.lo: pdp11.c $(INCDIR)/filenames.h libaout.h $(INCDIR)/bfdlink.h \
1235   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1236   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h $(INCDIR)/safe-ctype.h
1237 pe-arm.lo: pe-arm.c $(INCDIR)/filenames.h coff-arm.c \
1238   $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1239   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1240   peicode.h libpei.h
1241 pei-arm.lo: pei-arm.c $(INCDIR)/filenames.h coff-arm.c \
1242   $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1243   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1244   peicode.h libpei.h
1245 pe-i386.lo: pe-i386.c $(INCDIR)/filenames.h coff-i386.c \
1246   $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1247   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1248   peicode.h libpei.h
1249 pei-i386.lo: pei-i386.c $(INCDIR)/filenames.h coff-i386.c \
1250   $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1251   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1252   peicode.h libpei.h
1253 pe-mcore.lo: pe-mcore.c $(INCDIR)/filenames.h coff-mcore.c \
1254   $(INCDIR)/coff/mcore.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1255   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1256   peicode.h libpei.h
1257 pei-mcore.lo: pei-mcore.c $(INCDIR)/filenames.h coff-mcore.c \
1258   $(INCDIR)/coff/mcore.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1259   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1260   peicode.h libpei.h
1261 pe-ppc.lo: pe-ppc.c $(INCDIR)/filenames.h coff-ppc.c \
1262   $(INCDIR)/coff/powerpc.h $(INCDIR)/coff/external.h \
1263   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1264   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1265 pei-ppc.lo: pei-ppc.c $(INCDIR)/filenames.h coff-ppc.c \
1266   $(INCDIR)/coff/powerpc.h $(INCDIR)/coff/external.h \
1267   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1268   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1269 pe-sh.lo: pe-sh.c $(INCDIR)/filenames.h coff-sh.c $(INCDIR)/libiberty.h \
1270   $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h $(INCDIR)/coff/external.h \
1271   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1272   coffcode.h peicode.h libpei.h
1273 pei-sh.lo: pei-sh.c $(INCDIR)/filenames.h coff-sh.c \
1274   $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
1275   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1276   $(INCDIR)/coff/pe.h libcoff.h coffcode.h peicode.h \
1277   libpei.h
1278 pe-mips.lo: pe-mips.c $(INCDIR)/filenames.h $(INCDIR)/coff/mipspe.h \
1279   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1280   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1281   peicode.h libpei.h
1282 pei-mips.lo: pei-mips.c $(INCDIR)/filenames.h pe-mips.c \
1283   $(INCDIR)/coff/mipspe.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1284   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1285   peicode.h libpei.h
1286 ppcboot.lo: ppcboot.c $(INCDIR)/safe-ctype.h $(INCDIR)/filenames.h
1287 reloc16.lo: reloc16.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1288   genlink.h $(INCDIR)/coff/internal.h libcoff.h
1289 riscix.lo: riscix.c $(INCDIR)/filenames.h libaout.h \
1290   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1291   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1292 sparclinux.lo: sparclinux.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1293   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1294   libaout.h $(INCDIR)/bfdlink.h aout-target.h
1295 sparclynx.lo: sparclynx.c $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h \
1296   libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1297   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1298   aout-target.h
1299 sparcnetbsd.lo: sparcnetbsd.c netbsd.h $(INCDIR)/filenames.h \
1300   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1301   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1302 sunos.lo: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1303   $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h \
1304   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1305   aout-target.h
1306 vaxnetbsd.lo: vaxnetbsd.c netbsd.h $(INCDIR)/filenames.h \
1307   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1308   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1309 versados.lo: versados.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h
1310 vms.lo: vms.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1311   vms.h
1312 vms-gsd.lo: vms-gsd.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1313   vms.h
1314 vms-hdr.lo: vms-hdr.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1315   $(INCDIR)/safe-ctype.h vms.h
1316 vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1317   vms.h
1318 vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1319   vms.h
1320 xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1321   $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h libcoff.h \
1322   libxcoff.h
1323 aout64.lo: aout64.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
1324   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1325   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1326 coff-alpha.lo: coff-alpha.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1327   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1328   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h \
1329   libcoff.h libecoff.h coffswap.h ecoffswap.h
1330 coff64-rs6000.lo: coff64-rs6000.c $(INCDIR)/filenames.h \
1331   $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
1332   $(INCDIR)/coff/rs6k64.h libcoff.h libxcoff.h coffcode.h \
1333   coffswap.h
1334 demo64.lo: demo64.c aoutf1.h $(INCDIR)/filenames.h \
1335   $(INCDIR)/aout/sun4.h libaout.h $(INCDIR)/bfdlink.h \
1336   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1337   $(INCDIR)/aout/ar.h aout-target.h
1338 efi-app-ia64.lo: efi-app-ia64.c $(INCDIR)/filenames.h \
1339   coff-ia64.c $(INCDIR)/coff/ia64.h $(INCDIR)/coff/external.h \
1340   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1341   $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1342 elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
1343   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1344   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/x86-64.h \
1345   $(INCDIR)/elf/reloc-macros.h elf64-target.h
1346 elf64-alpha.lo: elf64-alpha.c $(INCDIR)/filenames.h \
1347   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1348   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/alpha.h \
1349   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/coff/internal.h \
1350   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1351   $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1352   libecoff.h ecoffswap.h elf64-target.h
1353 elf64-hppa.lo: elf64-hppa.c $(INCDIR)/alloca-conf.h \
1354   $(INCDIR)/filenames.h elf-bfd.h $(INCDIR)/elf/common.h \
1355   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1356   $(INCDIR)/elf/hppa.h $(INCDIR)/elf/reloc-macros.h libhppa.h \
1357   elf64-hppa.h elf-hppa.h elf64-target.h
1358 elf64-gen.lo: elf64-gen.c $(INCDIR)/filenames.h elf-bfd.h \
1359   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1360   $(INCDIR)/bfdlink.h elf64-target.h
1361 elf64-mips.lo: elf64-mips.c $(INCDIR)/filenames.h $(INCDIR)/aout/ar.h \
1362   $(INCDIR)/bfdlink.h genlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1363   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h \
1364   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1365   $(INCDIR)/coff/internal.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
1366   ecoffswap.h elf64-target.h
1367 elf64-mmix.lo: elf64-mmix.c $(INCDIR)/filenames.h elf-bfd.h \
1368   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1369   $(INCDIR)/bfdlink.h $(INCDIR)/elf/mmix.h $(INCDIR)/elf/reloc-macros.h \
1370   $(INCDIR)/opcode/mmix.h elf64-target.h
1371 elf64-ppc.lo: elf64-ppc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1372   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1373   $(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
1374   elf64-target.h
1375 elf64-s390.lo: elf64-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1376   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1377   $(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
1378   elf64-target.h
1379 elf64-sparc.lo: elf64-sparc.c $(INCDIR)/filenames.h \
1380   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1381   $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/opcode/sparc.h \
1382   $(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
1383   elf64-target.h
1384 elf64.lo: elf64.c elfcode.h $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
1385   $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1386   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elfcore.h \
1387   elflink.h
1388 mmo.lo: mmo.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
1389   $(INCDIR)/elf/mmix.h $(INCDIR)/elf/reloc-macros.h $(INCDIR)/opcode/mmix.h
1390 nlm32-alpha.lo: nlm32-alpha.c $(INCDIR)/filenames.h \
1391   $(INCDIR)/nlm/alpha-ext.h libnlm.h $(INCDIR)/nlm/common.h \
1392   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmswap.h \
1393   nlm-target.h
1394 nlm64.lo: nlm64.c nlmcode.h $(INCDIR)/filenames.h libnlm.h \
1395   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1396 aix386-core.lo: aix386-core.c $(INCDIR)/filenames.h \
1397   $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1398   libcoff.h $(INCDIR)/bfdlink.h
1399 hpux-core.lo: hpux-core.c $(INCDIR)/filenames.h
1400 irix-core.lo: irix-core.c $(INCDIR)/filenames.h
1401 lynx-core.lo: lynx-core.c $(INCDIR)/filenames.h
1402 osf-core.lo: osf-core.c $(INCDIR)/filenames.h
1403 sco5-core.lo: sco5-core.c $(INCDIR)/filenames.h libaout.h \
1404   $(INCDIR)/bfdlink.h
1405 trad-core.lo: trad-core.c $(INCDIR)/filenames.h libaout.h \
1406   $(INCDIR)/bfdlink.h
1407 cisco-core.lo: cisco-core.c $(INCDIR)/filenames.h
1408 elf32-ia64.lo: elf32-ia64.c $(INCDIR)/filenames.h elf-bfd.h \
1409   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1410   $(INCDIR)/bfdlink.h $(INCDIR)/opcode/ia64.h $(INCDIR)/elf/ia64.h \
1411   $(INCDIR)/elf/reloc-macros.h elf32-target.h
1412 elf64-ia64.lo: elf64-ia64.c $(INCDIR)/filenames.h elf-bfd.h \
1413   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1414   $(INCDIR)/bfdlink.h $(INCDIR)/opcode/ia64.h $(INCDIR)/elf/ia64.h \
1415   $(INCDIR)/elf/reloc-macros.h elf64-target.h
1416 peigen.lo: peigen.c $(INCDIR)/filenames.h $(INCDIR)/coff/internal.h \
1417   $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/pe.h \
1418   libcoff.h $(INCDIR)/bfdlink.h libpei.h
1419 pepigen.lo: pepigen.c $(INCDIR)/filenames.h $(INCDIR)/coff/internal.h \
1420   $(INCDIR)/coff/ia64.h $(INCDIR)/coff/external.h $(INCDIR)/coff/pe.h \
1421   libcoff.h $(INCDIR)/bfdlink.h libpei.h
1422 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY