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