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