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