* Makefile.in (install): Move subdir_do out of conditional. From
[external/binutils.git] / bfd / Makefile.in
1 #    Makefile template for Configure for the BFD library.
2 #    Copyright (C) 1990, 91, 92, 93, 94, 95, 1996
3 #    Free Software Foundation, Inc.
4 #    Written by Cygnus Support.
5
6 # This file is part of BFD, the Binary File Descriptor library.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
12
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
22 VPATH = @srcdir@
23 srcdir = @srcdir@
24
25 prefix = @prefix@
26
27 program_transform_name = @program_transform_name@
28 exec_prefix = @exec_prefix@
29 bindir = @bindir@
30 libdir = @libdir@
31
32 datadir = @datadir@
33 mandir = @mandir@
34 man1dir = $(mandir)/man1
35 man2dir = $(mandir)/man2
36 man3dir = $(mandir)/man3
37 man4dir = $(mandir)/man4
38 man5dir = $(mandir)/man5
39 man6dir = $(mandir)/man6
40 man7dir = $(mandir)/man7
41 man8dir = $(mandir)/man8
42 man9dir = $(mandir)/man9
43 infodir = @infodir@
44 includedir = @includedir@
45 oldincludedir =
46 docdir = doc
47
48 SHELL = /bin/sh
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53
54 AR = @AR@
55 AR_FLAGS = rc
56 CC = @CC@
57 CFLAGS = @CFLAGS@
58 MAKEINFO = makeinfo
59 RANLIB = @RANLIB@
60
61 ALLLIBS = @ALLLIBS@
62
63 PICFLAG = @PICFLAG@
64 SHLIB = @SHLIB@
65 SHLIB_CC = @SHLIB_CC@
66 SHLIB_CFLAGS = @SHLIB_CFLAGS@
67 COMMON_SHLIB = @COMMON_SHLIB@
68 SHLINK = @SHLINK@
69
70 SONAME = lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`
71
72 CC_FOR_BUILD = @CC_FOR_BUILD@
73
74 INCDIR = $(srcdir)/../include
75 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
76 DEP = mkdep
77
78 SUBDIRS = doc
79
80 TARGETLIB = libbfd.a
81
82 # bfd.h goes here, for now
83 BFD_H = bfd.h
84
85 # Some of these files should be in BFD*_BACKENDS below, but some programs
86 # won't link without them.  So, in order for some of the minimal-bfd
87 # hacks to work, they're also included here for now.
88 #       gdb: elf.o
89 #       objdump: elf.o
90 #
91 # Also, Jim Kingdon notes:
92 # Writing S-records should be included in all (or at least most)
93 # *-*-coff, *-*-aout, etc., configurations, because people will want to
94 # be able to use objcopy to create S-records.  (S-records are not useful
95 # for the debugger, so if you are downloading things as S-records you
96 # need two copies of the executable, one to download and one for the
97 # debugger).
98 BFD_LIBS = \
99         archive.o archures.o bfd.o cache.o coffgen.o corefile.o \
100         format.o init.o libbfd.o opncls.o reloc.o \
101         section.o syms.o targets.o hash.o linker.o \
102         elf.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o
103
104 BFD_LIBS_CFILES = \
105         archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
106         format.c init.c libbfd.c opncls.c reloc.c \
107         section.c syms.c targets.c hash.c linker.c \
108         elf.c srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c
109
110 # This list is alphabetized to make it easier to keep in sync
111 # with the decls and initializer in archures.c.
112 ALL_MACHINES = \
113         cpu-a29k.o \
114         cpu-alpha.o \
115         $(start-sanitize-arc) \
116         cpu-arc.o \
117         $(end-sanitize-arc) \
118         cpu-arm.o \
119         $(start-sanitize-d10v) \
120         cpu-d10v.o \
121         $(end-sanitize-d10v) \
122         cpu-h8300.o \
123         cpu-h8500.o \
124         cpu-hppa.o \
125         cpu-i386.o \
126         cpu-i860.o \
127         cpu-i960.o \
128         $(start-sanitize-m32r) \
129         cpu-m32r.o \
130         $(end-sanitize-m32r) \
131         cpu-m68k.o \
132         cpu-m88k.o \
133         cpu-mips.o \
134         cpu-mn10200.o \
135         cpu-mn10300.o \
136         cpu-ns32k.o \
137         cpu-powerpc.o \
138         cpu-rs6000.o \
139         cpu-sh.o \
140         cpu-sparc.o \
141         $(start-sanitize-v850) \
142         cpu-v850.o \
143         $(end-sanitize-v850) \
144         cpu-vax.o \
145         cpu-we32k.o \
146         cpu-w65.o \
147         cpu-z8k.o
148
149 ALL_MACHINES_CFILES = \
150         cpu-a29k.c \
151         cpu-alpha.c \
152         cpu-arm.c \
153         cpu-h8300.c \
154         cpu-h8500.c \
155         cpu-hppa.c \
156         cpu-i386.c \
157         cpu-i860.c \
158         cpu-i960.c \
159         cpu-m68k.c \
160         cpu-m88k.c \
161         cpu-mips.c \
162         cpu-mn10200.c \
163         cpu-mn10300.c \
164         cpu-ns32k.c \
165         cpu-powerpc.c \
166         cpu-rs6000.c \
167         cpu-sh.c \
168         cpu-sparc.c \
169         cpu-vax.c \
170         cpu-we32k.c \
171         cpu-w65.c \
172         cpu-z8k.c
173
174 # The .o files needed by all of the 32 bit vectors that are configured into
175 # target_vector in targets.c if configured with --enable-targets=all.
176 BFD32_BACKENDS = \
177         aout-adobe.o \
178         aout-arm.o \
179         aout-ns32k.o \
180         aout-sparcle.o \
181         aout0.o \
182         aout32.o \
183         bout.o \
184         cf-i386lynx.o \
185         cf-m68klynx.o \
186         cf-sparclynx.o \
187         coff-a29k.o \
188         coff-apollo.o \
189         coff-arm.o \
190         coff-aux.o \
191         coff-h8300.o \
192         coff-h8500.o \
193         coff-i386.o \
194         coff-go32.o \
195         coff-i860.o \
196         coff-i960.o \
197         coff-m68k.o \
198         coff-m88k.o \
199         coff-mips.o \
200         coff-pmac.o \
201         coff-rs6000.o \
202         coff-sh.o \
203         coff-sparc.o \
204         coff-u68k.o \
205         coff-we32k.o \
206         coff-w65.o \
207         coff-z8k.o \
208         cofflink.o \
209         ecoff.o \
210         ecofflink.o \
211         $(start-sanitize-arc) \
212         elf32-arc.o \
213         $(end-sanitize-arc) \
214         $(start-sanitize-d10v) \
215         elf32-d10v.o \
216         $(end-sanitize-d10v) \
217         elf32-gen.o \
218         elf32-hppa.o \
219         elf32-i386.o \
220         elf32-i860.o \
221         $(start-sanitize-m32r) \
222         elf32-m32r.o \
223         $(end-sanitize-m32r) \
224         elf32-m68k.o \
225         elf32-m88k.o \
226         elf32-mips.o \
227         elf32-mn10200.o \
228         elf32-mn10300.o \
229         elf32-ppc.o \
230         elf32-sh.o \
231         elf32-sparc.o \
232         $(start-sanitize-v850) \
233         elf32-v850.o \
234         $(end-sanitize-v850) \
235         elf32.o \
236         elflink.o \
237         hp300bsd.o \
238         hp300hpux.o \
239         som.o \
240         i386aout.o \
241         i386bsd.o \
242         i386dynix.o \
243         i386freebsd.o \
244         i386linux.o \
245         i386lynx.o \
246         i386msdos.o \
247         i386netbsd.o \
248         i386mach3.o \
249         i386os9k.o \
250         ieee.o \
251         m68k4knetbsd.o \
252         m68klinux.o \
253         m68klynx.o \
254         m68knetbsd.o \
255         m88kmach3.o \
256         mipsbsd.o \
257         newsos3.o \
258         nlm.o \
259         nlm32-i386.o \
260         nlm32-sparc.o \
261         nlm32-ppc.o \
262         nlm32.o \
263         ns32knetbsd.o \
264         oasys.o \
265         pc532-mach.o \
266         pe-arm.o \
267         pei-arm.o \
268         pe-i386.o \
269         pei-i386.o \
270         pe-ppc.o \
271         pei-ppc.o \
272         ppcboot.o \
273         reloc16.o \
274         riscix.o \
275         sparclynx.o \
276         sparcnetbsd.o \
277         sunos.o \
278         tekhex.o \
279         versados.o \
280         xcofflink.o
281
282 BFD32_BACKENDS_CFILES = \
283         aout-adobe.c \
284         aout-arm.c \
285         aout-ns32k.c \
286         aout-sparcle.c \
287         aout0.c \
288         aout32.c \
289         bout.c \
290         cf-i386lynx.c \
291         cf-m68klynx.c \
292         cf-sparclynx.c \
293         coff-a29k.c \
294         coff-apollo.c \
295         coff-arm.c \
296         coff-aux.c \
297         coff-h8300.c \
298         coff-h8500.c \
299         coff-i386.c \
300         coff-i860.c \
301         coff-go32.c \
302         coff-i960.c \
303         coff-m68k.c \
304         coff-m88k.c \
305         coff-mips.c \
306         coff-pmac.c \
307         coff-rs6000.c \
308         coff-sh.c \
309         coff-sparc.c \
310         coff-u68k.c \
311         coff-we32k.c \
312         coff-w65.c \
313         coff-z8k.c \
314         cofflink.c \
315         ecoff.c \
316         ecofflink.c \
317         elf32-gen.c \
318         elf32-hppa.c \
319         elf32-i386.c \
320         elf32-i860.c \
321         elf32-m68k.c \
322         elf32-m88k.c \
323         elf32-mips.c \
324         elf32-mn10200.c \
325         elf32-mn10300.c \
326         elf32-ppc.c \
327         elf32-sh.c \
328         elf32-sparc.c \
329         elf32.c \
330         elflink.c \
331         hp300bsd.c \
332         hp300hpux.c \
333         som.c \
334         i386aout.c \
335         i386bsd.c \
336         i386dynix.c \
337         i386freebsd.c \
338         i386linux.c \
339         i386lynx.c \
340         i386msdos.c \
341         i386netbsd.c \
342         i386mach3.c \
343         i386os9k.c \
344         ieee.c \
345         m68k4knetbsd.c \
346         m68klinux.c \
347         m68klynx.c \
348         m68knetbsd.c \
349         m88kmach3.c \
350         mipsbsd.c \
351         newsos3.c \
352         nlm.c \
353         nlm32-i386.c \
354         nlm32-sparc.c \
355         nlm32-ppc.c \
356         nlm32.c \
357         ns32knetbsd.c \
358         oasys.c \
359         pc532-mach.c \
360         pe-arm.c \
361         pei-arm.c \
362         pe-i386.c \
363         pei-i386.c \
364         pe-ppc.c \
365         pei-ppc.c \
366         ppcboot.c \
367         reloc16.c \
368         riscix.c \
369         sparclynx.c \
370         sparcnetbsd.c \
371         sunos.c \
372         tekhex.c \
373         versados.c \
374         xcofflink.c
375
376 # The .o files needed by all of the 64 bit vectors that are configured into
377 # target_vector in targets.c if configured with --enable-targets=all
378 # and --enable-64-bit-bfd.
379 BFD64_BACKENDS = \
380         aout64.o \
381         coff-alpha.o \
382         demo64.o \
383         elf64-alpha.o \
384         elf64-gen.o \
385         elf64-mips.o \
386         elf64-sparc.o \
387         elf64.o \
388         evax-alpha.o \
389         evax-egsd.o \
390         evax-etir.o \
391         evax-emh.o \
392         evax-misc.o \
393         nlm32-alpha.o \
394         nlm64.o
395
396 BFD64_BACKENDS_CFILES = \
397         aout64.c \
398         coff-alpha.c \
399         demo64.c \
400         elf64-alpha.c \
401         elf64-gen.c \
402         elf64-mips.c \
403         elf64-sparc.c \
404         elf64.c \
405         evax-alpha.c \
406         evax-egsd.c \
407         evax-etir.c \
408         evax-emh.c \
409         evax-misc.c \
410         nlm32-alpha.c \
411         nlm64.c
412
413 OPTIONAL_BACKENDS = \
414         aix386-core.o \
415         hpux-core.o \
416         irix-core.o \
417         lynx-core.o \
418         osf-core.o \
419         trad-core.o \
420         cisco-core.o
421
422 OPTIONAL_BACKENDS_CFILES = \
423         aix386-core.c \
424         hpux-core.c \
425         irix-core.c \
426         lynx-core.c \
427         osf-core.c \
428         trad-core.c \
429         cisco-core.c
430
431 # These are defined by configure.in:
432 WORDSIZE = @wordsize@
433 ALL_BACKENDS = @all_backends@
434 BFD_BACKENDS = @bfd_backends@
435 BFD_MACHINES = @bfd_machines@
436 TDEFAULTS = @tdefaults@
437
438 all:
439
440 FLAGS_TO_PASS = \
441         "prefix=$(prefix)" \
442         "exec_prefix=$(exec_prefix)" \
443         "against=$(against)" \
444         "AR=$(AR)" \
445         "AR_FLAGS=$(AR_FLAGS)" \
446         "CC=$(CC)" \
447         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
448         "CFLAGS=$(CFLAGS)" \
449         "RANLIB=$(RANLIB)" \
450         "MAKEINFO=$(MAKEINFO)" \
451         "INSTALL=$(INSTALL)" \
452         "INSTALL_DATA=$(INSTALL_DATA)" \
453         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
454
455 ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
456 .c.o:
457         if [ -n "$(PICFLAG)" ]; then \
458           $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \
459         else true; fi
460         $(CC) -c $(ALL_CFLAGS) $<
461
462 bfd_libs_here =
463 all_machines_here =
464 bfd32_backends_here =
465 core_files_here =
466 configs_not_included_in_all_targets_option_here =
467
468 # C source files that correspond to .o's.
469 CFILES = \
470         $(BFD_LIBS_CFILES) \
471         $(ALL_MACHINES_CFILES) \
472         $(BFD32_BACKENDS_CFILES) \
473         $(BFD64_BACKENDS_CFILES) \
474         $(OPTIONAL_BACKENDS_CFILES)
475
476 HFILES = \
477         aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \
478         ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
479         elfcode.h evax.h genlink.h hppa_stubs.h libaout.h libbfd.h \
480         libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
481         liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h som.h \
482         targmatch.h
483
484 all: Makefile $(ALLLIBS) @PICLIST@
485         @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
486
487 .NOEXPORT:
488 MAKEOVERRIDES=
489
490 .PHONY: check installcheck
491 check:
492         @echo No testsuites exist for the BFD library. Nothing to check.
493
494 installcheck:
495         @echo No testsuites exist for the BFD library. Nothing to check.
496
497 info dvi : force
498         @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
499
500 clean-info:
501         @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
502
503 install-info: force
504         @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
505
506 diststuff: info
507
508 # Various kinds of .o files to put in libbfd.a:
509 # BFD_LIBS      Generic routines, always needed.
510 # BFD_BACKENDS  Routines the configured targets need.
511 # BFD_MACHINES  Architecture-specific routines the configured targets need.
512 # COREFILE      Core file routines for a native configuration
513 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
514
515 stamp-ofiles: Makefile
516         rm -f tofiles
517         f=""; \
518         for i in $(OFILES) ; do \
519           case " $$f " in \
520             *" $$i "*) ;; \
521             *) f="$$f $$i" ;; \
522           esac ; \
523         done ; \
524         echo $$f > tofiles
525         $(srcdir)/../move-if-change tofiles ofiles
526         touch stamp-ofiles
527
528 ofiles: stamp-ofiles ; @true
529
530 $(TARGETLIB): $(OFILES) ofiles
531         rm -f $(TARGETLIB)
532         @echo ofiles = `cat ofiles`
533         $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
534         $(RANLIB) $(TARGETLIB)
535
536 stamp-piclist: ofiles
537         rm -f tpiclist
538         if [ -n "$(PICFLAG)" ]; then \
539           sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \
540         else \
541           cp ofiles tpiclist; \
542         fi
543         $(srcdir)/../move-if-change tpiclist piclist
544         touch stamp-piclist
545
546 piclist: stamp-piclist ; @true
547
548 $(SHLIB): stamp-picdir $(OFILES) piclist
549         rm -f $(SHLIB)
550         $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist`
551
552 # We make a link from libbfd.so to libbfd.so.VERSION for linking, and
553 # also a link from libTARGET-bfd.so.VERSION for running.
554 $(SHLINK): $(SHLIB)
555         ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
556         if [ "$$ts" != "$(SHLIB)" ]; then \
557           rm -f $$ts; \
558           ln -sf $(SHLIB) $$ts; \
559         else true; fi
560         rm -f $(SHLINK)
561         ln -sf $(SHLIB) $(SHLINK)
562
563 # This target creates libTARGET-bfd.so.VERSION as a symlink to
564 # libbfd.so.VERSION.  It is used on SunOS, which does not have SONAME.
565 stamp-tshlink: $(SHLIB)
566         tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
567         if [ "$$tf" != "$(SHLIB)" ]; then \
568           rm -f $$tf; \
569           ln -sf $(SHLIB) $$tf; \
570         else true; fi
571         touch stamp-tshlink
572
573 # This file holds an array associating configuration triplets and
574 # vector names.  It is built from config.bfd.  It is not compiled by
575 # itself, but is included by targets.c.
576 targmatch.h: config.bfd targmatch.sed
577         rm -f targmatch.h
578         sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
579         mv -f targmatch.new targmatch.h
580
581 # When compiling archures.c and targets.c, supply the default target
582 # info from configure.
583
584 targets.o: targets.c Makefile
585         if [ -n "$(PICFLAG)" ]; then \
586           $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \
587         else true; fi
588         $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c
589
590 archures.o: archures.c Makefile
591         if [ -n "$(PICFLAG)" ]; then \
592           $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \
593         else true; fi
594         $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c
595
596 elf32-target.h : elfxx-target.h
597         rm -f elf32-target.h
598         sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
599         mv -f elf32-target.new elf32-target.h
600
601 elf64-target.h : elfxx-target.h
602         rm -f elf64-target.h
603         sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
604         mv -f elf64-target.new elf64-target.h
605
606 subdir_do: force
607         @for i in $(DODIRS); do \
608                 if [ -d ./$$i ] ; then \
609                         if (cd ./$$i; \
610                                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
611                         else exit 1 ; fi ; \
612                 else true ; fi ; \
613         done
614
615 tags etags: TAGS
616
617 TAGS: force
618         etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
619
620 do_mostlyclean:
621         rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout pic/*.o
622 do_clean: do_mostlyclean
623         rm -f libbfd.a TAGS bfd.h stmp-bfd.h bfd-tmp.h ofiles stamp-ofiles \
624                 elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \
625                 piclist stamp-piclist targmatch.h
626 do_distclean: do_clean
627         rm -f Makefile config.status config.cache config.h config.log \
628                 stamp-h bfd-in3.h
629         rm -rf pic stamp-picdir
630 do_maintainer_clean: do_distclean
631         rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h
632
633 mostlyclean: do_mostlyclean
634         $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
635 clean: do_clean
636         $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
637 distclean:
638         $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
639         $(MAKE) do_distclean
640 clobber maintainer-clean realclean:
641         @echo "This command is intended for maintainers to use;"
642         @echo "it deletes files that may require special tools to rebuild."
643         $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
644         $(MAKE) do_maintainer_clean
645
646 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
647 LOCAL_H_DEPS= libbfd.h sysdep.h config.h
648 $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
649 $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
650 $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
651 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
652
653 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
654 cpu-i386.o:cpu-i386.c
655 cpu-z8k.o: cpu-z8k.c
656 cpu-h8500.o: cpu-h8500.c
657 cpu-we32k.o: cpu-we32k.c
658
659 saber:
660         #suppress 65 on bfd_map_over_sections 
661         #suppress 66 on bfd_map_over_sections 
662         #suppress 67 on bfd_map_over_sections 
663         #suppress 68 on bfd_map_over_sections 
664         #suppress 69 on bfd_map_over_sections 
665         #suppress 70 on bfd_map_over_sections 
666         #suppress 110 in bfd_map_over_sections 
667         #suppress 112 in bfd_map_over_sections 
668         #suppress 530 
669         #suppress 590 in swap_exec_header 
670         #suppress 590 in _bfd_dummy_core_file_matches_executable_p 
671         #suppress 590 in bfd_dont_truncate_arname
672         #suppress 590 on ignore 
673         #suppress 590 on abfd 
674         #setopt load_flags $(CFLAGS)
675         #load $(CFILES)
676
677
678 #-----------------------------------------------------------------------------
679 #               'STANDARD' GNU/960 TARGETS BELOW THIS POINT
680 #
681 # 'VERSION' file must be present and contain a string of the form "x.y"
682 #-----------------------------------------------------------------------------
683
684 ver960.c: FORCE
685         rm -f ver960.c
686         echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
687
688
689 # This target should be invoked before building a new release.
690 # 'VERSION' file must be present and contain a string of the form "x.y"
691 #
692 roll:
693         @V=`cat VERSION`                ; \
694         MAJ=`sed 's/\..*//' VERSION`    ; \
695         MIN=`sed 's/.*\.//' VERSION`    ; \
696         V=$$MAJ.`expr $$MIN + 1`        ; \
697         rm -f VERSION                   ; \
698         echo $$V >VERSION               ; \
699         echo Version $$V
700
701 # Dummy target to force execution of dependent targets.
702 #
703 force:
704
705 install: $(ALLLIBS)
706         for f in $(ALLLIBS); do \
707           if [ "$$f" = "stamp-tshlink" ]; then \
708             continue; \
709           fi; \
710           tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
711           rm -f $(libdir)/$$tf; \
712           if [ "$$f" = "$(SHLINK)" ]; then \
713             ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
714             ln -sf $$ts $(libdir)/$$tf; \
715           elif [ "$$f" = "$(SHLIB)" ]; then \
716             @INSTALL_SHLIB@ \
717           else \
718             $(INSTALL_DATA) $$f $(libdir)/$$tf; \
719             $(RANLIB) $(libdir)/$$tf; \
720             chmod a-x $(libdir)/$$tf; \
721           fi; \
722         done
723 # Install BFD include file, and others that it needs.  Install them
724 # both in GCC's include directory, and in the system include dir
725 # if configured as $(oldincludedir) -- which it usually isnt.
726         $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
727         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
728         $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
729         $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
730         -if test -z "$(oldincludedir)"; then true; else \
731         test -d $(oldincludedir) || mkdir $(oldincludedir); \
732         $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
733         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
734         $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
735         $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
736         fi
737         $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
738
739 Makefile: Makefile.in config.status
740         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
741
742 config.h: stamp-h ; @true
743 stamp-h: config.in config.status
744         CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
745
746 config.status: configure configure.host config.bfd VERSION
747         $(SHELL) config.status --recheck
748
749 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
750 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
751         rm -f .dep1
752         $(MAKE) DEP=$(DEP) .dep1
753         sed -f dep.sed <.dep1 >.dep
754
755 # This rule really wants a mkdep that runs "gcc -MM".
756 # The NetBSD mkdep overwrites any existing file contents, and doesn't insert
757 # the "DO NOT DELETE" line.
758 # Other mkdep versions require a file that already exists, and do insert it.
759 # Hence the weirdness....
760 .dep1: $(CFILES)
761         rm -f .dep2 .dep2a
762         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
763         echo > .dep2a
764         $(DEP) -f .dep2a $(ALL_CFLAGS) $?
765         sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
766         rm -f .dep2a
767         $(srcdir)/../move-if-change .dep2 .dep1
768
769 dep.sed: dep-in.sed config.status
770         sed <$(srcdir)/dep-in.sed >dep.sed      \
771                 -e 's!@BFD_H@!$(BFD_H)!'        \
772                 -e 's!@INCDIR@!$(INCDIR)!'      \
773                 -e 's!@SRCDIR@!$(srcdir)!'
774
775 dep: .dep
776         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
777         cat .dep >> tmp-Makefile
778         $(srcdir)/../move-if-change tmp-Makefile Makefile
779
780 dep-in: .dep
781         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
782         cat .dep >> tmp-Makefile.in
783         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
784
785 host-aout.o: Makefile
786
787 # The following program can be used to generate a simple config file
788 # which can be folded into an h-XXX file for a new host, with some editing.
789 aout-params.h: gen-aout
790         ./gen-aout host > aout-params.h
791 gen-aout: $(srcdir)/gen-aout.c Makefile
792         $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
793
794 BFDIN_H= $(srcdir)/bfd-in2.h
795
796 $(BFD_H): stmp-bfd.h ; @true
797
798 stmp-bfd.h: bfd-in3.h
799         rm -f bfd-tmp.h
800         cp bfd-in3.h bfd-tmp.h
801         $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
802         rm -f bfd-tmp.h
803         touch stmp-bfd.h
804
805 bfd-in3.h: bfd-in2.h config.status
806         CONFIG_FILES=bfd-in3.h:bfd-in2.h CONFIG_HEADERS= $(SHELL) ./config.status
807
808 # Could really use a "copy-if-change"...
809 headers:
810         (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
811         cp $(docdir)/bfd.h bfd-in2.h-new
812         $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
813         cp $(docdir)/libbfd.h libbfd.h-new
814         $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
815         cp $(docdir)/libcoff.h libcoff.h-new
816         $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
817
818 # The rules for the generated header files are here so that people can
819 # type `make bfd-in2.h' if they remove it.  They are not run by default.
820 $(srcdir)/bfd-in2.h:
821         (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS))
822         cp $(docdir)/bfd.h bfd-in2.h-new
823         $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
824 $(srcdir)/libbfd.h:
825         (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS))
826         cp $(docdir)/libbfd.h libbfd.h-new
827         $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
828 $(srcdir)/libcoff.h:
829         (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS))
830         cp $(docdir)/libcoff.h libcoff.h-new
831         $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
832
833 bfd.info:
834         (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
835
836 bfd.dvi:
837         (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
838
839 bfd.ps: 
840         (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
841
842 start-sanitize-arc:
843 elf32-arc.o: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
844   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
845   $(INCDIR)/elf/arc.h elf32-target.h
846 end-sanitize-arc:
847
848 start-sanitize-d10v:
849 elf32-d10v.o: elf32-d10v.c elf-bfd.h $(INCDIR)/elf/common.h \
850   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
851   elf32-target.h
852 end-sanitize-d10v:
853
854 start-sanitize-m32r:
855 elf32-m32r.o: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \
856   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
857   elf32-target.h
858 end-sanitize-m32r:
859
860 start-sanitize-v850:
861 cpu-v850.o: cpu-v850.c
862 elf32-v850.o: elf32-v850.c $(INCDIR)/bfdlink.h elf-bfd.h \
863   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
864   elf32-target.h
865 end-sanitize-v850:
866
867 $(OFILES): stamp-picdir
868
869 stamp-picdir:
870         if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
871           mkdir pic; \
872         else true; fi
873         touch stamp-picdir
874
875 # What appears below is generated by a hacked mkdep using gcc -MM.
876
877 # DO NOT DELETE THIS LINE -- mkdep uses it.
878 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
879 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
880 archures.o: archures.c
881 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
882   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
883   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
884   $(INCDIR)/elf/external.h
885 cache.o: cache.c
886 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
887   $(INCDIR)/bfdlink.h
888 corefile.o: corefile.c
889 format.o: format.c
890 init.o: init.c
891 libbfd.o: libbfd.c
892 opncls.o: opncls.c
893 reloc.o: reloc.c $(INCDIR)/bfdlink.h
894 section.o: section.c
895 syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
896   $(INCDIR)/aout/stab.def
897 targets.o: targets.c $(INCDIR)/fnmatch.h targmatch.h
898 hash.o: hash.c
899 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
900 elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
901   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
902 srec.o: srec.c $(INCDIR)/libiberty.h
903 binary.o: binary.c
904 tekhex.o: tekhex.c $(INCDIR)/libiberty.h
905 ihex.o: ihex.c $(INCDIR)/libiberty.h
906 stabs.o: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
907 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
908   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
909 cpu-a29k.o: cpu-a29k.c
910 cpu-alpha.o: cpu-alpha.c
911 cpu-arm.o: cpu-arm.c
912 cpu-h8300.o: cpu-h8300.c
913 cpu-h8500.o: cpu-h8500.c
914 cpu-hppa.o: cpu-hppa.c
915 cpu-i386.o: cpu-i386.c
916 cpu-i860.o: cpu-i860.c
917 cpu-i960.o: cpu-i960.c
918 cpu-m68k.o: cpu-m68k.c
919 cpu-m88k.o: cpu-m88k.c
920 cpu-mips.o: cpu-mips.c
921 cpu-mn10200.o: cpu-mn10200.c
922 cpu-mn10300.o: cpu-mn10300.c
923 cpu-ns32k.o: cpu-ns32k.c ns32k.h
924 cpu-powerpc.o: cpu-powerpc.c
925 cpu-rs6000.o: cpu-rs6000.c
926 cpu-sh.o: cpu-sh.c
927 cpu-sparc.o: cpu-sparc.c
928 cpu-vax.o: cpu-vax.c
929 cpu-we32k.o: cpu-we32k.c
930 cpu-w65.o: cpu-w65.c
931 cpu-z8k.o: cpu-z8k.c
932 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
933   $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
934 aout-arm.o: aout-arm.c libaout.h $(INCDIR)/bfdlink.h \
935   $(INCDIR)/aout/aout64.h aoutx.h $(INCDIR)/aout/stab_gnu.h \
936   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
937 aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
938   ns32k.h libaout.h $(INCDIR)/bfdlink.h
939 aout-sparcle.o: aout-sparcle.c $(INCDIR)/bfdlink.h \
940   libaout.h aoutf1.h $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h \
941   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
942   aout-target.h
943 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
944   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
945   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
946 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
947   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
948   $(INCDIR)/aout/ar.h
949 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
950   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
951 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
952   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
953   coffcode.h coffswap.h
954 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
955   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
956   coffcode.h coffswap.h
957 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
958   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
959   coffcode.h coffswap.h
960 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
961   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
962 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
963   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
964   coffcode.h coffswap.h
965 coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
966   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
967 coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
968   $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
969   coffcode.h coffswap.h
970 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
971   $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
972   coffcode.h coffswap.h
973 coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
974   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
975 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
976   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
977 coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
978   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
979 coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
980   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
981   coffcode.h coffswap.h
982 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
983   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
984 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
985   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
986 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
987   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
988 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
989   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
990   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
991   ecoffswap.h
992 coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
993   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
994   coffcode.h coffswap.h
995 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
996   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
997   coffcode.h coffswap.h
998 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
999   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
1000 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
1001   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
1002 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
1003   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
1004   coffcode.h coffswap.h
1005 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
1006   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
1007 coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
1008   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
1009 coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
1010   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
1011 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1012   libcoff.h
1013 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
1014   $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1015   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
1016   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1017   libcoff.h libecoff.h
1018 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
1019   $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
1020   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
1021 elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1022   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1023   elf32-target.h
1024 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
1025   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1026   elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
1027   elf32-target.h
1028 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
1029   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1030   elf32-target.h
1031 elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
1032   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1033   elf32-target.h
1034 elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
1035   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1036   elf32-target.h
1037 elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
1038   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1039   elf32-target.h
1040 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
1041   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1042   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
1043   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1044   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
1045   elf32-target.h
1046 elf32-mn10200.o: elf32-mn10200.c elf-bfd.h $(INCDIR)/elf/common.h \
1047   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1048   elf32-target.h
1049 elf32-mn10300.o: elf32-mn10300.c elf-bfd.h $(INCDIR)/elf/common.h \
1050   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1051   elf32-target.h
1052 elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
1053   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1054   $(INCDIR)/elf/ppc.h elf32-target.h
1055 elf32-sh.o: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \
1056   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1057   elf32-target.h
1058 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
1059   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1060   $(INCDIR)/elf/sparc.h elf32-target.h
1061 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1062   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1063   elfcore.h elflink.h
1064 elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
1065   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
1066 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
1067   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1068   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1069 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
1070   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1071   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1072   aout-target.h
1073 som.o: som.c
1074 i386aout.o: i386aout.c $(INCDIR)/aout/aout64.h libaout.h \
1075   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1076   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1077 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
1078   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1079   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1080 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1081   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1082   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1083   aout-target.h
1084 i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
1085   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1086   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1087 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1088   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1089   $(INCDIR)/bfdlink.h aout-target.h
1090 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
1091   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1092   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1093 i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
1094 i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1095   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1096   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1097 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1098   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1099   $(INCDIR)/bfdlink.h aout-target.h
1100 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
1101   $(INCDIR)/os9k.h
1102 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
1103 m68k4knetbsd.o: m68k4knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1104   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1105   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1106 m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1107   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1108   $(INCDIR)/bfdlink.h aout-target.h
1109 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
1110   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1111   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1112 m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1113   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1114   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1115 m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
1116   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1117   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1118 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
1119   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1120   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1121 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1122   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1123   $(INCDIR)/bfdlink.h aout-target.h
1124 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1125   $(INCDIR)/nlm/external.h
1126 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
1127   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1128   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1129 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
1130   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1131   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1132 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
1133   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
1134   nlmswap.h nlm-target.h
1135 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1136   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1137 ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1138   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1139   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1140 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
1141 pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
1142   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1143   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1144 pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
1145   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1146   $(INCDIR)/bfdlink.h coffcode.h peicode.h
1147 pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
1148   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1149   $(INCDIR)/bfdlink.h coffcode.h peicode.h
1150 pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1151   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1152   $(INCDIR)/bfdlink.h coffcode.h peicode.h
1153 pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1154   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1155   $(INCDIR)/bfdlink.h coffcode.h peicode.h
1156 pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1157   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1158   $(INCDIR)/bfdlink.h coffcode.h peicode.h
1159 pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1160   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1161   $(INCDIR)/bfdlink.h coffcode.h peicode.h
1162 ppcboot.o: ppcboot.c
1163 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
1164   $(INCDIR)/coff/internal.h libcoff.h
1165 riscix.o: riscix.c libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1166   aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1167   $(INCDIR)/aout/ar.h
1168 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
1169   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1170   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1171 sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1172   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1173   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1174 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1175   $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1176   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1177 versados.o: versados.c $(INCDIR)/libiberty.h
1178 xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1179   libcoff.h
1180 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
1181   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1182   $(INCDIR)/aout/ar.h
1183 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1184   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1185   $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1186   libecoff.h coffswap.h ecoffswap.h
1187 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
1188   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1189   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1190 elf64-alpha.o: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
1191   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1192   $(INCDIR)/elf/alpha.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
1193   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
1194   $(INCDIR)/aout/ar.h libcoff.h libecoff.h ecoffswap.h \
1195   elf64-target.h
1196 elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1197   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1198   elf64-target.h
1199 elf64-mips.o: elf64-mips.c $(INCDIR)/aout/ar.h $(INCDIR)/bfdlink.h \
1200   genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1201   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
1202   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1203   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
1204   elf64-target.h
1205 elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
1206   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1207   $(INCDIR)/elf/sparc.h elf64-target.h
1208 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1209   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1210   elfcore.h elflink.h
1211 evax-alpha.o: evax-alpha.c $(INCDIR)/bfdlink.h evax.h
1212 evax-egsd.o: evax-egsd.c $(INCDIR)/bfdlink.h evax.h
1213 evax-etir.o: evax-etir.c $(INCDIR)/bfdlink.h evax.h
1214 evax-emh.o: evax-emh.c $(INCDIR)/bfdlink.h evax.h
1215 evax-misc.o: evax-misc.c $(INCDIR)/bfdlink.h evax.h
1216 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1217   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1218   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1219 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1220   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1221 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
1222   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1223 hpux-core.o: hpux-core.c
1224 irix-core.o: irix-core.c
1225 lynx-core.o: lynx-core.c
1226 osf-core.o: osf-core.c
1227 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
1228 cisco-core.o: cisco-core.c
1229 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY